User Class Reference
Inherits from | NSManagedObject |
Declared in | User.h User.m |
Tasks
Create Methods
-
+ userWithEmail:withName:withSurname:withPassword:inManagedObjectContext:
Method that creates a User object.
Class Methods
userWithEmail:withName:withSurname:withPassword:inManagedObjectContext:
Method that creates a User object.
+ (User *)userWithEmail:(NSString *)email withName:(NSString *)name withSurname:(NSString *)surname withPassword:(NSString *)password inManagedObjectContext:(NSManagedObjectContext *)context
Parameters
Email of the user.
- name
Name of the user.
- surname
Surname of the user.
- password
Password of the user.
- context
Managed object context of the database.
Return Value
Returns the User object that is created.
Discussion
Method that creates a User object.
Declared In
User+Create.h