Repository navigation
Releases: Shadowman405/LifoCollections
Releases · Shadowman405/LifoCollections
Release list
LifoCollections v0.2.0
List of changes
- Added Swift Package Manager support.
- The
DemoAppapplication has changed the type of adding theLifoCollectionsas a dependency from the direct*.xcframeworkbinary connection to the SPM.
LifoCollections v0.1.0
Contains
Stackstructure that provides basic stack methods and variables:push()method that adds a new element to the stack.pop()method that removes the top element (the most recently added element).top()method that returns the top element (the most recent added element).countvariable that stores the number of elements in the stack.isEmptyvariable that returns a Boolean value indicating whether the stack is empty or not.
StackStatisticsa structure that provides the same methods and variables as the stack, as well as new method:minimumElementmethod that returns the minimum element in the stack.