user.getProperty

Hi

Just beginning to update an iOS app to use pod ‘BackendlessSwift’ and not ‘Backendless’

Maybe it is my Xcode having a wobble, but it is complaining that
Value of type ‘BackendlessUser’ has no member ‘getProperty’

as in

 if let name = self.getCurrentUser().getProperty(propertyName: "mypropertyname") as? String {...

Docs still reference getProperty, it looks like it should work still? any ideas?

Thanks

Mike

Hello @mike-turner

Let’s try something like this:
if let name = self.getCurrentUser().properties["mypropertyname"] as? String {..
We will update the documentation as soon as possible.

Regards,
Viktor

ah, ok thanks Viktor. that works