Questions tagged [pfobject]

Tag for questions involving Parse Framework Object (a local representation of data persisted to the Parse cloud).

247 questions
-1
votes
2 answers

Issues retrieving and incrementing Parse object

I am trying to retrieve a PFObject, add 1 to the vote count and re-save to Parse. I am using Swift to successfully retrieve a PFObject, but am having trouble when I try to increment a nested value using the incrementKey() function. I first…
dliebeskind
  • 101
  • 2
  • 12
-1
votes
4 answers

UIButton in Custom TableViewCell not Changing Value when Selecting

Thanks to @jsetting32 I have a custom UITableViewCell complete with buttons at the bottom of the tableView. However, when I am clicking those buttons, the value for the selectedState is not changing, making it a bit difficult for the end-user to…
user717452
  • 33
  • 14
  • 73
  • 149
-1
votes
1 answer

NSInvalidArgumentException', reason: 'Can't use nil for keys or values on PFObject. Use NSNull for values.'

Try to create a Parse bases iOS application that saves object in background using a "Share Button" and this code: - (IBAction)share:(id)sender { if (self.chosenImageView.image) { NSData *imageData =…
Charles Jr
  • 8,333
  • 15
  • 53
  • 74
-1
votes
1 answer

Retrieving object from Parse.com

I'm having some struggles with the code when trying to retrieve an PFObject from Parse. This is my code: var query = PFQuery(className: "message") query.whereKey("recipientUsername", equalTo: PFUser.currentUser()) var messages =…
martin
  • 1,894
  • 4
  • 37
  • 69
-2
votes
2 answers

The method does not enter for loop Parse Swift

I use parse to query current user's friend list and the friend request user and when user press each cell of the friend request, The app will add that friend back and delete the selected friend request so I query friend list and friend request and…
John DOE
  • 25
  • 1
  • 7
-2
votes
2 answers

how can i store parse object directly in NsuserDefault?

PFQuery *Location = [PFQuery queryWithClassName:@"Location"]; [Location findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) { NSLog(@"%@", [objects objectAtIndex:0]); }]; How can i store this object in…
Anand
  • 32
  • 6
-3
votes
1 answer

Why isn't xcode recognising "PFObject" in viewcontroller?

Ive been trying to get my app working with parse and i cannot get the test to work. I think it might be due to viewcontroller.m not recognising "PFObject". I need to add this into the view controller as the instructions say on parse.com but i cannot…
oheffernan
  • 13
  • 1
1 2 3
16
17