Latest 1.0.2
Homepage https://github.com/zjfjack/JZiOSFramework
License MIT
Platforms ios 9.0
Authors

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'

Latest podspec

{
    "name": "JZiOSFramework",
    "version": "1.0.2",
    "summary": "Basic framework for iOS Swift",
    "homepage": "https://github.com/zjfjack/JZiOSFramework",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jeff Zhang": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/zjfjack/JZiOSFramework.git",
        "tag": "1.0.2"
    },
    "source_files": "JZiOSFramework/**/*.swift"
}

Pin It on Pinterest

Share This