Skip to content

Commit

Permalink
优化layout
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwind committed Jun 5, 2018
1 parent 483d223 commit 9d28c9d
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 34 deletions.
2 changes: 1 addition & 1 deletion HHTransition.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'HHTransition'
s.version = '1.1.0'
s.version = '1.2.0'
s.summary = 'Transition'
s.description = 'Mainstream transition animation'
s.homepage = 'https://github.com/yuwind/HHTransition/wiki'
Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationBackBegin.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "AnimationBackBegin.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@implementation AnimationBackBegin

Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationBackEnd.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "AnimationBackEnd.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@implementation AnimationBackEnd

Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationErectBegin.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "AnimationErectBegin.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@interface AnimationErectBegin()

Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationErectEnd.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "AnimationErectEnd.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@implementation AnimationErectEnd

Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationScaleBegin.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "AnimationScaleBegin.h"
#import "UIViewController+HHTransition.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@implementation AnimationScaleBegin

Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationScaleEnd.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "AnimationScaleEnd.h"
#import "UIViewController+HHTransition.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@implementation AnimationScaleEnd

Expand Down
2 changes: 1 addition & 1 deletion HHTransition/AnimationTransitionBegin.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "AnimationTransitionBegin.h"
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"

@interface AnimationTransitionBegin()<CAAnimationDelegate>

Expand Down
11 changes: 7 additions & 4 deletions HHTransition/UIView+HHConstraint.h → HHTransition/UIView+HHLayout.h
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// UIView+HHConstraint.h
// UIView+HHLayout.h
// https://github.com/yuwind/HHLayout
//
// Created by 豫风 on 2017/12/7.
Expand All @@ -8,7 +8,7 @@

#import <UIKit/UIKit.h>

@interface UIView (HHConstraint)
@interface UIView (HHLayout)

/**
非约束方式
Expand All @@ -27,6 +27,7 @@
/**
约束方式
*/

@property (nonatomic, assign, readonly) UIView * top_;
@property (nonatomic, assign, readonly) UIView * left_;
@property (nonatomic, assign, readonly) UIView * bott_;
Expand All @@ -35,17 +36,19 @@
@property (nonatomic, assign, readonly) UIView * heit_;
@property (nonatomic, assign, readonly) UIView * lead_;
@property (nonatomic, assign, readonly) UIView * trai_;
@property (nonatomic, assign, readonly) UIView * cent_;
@property (nonatomic, assign, readonly) UIView * centX;
@property (nonatomic, assign, readonly) UIView * centY;
@property (nonatomic, assign, readonly) UIView * size_;
@property (nonatomic, assign, readonly) UIView * (^equalTo)(UIView *);
@property (nonatomic, assign, readonly) UIView * (^constant)(CGFloat);
@property (nonatomic, assign, readonly) UIView * (^constList)(NSNumber *,...);
@property (nonatomic, assign, readonly) UIView * (^constList)(NSNumber *,...);//需要以nil结尾
@property (nonatomic, assign, readonly) UIView * (^offset)(CGFloat);
@property (nonatomic, assign, readonly) UIView * (^install)(void);


/**
快速创建约束
快速添加约束
*/
@property (nonatomic, assign, readonly) UIView * (^topLeft_)(CGRect);//左上距离父控件、宽高固定
@property (nonatomic, assign, readonly) UIView * (^topRight_)(CGRect);//右上距离父控件、宽高固定
Expand Down
37 changes: 29 additions & 8 deletions HHTransition/UIView+HHConstraint.m → HHTransition/UIView+HHLayout.m
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//
// UIView+HHConstraint.m
// UIView+HHLayout.m
// https://github.com/yuwind/HHLayout
//
// Created by 豫风 on 2017/12/7.
// Copyright © 2017年 豫风. All rights reserved.
//

#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"
#import <objc/runtime.h>

static char * const topConstraintKey = "topConstraintKey";
Expand Down Expand Up @@ -44,7 +44,7 @@ @interface UIView ()

@end

@implementation UIView (HHConstraint)
@implementation UIView (HHLayout)

- (void)setX:(CGFloat)x
{
Expand Down Expand Up @@ -150,6 +150,7 @@ - (void)setCenterY:(CGFloat)centerY
self.center = centerPoint;
}


