FooPackage that stores data structures: Stack, Queue, Heap and so on
This is a test package for Swift Package Manager, to give folks something to experiment with when working with Xcode’s SPM integration.
import FooPackage
var stack = FooPackage.Stack<Int>()
stack.pushBack(number: 3)
guard let number = stack.pop() else { return }
To try it out in your project:
Once that’s done, you should be able to add import FooPackage
to one of your Swift files, then try out the example code that is included in the package: Stack.
I don’t think anything this trivial deserves a license: please use it however you want, with or without attribution, with or without changes from you, with or without distributing your changed code, and commercially or non-commercially.
link |
Stars: 0 |
Last commit: 4 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics