UIKitCategoryAdditions
UIKitCategoryAdditions copied to clipboard
Block based Category additions for AlertView and ActionSheets
Hey there, very useful categories! I’ve made some tweaks. Pull them if you want.
Dropped in to an ARC project and got 6 errors, so I added these types of statements # if __has_feature(objc_arc) ``` return alert; ``` # else ``` return [alert autorelease];...
added macro to check ARC enabled project also added drop-down-like popover in specific anchor, with animation flag
Also contains some fixes from other forks.
If objects referenced in the blocks are deallocated, in the next invocation of alertViewWithTitle:message:cancelButtonTitle:otherButtonTitles:onDismiss:onCancel: block arguments still reference to deallocated instances causing crash. Fix the case if more than one...
Fix delegate type warnings
The UIActionSheet category does not appear to play well with rotation. In my app, I support rotation in just one tab. After presenting this from the tab bar, autorotate no...
It would be great if the classes supported ARC.