User Tools

Site Tools


objective-c:foundation.framework:nsmutablearray.h:addobject

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

objective-c:foundation.framework:nsmutablearray.h:addobject [2013/06/14 01:57]
Anthony created by anthony Bowman
objective-c:foundation.framework:nsmutablearray.h:addobject [2014/05/30 21:56] (current)
Mo
Line 8: Line 8:
 NSMutableArray *mArray = [[NSMutableArray alloc] init]; NSMutableArray *mArray = [[NSMutableArray alloc] init];
  
-//adding object+//** Adding object **
 [mArray addObject:@"Hello"]; [mArray addObject:@"Hello"];
  
-// displaying the contents of the array into the console+//** Displaying the content of the array in console **
 for(id obj in mArray) { for(id obj in mArray) {
    NSLog("%@", mArray);    NSLog("%@", mArray);
advertising
objective-c/foundation.framework/nsmutablearray.h/addobject.1371167851.txt · Last modified: 2013/06/14 01:57 by Anthony

Impressum Datenschutz