Automate archiving with runtime

Source: Internet
Author: User

1. Preface

For the object of the archive, before using MJ Teacher's mjextension framework to do a dictionary to model, the direct use of macro mjcodingimplementation can realize the object of automatic archiving and reconciliation methods, it is very useful. But sometimes you do not need to use the dictionary to the model, do not want the framework, you need to manually one implementation, sometimes a lot of properties, simple but cumbersome code will be a bit impatient. Just see 袁峥 Teacher's article "let you quickly get started with runtime", so you want to implement the runtime, to achieve automated archiving, the entire project code GITHUB.

2. Object archiving

Here is a step you can skip and simply review the original way to implement object archiving, creating a class called Student class, where students have name, and sex attributes.

The body part is transferred from http://www.cocoachina.com/ios/20151026/13908.html

Automate archiving with runtime

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.