(Newb) Populate NSMutableDictioanry with NSArray

2008-08-31 Thread Jon Davis
I came across tutorial code that looked sort of like this: NSMutableDictionary * myCollection; myCollection = [[NSArray alloc] initWithObjects:@"a", @"b", @"c", nil]; The types are not the same. So my first question is, is this a bug? And if so, why didn't the compiler catch it? I come from C#

Re: Newbie question: What does "no-op" mean?

2008-08-30 Thread Jon Davis
On Aug 30, 2008, at 7:59 PM, Jon Davis wrote: See subject; I'm just discovering Cocoa and documentation such as that surrounding NSAutoReleasePool's release function is described as "a no-op". What does "no-op" mean, and w

Newbie question: What does "no-op" mean?

2008-08-30 Thread Jon Davis
See subject; I'm just discovering Cocoa and documentation such as that surrounding NSAutoReleasePool's release function is described as "a no- op". What does "no-op" mean, and where can I find it discussed? Thanks, Jon ___ Cocoa-dev mailing list (Co