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#
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
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