ios - Adding objects from Parse to array for UITableView Error -
I am trying to populate the UITableView using a recovered object from the pars. Console My Viewedload: You Also keep in mind that you should only check
Items are corrected properly, when I try and use my _appliances for my
I get: NSArray
'NSInvalidArgumentException', reason: '- [__ NSCFString count]: sent to non-recognized selector example
_appliances
The array prints
:
014-07-27 18:24: 16.249 mip [15839: 60b] fan 2014-07-27 18:24: 16.249 mip [ 15839: 60b] Kettle 2014-07-27 18:24: 16.250 mip [15839: 60b] projector
PFQuery * queryApplianceClass = [PFQF query: with classname: @ "saved exception"]; [Query appsclose select key: @ [@ "tool"]]; [Query appeals class order bypassing: @ "updatedAet"]; QueryApplianceClass.limit = 100; [QueryApplianceClass findObjectsInBackgroundWithBlock: ^ (NSArray * applianceObjects, NSError * error) {PFObject * applianceList in applianceObjects} {NSLog (@ "% @", applianceList [@ "Tools"]) for {if (! // Use tool tool from // tool for the above console _appliances = applianceList [@ "device"]; }} And {NSLog (@ "Error:% @% @", error, [error user information]); }}];
NSString
value _appliance
Array variables I believe you are:
[queryApplianceClass findObjectsInBackgroundWithBlock: ^ (NSArray * applianceObjects, NSError * error) {if (applianceObjects) {NSMutableArray * devices = [NSMutableArray array] ; (For applianceObjects in PFObject * applianceList) {NSLog (@ "% @", Device List [@ "Tools"]); // To console from above print / databases, tool tools [addObject: appliancelist [@ "tool"]]; } _appliances = Tools; } And {nslog (@ "error:% @% @", error, [error user information]); }}];
error
if device object
is zero
.
Comments
Post a Comment