Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Most of these files are works in progress.
- As I find bugs or add features I will update them, and note changes in here.
- (i will put most recent changes at the top, summarised by date)
- 21 November 2013
- Added "NSStringFromEnum.h" and "NSStringFromEnum.h"
- note - initial paste of "NSStringFromEnum.h" had a slight to do with renaming a parameter name. fixed.
- 1. November 2013
- NSObject+arcAgnostics.h
- NSObject+arcAgnostics.h
- updated to expressly include __SELF__ and __NOP__ regardless of arc being used, so mixed mode
- projects find the helper methods at runtime. (The idea is if you #import NSObject+arcAgnostics.h into a .m file you want to migrate to ARC, it should compile and sort out most issues, except for [super dealloc]. just changed those to [SUPER_DEALLOC] and the code will compile cleanly as arc or non arc.
- also renamed [NSObject load] to [NSObject test] so it does not always execute on app load.
- the test code is not needed, you can remove it if you don't want to use it.
- (I am in the process of ensuring all code here is arc agnostic, and testing in my own apps as i go, where these files are used. any issues i will update the files on pastebin. )
- NSData+Base64.m (Matt Gallagher's code)
- added a line : "#import NSObject+arcAgnostics.h" to make it ARC agnostic. (has an autorelease in it)
- NSObject+classSwitch.h
- NSObject+classSwitch.m
- modified slightly to make it ARC agnostic.
- UIView+cloneSerialization.m
- modified slightly to make it ARC agnostic.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement