All Projects → aaronjsutton → Shades

aaronjsutton / Shades

Licence: Apache-2.0 license
Easily add drop shadows, borders, and round corners to a UIView.

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Shades

STTextView
📝 STTextView is a light-weight library that adds a placeholder to the UITextView.
Stars: ✭ 36 (+157.14%)
Mutual labels:  uikit, swift-framework
Owl
A declarative type-safe framework for building fast and flexible lists with UITableViews & UICollectionViews
Stars: ✭ 423 (+2921.43%)
Mutual labels:  uikit, swift-framework
Viewcomposer
Compose views using enums swiftly: `let label: UILabel = [.text("Hello"), .textColor(.red)]`
Stars: ✭ 27 (+92.86%)
Mutual labels:  uikit, swift-framework
Master3
Master3 – modern, comfortable and flexible template for Joomla! 3, based on the UIkit 3 framework
Stars: ✭ 21 (+50%)
Mutual labels:  uikit
trace-cocoa-sdk
Catch bugs before they reach production — get detailed crash reports and monitor how your app is performing across the entire install base.
Stars: ✭ 15 (+7.14%)
Mutual labels:  uikit
UIComponent
Write UI in crazy speed, with great perf & no limitations.
Stars: ✭ 333 (+2278.57%)
Mutual labels:  uikit
ios-nd-uikit-cont.
Resources for Udacity's UIKit Fundamentals course (continued).
Stars: ✭ 19 (+35.71%)
Mutual labels:  uikit
RadiusView
[1.1.0以后版本由UIWidget维护,不做更新]Android 实现一个用于需要圆角矩形框背景的TextView或Layout的情况,减少直接使用时引入的shape资源文件,包括RadiusTextView,RadiusEditText,RadiusLinearLayout,RadiusRelativeLayout,RadiusFrameLayout,RadiusCheckBox,RadiusRadioButton,主要有圆角控制、默认背景(边框线)、按下背景(边框线)、不可点击背景(边框线)、选择selected背景(边框线)、选中checked背景(边框线);全圆角、四角单独设置圆角功能
Stars: ✭ 13 (-7.14%)
Mutual labels:  round-corners
RSUIImageViewMultiborder
Allowing multiple border allowing UIImage, easy to use and customise.
Stars: ✭ 12 (-14.29%)
Mutual labels:  border
KeyCommandAlertController
UIAlertController wrapper to add keyboard shortcuts easily
Stars: ✭ 16 (+14.29%)
Mutual labels:  uikit
RFKit
Toolkit for daily Cocoa development. Since 2012.
Stars: ✭ 20 (+42.86%)
Mutual labels:  uikit
notus-angular
Notus Angular: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 148 (+957.14%)
Mutual labels:  uikit
PopItUp
a Popup system for iOS
Stars: ✭ 26 (+85.71%)
Mutual labels:  uikit
swift-declarative-configuration
Declarative configuration for your objects
Stars: ✭ 46 (+228.57%)
Mutual labels:  uikit
RITLLayerBorder
【Deprecated】为UIView追加选择指定边的border, 适配autoLayout
Stars: ✭ 22 (+57.14%)
Mutual labels:  border
pipeline
A Swift framework for working with Final Cut Pro X FCPXML files easily.
Stars: ✭ 47 (+235.71%)
Mutual labels:  swift-framework
SwiftCurrent
A library for managing complex workflows in Swift
Stars: ✭ 286 (+1942.86%)
Mutual labels:  uikit
JSONRenderKit
🚗This is a funny project. It fetchs a JSON to generate iOS UI and use JavaScript to communicate with Objective-C .
Stars: ✭ 45 (+221.43%)
Mutual labels:  uikit
FormToolbar
Simple, movable and powerful toolbar for UITextField and UITextView.
Stars: ✭ 85 (+507.14%)
Mutual labels:  swift-framework
mdb4-react-ui-kit
React Bootstrap with Material Design - Powerful and free UI KIT
Stars: ✭ 74 (+428.57%)
Mutual labels:  uikit

Logo Easily add drop shadows, borders, rounded corners to a UIView.

Build Status CocoaPods

Installation

CocoaPods

Add the follwing to your Podfile:

pod 'Shades'

Usage

Storyboard

You can add borders, shadows, and corners via the Xcode Storyboard Editor.

Simply set the custom class of a UIView to ShadesView

You can then customize the shades settings:

Storyboard

Alternatively, you can configure a ShadesView from Swift code directly:

shadeView.cornerRadius = 30
shadeView.borderWidth = 5
shadeView.borderColor = UIColor.lightGray
shadeView.shadowColor = UIColor.black
shadeView.shadowOffset = CGSize(width: 5, height: 5)
shadeView.shadowRadius = 3
shadeView.shadowOpacity = 0.8

Would produce:

Example

TO-DO:

  • Support more UIKit types.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].