Skip to content

A handy library in aid of development with Swift + Cocoa.

License

Notifications You must be signed in to change notification settings

4g3nt81lly/CocoaKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CocoaKit

An extension package that enhances your macOS application/API development experience with Cocoa.

🧐 Motivation

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.

🤔 Why use it?

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! 😎

🧩 Features

Extending Swift

  1. Enhanced Swift as an expressive yet high-level language.
  2. Custom data structures such as CKArray, CKMatrix, CKOrderedDictionary, TreeNode, etc.
  3. A rich library of native type extensions with hundreds of handy auxiliary methods & functions.
  4. Readily conformable protocols that define crucial behaviors.

Extending Cocoa

  1. Centralized object management: One object instance for everything!
  2. Readily built accessory views with customizable behaviors for application development.
  3. A number of globally accessible methods for simple behaviors such as display an alert.

More features are coming...

🖍 To Dos

  • 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.

🔧 How to use?

(Note: The package is at its early stage, no release is provided. Use the source code for testing purposes.)

  1. Download and decompress the source code.
  2. Go to your project and select the project document from the sidebar.
  3. Click "File > Add Packages...".
  4. Click "Add Local..." from the sheet window.
  5. Select the parent directory for the decompressed source code and click "Add Package".
  6. Add a line import CocoaKit to the beginning of the file to which you wish to import the package.

Requirements

  • Swift 5

💪 How to help?

  • 📧 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!

About

A handy library in aid of development with Swift + Cocoa.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages