Permalink
Switch branches/tags
Nothing to show
Find file
6dd1d0b Jul 18, 2012
23 lines (16 sloc) 441 Bytes
//
// MJGStack.h
// MJGFoundation
//
// Created by Matt Galloway on 06/01/2012.
// Copyright (c) 2012 Matt Galloway. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MJGStack : NSObject <NSFastEnumeration>
@property (nonatomic, assign, readonly) NSUInteger count;
- (id)initWithArray:(NSArray*)array;
- (void)pushObject:(id)object;
- (void)pushObjects:(NSArray*)objects;
- (id)popObject;
- (id)peekObject;
@end