Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Basic framework for iOS Swift, such as extensions, base classes and utils

License

Notifications You must be signed in to change notification settings

zjfjack/JZiOSFramework

Repository files navigation

JZiOSFramework

Build Status CocoaPods Platform Swift 4.1 license MIT

Basic framework for iOS Swift, such as extensions, base classes and utils

Features

Useful components

  • CopyableLabel: A Label subclassed from UILabel allowing long press to copy
  • JZAlertController: Custom Alert Controller by providing custom view and actions

Service

  • ConfigurationManager: Configuration environment setup
  • ApiManager: Wrapper for Alamofire and ObectMapper (Post, Download and Upload)
  • FileService: Create path, get mime type and remove files

Utils

  • ToastUtil: Android-like middle Toast and Top&Bottom toast(Support tap to dismiss & iPhone X)
  • PhotoUtil: Fully error handling for getting photos from camera and photoLibrary
  • LocationUtil: Open Apple maps and GoogeMaps with location string
  • DeviceUtil: Basic device information & Biometric Authentication setup
  • ViewControllerUtil: HUD progess view implemented

Extensions

  • NSLayoutConstraintExtensions: Programmtically add constraints for views (Visual Format Language)
  • UIViewExtensions: Programmtically add constraints for views (Anchor)
  • StringExtensions: Localization helper

Requirements

  • iOS 9.0+
  • Xcode 9.3+
  • Swift 4.1+

Installation

Cocoapods

JZiOSFramework can be added to your project by adding the following line to your Podfile:

pod 'JZiOSFramework', '~> 1.0'

About

Basic framework for iOS Swift, such as extensions, base classes and utils

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages