CocoaPods trunk is moving to be read-only. Read more on the blog, there are 16 months to go.

JLUsefulTools 0.0.3

JLUsefulTools 0.0.3

Maintained by eziochan.



 
Depends on:
Alamofire>= 5.0.0
SnapKit>= 0
RxSwift>= 0
RxCocoa>= 0
 

  • By
  • EzioChan

JLUsefulTools

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

JLUsefulTools is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'JLUsefulTools'

Author

EzioChen, [email protected]

License

JLUsefulTools is available under the MIT license. See the LICENSE file for more info.

Simple Code

To convert data

import UIKit
import JLUsefulTools

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        let dataArr:[UInt8] = [0x01,0x02,0x03,0x04]
        let data = Data(bytes: dataArr, count: 4)
        
        ECPrintInfo("dataL\(data.eHex)", self, "\(#function)", #line)
        
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}