Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coeur/typedarray
concrete subclass of NSArray with Type filtering
https://github.com/coeur/typedarray
Last synced: about 2 months 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-22T01:52:45.000Z (over 11 years ago)
- Last Synced: 2024-10-14T12:59:13.029Z (3 months ago)
- Language: Objective-C
- Size: 113 KB
- Stars: 0
- Watchers: 3
- 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];