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 : (
)

on the occasion of the current invasion of Russia in Ukraine

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

Impressum Datenschutz