Skip to content
Browse files

Add note about ARC usage

  • Loading branch information...
1 parent b794a79 commit cc87aa60270ee4cb650d3cfeed589615e2e6f9ca @atomicbird committed Feb 21, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -7,3 +7,7 @@ A collection of useful Objective-C code. Most of this has been blogged about at
* `NSObject+deallocBlock.h`: Add a block to any object that will execute when that object is deallocated. Described in detail at [CIMGF](http://www.cimgf.com/2012/02/17/extending-nsdata-and-not-overriding-dealloc/).
* `NSData+reallyMapped.h`: Create an NSData object using a memory mapped file. Works even though `dataWithContentsOfMappedFile:` is deprecated in iOS 5.0 and `NSDataReadingMappedAlways` doesn't always (despite the name) create memory mapped instances. Described in detail at [CIMGF](http://www.cimgf.com/2012/02/17/extending-nsdata-and-not-overriding-dealloc/).
+
+# Important note
+
+All code in this repository is designed for use with automated reference counting (ARC). If you are not using ARC you may experience memory leaks or worse.

0 comments on commit cc87aa6

Please sign in to comment.
Something went wrong with that request. Please try again.