Re: Cocoa-dev Digest, Vol 13, Issue 249

2016-06-08 Thread Karl Moskowski
to El Cap, but it used to fix incorrect generic icons on Yosemite. http://furbo.org/2015/01/19/clearing-the-icon-services-cache-in-yosemite/ Karl Moskowski <kmoskow...@me.com> <https://about.me/kolpanic> ___ Cocoa-dev mailing list (C

OS X Sharing Extension?

2015-08-10 Thread Karl Moskowski
it times out with Photos.app. Is there a better way to do this? TIA. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic // ShareViewController.swift import Cocoa class ShareViewController: NSViewController { var URLs : [NSURL] = [] override var nibName: String

Re: NSOpenPanel accessoryView clicks must hit pixels to work

2015-04-01 Thread Karl Moskowski
On Apr 1, 2015, at 12:01 PM, Steve Mills sjmi...@mac.com wrote: On Apr 1, 2015, at 09:49:29, Karl Moskowski kmoskow...@me.com wrote: A few months back, we ran into a similar problem with accessory views in sandboxed apps, though it was with NSSavePanel. The Open Cancel buttons weren’t

Re: NSOpenPanel accessoryView clicks must hit pixels to work

2015-04-01 Thread Karl Moskowski
into a similar problem with accessory views in sandboxed apps, though it was with NSSavePanel. The Open Cancel buttons weren’t clickable, but the keyboard shortcuts (esc enter) worked. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa

Base.lproj vs en.lproj?

2015-03-12 Thread Karl Moskowski
given it a try, and it seems to work, but I’d like to be sure. Thanks in advance. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Base.lproj vs en.lproj?

2015-03-12 Thread Karl Moskowski
apps. Barring any strong cautions against, we may delete en.lproj and see how it goes. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

[MEET] Toronto CocoaHeads / tacow - November 12

2014-10-30 Thread Karl Moskowski
for the Objective-C coder. For more details and to RSVP, head over to http://www.meetup.com/tacow-org/events/169610822/. Thanks, and hope to see you there! Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev

[MEET] Toronto CocoaHeads / tacow - May 13

2014-04-22 Thread Karl Moskowski
to see you there! Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

[MEET] Toronto CocoaHeads / tacow - March 4

2014-02-20 Thread Karl Moskowski
Reveal.app license to a presentation volunteer. For more details and to RSVP, head over to http://www.meetup.com/tacow-org/events/139624792/. Thanks, and hope to see you there! Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa

[MEET] Toronto CocoaHeads / tacow - January 14

2013-12-27 Thread Karl Moskowski
, and see you there! Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: Cocoa-dev Digest, Vol 10, Issue 735

2013-11-12 Thread Karl Moskowski
Apple’s sample player project: https://developer.apple.com/library/mac/samplecode/AVKitPlayerOSX/Introduction/Intro.html Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Cocoa-dev Digest, Vol 10, Issue 735

2013-11-12 Thread Karl Moskowski
/samplecode/AVKitPlayerOSX/Introduction/Intro.html Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Mea culpa

2013-11-12 Thread Karl Moskowski
Sorry for the repeated replies, all. Mail.app and/or iCloud was misbehaving. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

[MEET] Toronto CocoaHeads / tacow - November 12

2013-11-02 Thread Karl Moskowski
/. Thanks, and see you there! Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

resetCursorRects: in AVPlayerView?

2013-10-08 Thread Karl Moskowski
atop the AVPlayerView and use that to handle the mouse. Any ideas? Karl Moskowski kmoskow...@me.com http://about.me/kolpanic ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

[MEET] Toronto Cocoaheads / tacow - July 9

2013-07-03 Thread Karl Moskowski
tacow's next meeting is scheduled for 6:30 PM on Tuesday, July 9, 2013 in meeting room 310 of Metro Hall. Ash Furrow will be discussing UICollectionView. For more details and to RSVP, head over to http://www.meetup.com/tacow-org/events/124074922/. Thanks, and see you there! —Karl. smime.p7s

NSDocument and Large File Import?

2013-06-20 Thread Karl Moskowski
I’m creating a document-based OS X app. The document itself will be a package, with most of the its properties archived in a plist (via NSFileWrapper). However, the document package will also contain a potentially — probably, even — large asset file that’s too big to keep in memory. The first

Re: NSDocument and Large File Import?

2013-06-20 Thread Karl Moskowski
On Jun 20, 2013, at 3:44 PM, Jens Alfke j...@mooseyard.com wrote: Yup, it’s an untitled document so it doesn’t have a persistent manifestation yet. A typical solution for your problem is to create a temporary directory somewhere (using the APIs for that purpose) and treat that as the

