I have a category:
#import "Users+Authentication.h"
@implementation Users (Authentication)
- (void) users:(NSSet *)userEmails inManagedObjectContext:(NSManagedObjectContext *)context
{
// Saves the users to sqllite
I know how to call it if it were a class method ( + (Users ....) but how do I call this from my view controller correctly?
Make sure the method is declared in Users+Authentication.h. Then make sure you import that file wherever you need to use it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.