nsmutablearray
iOS unrecognized selector sent to instance - adding NSDictionary to NSMutableArray
Apologies for the masses of code but people usually ask for lots in the end anyway. I\'m getting the following error when trying to add an NSDictionary to an NSMutableArray[详细]
2023-04-06 15:31 分类:问答Change text in UILabel with NSMutablearray data
I\'m trying to change the text of a UILabel with text from an array upon a button click, but it doesn\'t do anything.[详细]
2023-04-06 09:00 分类:问答Using a property of a subclass of an object
My code functions properly, but I am getting warnings, so I think I can do this better.I have a subclass of NSObject (Objects) and I have a subclass of Objects (subObject).I have a property declared i[详细]
2023-04-06 07:02 分类:问答How to bind a NSMutableArray to NSArrayController's selection?
I have NSMutableArray (arr1), and NSArrayCont开发者_JAVA百科roller for that arr1. I\'d like to have another NSMutableArray\'s content to be the selection of the NSArrayController.You can observe the[详细]
2023-04-06 03:45 分类:问答Check if objectAtIndex is nil without receiving error?
How can I check开发者_开发知识库 to see if an object in an NSMutableArray is nil or not without getting the error index .. beyond bounds for empty array? I receive the error using the following code:[详细]
2023-04-06 01:41 分类:问答How to sort a mutablensarray?
I made this code to sort an nsmutablearray but how to send back an NSMutablearray ? i need this because a add information later in my mutablearray.[详细]
2023-04-06 00:52 分类:问答TableView UISearchBar Crashes while Searching
I\'ve been playing around with a search facility for my application table view for a while now trying to get it working but i keep getting the same error in my console.[详细]
2023-04-06 00:09 分类:问答Out of scope error when adding an object to an NSMutableArray
I am trying to add a class object to an NSMutableArray but the object appears to be out of scope after adding it.[详细]
2023-04-05 22:01 分类:问答UIPicker view not displaying data from JSON array
i have a UIPicker view for which i need to load the data from a JSON feed. I am able to write the array data into NSLOG and display it , but not able to see it in the UIPickerview . please see the cod[详细]
2023-04-05 21:44 分类:问答Copy first 10 objects of NSMutableArray to another NSMutable Array
I have a NSMutableArray of 35 items and I want to copy the first 10 items to another array. After adding 10 items to my array I want to add the same 10 items again.[详细]
2023-04-05 14:36 分类:问答