Re: NSDocument and Large File Import?

2013-06-20 Thread Karl Moskowski
On Jun 20, 2013, at 3:53 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Jun 20, 2013, at 12:06 , Karl Moskowski kmoskow...@me.com wrote: I’m creating a document-based OS X app. The document itself will be a package, with most of the its properties archived in a plist

Re: NSDocument and Large File Import?

2013-06-20 Thread Karl Moskowski
On Jun 20, 2013, at 4:30 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Jun 20, 2013, at 4:07 PM, Karl Moskowski kmoskow...@me.com wrote: In fact, I think that will almost always be the case, so the link-to-an-external asset approach may not be practical. Anyway, would

Re: NSDocument and Large File Import?

2013-06-20 Thread Karl Moskowski
On Jun 20, 2013, at 5:41 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Jun 20, 2013, at 14:22 , Karl Moskowski kmoskow...@me.com wrote: So, when importing the asset upon new document creation, actually import it to a temp directory, then upon save of the document, hard

[MEET] Toronto Cocoaheads / tacow - May 14

2013-05-01 Thread Karl Moskowski
to join us for the traditional post-meeting pub visit. Please let us know if you’re going to stick around by RSVPing here. http://www.meetup.com/tacow-org/events/116304322/ Thanks, and see you there! Karl Moskowski kmoskow...@me.com http://about.me/kolpanic smime.p7s Description: S/MIME

[MEET] Toronto Cocoaheads / tacow - Mar. 12

2013-03-04 Thread Karl Moskowski
forward to seeing you there. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

[MEET] Toronto Cocoaheads / tacow - Jan. 8

2012-12-27 Thread Karl Moskowski
to seeing you there. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

[MEET] Toronto Cocoaheads / tacow - Sept 11

2012-08-29 Thread Karl Moskowski
forward to seeing you there. Karl Moskowski kmoskow...@me.com http://about.me/kolpanic smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

[MEET] Toronto Cocoaheads / tacow - May 8

2012-05-02 Thread Karl Moskowski
to seeing you there. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

[MEET] Toronto Cocoaheads / tacow - March 13

2012-03-05 Thread Karl Moskowski
tacow's next meeting is scheduled for 6:30 PM on Tuesday, March 13, 2012 in room 310 of Metro Hall. This is the first meeting on our new every-other-month schedule. Details, directions, etc. at http://goo.gl/G4ph9. All are welcome, and we look forward to seeing you there. Karl Moskowski

[MEET] Toronto Cocoaheads / tacow - October 11

2011-10-05 Thread Karl Moskowski
there. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

[MEET] Toronto Cocoaheads / tacow - July 12

2011-07-05 Thread Karl Moskowski
forward to seeing you there. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

[MEET] Toronto Cocoaheads / tacow - April 12

2011-04-04 Thread Karl Moskowski
. All are welcome, and we look forward to seeing you there. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev

[MEET] Toronto Cocoaheads / tacow - January 18

2011-01-11 Thread Karl Moskowski
The next tacow meeting will be on Tuesday, January 18 at 6:30 PM, at Metro Hall in room 310. Additional details can be found at http://goo.gl/9fQMO. All are welcome, and we look forward to seeing you there. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http

Re: Problem with category and obj-c++?

2010-07-21 Thread Karl Moskowski
of these to the Other Linker Flags of either the project or target? -ObjC -all_load See this for more info: http://developer.apple.com/mac/library/qa/qa2006/qa1490.html Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME

[MEET] Toronto Cocoaheads / tacow - July 6

2010-06-24 Thread Karl Moskowski
at http://groups.google.com/group/tacow/browse_thread/thread/47cfbaaf697b46d7 Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing

Re: OK, break it down for me... (question about gzip)

2010-06-08 Thread Karl Moskowski
to Use It In Your Project doc in the wiki), but there are Demo Projects. http://bitbucket.org/kolpanic/zipkit/ Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ ___ Cocoa-dev mailing list (Cocoa-dev

Re: Progress Indicator in Table View

2010-05-19 Thread Karl Moskowski
) that you have to change from default to make it look more NSTableView-like, but it works nicely for me. http://bitbucket.org/kolpanic/coruscation/ Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic

Re: appscript project gives warning with XCODE 3.2.2

2010-04-21 Thread Karl Moskowski
., the Release config, in a new Foundation tool project). I first noticed it with Sparkle on 3.2.2 - building the relaunch tool target shows these warnings. It looks like it's a bug in 3.2.2. I filed it (rdar://7872548), in case anyone else wants to jump on the bandwagon. Karl Moskowski kolpa

