Questions tagged [pfobject]

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

247 questions
0
votes
2 answers

parse.com Storing a specific value once

I'm new to the Parse api and am trying to figure out how to do the following: My app stores strings ("foo", "bar", etc). "foo" should only exist once no matter how many times users attempt to add it - along with a count of how many times that string…
RobertJoseph
  • 7,968
  • 12
  • 68
  • 113
0
votes
1 answer

Parse: Compare PFObject to pointer in class

I have a PFObject of which one of its sub objects is an array with a pointers to an object of a class (Cars). I want to compare the pointer to an array of PFObjects (Cars) which I have already downloaded previously and find the matching one. Is…
freshking
  • 1,824
  • 18
  • 31
0
votes
1 answer

Cant get array PFQuery objects from parse code block

I dont know what the deal with parse is but for some reason it wont allow me to save the retrieved array into a mutable array I created. It works inside the parse code block but once outside, it displays null. Help please? PFQuery *query =…
user3926564
  • 105
  • 1
  • 1
  • 6
0
votes
2 answers

How to get notified when some proprerty of PFObject changed?

Im using parse.com and I wonder if there is a possible approach to get notified when PFObject on parse change one of his properties. The only sollution that I see is to use Push notifications and when notification arrive a refresh the object. Is…
Klemen
  • 2,144
  • 2
  • 23
  • 31
0
votes
2 answers

PFObject won't save PFFile PArse

I can't seem to set a Pffile object as a value for a Pfobject key in Objective-C. I'm trying to save NSData from an AVAudioPlayer in a PFfile. If I do the folllowing: NSData * audioData=[self.shoutInfoArray objectAtIndex:1]; PFFile *…
user3827344
0
votes
1 answer

Join Queries in parse

I have an application which uses parse as database and has following tables. User Table: Provided as default class by parse additionally it has user skills, user address, myJobs (which is an array of object ids of Job Class, the jobs that I have…
Madhup Singh Yadav
  • 8,110
  • 7
  • 51
  • 84
-1
votes
1 answer

"Sorted(by: )" not returning an Array / how to sort an Array of PFObjects in swift

so I can't seem to sort using swifts built in sort function. I have an Array of PFObjects, if you don't know what those are for the scope of this question it's probably better to imagine it as an array of hashTables. I'm trying to sort the array…
-1
votes
1 answer

Error: "JSON text did not start with array..." Saving with Parse SDK

I am trying to save a new PFObject and get the following error: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start…
Peter
  • 1,053
  • 13
  • 29
-1
votes
1 answer

Basic query in Parse using swift

I would like to retrieve 2 PFObjects at random, included in the PFObjects array when I do a query via Parse. The findObjects() option works but it creates a break when the app is running. Therefore I want to use findObjectsinbackground but when I do…
DavidT.
  • 11
  • 1
  • 5
-1
votes
2 answers

Cannot Subscript A PFObject Error

I've attempted to solve this error, but I've had no luck in doing so. I'm getting the error: Cannot subscript a value of type '[PFObject]' with an index of type 'String' On this line of code: self.postDates.append(posts["createdAt"] as! String).…
mur7ay
  • 803
  • 3
  • 16
  • 44
-1
votes
1 answer

How i make Column in Parse with Swift

I started learning programing just few weeks ago. i am making some application with Swift and Parse i have problem i install Parse SDK and Frameworks then i tried connect my app to Parse. (connecting was successful) but In test the SDK has some…
TaeWoo Park
  • 1
  • 1
  • 3
-1
votes
1 answer

Trigger Parse.com query when database is updated

I'm building an app where I need to get new PFObjects as users upload them. Currently what I'm doing is running a query every 10 seconds to query the database for new objects. As you could imagine, this is extremely inefficient and heavy on…
dan martin
  • 1,307
  • 3
  • 15
  • 29
-1
votes
1 answer

New PFObject via PFUser

i registered a User with PFUser and now i want to add a PfObject for each User something different, so like User A has in the PFObject the number 5 and User B has in the Object the number 8. How can i do that ? I used the PFSignUpViewController…
-1
votes
1 answer

Set User PFObject

I'm building an app with Parse and need the ability to save the current user (PFUser) for a given post they create. Then, I need the ability to retrieve that data when other users view their posts - so they can see the person's profile picture. …
user2579706
  • 79
  • 1
  • 9
-1
votes
1 answer

What is the right way to recreate object on Parse after deleting it?

Im using Parse for server side. And I have a table view with list of Contacts object from Parse. If user taps on object it saves it to parse and if taps again it deletes it from parse. For saving I use method: - (void)addContact:(Contact *)contact…
Klemen
  • 2,144
  • 2
  • 23
  • 31
1 2 3
16
17