Andrew Crookston

4pods

ACRAutoComplete

An auto-complete library written in Swift for iOS using the trie data structure.

A simple Trie structure implementation in Swift for indexing and searching words.

This library does not include a user interface, it was built to be a simple easy to use auto-completion tool. Originally, it written for MessMoji.

License: MIT

  • Swift

ACRKeyboardObserver

ACRKeyboardObserver makes it easy to handle iOS keyboard state changes like WillShow or DidHide. It also does a better job at providing an accurate keyboard frame size, rather than the native callbacks. It's especially useful when dismissing a keyboard interactively.

License: MIT

  • Swift

ACRObservingPlayerItem

I was getting a lot of crashreports with deallocated AVPlayerItem's while a KVO was still active. It was hard to manually remove the KVO when the AVPlayerItem was randomly deallocated from inside a UITableViewCell.

ACRObservingPlayerItem is a simple wrapper class for AVPlayerItem which handles the observing of some common playback events and safely releases the KVO on deallocation.

License: MIT

  • Objective C

HorizontalPickerControl

A horizontal picker control for iOS written in Swift. It's a horizontal paged scroll view which allows you to create a slider-style horizontal picker. Best used for numbers but you can make the option views represent anything you want.

More documentation coming soon.

License: MIT

  • Swift