HZKit

Universal code package for rapid development.

3
0
Objective-C

HZKit

Universal code package for rapid development.

  • Device —— Common equipment information
  • Macro —— Common macro definition information
  • View —— Common view functionality

Installation

CocoaPods

  1. Add pod 'HZKit' to your Podfile.
  2. Run pod install or pod update.
  3. Import <HZKit/HZKit.h>.

License

HZKit is provided under the MIT license. See LICENSE file for details.

HZKit/Device

Common equipment information

Use

import HZKitDevice.h

Category

HZCommon

  • hz_deviceIdentifier - Device Identifier: iPhone7,2, iPhone6,1
  • hz_deviceGeneration - Device Generation: iPhone 8、iPhone X
  • hz_deviceGeneration - Device Generation: iPhone 8、iPhone X
  • hz_deviceUDID - UDID

HZKit/Iconfont

Use

  1. import HZKitIconfont.h
  2. Download Iconfont
  3. Add fontello.tff and config.json to project
  4. Add UIAppFonts in Info.plist

Demo

  • List
    • Tools
      • App update
      • Device
      • Authorization
      • Network
    • ViewController
      • ViewController
    • Iconfont
      • Iconfont
  • DIY
    • Scan QRCode
    • GenerateBankDB
    • Generate Icon
    • Placeholder
  • About
    • Setting