All Projects → nakajijapan → Shari

nakajijapan / Shari

Licence: mit
Shari is the alternative to the library of UIPickerView(drum roll) in Swift. You can select a item using UITableView.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Shari

Rdgliderviewcontroller Swift
Control for a floating view gliding over a ViewController Edit
Stars: ✭ 102 (-8.11%)
Mutual labels:  cocoapods, carthage, viewcontroller
Corenavigation
📱📲 Navigate between view controllers with ease. 💫 🔜 More stable version (written in Swift 5) coming soon.
Stars: ✭ 69 (-37.84%)
Mutual labels:  xcode, cocoapods, carthage
Swiftymessenger
Swift toolkit for passing messages between iOS apps and extensions.
Stars: ✭ 48 (-56.76%)
Mutual labels:  xcode, cocoapods, carthage
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types 🚀
Stars: ✭ 31 (-72.07%)
Mutual labels:  xcode, cocoapods, carthage
Alamofire
Elegant HTTP Networking in Swift
Stars: ✭ 36,896 (+33139.64%)
Mutual labels:  xcode, cocoapods, carthage
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+767.57%)
Mutual labels:  xcode, cocoapods, carthage
Imageslideshow
A Swift Image SlideShow for iOS
Stars: ✭ 68 (-38.74%)
Mutual labels:  xcode, cocoapods, viewcontroller
Swiftinstagram
Instagram API client written in Swift
Stars: ✭ 570 (+413.51%)
Mutual labels:  xcode, cocoapods, carthage
Pluggableappdelegate
!! No longer supported !! A lightweight service-oriented AppDelegate for iOS, made in Swift.
Stars: ✭ 96 (-13.51%)
Mutual labels:  xcode, cocoapods, carthage
Xmlmapper
A simple way to map XML to Objects written in Swift
Stars: ✭ 90 (-18.92%)
Mutual labels:  xcode, cocoapods, carthage
Quiver
Validation, searching and filtering made easy for swift.
Stars: ✭ 27 (-75.68%)
Mutual labels:  xcode, cocoapods, carthage
Device
Light weight tool for detecting the current device and screen size written in swift.
Stars: ✭ 1,503 (+1254.05%)
Mutual labels:  xcode, cocoapods, carthage
Bfkit
BFKit is a collection of useful classes and categories to develop Apps faster.
Stars: ✭ 811 (+630.63%)
Mutual labels:  xcode, cocoapods, carthage
Swiftysound
SwiftySound is a simple library that lets you play sounds with a single line of code.
Stars: ✭ 995 (+796.4%)
Mutual labels:  xcode, cocoapods, carthage
Sidemenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Stars: ✭ 5,267 (+4645.05%)
Mutual labels:  xcode, cocoapods, carthage
Luautocompleteview
Highly configurable autocomplete view that is attachable to any UITextField
Stars: ✭ 55 (-50.45%)
Mutual labels:  xcode, cocoapods, carthage
Gradientcircularprogress
Customizable progress indicator library in Swift
Stars: ✭ 407 (+266.67%)
Mutual labels:  xcode, cocoapods, carthage
Uitextfield Navigation
🏄‍♂️ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews
Stars: ✭ 436 (+292.79%)
Mutual labels:  xcode, cocoapods, carthage
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (+963.06%)
Mutual labels:  xcode, cocoapods, carthage
Nextgrowingtextview
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above.
Stars: ✭ 1,540 (+1287.39%)
Mutual labels:  xcode, cocoapods, carthage

Shari for Swift

Carthage Version License Platform Reviewed by Hound

Shari is the alternative to the library of UIPickerView (drum roll) in Swift. You can select a item using UITableView.

Shari

Requirements

  • iOS 10.0+
  • Xcode 9+
  • Swift 4+

CocoaPods

Shari is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Shari"

Then, run the following code:

$ pod install

Carthage

Carthage is a decentralized dependency manager for Cocoa applications.

$ brew update
$ brew install carthage

To integrate Shari into your Xcode project using Carthage, specify it in your Cartfile:

github "nakajijapan/Shari"

Then, run the following command to build the Shari framework:

$ carthage update

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

ViewController

  • UINavigationController
let modalNavigationController = storyboard!.instantiateViewController(withIdentifier: "ModalNavigationController") as! ShariNavigationController

modalNavigationController.parentNavigationController = navigationController
navigationController?.si.present(modalNavigationController)
  • UITabBarController
let modalNavigationController = storyboard!.instantiateViewController(withIdentifier: "ModalNavigationController") as! ShariNavigationController

modalNavigationController.parentTabBarController = tabBarController
tabBarController?.si.present(modalNavigationController)

You can change background color using following code:

ShariSettings.backgroundColorOfOverlayView = UIColor.redColor()

You can change with following code whether view should transform scale down:

ShariSettings.shouldTransformScaleDown = true

ModalViewController

  • Create NavigationController and ViewController in storyboards.
  • Input Shari.NavigationController in Custom Class for NavigationController.

Shari

Closing a window

You can close using the following code in viewController:

let currentNavigationController = navigationController
currentNavigationController?.si.dismiss {
    // something
}

Author

nakajijapan, [email protected]

License

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