Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Using Arrays and Dictionaries > Creating a Mutable Array

Creating a Mutable Array

The arrays you create with NSArray are fixed arrays—you cannot change their length at run time. However, the length of arrays you create with the NSMutableArray class can be changed when your program runs.

In the next task, you’ll use NSMutableArray to add elements to a mutable array.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint