Search Results for view
Draw scalable icons of different styles with a single PDF or image. If you're sick of maintaining tons of image files for @2x displays, different colors, or highlighted/unhighlighted states, this is your answer. Check out the README for examples: https://github.com/peyton/MOOMaskedIconView
Dead-simple in-app notifications. Notifications slide up from the bottom of whatever view they're attached to and slide back down when you or the user are done with them. Great for indicating that something is happening (a feed is being refreshed, for example) or that something has just happened (there was an error sending something, for example) without throwing up a UIAlertView. You can customise the notification text, the notification level (which affects the background color of the notification — red for error, blue for message, and green for success), the target/selector that's fired when the user taps the notification, and whether or not the notification has a spinner.
DAKeyboardControl allows you to easily add keyboard awareness and scrolling dismissal (a receding keyboard ala iMessages app) to any UIView, UIScrollView or UITableView with only 1 line of code. DAKeyboardControl automatically extends UIView and provides a block callback with the keyboard's current origin.
MNMBottomPullToRefresh is a solution to add pull-to-refresh feature to the bottom of a UITableView instead of the top, as usual. This view can be used to retrieve more values, or pages, of a large list. This solution has its basis on the Mediator design pattern (http://en.wikipedia.org/wiki/Mediator_pattern). 'MNMBottomPullToRefreshManager' acts as a Mediator between the pull-to-refresh view and its container table view, decoupling the view and the scroll management. In order to maintain this decoupling, there is no 'UITableView' subclass, allowing developers to add this behavior as an aggregate of its own subclasses of 'UITableView' without creating an intermediate class.
A simple device for creating a fade effect at the bottom and top of a text view. Also included in the project is FadingContentScrollView which is a scroll view that you supply a content view to and the fade effect can be either top and bottom (vertical scrolling) or at left and right (horizontal scrolling). Run the project in the iPhone simulator and you get a full screen FadingTextView. Run the project in the iPad simulator and you get several examples of FadingContentViews. The effect is achieved by adding views on top of the content view which in turn have a gradient layer. There are probably better ways to achieve this - especially as the gradient views detract from the interaction area of the scrollview/textview. Any suggestions for improvement would be gratefully received.
If you're sick and tired of the old UIActionSheet and UIAlertView's look or just can't do what you want with them, these classes are the answer to your prayers. The classes can be easily customized to your look and feel and they're even easier to use than the iOS API classes because they use blocks for the actions, not a freaking delegate. Read the blog post to know more: http://blog.codecropper.com/2012/01/replicating-tweetbot-alerts-and-action-sheets/