Closed gaming-hacker closed 9 years ago
This needs to be the bounds of the current container. For example, if you are using this directly at the top level in a UIViewController, your might want to do this:
datePickerModal.showInPopover({ (selectedDate) -> Void in
let theNewDate = selectedDate as NSDate
// Do something with the date here
}, sourceView: self.view, sourceRect: self.view.frame, inViewController: self)
Thanks for that.
hi, i get an error on iPad
ViewController.swift:86:45: Use of unresolved identifier 'cell'
any help?