Skip to content

Instantly share code, notes, and snippets.

@jlcampana
Created September 18, 2012 08:17
Show Gist options
  • Save jlcampana/3741980 to your computer and use it in GitHub Desktop.
Save jlcampana/3741980 to your computer and use it in GitHub Desktop.
NSMutableArray+Stack.h
//
// NSMutableArray+Stack.h
// shell poc
//
// Created by Jose Luis Campaña on 9/18/12.
// Copyright (c) 2012 Jose Luis Campaña. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSMutableArray (Stack)
- (void) push: (id)item;
- (id) pop;
- (id) peek;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment