Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix an warning when using CocoaPods. #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions YYModel/NSObject+YYModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ NS_ASSUME_NONNULL_BEGIN

********************** json convertor *********************
@code
@interface YYAuthor : NSObject
YYAuthor : NSObject
@property (nonatomic, strong) NSString *name;
@property (nonatomic, assign) NSDate *birthday;
@end
@implementation YYAuthor
@end

@interface YYBook : NSObject
YYBook : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) NSUInteger pages;
@property (nonatomic, strong) YYAuthor *author;
Expand All @@ -54,7 +54,7 @@ NS_ASSUME_NONNULL_BEGIN

********************** Coding/Copying/hash/equal *********************
@code
@interface YYShadow :NSObject <NSCoding, NSCopying>
YYShadow :NSObject <NSCoding, NSCopying>
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) CGSize size;
@end
Expand Down Expand Up @@ -287,7 +287,7 @@ NS_ASSUME_NONNULL_BEGIN

model:
@code
@interface YYBook : NSObject
YYBook : NSObject
@property NSString *name;
@property NSInteger page;
@property NSString *desc;
Expand Down Expand Up @@ -317,9 +317,9 @@ NS_ASSUME_NONNULL_BEGIN

Example:
@code
@class YYShadow, YYBorder, YYAttachment;
YYShadow, YYBorder, YYAttachment;

@interface YYAttributes
YYAttributes
@property NSString *name;
@property NSArray *shadows;
@property NSSet *borders;
Expand Down Expand Up @@ -349,7 +349,7 @@ NS_ASSUME_NONNULL_BEGIN

Example:
@code
@class YYCircle, YYRectangle, YYLine;
YYCircle, YYRectangle, YYLine;

@implementation YYShape

Expand Down