All Projects → Ahmed-Komsan → Grview

Ahmed-Komsan / Grview

Licence: mit
UIView and other UIKit elements with a gradient and other attributes for IOS

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Grview

Gradients
🌔 A curated collection of splendid 180+ gradients made in swift
Stars: ✭ 719 (+1743.59%)
Mutual labels:  cocoapods, carthage, gradient
Mixpanel Iphone
iPhone tracking library for Mixpanel Analytics
Stars: ✭ 939 (+2307.69%)
Mutual labels:  cocoapods, carthage
Cascadingtabledelegate
A no-nonsense way to write cleaner UITableViewDelegate and UITableViewDataSource in Swift.
Stars: ✭ 931 (+2287.18%)
Mutual labels:  cocoapods, carthage
Sica
🦌 Simple Interface Core Animation. Run type-safe animation sequencially or parallelly
Stars: ✭ 980 (+2412.82%)
Mutual labels:  cocoapods, carthage
Preferences
⚙ Add a preferences window to your macOS app in minutes
Stars: ✭ 898 (+2202.56%)
Mutual labels:  cocoapods, carthage
Imgix Swift
A Swift client library for generating URLs with imgix
Stars: ✭ 19 (-51.28%)
Mutual labels:  cocoapods, carthage
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-23.08%)
Mutual labels:  cocoapods, carthage
Bfkit
BFKit is a collection of useful classes and categories to develop Apps faster.
Stars: ✭ 811 (+1979.49%)
Mutual labels:  cocoapods, carthage
Tkswitchercollection
An animation switch collection
Stars: ✭ 877 (+2148.72%)
Mutual labels:  cocoapods, carthage
Quiver
Validation, searching and filtering made easy for swift.
Stars: ✭ 27 (-30.77%)
Mutual labels:  cocoapods, carthage
Centeredcollectionview
A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift
Stars: ✭ 965 (+2374.36%)
Mutual labels:  cocoapods, carthage
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types 🚀
Stars: ✭ 31 (-20.51%)
Mutual labels:  cocoapods, carthage
Sdwebimageflplugin
A SDWebImage plugin to support GIF using FLAnimatedImage and category
Stars: ✭ 16 (-58.97%)
Mutual labels:  cocoapods, carthage
Swipemenuviewcontroller
Swipable tab and menu View and ViewController.
Stars: ✭ 926 (+2274.36%)
Mutual labels:  cocoapods, carthage
Dockprogress
Show progress in your app's Dock icon
Stars: ✭ 813 (+1984.62%)
Mutual labels:  cocoapods, carthage
Imagescout
A Swift implementation of fastimage. Supports PNG, GIF, and JPEG.
Stars: ✭ 940 (+2310.26%)
Mutual labels:  cocoapods, carthage
Swiftysound
SwiftySound is a simple library that lets you play sounds with a single line of code.
Stars: ✭ 995 (+2451.28%)
Mutual labels:  cocoapods, carthage
Xlpagertabstrip
Android PagerTabStrip for iOS.
Stars: ✭ 6,671 (+17005.13%)
Mutual labels:  cocoapods, carthage
Statusalert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way.
Stars: ✭ 809 (+1974.36%)
Mutual labels:  cocoapods, carthage
Tbactionsheet
A Custom&Powerful Action Sheet For iOS. 一个 ActionSheet 满足所有样式!超高自由度的可定制!
Stars: ✭ 942 (+2315.38%)
Mutual labels:  cocoapods, carthage

GRView

UIView and other UIKit elements with a gradient and other customizable properties (gradient,shadow color,corner raduis...etc.) GRView exposes many properties you can modify to customize your view or button to add gradient layer ,shadow color ,corner raduis , ... etc. GRView Classes is a @IBDesignable class so that it's rendered in your storyboard, and all its properties are @IBInspectable so that you can customize your gradient inside the storyboard in the attributes inspector.

Swift version: 4.0 CocoaPods: 2.5 Carthage compatible

Requirements

GRView is written in Swift 4. iOS 8.0+ Required

Installation

CocoaPods

CocoaPods is the preferred way to install this library. Add this command to your Podfile:

pod 'GRView'

Carthage

To install using Carthage, add the following line to your Cartfile:

github "Ahmed-Komsan/GRView" ~> 1.0.0

Direct Installation

Download .zip file and extract it. There you will find the GradientView folder, just copy and add it to your respective project.

Usage

Storyboard/Xib

while assigning GRView to UIView / other UIKit element on StoryBoard/Xib don't forget to select module (if downloaded by pod)

Programmatically

let grView = GRView(frame: view.bounds)
grView.startColor = UIColor(red: 0.7, green: 1.0, blue: 0.7, alpha: 1.0)
grView.endColor = UIColor(red: 0.1, green: 1.0, blue: 0.7, alpha: 1.0)
view.insertSubview(grView, at: 0)
        

To-do

  • Add like-instagram animation
  • Allow more than two colors to create gradients.
  • Add more UIKit elements with gradient and properties.
  • Add blur effect.

Author

Ahmed Komsan, [email protected] If you found any problem please create issue or pull request to help me improve this open source project. also you can suggest features/attributes to add , am listening :)

License

GRView is available under the MIT license. See the LICENSE file for more info.

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