Inherits from NSManagedObject
Declared in User.h
User.m

Overview

User class description. The class that includes attributes and methods for User object.

Tasks

Create Methods

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

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