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

How to use RMDateSelectionViewController in swift . Please provide a sample code #55

Closed
neoD1 opened this issue May 1, 2015 · 3 comments

Comments

@neoD1
Copy link

neoD1 commented May 1, 2015

No description provided.

@neoD1 neoD1 closed this as completed May 1, 2015
@SunburstEnzo
Copy link

Why is this closed? I seem to be having problems with using this in Swift as well, most things work exept for .show() and .delegate = self

Edit: Bad choice of variable name, and realised you can just present it anyway

screen shot 2015-05-01 at 12 45 03 pm

@CooperRS
Copy link
Owner

CooperRS commented May 1, 2015

You seem to be using version 1.5 of RMDateSelectionViewController. In this version the interface changed. Please take another look a the interface. The delegate has been replaced by blocks and the date selection view controller is presented by using apples standard method presentViewController:animated:completion:

Alternatively, you can use older versions of RMDateSelectionViewController, as version 1.5 and above require iOS 8 or above in most cases.

@SunburstEnzo
Copy link

Ah ok my bad, thanks for the reply! And thanks for a great component, it's really useful :)

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

3 participants