2008年2月29日 星期五

mutable and immutable

immutable class means you can not alter after initialization
ex: NSString, NSArray

mutable class means you can alter after initialization, it extends from immutable class
ex: NSMutableString, MSMutableArray

沒有留言: