Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access ldUser from LDClient #159

Closed
joehsieh opened this issue Jan 7, 2019 · 1 comment
Closed

Cannot access ldUser from LDClient #159

joehsieh opened this issue Jan 7, 2019 · 1 comment

Comments

@joehsieh
Copy link

joehsieh commented Jan 7, 2019

I cannot access ldUser from LDClient anymore since 2.14.0.
I think that's because #import <Darkly/LDUserModel.h> is not in Darkly.h anymore.

@arun251
Copy link

arun251 commented Jan 9, 2019

Hi @joehsieh -- that is correct. ldUser and LDUserModel were never intended to be exposed to SDK consumers. We made this change to make it more clear which classes/methods/properties were intended to be private. You can access the equivalent of ldUser with [[LDClient sharedInstance] currentUserBuilder].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants