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

ObjectWrapper 0.1.0

ObjectWrapper 0.1.0

Maintained by ALiKiran.



  • By
  • alikiran

Object Wrapper

Travis Cocoapods Carthage License Platform

Example

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

 let dictWrapper: Wrap = [1, 2.0, "3.0", ["All", ["the": ["way"]], true]]
 
 print(dictWrapper[3][1]["the"].first ?? "")
 
 let string = """
  [1, 2.0, "3.0", ["All", {"the": ["way"]}, true]]
 """
 
 guard let jsonWrapper = Wrap(usingJSON: string) else {
     return true
 }
 
 print(jsonWrapper[3][1]["the"].first ?? "")

Requirements

Installation

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

pod 'ObjectWrapper'

Author

alikiran, [email protected]

License

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