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 [2024/02/16 01:12] (current)
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);

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
objective-c/foundation.framework/nsmutablearray.h/addobject.1371167851.txt · Last modified: 2024/02/16 01:11 (external edit)

Impressum Datenschutz