NSArray vs. NSMutableArray ... "distinct objective-c type"
NSArray vs. NSMutableArray ... "distinct objective-c type"
- Subject: NSArray vs. NSMutableArray ... "distinct objective-c type"
- From: Martin Batholdy <email@hidden>
- Date: Sat, 6 Jun 2009 14:14:08 +0200
hi,
I have created a method that do something with an NSArray.
Now when I use the method and give it an NSMutableArray instead of an
NSArray,
I get a warning;
"passing argument x of "method" from distinct objective-c type"
Now, the result is ok. Everything is working how it is intended.
So, should I just ignore the message?
Or is that bad practice ...?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden