Skip to content
Permalink
Browse files

fix some bug

  • Loading branch information...
YPLiang19
YPLiang19 committed May 1, 2019
1 parent 7fbef1e commit 0c25c625a96d07f4dfed56133b80627ea01954fc
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MangoFix"
s.version = "1.1.5"
s.version = "1.1.6"
s.summary = "MangoFix"
s.description = <<-DESC
Mango is a DSL which syntax is very similar to Objective-C,Mango is also an iOS App hotfix SDK. You can use Mango method replace any Objective-C method.
@@ -10,4 +10,6 @@

@interface SuperMyController : UIViewController

@property(nonatomic,copy) id block;

@end
@@ -19,21 +19,6 @@ - (void)viewDidLoad {
[super viewDidLoad];
}

//- (void)testMasonry{
// UIView *superview = self.view;
// UIView *view1 = [[UIView alloc] init];
// view1.translatesAutoresizingMaskIntoConstraints = NO;
// view1.backgroundColor = [UIColor greenColor];
// [superview addSubview:view1];
// UIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10);
// [view1 mas_makeConstraints:^(MASConstraintMaker *make) {
// make.top.equalTo(superview.mas_top).with.offset(padding.top); //with is an optional semantic filler
// make.left.equalTo(superview.mas_left).with.offset(padding.left);
// make.bottom.equalTo(superview.mas_bottom).with.offset(-padding.bottom);
// make.right.equalTo(superview.mas_right).with.offset(-padding.right);
// }];
//}

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
@@ -172,6 +172,7 @@ self.resultView.text = @"here is Mango method";

}

int a = 1;

class SuperMyController:UIViewController{

@@ -217,6 +218,9 @@ class SubMyController:SuperMyController {
self.view.addSubview:(view);
view.backgroundColor = UIColor.redColor();
self.rotateView = view;
self.block = ^{
NSLog(view);
};
}

}
@@ -2,8 +2,8 @@
# platform :ios, '8.0'

target 'MangoFixDemo' do
#pod 'MangoFix', :path => '../'
pod 'MangoFix'
pod 'MangoFix', :path => '../'
#pod 'MangoFix'
pod 'Masonry'
end

@@ -3,18 +3,21 @@ PODS:
- Masonry (1.1.0)

DEPENDENCIES:
- MangoFix
- MangoFix (from `../`)
- Masonry

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- MangoFix
- Masonry

EXTERNAL SOURCES:
MangoFix:
:path: "../"

SPEC CHECKSUMS:
MangoFix: 6b23a5a07cc46ee4f7b38856cbc3e9f4097586ba
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201

PODFILE CHECKSUM: 8b419bb9698579d5a8d614732a5d068bea7d7c8a
PODFILE CHECKSUM: d4c840804038b7a88dd36af2034601338236c188

COCOAPODS: 1.6.1

0 comments on commit 0c25c62

Please sign in to comment.
You can’t perform that action at this time.