Swiftpack.co - Package - sam38124/JzOsSerialization

Platform characteristic


This is a serialization framework for ios can very easily to store and get object by a simple class


Import to project

Support Swift Package。

1.Open xcode and paste link for Swift Package

Quick Start

    // Need extend Codable
   public struct Device: Codable {
        var deviceType: String
        var deviceSize: Float
        var deviceVersion: String
    func testExample() {
        //Store the object and give name
        Device(deviceType: "iPhone 6s", deviceSize: 4.7, deviceVersion: "11.0.0").storeObject(name: "test")
        //Use name to get object
        let a:JzOsSerializationTests.Device? = "test".getObject()
        //Will reback iPhone 6s / 4.7 / 11.0.0
        print( a!.deviceType)
        print( a!.deviceSize)
        print( a!.deviceVersion)

About me

Work for:

  • 【Orange Electronic】橙的電子-Deputy Head of R&D
  • 【Square Studio】四方工作室-CEO

Main skill:

  • Android and IOS(4 years)
  • Jsp(2 years)
  • Javascript and Jquery and Ktor(1 years)

Contact information:


Stars: 0


Used By

Total: 0