TypedArray library introduces simple to use and extend dynamic arrays class hierarchy for non-class types like NSInteger and CGRect.
To use this library in your project, just copy files in Classes folder to your project.
If you want to extend the hierarchy with support for other types, use existing class (e.g. LOOCGRectArray) as an reference.
In the repo you will find Xcode project with unit tests target. Test class performs a test suit, covering most of methods, for arrays with different type sizes (1, 2, 4, 8 and 16 bytes).
If you want to do some work on this project, please remember to use it.