An extension package that enhances your macOS application/API development experience with Cocoa.
Being a macOS application developer, I often find myself not satisfied with the utility native Swift language and Cocoa API provide. There will always be features for which the native Swift language or Cocoa API does not readily support that are common among application/API development. So, I developed this package in hoping to resolve this issue, incorporating some of the features and properties of the Python programming language.
Time is money. --Benjamin Franklin
Using this package will drastically reduce the time spent on implementing some of the basic features of an application. Inspired by Python, this package also helps save your time by offering numerous handy extension methods that will make your programming life much easier, especially for developing APIs!
You can save a lot of time just by adding this package to your project. How neat! 😎
- Enhanced Swift as an expressive yet high-level language.
- Custom data structures such as
CKArray
,CKMatrix
,CKOrderedDictionary
,TreeNode
, etc. - A rich library of native type extensions with hundreds of handy auxiliary methods & functions.
- Readily conformable protocols that define crucial behaviors.
- Centralized object management: One object instance for everything!
- Readily built accessory views with customizable behaviors for application development.
- A number of globally accessible methods for simple behaviors such as display an alert.
More features are coming...
- A comprehensive documentation.
- A complete suite of test cases.
- More methods for the existing custom data types.
- More custom data types.
- Support for more native type extensions.
- Support for more custom views.
- Support for more conformable protocols.
(Note: The package is at its early stage, no release is provided. Use the source code for testing purposes.)
- Download and decompress the source code.
- Go to your project and select the project document from the sidebar.
- Click "File > Add Packages...".
- Click "Add Local..." from the sheet window.
- Select the parent directory for the decompressed source code and click "Add Package".
- Add a line
import CocoaKit
to the beginning of the file to which you wish to import the package.
- Swift 5
- 📧 Contact me at my E-mail, Facebook, or Instagram if you'd like to discuss or help with this project, or even just chat with me or teach me about something.
- 🚩 Open an issue if you have questions, suggestions on improvement, or bugs you've found.
- 🍴 Or, you could simply fork the code yourself and submit a pull request to improve the package!