Changes

Jump to: navigation, search

User:John Dang

2,290 bytes added, 16:52, 9 February 2009
Apple Development
<h6>[http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSMutableArray_Class/Reference/Reference.html NSMutableArray]</h6>
<ul>
<li>'''''- (void)addObject:(id)that'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>]; <li>'''''- (void)addObjectFromArray:(NSArray *)that'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>]; <li>'''''- (void)insertObject:(id)that atIndex:(unsigned)index'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>]; <li>'''''- (void)removeAllObjects'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>]; <li>'''''- (void)removeObject:(id)that'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>]; <li>'''''- (void)removeObjectAtIndex:(unsigned)index'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>];  
</ul>
<h6>[http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html NSString]</h6>
1
edit

Navigation menu