Skip navigation.
 
mlRe: NSMutableArray Problem
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

Related mailsAuthorDate
mlNSMutableArray Problem Philip Bridson Feb 21, 19:48
mlRe: NSMutableArray Problem Hank Heijink Feb 21, 19:53
mlRe: NSMutableArray Problem Shamyl Zakariya Feb 21, 19:56
mlRe: NSMutableArray Problem Keith Duncan Feb 21, 23:04