Skip to content
/ Ugur Public

Framework includes initial functionality a new project requires

License

Notifications You must be signed in to change notification settings

urklc/Ugur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Ugur

Framework includes initial functionality a new project requires

Installation

CocoaPods

pod 'Ugur', '~> 1.2.0'

Usage

Foundation

LoremSwiftum

  • Helper class to generate Lorem Ipsum strings easily

JSONCodable

  • Protocol to support using Codables among the application with bypassing Self requirement as a generic constraint

UI

KeyboardListener

  • Automatic handling of the UIScrollView contentInset when keyboard visibility is changed. Also tap gesture is added to dismiss keyboard

Extensions

  • UICollectionView and UITableView helpers to register/dequeue cells
  • UIColor initializers from hex values
  • UIImage filled with color generator
  • UIImage+AlamofireImage
  • Separator extension for UIView
  • UIViewController helpers to get visible controller
  • Badge addition for UIBarButton
  • Easy to use async image assignment from URL with caching.

Reusable Views

  • CheckBoxView
  • HasInputAccessoryView: Call uk_addInputAccessoryView to quickly add input accessory view to input fields.
  • SegmentedControl
  • UgurTextView: UITextView subclass with placeholder

Tools

  • Safe async image downloader for reusable cells: AsyncImageContainingCell
  • ImageSelectionManager for easly taking pictures or picking from gallery

Views

  • UKView to load custom views from nibs. Can be used from both nibs and code.

Utility

Localization

  • Initialize a Localization instance and use String localization functionalities: (uk_localized and uk_uppercasedLocalized) to support custom language selection within the app.

About

Framework includes initial functionality a new project requires

Resources

License

Stars

Watchers

Forks

Packages

No packages published