Determining the number of objects in an NSArray
        Posted  
        
            by Viral
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Viral
        
        
        
        Published on 2010-04-22T04:20:00Z
        Indexed on 
            2010/04/22
            16:53 UTC
        
        
        Read the original article
        Hit count: 269
        
Hi friends,
I am making a book application. To move to the next topic I am using a button. The Button works as it moves to the next topic, but at the end of the file my application gets the message obj_fatal and it crashes. If I knew how many objects there are in my NSArray then the problem will be solved. I am getting the details from a .plist file and storing it in to a array.
So if any one knows how, please let me know.
Thanks in advance. Viral.
© Stack Overflow or respective owner