[MEET] Toronto Cocoaheads / tacow - April 13

2010-03-23 Thread Karl Moskowski
agenda directions are available at: http://groups.google.com/group/tacow/browse_thread/thread/625e7517bd14073d See you then! Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature

NSBrowser + Core Data Woes

2010-03-03 Thread Karl Moskowski
. Once populated, I won't be doing any modifications to the tree of objects. It's just for choosing a number of objects on which to do further work. Any pointers would be appreciated. Thanks. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com

[MEET] Toronto Cocoaheads / tacow - January 26

2010-01-11 Thread Karl Moskowski
directions are available at: http://groups.google.com/group/tacow/browse_thread/thread/9404d13768b492d7 Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ ___ Cocoa-dev mailing list (Cocoa-dev

[MEET] Toronto Area Cocoa WebObjects Developer Group - January 26

2010-01-04 Thread Karl Moskowski
/group/tacow and http://tacow.org/. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: CocoaBuilder is back

2009-12-29 Thread Karl Moskowski
-hosted archive of cocoa-dev. http://groups.google.com/group/cocoa-dev Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing

[MEETING] Toronto Area Cocoa WebObjects Developer Group - October 13

2009-10-05 Thread Karl Moskowski
The next meeting of tacow/Toronto CocoaHeads will be held on Tuesday, October 13 at 6:30 PM at Ryerson University. After a C4 recap, Jim Dovey wlll be talking about GCD and blocks. Details and directions are available at http://groups.google.com/group/tacow . Karl Moskowski kolpa

NSImageCell Disabled Look

2009-10-01 Thread Karl Moskowski
with a disabled look. I can't seem to find a way to turn off this behaviour. Am I missing something? Alternatively, is there a better way to display a list of files with icons on SL? Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com

Re: Cocoa-dev Digest, Vol 6, Issue 1051

2009-07-22 Thread Karl Moskowski
, the collector never kicks in. The workaround was to do something in the UI - click a menu, resize a window, etc. When I was further along in development and added a progress bar that was updated frequently, the symptom disappeared. Karl Moskowski kolpa...@voodooergonomics.com Voodoo

[MEETING] Toronto Area Cocoa WebObjects Developer Group - July 14

2009-07-09 Thread Karl Moskowski
The next meeting of tacow/Toronto CocoaHeads will be held on Tuesday, July 14 at 6:30 PM at Ryerson University. Up-to-date info and directions are available at http://groups.google.com/group/tacow and http://tacow.org/. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc

[MEETING] Toronto Area Cocoa WebObjects Developer Group - April 14

2009-04-08 Thread Karl Moskowski
The next meeting of tacow/Toronto CocoaHeads will be held on Tuesday, April 14 at 6:30 PM at Ryerson University. Up-to-date info and directions are available at http://groups.google.com/group/tacow and http://tacow.org/. Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics

Re: finder file size

2009-04-07 Thread Karl Moskowski
, kFSCatInfoDataSizes | kFSCatInfoRsrcSizes, info, NULL, NULL, NULL); if (err == noErr) size = info.dataLogicalSize + info.rsrcLogicalSize; } return size; } Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http

GC Seems To Never Kick In

2009-03-12 Thread Karl Moskowski
tool, but in a Cocoa app it sometimes needs manual invocation? Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list

Re: GC Seems To Never Kick In

2009-03-12 Thread Karl Moskowski
On 12-Mar-09, at 11:43 AM, Bill Bumgarner wrote: On Mar 12, 2009, at 8:32 AM, Karl Moskowski wrote: If I add something like this to the method's processing loop if (++block % 1000 == 0) objc_collect(OBJC_EXHAUSTIVE_COLLECTION); memory usage stays reasonable

Test if app run by Guest account?

2009-02-26 Thread Karl Moskowski
/Conceptual/IdentityServices_ProgGuide/monitoring/chapter_4_section_2.html#//apple_ref/doc/uid/TP40004490-CH6-DontLinkElementID_15 Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ ___ Cocoa-dev mailing list

Re: Test if app run by Guest account?

2009-02-26 Thread Karl Moskowski
On 26-Feb-09, at 6:04 PM, Gerd Knops wrote: On Feb 26, 2009, at 4:29 PM, Andrew Farmer wrote: On 26 Feb 09, at 14:05, Karl Moskowski wrote: I'm looking for a way to disable some features in my application if it's being run by the Leopard Guest account. I tried using

Re: Log4Cocoa

