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

'RMDateSelectionViewController' does not have a member named 'setLocalizedTitleForSelectButton' #52

Closed
romaincointepas opened this issue Mar 26, 2015 · 3 comments

Comments

@romaincointepas
Copy link

Maybe I'm not getting something, but I can't use the setLocalized* methods.

screen shot 2015-03-26 at 9 13 32 am

@romaincointepas romaincointepas changed the title Can't figure out how to use .setLocalizedTitleForSelectButton() 'RMDateSelectionViewController' does not have a member named 'setLocalizedTitleForSelectButton' Mar 26, 2015
@CooperRS
Copy link
Owner

It's a static method. So you need to write RMDateSelectionViewController.setLocalizedTitleForSelectButton() ;)

@romaincointepas
Copy link
Author

Oh okay. Shouldn't this be an instance method like hideNowButton() and others? (I could have multiple RMDateSelectionViewController with different purposes).

Edit: Sorry for not spotting this BTW, I jumped into Swift without any Obj-C background

@CooperRS
Copy link
Owner

Actually, this property should be settable via a Proxy API, very much like the UIAppearance API. But this is something for a future version ;)

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