Custom User Properties (Logged in User) iOS - ObjectiveC

Hey,

I’m having fun with logins and users. I have been googling until my fingers are red trying to figure out how to access a custom user property that I put into Backendless. I am using the code below from the documentation to try and work out. Simply put I can access the data that already exists but the new custom value doesn’t seem to be known. Should I be refreshing the code base from backendless each time I make a change? For the record at the time of trying this I couldn’t download the regeneration code from Backendless server otherwise I would have tried prior to posting this.

BackendlessUser *user = backendless.userService.currentUser;

if (user) {

    NSString *userEmail = user.email;

    

    //Custom supplier property added but doesn't recognise. 
    NSString *userSupplier = user.supplier;

    

    [self retrieveUserEntityProperties];

    NSLog(userEmail);

}

 else

{

    NSLog(@"User hasn't been logged");

}

}

I’m a space cadet. I found that all I needed to do was call the getProperty attribute and put in what I’m looking for. smacks head

NSString *supplier = [user getProperty:@“supplier”];

Hope this helps someone else out.