iphone - Insert 12 objects into NSMutableArray -


I want to add 12 objects to nsmutablearray, ready for command InsertObject: atIndex:

There < / P>

  [Self. YouTubeArrayAbject: @ ""] should be a fast way; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""]; [Self. YoutubeArray addObject: @ ""];    

  NSMutableArray * arr = [NSMutableArray arrayWithObjects: @ "" Number: 12 ];    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -