Swift Package of useful tools for Swift Development on any platform.
Refer to code documentation for explanation for specific calls.
Typealiases for Closures.
For example, DataClosure is a typealias for a Closure that has no results, but it passed a Data.
Extensions Function calls for String type.
For example, isNotEmpty() is a computed variable that returns TRUE if string has contents.
Extensions Function calls for Dictionary type.
For example, remove(item:) remove specific item from Array, regardless of location.
New Extensions to Codable Protocols.
For example, spellWriteJSONData for converting Codable element into JSON data.
Protocol for UI element to signal that they should update themselves.
For example, a NSViewController sublass might signal any views it contains that they need to be updated (assuming the views also supports this protocol).
Static function for reading/writing/deleting various types to/from User Defaults.
Sample code using this SpellBook can be found in the open-source Cocoa App CocoaGrimoire. Other SpellBooks by the author are also demonstrated there.
SwiftSpellBook is available as open source under the terms of the MIT License.
|Last commit: 2 weeks ago|
Renaming of calls, addition of Codable/Encodable Spells & HexString function.