Source/Stack.h
changeset 27 b0affce7beb1
parent 0 e9f7ba4718e1
     1.1 --- a/Source/Stack.h	Fri Mar 07 11:43:02 2008 -0800
     1.2 +++ b/Source/Stack.h	Tue Mar 10 22:36:23 2009 -0700
     1.3 @@ -47,11 +47,14 @@
     1.4  @property int wrapInterval;                 // How many Bits to add before wrapping
     1.5  @property BOOL dragAsStacks;                // If set to YES, dragging a Bit drags a DraggedStack
     1.6  @property (readonly) NSArray *bits;         // The Bits, in order
     1.7 +@property NSUInteger numberOfBits;          // Number of bits (can be used to remove bits, but not add)
     1.8  @property (readonly) Bit *topBit;           // The topmost Bit (last item in self.bits)
     1.9  
    1.10  /** Adds a Bit to the end */
    1.11  - (void) addBit: (Bit*)bit;
    1.12  
    1.13 +- (void) removeBit: (Bit*)bit;
    1.14 +
    1.15  @end
    1.16  
    1.17