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

PFUser Current User check not working in Parse

I have an if ([PFUser currentUser]) check in my AppDelegate. I created a user then deleted them, but if ([PFUser currentUser]) returns true and has the user's former objectId even though they have been deleted from the Data Browser. Here is my…
cph2117
  • 2,651
  • 1
  • 28
  • 41
0
votes
0 answers

Unable to change username value before login validation

Where in the login process would I place code to set username before begin login with the delegate function - (BOOL)logInViewController:(PFLogInViewController *)logInController shouldBeginLogInWithUsername:(NSString *)username …
fabrizotus
  • 2,958
  • 2
  • 21
  • 27
0
votes
2 answers

Use PFQuery to get all PFUsers

I am trying to query all of the users of my app, and am using a PFQuery to do this. Here is the code I am using: PFQuery *query = [PFUser query]; [query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) { if (!error) { …
user3692917
-1
votes
2 answers

Does parse pfuser currentuser perform a query to access the currently logged in user?

Does parse in objective c perform a query to get the currently logged in user? [PFUser currentUser] I call it from several view controllers. Should I only do it once for the whole app?
user3537954
  • 51
  • 1
  • 2
-1
votes
1 answer

Trouble getting Swift 2 and Parse asynchronous query to return a boolean

Hi I'm working on customizing the Parse PFLogInViewController so that the logInButton will actually function as a sign up and login button by first checking to see if the username already exists. If it doesn't, then the user will be created. If it…
-1
votes
3 answers

How to change initial view controller after successful login?

I am developing my first app, and I am having trouble understanding how I can use NSUserDefaults to change my initial view controller after user has successfully logged in. (Once user has successfully logged in, user will no longer have to log in…
V1P3R
  • 176
  • 3
  • 16
-1
votes
1 answer

how to send a pfUser information to the next view controller

I got login and sign up with Parse working but then I call a segue and go to the next view controller and I don't know how to access the information of that PFUser. Simply if I want another screen to say "welcome"+the username but I don't know how…
-1
votes
1 answer

Create a User with Profile Picture with Parse in Swift

How would I create a sign up page using Parse where I could also get the user to input there own profile picture in Swift.
Stefan DeClerck
  • 1,162
  • 2
  • 12
  • 22
-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
2 answers

How to set the current user in cell? Swift, Parse

Day, guys. Help me.I can not solve the problem for three days I make an app look like an Instagram. I want to make sure that when you create a post, in cell of tableview, writing his nickname. I am try this:…
Hadevs Play
  • 71
  • 10
-1
votes
1 answer

How to check that which PFUsers are currently using my iOS application or logged-In status?

I am developing a iOS base Chat Application, where i want to Display the current online/offline status of my application user. For database i am using parse.com where all chat records and User details are stored.
Harry
  • 1
  • 2
-1
votes
1 answer

"Use of undeclared identifier 'PFUser'" in Parse

I'm getting this error: Use of undeclared identifier 'PFUser' With my application that has been integrated with Parse. It's worked before, and it worked perfectly. I found the error in this line of code: [PFUser…
Arman
  • 3
  • 2
1 2 3
14
15