Re: Observing edits make to a table using bindings

2009-01-20 Thread Jonathan deWerd
plete with cryptic options, behind the scenes voodoo, and long method calls? :) - Jonathan deWerd http://dew0rd.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator co

Re: including a cocoa bundle in a carbon app

2008-08-11 Thread Jonathan deWerd
On Aug 10, 2008, at 5:39 PM, Uli Kusterer wrote: On 10.08.2008, at 19:38, Bob Sabiston wrote: I got my Cocoa bundle to compile on the Intel machine. It still doesn't load within my app, though. Is there something special I need to do to include it in my project? I just dragged it in on the

Re: compiling a bundle on intel?

2008-08-09 Thread Jonathan deWerd
On Aug 9, 2008, at 5:22 PM, Bob Sabiston wrote: Hi, I have a Cocoa bundle that I compile with my Carbon program. I used the Apple examples to do it, and I don't have a very thorough understanding of Cocoa or bundles. However, on my G5 w/ Codewarrior compiling (still!), it actually wo

Re: I don't understand why this is leaking...

2008-08-09 Thread Jonathan deWerd
On Aug 9, 2008, at 4:48 PM, Cate Tony wrote: This code is leaking: - (void)saveItemExtensions:(id)sender { NSMutableString* itemExtensionsFilePath = [NSMutableString stringWithString:@"~/Library/Preferences/MyApp/extensions.abc"]; NSDictionary* extensions = [NSDictionary dictionaryWithD

Re: Modules in Objective-C like e.g. OSGi-Bundles in Java

2008-08-07 Thread Jonathan deWerd
On Aug 7, 2008, at 5:31 PM, Lars Sonchocky-Helldorf wrote: Am 07.08.2008 um 21:45 schrieb Matthias Luebken: Hi I'm new to Cocoa and Objective-C. Please point me to a different group / forum if this mailing-list isn't appropriate. I have a fairly basic language question: Is there a module

Re: Modules in Objective-C like e.g. OSGi-Bundles in Java

2008-08-07 Thread Jonathan deWerd
On Aug 7, 2008, at 1:45 PM, Matthias Luebken wrote: Hi I'm new to Cocoa and Objective-C. Please point me to a different group / forum if this mailing-list isn't appropriate. I have a fairly basic language question: Is there a module concept in Objective-C / Cocoa? I'm thinking in terms of OSGi

Re: Command Line Argument - Choosing a Style

2008-08-06 Thread Jonathan deWerd
I would make plugins of a different type: standard cocoa bundles (there are a handful of tutorials on google). This way, people could install and uninstall using the finder (a little known but helpful feature of the info box), you could use standard cocoa APIs, you wouldn't have to deal wit

Re: remove elements during the iteration on NSMutableDictionary

2008-08-06 Thread Jonathan deWerd
On Aug 6, 2008, at 10:49 AM, Andrew Merenbach wrote: On Aug 6, 2008, at 9:30 AM, Roland King wrote: for (id theKey in aDictionary) { id anObject = [[aDictionary objectForKey:theKey] retain]; [aDictionary removeObjectForKey:theKey]; // Question: will this removal break or corrupt the loop of

Re: Using performSelector: on super

2008-08-06 Thread Jonathan deWerd
The solution I would use would be to implement a category on super's class, or rename the method (probably the best option from a design standpoint). For instance, suppose we have (stretching the objc syntax a bit) @implementation FooClass - (void)sayHi { NSLog(@"Hi"); } @end @impl