https://github.com/coeur/typedarray
concrete subclass of NSArray with Type filtering
https://github.com/coeur/typedarray
Last synced: 6 days ago
JSON representation
concrete subclass of NSArray with Type filtering
- Host: GitHub
- URL: https://github.com/coeur/typedarray
- Owner: Coeur
- License: mit
- Created: 2013-07-22T00:43:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-22T01:52:45.000Z (almost 12 years ago)
- Last Synced: 2025-06-24T20:29:11.902Z (13 days ago)
- Language: Objective-C
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TypedArray
==========concrete subclass of NSArray with Type filtering
Usage
=====What you can import: you will need to declare an interface and an implementation for each filtering class
#import "TypedArray.h"
TYPED_ARRAY_INTERFACE(NSString)
TYPED_ARRAY_IMPLEMENTATION(NSString)What you can create: anything like a normal NSArray
// this will produce an NSStringArray with only @"foo" and @"bar"
NSStringArray *myArray = [NSStringArray arrayWithObjects:@"foo", @(true), @"bar", @[], nil];