EngineKit
NSMutableArray+ObjectiveSugar.h
1 //
2 // NSMutableArray+ObjectiveSugar.h
3 // SampleProject
4 //
5 // Created by Marin Usalj on 11/23/12.
6 // Copyright (c) 2012 @supermarin | supermar.in. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
12 
14 - (void)push:(id)object;
15 
22 - (id)pop;
23 
24 
31 - (NSArray *)pop:(NSUInteger)numberOfElements;
32 - (void)concat:(NSArray *)array;
33 
34 
41 - (id)shift;
42 
43 
50 - (NSArray *)shift:(NSUInteger)numberOfElements;
51 
52 
59 - (NSArray *)keepIf:(BOOL (^)(id object))block;
60 
61 @end
Definition: NSMutableArray+ObjectiveSugar.h:11
id shift()
Definition: NSMutableArray+ObjectiveSugar.m:38
id pop()
Definition: NSMutableArray+ObjectiveSugar.m:18