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

Receiving Error "Optional type '$T3' cannot be used as a boolean; test for '!=nil' instead

I have tried the '!=nil' as suggested by the error. But that did not work either. Below is the code in my TableViewController func viewDidAppear(animated: Bool) { if (!PFUser.currentUser()) { var loginAlert:UIAlertController =…
Greg
  • 3
  • 1
0
votes
1 answer

How do I extract string/image attributes from PFUser (pointer) within a PFObject?

I'm trying to disseminate a PFObject that contains a pointer to a PFUser ('owner'): Here's my fetch code: public func collectHashTags(#sender:UIViewController, withinGeoCoordinate geoPoint:PFGeoPoint) { var query = PFQuery(className:"Tag") …
Frederick C. Lee
  • 9,019
  • 17
  • 64
  • 105
0
votes
1 answer

Unable to login PFUser or create PFObjects in OSX

Edit 1 Actually there's something more serious going on here as i am also not able to create and test objects. So i have imported #import Then i am calling the following from applicationDidFinishLaunching: - (void)initParse { [Parse…
Gareth Jeanne
  • 1,410
  • 2
  • 19
  • 35
0
votes
0 answers

How to store PFUser objectId with RecipientId

I use Parse.com for backend, I've two views : InboxView (where I receive images from friends), and ChatView. When I send images, I send images with recipientIds of user (that can be multiple users) in "Messages" class (parse). I receive images in my…
Vjardel
  • 1,065
  • 1
  • 13
  • 28
0
votes
1 answer

Get PFUser object custom values

I have custom value in a PFUser column called "website". I am trying to get this value using the code below but it does not seem to change on the device if I update the value from Parse.com on their website using the data viewer. It also does not…
Tom Coomer
  • 6,227
  • 12
  • 45
  • 82
0
votes
1 answer

Follower Count Label not updated for current user while database is correct

Let me bring 2 views for this issue: one is MyProfile View; two is UserProfile View. Under UserProfile View, there's no problem showing correct follower count in a UILabel updated from user database table but there comes a problem in MyProfile View.…
SanitLee
  • 1,253
  • 1
  • 12
  • 29
0
votes
1 answer

Parse Social Login without PFUtils

I am using parse for my app's backend, and I need to include social logins. I will be using log in with Twitter and the new Twitter Digits. What is the best way to create a new user in Parse via social logins without using their PFUtils wrappers to…
DBoyer
  • 3,062
  • 4
  • 22
  • 32
0
votes
1 answer

Login Screen with Username and Password via Parse in Swift

I have the Parse SDK all set up and working for my practice app. The tutorial I was following had a log in and sign up using a UIAlertController. I want to have a log in screen but I am new to iOS development. I have a User class in my Parse data…
kareem
  • 903
  • 1
  • 14
  • 36
0
votes
1 answer

Link anonymous parse user with email and password

it is possible to link a PFUser with Facebook via [PFFacebookUtils linkUser:[PFUser currentUser] permissions:@[@"email"] block:^(BOOL succeeded, NSError *error) { if (error) { NSLog(@"error %@", error); // TODO smart…
zeiteisen
  • 7,078
  • 5
  • 50
  • 68
0
votes
1 answer

Swift + Parse.com : how to fetch user relation using a join table

I have an app like instagram where i have to make relationship between users. For that i decided to use the join table method. It'' s just a table named "Activity" where i created rows "fromUser", "toUser" and a row for the activity type "type"…
jmcastel
  • 1,365
  • 7
  • 17
  • 34
0
votes
3 answers

how to check if PFUser has verified it's email - Xcode Parse

I'm trying to check if the current user has verified it's email before they proceed to the next step. What am i doing wrong please help thank you. The phone number saving in background works.. When i call on the "SavePhoneInBackground" the app…
0
votes
1 answer

Retrieve all guildmembers in the same guild as you using Parse

how do i retrieve all the guildmembers in your guild using parse? Here is my code: PFUser *currentuser = [PFUser currentUser]; PFQuery *query = [PFQuery queryWithClassName:@"User"]; [query whereKey:@"connectedGuild"…
Dridia
  • 183
  • 15
0
votes
1 answer

Getting username for PFObject

I have a PFObject class where each object has a user attached to it. I can call each object and display it in a tableview, however when I try to call the associated PFUser to each object it just crashes. PFObject *owner = [self.objectArray…
Derek Saunders
  • 401
  • 1
  • 4
  • 14
0
votes
1 answer

Parse iOS-XCode6: problems with PFUser objects from AnyPic using storyboards

I am Trying to add the USER structure from AnyPic tutorial into my app. I had several problems compiling the project on XCode6. Finally I solved all of them (arm64 architectures problems, MBProgressHUD, TTTTimeIntervalFormatter, ParseSDK framework,…
Fustav
  • 5
  • 4
0
votes
1 answer

How can I use a PFLoginViewController with the REST API instead of PFUser?

I'm trying to build my Parse iOS project in a way that'll be more easy to migrate later on for the client should he desire it. To that end, I'm trying to use the REST API instead of relying on PFUser and PFObjects. But I love the…
temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
1 2 3
14
15