FROM : Keith Duncan
DATE : Thu Feb 21 23:04:11 2008
> Now, that being said, I'm not sure why you're getting the warning
> about distinct ObjC types.
An API expecting an NSArray can be passed an NSMutableArray, the
converse however isn't true. Casting the return value of -
componentsSeparatedByString: to a mutable array won't make it one.
Keith
DATE : Thu Feb 21 23:04:11 2008
> Now, that being said, I'm not sure why you're getting the warning
> about distinct ObjC types.
An API expecting an NSArray can be passed an NSMutableArray, the
converse however isn't true. Casting the return value of -
componentsSeparatedByString: to a mutable array won't make it one.
Keith
| Related mails | Author | Date |
|---|---|---|
| Philip Bridson | Feb 21, 19:48 | |
| Hank Heijink | Feb 21, 19:53 | |
| Shamyl Zakariya | Feb 21, 19:56 | |
| Keith Duncan | Feb 21, 23:04 |






Cocoa mail archive

