-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
时点软件 冯成林
authored and
时点软件 冯成林
committed
Nov 30, 2015
1 parent
b4834f4
commit 18bbb12
Showing
75 changed files
with
53 additions
and
5,934 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
+1.26 KB
(110%)
...odeproj/project.xcworkspace/xcuserdata/Charlin.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
CoreNewFeatureVC/CoreNewFeatureVC/Category/UIView+NFLayout.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// UIView+CoreListLayout.h | ||
// CoreList | ||
// | ||
// Created by 冯成林 on 15/11/28. | ||
// Copyright © 2015年 muxi. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface UIView (NFLayout) | ||
|
||
-(void)autoLayoutFillSuperView; | ||
|
||
@end |
26 changes: 26 additions & 0 deletions
26
CoreNewFeatureVC/CoreNewFeatureVC/Category/UIView+NFLayout.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// UIView+CoreListLayout.m | ||
// CoreList | ||
// | ||
// Created by 冯成林 on 15/11/28. | ||
// Copyright © 2015年 muxi. All rights reserved. | ||
// | ||
|
||
#import "UIView+NFLayout.h" | ||
|
||
@implementation UIView (NFLayout) | ||
|
||
-(void)autoLayoutFillSuperView { | ||
|
||
if(self.superview == nil) {return;} | ||
|
||
self.translatesAutoresizingMaskIntoConstraints = NO; | ||
|
||
NSDictionary *views = @{@"v":self}; | ||
|
||
NSArray *v_ver = [NSLayoutConstraint constraintsWithVisualFormat:@"V:|-0-[v]-0-|" options:0 metrics:nil views:views]; | ||
NSArray *v_hor = [NSLayoutConstraint constraintsWithVisualFormat:@"H:|-0-[v]-0-|" options:0 metrics:nil views:views]; | ||
[self.superview addConstraints:v_ver];[self.superview addConstraints:v_hor]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
CoreNewFeatureVC/FrameWorks/CoreArchive/Category/NSString+File.h
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
CoreNewFeatureVC/FrameWorks/CoreArchive/Category/NSString+File.m
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.