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
Codable
s among the application with bypassingSelf
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
andUITableView
helpers to register/dequeue cellsUIColor
initializers from hex valuesUIImage
filled with color generatorUIImage+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
: Calluk_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 useString
localization functionalities: (uk_localized
anduk_uppercasedLocalized
) to support custom language selection within the app.