Skip to content

fuermoluoBaby/JPObjectDescription

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPObjectDescription

This is a custom class's automatic description in OC.

Installation

You only need drag NSObject+JPObjectDescription to your project.

Use

#import "NSObject+JPObjectDescription.h"
...
JPBook * book0 = [[JPBook alloc]init];
book0.bId = @(0);
book0.name = @"Objective:C程序设计(第6版)";
book0.author = @"Stephen G. Kochan (作者), 林冀 (译者)";
NSLog(@"%@",book0);

####the log will print like this:

2016-03-14 16:19:50.436 JPObjectDescriptionDemo[31365:548943] ⚠️JPBook
    └bId:0
    └name:Objective:C程序设计(第6版)
    └author:Stephen G. Kochan (作者), 林冀 (译者)

####when you debug:

License

JPObjectDescription is available under the MIT License. See the LICENSE file for more info.

About

This is a custom class's automatic description in OC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Objective-C 100.0%