Latest | 0.2 |
---|---|
Homepage | https://github.com/kaunteya/KSView |
License | MIT |
Platforms | osx 10.10, requires ARC |
Authors |
The missing NSView extension
KSView
is customisable NSView extension for Mac OSX implemented in Swift 2.0
These are some of the sample views created using KSView
Requirements
- Mac OS X 10.10
- Xcode 7
Installation
Direct
Drag KSView.swift
to your project. That is it!
CocoaPods
CocoaPods adds supports for Swift and embedded frameworks.
To integrate KSView into your Xcode project using CocoaPods, specify it in your Podfile
:
use_frameworks!
pod 'KSView'
Then, run the following command:
$ pod install
Usage
In Interface builder, drag a Custom View
from Object Library and set Custom Class
to KSView
Since KSView is @IBDesignable
, Attribute Inspector gets updated like this.

Update Border Color
, Corner Radius
, Border Width
and Border Color
and there you have KSView ready without writing a single line of code.
The KSView
application also has a test view to make real time try outs.
Todo
- [ ] Blur view
License
KSView
is released under the MIT license. See LICENSE for details.
Latest podspec
{ "name": "KSView", "version": "0.2", "license": "MIT", "summary": "The missing extension for NSView", "homepage": "https://github.com/kaunteya/KSView", "authors": { "Kaunteya Suryawanshi": "[email protected]" }, "source": { "git": "https://github.com/kaunteya/KSView.git", "tag": "0.2" }, "platforms": { "osx": "10.10" }, "requires_arc": true, "swift_version": "4.1", "source_files": "KSView.swift" }
Wed, 02 May 2018 19:40:04 +0000