Latest 0.1.2
Homepage https://github.com/michaelcordero/CoreDataStructures
License MIT
Platforms ios 12.0
Authors

CI Status
Version
License
Platform

Overview

CoreDataStructures is library of fundamental data structures written in Swift 4.2, therefore xcode 10.0+ is required to build this project.
Actual components can be found in CoreDataStructures/CoreDataStructures/Classes/ directory.

Usage


import UIKit
import CoreDataStructures

class WelcomeViewController: UIViewController {

    var xStack: Stack<Double> = Stack<Double>()
    var xBST: BinarySearchTree<Int> = BinarySearchTree<Int>()
    var xQueue: Queue<Float> = Queue<Float>()
    var xLinkedList: LinkedList<Double> = LinkedList<Double>()

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

} 

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 12.0
  • Swift 4.2

Installation

CoreDataStructures is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CoreDataStructures'

Author

Michael Cordero, [email protected]

License

CoreDataStructures is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CoreDataStructures",
    "version": "0.1.2",
    "summary": "CoreDataStructures is library of fundamental data structures written in Swift 4.2.",
    "description": "This cocoapod was created for fundamental data structures integration within iOS projects. Swift currently offers Arrays, Sets, and Dictionaries, but these may not be enough in some applications.",
    "homepage": "https://github.com/michaelcordero/CoreDataStructures",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "michaelcordero": "[email protected]"
    },
    "source": {
        "git": "https://github.com/michaelcordero/CoreDataStructures.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "12.0"
    },
    "source_files": "CoreDataStructures/Classes/**/*"
}

Pin It on Pinterest

Share This