User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







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

init

Inherited from NSArray.

 
- (id)init;
 

Returns an empty array.

Return Value - NSMutableArray

ObjC Sourcecode Example

    // ** Init array **
    NSMutableArray *myArray = [[NSMutableArray alloc]init];
 
    // ** Output array **
    NSLog(@"myArray : %@", myArray);

Output for this example code

2012-12-08 12:14:45.765 NSMutableArraySample[320:11303] myArray : (
)
advertising
objective-c/foundation.framework/nsmutablearray.h/init.txt · Last modified: 2014/05/30 21:53 by Mo

Impressum Datenschutz