GithubHelp home page GithubHelp logo

npahucki / parse-nscoding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eladb/parse-nscoding

2.0 1.0 2.0 182 KB

iOS library for serializing Parse objects

License: MIT License

Objective-C 96.05% Ruby 3.95%

parse-nscoding's Introduction

Parse-NSCoding

This library adds NSCoding support to instances or subclasses of PFObject and PFUser so that they can be serialized and deserialized (for custom caching, for example). All properties will be serialized, including Parse properties (those marked @dynamic), as well as non-Parse properties (those marked @synthesize). This library also serializes the related PFACL and PFFile classes. If your PFFile object contains NSData (isDataAvailable == YES), that too will be serialized.

##Sample Usage

Just install this library in your project. That's it. No header files to import! The Objective-C runtime will automatically send NSCoding messages to your Parse objects when you attempt to serialize them, and the category methods in this library will be invoked.

##Installation

Easiest installation is using CocoaPods:

pod 'Parse+NSCoding', '~> 0.1.4'

Otherwise you must manually copy the .h and .m files from this repo. Obviously you must also have the Parse SDK installed. Enjoy!

##Credits

Much of the code in this library came from:

https://parse.com/questions/persistent-store-of-pfobject-pffile

https://github.com/greenisus/NSObject-NSCoding

parse-nscoding's People

Contributors

darrensi avatar eladb avatar martinrybak avatar npahucki avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.