Questions tagged [pfuser]

The PFUser class is a local representation of a user persisted to the Parse Data.

@interface PFUser : PFObject <PFSubclassing>

The PFUser class is a local representation of a user persisted to the Parse Data. This class is a subclass of a PFObject, and retains the same functionality of a PFObject, but also extends it with various user specific methods, like authentication, signing up, and validation uniqueness.

Many APIs responsible for linking a PFUser with Facebook or Twitter have been deprecated in favor of dedicated utilities for each social network. See PFFacebookUtils, PFTwitterUtils and PFAnonymousUtils for more information.

To find more information :

223 questions
0
votes
1 answer

Swift : Delete PFUser in Parse From a TableView

i'm trying to delete a user in User table from parse with my tableView. I get this error message when i do it : 2015-03-29 15:15:00.385 IOS-EHPAD[1717:651792] -[UIApplication endIgnoringInteractionEvents] called without matching…
0
votes
2 answers

How do you determine User creation type in Parse

In the the app, the user can sign-up via email/password, Facebook or Twitter. When they create an account via Facebook, the app sets the email field to their Facebook account. This is not true of Twitter because they don't share the email. An…
Chris Campbell
  • 182
  • 1
  • 1
  • 6
0
votes
2 answers

issue when trying to delete one object from an array field (parse - ios)

I have a button where user can delete a friend: it looks like this: ("self.otherUser" is a PFUser instance which contains the friend user to delete) ("friends" is an array field in the User table which contains friends ObjectIds) PFQuery…
Lkm
  • 113
  • 11
0
votes
0 answers

Retrieve posts from current User's friends

The principle is that user can post opinions and only his friends can see them So I will show you the data model and explanations to understand well 'User' table: objectId, username, email etc... (all of default fields provided by Parse and many…
Lkm
  • 113
  • 11
0
votes
1 answer

Querying interrogation with PFUser and Friendship restriction

I have my app where users write opinions and only their friends can see them in the timeline and comment it (In a UITableViewController subclass called "OpTimelineTableViewController"). But I have an interrogation on how to do this restriction query…
Lkm
  • 113
  • 11
0
votes
1 answer

parse query to see if friend info has changed

I am using parse as a server for my iOS application. One major component of the application is when a user updates their information, I want this new information to be available to their friends. Right now the only way i can think of to do this is…
David
  • 127
  • 1
  • 11
0
votes
2 answers

Make "email" for PFUser private

Is there a way to set private the email property of a PFUser class, without having to set private the entire class?
Guido Lodetti
  • 739
  • 2
  • 8
  • 20
0
votes
1 answer

Parse: log out anonymous user when user force terminates app

I log in as a guest user. I force quit the app (quickly press home button, swipe up on app - just to clarify). I re-start the app. The anonymous user is still logged in. I thought it would be as simple as this in my AppDelegate: func…
lostinthebits
  • 661
  • 2
  • 11
  • 24
0
votes
1 answer

How to retrieve objectID from PFUser username query?

I ask the user to input their username. I then search the User class in Parse for their "account" and retrieve it. I can get the objectID and a bunch of other parameters into user but when I try to just isolate objectID I get errors... var query =…
nick9999
  • 601
  • 1
  • 8
  • 22
0
votes
0 answers

Issue filtering PFUser to store it in NSMutableArray

In my app, User can search other users with UISearchController implemented in a UITableViewController custom class called: "FindUsersTableViewController". So, I load the users from parse data browser, filtering users seems to work properly as I can…
Lkm
  • 113
  • 11
0
votes
1 answer

PFUser Not returning objectID value on iOS

I am trying to get the objectId key from a PFUser using Parse.com, but it keeps returning null. PFUser *me = [PFUser currentUser]; NSString *theObject = me[@"objectId"]; NSLog(@"Return %@", theObject); Every time I run this, it comes back as…
user717452
  • 33
  • 14
  • 73
  • 149
0
votes
0 answers

PFRelation won't save, trying to link message object to PFUser object

I am having trouble saving a PFRelation in Parse. I have a message PFObject and want to add this to a PFRelation receivedMessages in the PFUser class. Code is below. Everything works up to actually trying to create the relationship. I have set…
Kex
  • 8,023
  • 9
  • 56
  • 129
0
votes
1 answer

PFInstallation and adding a pointer to a PFUser

I am trying to get to grips with Parse and build a simple chat app. For my login and signup code I have this snippet: PFInstallation *installation = [PFInstallation currentInstallation]; installation[@"user"] = [PFUser currentUser]; …
Kex
  • 8,023
  • 9
  • 56
  • 129
0
votes
1 answer

Add a user to another view controller parse swift

I have a view controller where users make posts via Parse. I want to add a request button which would save the users they add to a tableview in another view controller (like a list), I don't know how to go about this, do I create a new class in…
kareem
  • 903
  • 1
  • 14
  • 36
0
votes
1 answer

Adding multiple users at once to PFRelation IOS objective c

Im wanting to add multiple users that I queried to a PFRelation all at once. How do I go about doing this. Also will all of the users information be stored in the PFRelation so that the current user can access it at a later time? //so now i am…