- (void)setRelativeView:(UIView *)relativeView
{
objc_setAssociatedObject(self, relativeViewKey, relativeView, OBJC_ASSOCIATION_ASSIGN);
Expand Down Expand Up @@ -339,6 +340,16 @@ - (UIView *)trai_
}
return self;
}
- (UIView *)cent_
{
if (![self.layoutArrayM containsObject:@(NSLayoutAttributeCenterX)]) {
[self.layoutArrayM addObject:@(NSLayoutAttributeCenterX)];
}
if (![self.layoutArrayM containsObject:@(NSLayoutAttributeCenterY)]) {
[self.layoutArrayM addObject:@(NSLayoutAttributeCenterY)];
}
return self;
}
- (UIView *)centX
{
if (![self.layoutArrayM containsObject:@(NSLayoutAttributeCenterX)]) {
Expand Down Expand Up @@ -386,7 +397,7 @@ - (UIView *)size_
return ^UIView *(NSNumber *first,...){
va_list args;
va_start(args, first);
for (NSNumber *constant = first; [constant isKindOfClass:[NSNumber class]]; constant = va_arg(args, NSNumber *)) {
for (NSNumber *constant = first; constant!=nil&&[constant isKindOfClass:[NSNumber class]]; constant = va_arg(args, NSNumber *)) {
[self.equalToArrayM addObject:constant];
}
va_end(args);
Expand Down Expand Up @@ -511,10 +522,10 @@ - (void)installAllConstraint
{
self.translatesAutoresizingMaskIntoConstraints = NO;
if (self.relativeView) {
int index = 0;
int index = -1;
for (int i = 0; i<self.layoutArrayM.count; i++) {
NSInteger relative = self.relativeView.layoutArrayM.count>i?self.relativeView.layoutArrayM[i].integerValue:self.layoutArrayM[i].integerValue;
CGFloat constant = self.offsetArrayM.count>i?[self countConstant:i index:&index]:self.equalToArrayM.count>(i-index-1<0?0:i-index-1)?self.equalToArrayM[i-index-1<0?0:i-index-1].floatValue:0.0f;
CGFloat constant = self.offsetArrayM.count>i?[self countConstant:i index:&index]:index==-1?self.equalToArrayM.count>i?self.equalToArrayM[i].floatValue:0.0f:self.equalToArrayM.count>=i-index?self.equalToArrayM[i-index-1].floatValue:0.0f;
[self readyDeploy:self.layoutArrayM[i].integerValue relative:relative view:self.relativeView equalTo:constant];
}
}else if (self.equalToArrayM.count) {
Expand All @@ -535,60 +546,70 @@ - (void)readyDeploy:(NSInteger)source relative:(NSInteger)relative view:(UIView
switch (source) {
case NSLayoutAttributeLeft:
{
if(self.hh_leftCS){[self.superview removeConstraint:self.hh_leftCS];}
self.hh_leftCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeLeft relatedBy:(NSLayoutRelationEqual) toItem:view?:self.superview attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_leftCS];
}
break;
case NSLayoutAttributeRight:
{
if(self.hh_rightCS){[self.superview removeConstraint:self.hh_rightCS];}
self.hh_rightCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeRight relatedBy:(NSLayoutRelationEqual) toItem:view?:self.superview attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_rightCS];
}
break;
case NSLayoutAttributeTop:
{
if(self.hh_topCS){[self.superview removeConstraint:self.hh_topCS];}
self.hh_topCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeTop relatedBy:(NSLayoutRelationEqual) toItem:view?:self.superview attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_topCS];
}
break;
case NSLayoutAttributeBottom:
{
if(self.hh_bottomCS){[self.superview removeConstraint:self.hh_bottomCS];}
self.hh_bottomCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeBottom relatedBy:(NSLayoutRelationEqual) toItem:view?:self.superview attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_bottomCS];
}
break;
case NSLayoutAttributeLeading:
{
if(self.hh_leadingCS){[self.superview removeConstraint:self.hh_leadingCS];}
self.hh_leadingCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeLeading relatedBy:(NSLayoutRelationEqual) toItem:view?:self.superview attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_leadingCS];
}
break;
case NSLayoutAttributeTrailing:
{
if(self.hh_trailingCS){[self.superview removeConstraint:self.hh_trailingCS];}
self.hh_trailingCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeTrailing relatedBy:(NSLayoutRelationEqual) toItem:view?:self.superview attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_trailingCS];
}
break;
case NSLayoutAttributeWidth:
{
self.hh_widthCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeWidth relatedBy:(NSLayoutRelationEqual) toItem:(self.equalToArrayM.count&&constant)?nil:view?:nil attribute:relative multiplier:1.0 constant:constant];
if(self.hh_widthCS){[self.equalToArrayM.count&&constant?self:view?self.superview:self removeConstraint:self.hh_widthCS];}
self.hh_widthCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeWidth relatedBy:(NSLayoutRelationEqual) toItem:self.equalToArrayM.count&&constant?nil:view?:nil attribute:relative multiplier:1.0 constant:constant];
[self.equalToArrayM.count&&constant?self:view?self.superview:self addConstraint:self.hh_widthCS];
}
break;
case NSLayoutAttributeHeight:
{
self.hh_heightCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeHeight relatedBy:(NSLayoutRelationEqual) toItem:(self.equalToArrayM.count&&constant)?nil:view?:nil attribute:relative multiplier:1.0 constant:constant];
if(self.hh_heightCS){[self.equalToArrayM.count&&constant?self:view?self.superview:self removeConstraint:self.hh_heightCS];}
self.hh_heightCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeHeight relatedBy:(NSLayoutRelationEqual) toItem:self.equalToArrayM.count&&constant?nil:view?:nil attribute:relative multiplier:1.0 constant:constant];
[self.equalToArrayM.count&&constant?self:view?self.superview:self addConstraint:self.hh_heightCS];
}
break;
case NSLayoutAttributeCenterX:
{
if(self.hh_centerXCS){[self.superview removeConstraint:self.hh_centerXCS];}
self.hh_centerXCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeCenterX relatedBy:(NSLayoutRelationEqual) toItem:view attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_centerXCS];
}
break;
case NSLayoutAttributeCenterY:
{
if(self.hh_centerYCS){[self.superview removeConstraint:self.hh_centerYCS];}
self.hh_centerYCS = [NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeCenterY relatedBy:(NSLayoutRelationEqual) toItem:view attribute:relative multiplier:1.0 constant:constant];
[self.superview addConstraint:self.hh_centerYCS];
}
Expand Down
2 changes: 1 addition & 1 deletion HHTransition/UIViewController+HHTransition.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <UIKit/UIKit.h>
#import "UIView+HHConstraint.h"
#import "UIView+HHLayout.h"
#import "AnimationStyle.h"

