subdigital/BSModalPickerView — pull request #9 by sethfri (2013-05-22 21:52:50+00:00)
Title: Added BSModalDatePickerView

Pull request for #1, using a bit of @prabirshrestha's work from #2. `BSModalDatePickerView` is implemented as a subclass of `BSModalPickerView`. The problem, though, is that I'm worried my implementation may be a bit naïve:

I'm not overly familiar with iOS development pre-ARC, plus I figured it was time for `BSModalPickerView` to join the ARC world (it says it requires ARC in its `podspec` anyway), so I removed all references to `retain` and `assign`. I'm assuming the README should be updated to say it only supports iOS 5.0+, but I wanted to make sure before I made that change.

Additionally, playing around with instance variables and subclassing in Objective-C is pretty tricky. I've done what I'm pretty sure is a decent implementation, but I'm sure there's plenty of room for improvement. I'd be happy to make those changes, as I want to use this pod in a project I'm currently working on.

Let me know what you think!