Skip to content
forked from ole/SortedArray

An array that keeps its elements sorted according to a given sort predicate.

License

Notifications You must be signed in to change notification settings

seedco/SortedArray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SortedArray

A sorted array type written in Swift 3.0.

Provides the SortedArray type, an array that keeps its elements sorted according to a given sort predicate.

Written by Ole Begemann, February 2017.

For more info, see my accompanying blog article.

Usage

Clone the repository and add or copy SortedArray.swift to your project. It has no dependencies.

If you want to try this out in a Swift Package Manager project, add this to your Package.swift file:

// Package.swift
import PackageDescription

let package = Package(
    name: "<Your package name>",
    dependencies: [
        .Package(url: "https://github.com/ole/SortedArray.git", majorVersion: 0)
    ]
)

Dependencies

None.

License

MIT license.

About

An array that keeps its elements sorted according to a given sort predicate.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%