2009-01-22 Thread Karl Moskowski
by giving Peter Hosey's excellent series of articles from last year a read: http://boredzo.org/blog/archives/2008-01-19/next-week-apple-system-logger Karl Moskowski kolpa...@voodooergonomics.com Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME

Re: ASLExpireTime Format? [Solved, somewhat]

2008-12-09 Thread Karl Moskowski
asl_add_log_file() and manage the log files manually. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Cocoa-dev Digest, Vol 5, Issue 2097

2008-12-08 Thread Karl Moskowski
On 8-Dec-08, at 10:31 AM, mark [EMAIL PROTECTED] wrote: What does 'DO' stand for? In the context of Cocoa progamming, probably Distributed Objects. http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DistrObjects/DistrObjects.html Karl Moskowski [EMAIL PROTECTED] Voodoo

ASLExpireTime Format?

2008-12-01 Thread Karl Moskowski
the blog, if anyone's interested: http://boredzo.org/blog/archives/2008-01-25/asl-undocumented-keys Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature

Foundation Tool with GC?

2008-11-12 Thread Karl Moskowski
I also/instead call [NSGarbageCollector defaultCollector]? TIA. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev

asl_search() no longer returns old messages

2008-11-03 Thread Karl Moskowski
the ASL database? Is there another way to go further back in time with ASL? TIA. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing

Re: asl_search() no longer returns old messages

2008-11-03 Thread Karl Moskowski
back to logging to files. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: asl_search() no longer returns old messages

2008-11-03 Thread Karl Moskowski
/blog/archives/2008-01-25/asl-undocumented-keys I'm going to give that a try. Thanks. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing

Re: Creating a Hyperlink in the UI

2008-11-03 Thread Karl Moskowski
it a bit. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: ASL Unicode in Xcode's Console

2008-10-29 Thread Karl Moskowski
: return ASL_STRING_NOTICE; case ASL_LEVEL_INFO:return ASL_STRING_INFO; default:return ASL_STRING_DEBUG; } } Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S

ASL Unicode in Xcode's Console

2008-10-28 Thread Karl Moskowski
Asian Scripts Hiragana first character.) Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: ASL Unicode in Xcode's Console

2008-10-28 Thread Karl Moskowski
, it was just for demo purposes. In actuality, the messages will be constructed, e.g., from file names. Anyway, I've filed a bug (#6326169), in case anyone wants to jump on the bandwagon. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s

Notification on Login Items change?

2008-10-17 Thread Karl Moskowski
for NSUserDefaultsDidChangeNotification, but that didn't work. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Notification on Login Items change?

2008-10-17 Thread Karl Moskowski
). Thanks, Nick. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Notification on Login Items change?

2008-10-17 Thread Karl Moskowski
That's a good idea. Thanks. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ On 17-Oct-08, at 7:31 PM, Peter Ammon [EMAIL PROTECTED] wrote: On Oct 17, 2008, at 9:38 AM, Karl Moskowski wrote: In my Leopard-only app, I'm successfully using

[Meeting] Toronto Area Cocoa and WebObjects Developer Group - October 21

2008-10-07 Thread Karl Moskowski
. Thanks and see you there. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Daemon Advice?

2008-07-24 Thread Karl Moskowski
implemented this in the past, but the code is still inside Apple's firewall, where I don't have access to it anymore, so I can't look up the details.) A little convoluted, yes, but thanks, Jens. :-) If I start seeing problems, I'll look into it. Karl Moskowski [EMAIL PROTECTED] Voodoo

Re: Daemon Advice?

2008-07-24 Thread Karl Moskowski
On 24-Jul-08, at 5:52 PM, Chris Hanson wrote: On Jul 23, 2008, at 1:09 PM, Karl Moskowski wrote: I'm working on a Foundation tool to be used as a launchd daemon. It's a Leopard-only GC app that uses FSEvents to watch for changed files. Can anyone offer any tips or guidance? Thanks. I

Re: Daemon Advice?

2008-07-24 Thread Karl Moskowski
name is probably a good choice. And you launchd plist should be analogously named. For example: /Library/PrivilegedHelperTools/com.mycompany.mydaemond /Library/LaunchDaemons/com.mycompany.mydaemond.plist Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http

Daemon Advice?

2008-07-23 Thread Karl Moskowski
-based Objective-C daemons is hard to find and I'm worried I'm missing something, or (worse) on the wrong track entirely. Can anyone offer any tips or guidance? Thanks. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ // daemon.m #import Foundation

[MEETING] Toronto Area Cocoa WebObjects Developer Group - July 8

