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

Read value of private properties #7

Open
ayman-melhem opened this issue Apr 2, 2014 · 1 comment
Open

Read value of private properties #7

ayman-melhem opened this issue Apr 2, 2014 · 1 comment

Comments

@ayman-melhem
Copy link

Hi -

I want to read the value of the private property of EKCalendar object, how can i do that ?

I tied the following but I didn't get the correct values:

EKCalendar * calendar = self.event.calendar;
BOOL value = [[calendar valueForKey:@"isMainCalendarForSource"] boolValue];

Please let me know how I can use these private properties in my code.

Regards

@MTJailed
Copy link

You should try it with valueForUndefinedKey

which will be more straightforward.

ggthedev pushed a commit to ggthedev/iOS-Runtime-Headers that referenced this issue Jan 6, 2019
Visual fixes and assets added
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