@interface UIViewController (HHPresent)
Expand Down
16 changes: 8 additions & 8 deletions HHTransitionDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
505D45452089CCA00062B838 /* 2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 505D45432089CCA00062B838 /* 2.jpg */; };
505D45462089CCA00062B838 /* 1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 505D45442089CCA00062B838 /* 1.jpg */; };
505D45492089CEA50062B838 /* InterScaleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 505D45482089CEA50062B838 /* InterScaleViewController.m */; };
5069F2CA20C62290003D103F /* UIView+HHLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 5069F2C920C62290003D103F /* UIView+HHLayout.m */; };
50A2B9142087150B00C24583 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A2B9132087150B00C24583 /* AppDelegate.m */; };
50A2B9172087150B00C24583 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A2B9162087150B00C24583 /* ViewController.m */; };
50A2B91A2087150B00C24583 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 50A2B9182087150B00C24583 /* Main.storyboard */; };
Expand All @@ -35,7 +36,6 @@
50D6BA8B208F25810042F5E0 /* VCInteractionDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA6D208F25800042F5E0 /* VCInteractionDelegate.m */; };
50D6BA8C208F25810042F5E0 /* AnimationWaveBegin.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA6E208F25800042F5E0 /* AnimationWaveBegin.m */; };
50D6BA8D208F25810042F5E0 /* AnimationErectBegin.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA6F208F25800042F5E0 /* AnimationErectBegin.m */; };
50D6BA8E208F25810042F5E0 /* UIView+HHConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA72208F25800042F5E0 /* UIView+HHConstraint.m */; };
50D6BA8F208F25810042F5E0 /* AnimationErectEnd.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA73208F25800042F5E0 /* AnimationErectEnd.m */; };
50D6BA90208F25810042F5E0 /* AnimationScaleEnd.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA78208F25800042F5E0 /* AnimationScaleEnd.m */; };
50D6BA91208F25810042F5E0 /* QuadrantRecognise.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D6BA7B208F25800042F5E0 /* QuadrantRecognise.m */; };
Expand All @@ -50,6 +50,8 @@
505D45442089CCA00062B838 /* 1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 1.jpg; sourceTree = "<group>"; };
505D45472089CEA50062B838 /* InterScaleViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterScaleViewController.h; sourceTree = "<group>"; };
505D45482089CEA50062B838 /* InterScaleViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterScaleViewController.m; sourceTree = "<group>"; };
5069F2C820C62290003D103F /* UIView+HHLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+HHLayout.h"; sourceTree = "<group>"; };
5069F2C920C62290003D103F /* UIView+HHLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+HHLayout.m"; sourceTree = "<group>"; };
508E5B4D20C134EC0006687C /* AnimationStyle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnimationStyle.h; sourceTree = "<group>"; };
50A2B90F2087150B00C24583 /* HHTransitionDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HHTransitionDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
50A2B9122087150B00C24583 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
Expand All @@ -68,7 +70,6 @@
50A2B9422087194800C24583 /* CircleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CircleViewController.m; sourceTree = "<group>"; };
50A2B9432087194800C24583 /* BackScaleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BackScaleViewController.h; sourceTree = "<group>"; };
50D6BA5F208F25800042F5E0 /* AnimationWaveEnd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnimationWaveEnd.m; sourceTree = "<group>"; };
50D6BA60208F25800042F5E0 /* UIView+HHConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+HHConstraint.h"; sourceTree = "<group>"; };
50D6BA61208F25800042F5E0 /* AnimationBackEnd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnimationBackEnd.m; sourceTree = "<group>"; };
50D6BA62208F25800042F5E0 /* QuadrantRecognise.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QuadrantRecognise.h; sourceTree = "<group>"; };
50D6BA63208F25800042F5E0 /* AnimationScaleEnd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationScaleEnd.h; sourceTree = "<group>"; };
Expand All @@ -86,7 +87,6 @@
50D6BA6F208F25800042F5E0 /* AnimationErectBegin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnimationErectBegin.m; sourceTree = "<group>"; };
50D6BA70208F25800042F5E0 /* AnimationWaveEnd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationWaveEnd.h; sourceTree = "<group>"; };
50D6BA71208F25800042F5E0 /* AnimationBackEnd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationBackEnd.h; sourceTree = "<group>"; };
50D6BA72208F25800042F5E0 /* UIView+HHConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+HHConstraint.m"; sourceTree = "<group>"; };
50D6BA73208F25800042F5E0 /* AnimationErectEnd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnimationErectEnd.m; sourceTree = "<group>"; };
50D6BA74208F25800042F5E0 /* AnimationFadeBegin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationFadeBegin.h; sourceTree = "<group>"; };
50D6BA75208F25800042F5E0 /* AnimationFadeEnd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationFadeEnd.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -197,8 +197,8 @@
5021D86E20AD657A003103EB /* AnimationTransitionBegin.m */,
5021D87020AD65AA003103EB /* AnimationTransitionEnd.h */,
5021D87120AD65AA003103EB /* AnimationTransitionEnd.m */,
50D6BA60208F25800042F5E0 /* UIView+HHConstraint.h */,
50D6BA72208F25800042F5E0 /* UIView+HHConstraint.m */,
5069F2C820C62290003D103F /* UIView+HHLayout.h */,
5069F2C920C62290003D103F /* UIView+HHLayout.m */,
);
path = HHTransition;
sourceTree = SOURCE_ROOT;
Expand Down Expand Up @@ -295,9 +295,9 @@
50A2B9142087150B00C24583 /* AppDelegate.m in Sources */,
50D6BA85208F25810042F5E0 /* AnimationBackBegin.m in Sources */,
50D6BA91208F25810042F5E0 /* QuadrantRecognise.m in Sources */,
50D6BA8E208F25810042F5E0 /* UIView+HHConstraint.m in Sources */,
50D6BA8D208F25810042F5E0 /* AnimationErectBegin.m in Sources */,
50D6BA82208F25810042F5E0 /* AnimationBackEnd.m in Sources */,
5069F2CA20C62290003D103F /* UIView+HHLayout.m in Sources */,
50A2B9472087194800C24583 /* CircleViewController.m in Sources */,
50D6BA8A208F25810042F5E0 /* UIViewController+HHTransition.m in Sources */,
505D45492089CEA50062B838 /* InterScaleViewController.m in Sources */,
Expand Down Expand Up @@ -441,7 +441,7 @@
INFOPLIST_FILE = HHTransitionDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.eruiglobal.HHTransition;
PRODUCT_BUNDLE_IDENTIFIER = com.yufeng.HHTransition;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand All @@ -456,7 +456,7 @@
INFOPLIST_FILE = HHTransitionDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.eruiglobal.HHTransition;
PRODUCT_BUNDLE_IDENTIFIER = com.yufeng.HHTransition;
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
Loading

0 comments on commit 9d28c9d

Please sign in to comment.