2008-07-01 Thread Karl Moskowski
volunteered to present his latest project. He’s been working on a framework Interface Builder plug–in with a collection of UI elements useful for modern Mac apps. Up-to-date info and directions are available at http://www.tacow.org/?p=77 . Karl Moskowski [EMAIL PROTECTED] Voodoo

Best Practice for Returning Immutable Objects?

2008-06-03 Thread Karl Moskowski
]; Would it be sufficient to cast, like this? : return (NSData *)myData; Does this generalize to other non-collection classes, e.g., NSString? TIA. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic

Re: Best Practice for Returning Immutable Objects?

2008-06-03 Thread Karl Moskowski
using the class, but that may change in the future. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Best Practice for Returning Immutable Objects?

2008-06-03 Thread Karl Moskowski
On 3-Jun-08, at 12:08 PM, Shawn Erickson wrote: On Tue, Jun 3, 2008 at 8:56 AM, Karl Moskowski [EMAIL PROTECTED] wrote: I have a few methods that return NSData objects, but the objects are created and manipulated as NSMutableData, and then copied to an immutable version along these lines

Re: Best Practice for Returning Immutable Objects?

2008-06-03 Thread Karl Moskowski
On 3-Jun-08, at 12:23 PM, [EMAIL PROTECTED] wrote: Karl Moskowski wrote on 2008-06-03 17:16:48: On 3-Jun-08, at 12:13 PM, Mike Abdullah wrote: Well this cast is fairly pointless as it makes no change to the data at all. Returning an NSMutableData object from an NSData method is perfectly

A file's icon in daemon?

2008-05-14 Thread Karl Moskowski
file type. If not, is there a daemon-safe way to do this on Leopard? Thanks. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list

Resource fork metadata - max size?

2008-05-06 Thread Karl Moskowski
feasible? BTW, if anyone's interested in my still-rough source code (Leopard- only, garbage collection required), let me know and I'd be happy to pass it along. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME

Re: Zip Files in Objective-C?

2008-04-28 Thread Karl Moskowski
archive creation at all. However, it should make a good starting point. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa

Re: NSDrawer resizing problem - no longer resizes when parent window resized

2008-04-16 Thread Karl Moskowski
the parent window smaller, the drawer is detached. It is like the link is completely broken on resizes. Closing and opening the drawer sets things right again. I'm a bit lost on this one. Anyone seen anything like it? Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http

Singletons on Leopard with GC

2008-04-10 Thread Karl Moskowski
. Furthermore, I'd like to ensure that an object instantiated in a NIB is the sharedInstance too. So far, it seems to work, but I'm afraid I've missed something. Any suggestions? Thanks. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description

[Meeting] Toronto Area Cocoa and WebObjects Developer Group - April 8

2008-04-01 Thread Karl Moskowski
The next meeting of tacow / Cocoaheads Toronto will be held on Tuesday, April 8 at 6:30 PM at Ryerson University. Apple's Steve Hayman will be talking about the iPhone SDK. More info and directions are available at http://www.tacow.org/?p=74. Thanks and see you there. Karl Moskowski

Re: Daemon vs. Keychain

2008-03-28 Thread Karl Moskowski
. Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com/ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Daemon vs. Keychain

2008-03-28 Thread Karl Moskowski
On 28-Mar-08, at 11:41 AM, Kyle Sluder wrote: On Fri, Mar 28, 2008 at 10:00 AM, Karl Moskowski [EMAIL PROTECTED] wrote: Is the System keychain an appropriate place to keep a daemon's credentials? If so, how can I get access to the item even after a new version of the daemon executable

Re: Interface Builder (almost) supports NSToolbar

2008-03-24 Thread Karl Moskowski
*) toolbarSelectableItemIdentifiers:(NSToolbar*) toolbar { return [[myToolbar items] valueForKey:@itemIdentifier]; } (For my prefs window toolbar, this is the only delegate method I've implemented.) Karl Moskowski [EMAIL PROTECTED] Voodoo Ergonomics Inc. http://voodooergonomics.com

Launch Daemon Best Practices?

2008-03-11 Thread Karl Moskowski
I'm working on a utility that has to be running even if no one is logged in. A bit of research leads me to think I should implement it as a launch daemon, with a separate configuration UI. Am I on the right track, or is there a better approach? Any pointers to sample code? I assume I'm

Re: Launch Daemon Best Practices?

2008-03-11 Thread Karl Moskowski
On 11-Mar-08, at 8:18 PM, Chris Suter wrote: On 12/03/2008, at 10:16 AM, Karl Moskowski wrote: Why not do it the other way round? Update settings via distributed objects, and have the daemon write them to /Library/Preferences. Good idea. Thanks, Hamish. I'm not so sure it's a good idea