Closed DanielZanchi closed 7 years ago
Hello. You can fork the project and submit a pull request. I would be more than happy to add this.
I tried to Clone the project, changed the code and tried to commit it. But:
Daniel
On 27 Nov 2016, at 22:06, Adam Eri notifications@github.com wrote:
Hello. You can fork the project and submit a pull request. I would be more than happy to add this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blackmirror-media/BMPickerModal/issues/7#issuecomment-263147520, or mute the thread https://github.com/notifications/unsubscribe-auth/AGkS5PmmK4L6qy2mrkPOFnT6Z8sjbhceks5rCfC7gaJpZM4K2mbe.
Ok, I think I managed to do it!
On 27 Nov 2016, at 22:06, Adam Eri notifications@github.com wrote:
Hello. You can fork the project and submit a pull request. I would be more than happy to add this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blackmirror-media/BMPickerModal/issues/7#issuecomment-263147520, or mute the thread https://github.com/notifications/unsubscribe-auth/AGkS5PmmK4L6qy2mrkPOFnT6Z8sjbhceks5rCfC7gaJpZM4K2mbe.
You can change the colour of the buttons title "Save" and "Cancel". I didn't find any way to do a commit.
`// // BMDatePickerModal.swift // // // Created by Adam Eri on 17/11/2014. // Copyright (c) blackmirror media. All rights reserved. //
import Foundation import UIKit
@objc public enum BMPickerModalMode: Int { case datePicker case picker }
public class BMPickerModal: UIViewController, UIPopoverPresentationControllerDelegate, UIPickerViewDataSource, UIPickerViewDelegate {
} `
hope it helps!