Open main menu

CDOT Wiki β

Changes

User:John Dang

58 bytes added, 14:28, 10 February 2009
Apple Development
<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>];
[nsarray <span style="color:#660099;">addObject</span>]:<span style="color:#CC0000;">@"Open Mind!"</span>];
<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>];
[nsarray <span style="color:#660099;">addObject</span>]:<span style="color:#CC0000;">@"Open Mind!"</span>];
<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>];
[nsarray <span style="color:#660099;">addObject</span>]:<span style="color:#CC0000;">@"Open Mind!"</span>];
<span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObjectremoveObjectAtIndex</span>:0]; 
</ul>
1
edit