Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Bringing memory-management back to the modern ARC environment!
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
DCTRemember.xcodeproj
DCTRemember
NSObject+DCTRemember.h
NSObject+DCTRemember.m
Readme.textile

Readme.textile

Remember/Forget

This project adds memory management back to ARC, also giving an accurate “rememberCount”. I had to use “remember” and “forget” because the compiler complains about using retain and release.

To use, simply call remember and forget on an object:

NSDate *date = [NSDate dateWithTimeIntervalSince1970:-11491632000];
[[date remember] remember];
	
// Though we should always remember this date, we do actually forget it:
[date forget];
[date forget];

It’s a joke, get over it

AND REALLY DON’T USE IT

Something went wrong with that request. Please try again.