Skip to content

Commit 1c4a0a5

Browse files
committed
Merge branch 'release/0.0.2'
2 parents d567437 + 1bc20b9 commit 1c4a0a5

29 files changed

+494
-110
lines changed

Examples/Podfile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project 'iOSExample/iOSExample.xcodeproj'
44

55
pod "MWPhotoBrowser"
66
pod "WeiboSDK", :git => "https://github.com/sinaweibosdk/weibo_ios_sdk.git"
7+
#pod "JSONCore", :git => "https://github.com/kbonana/JSONCore.git", :branch => 'develop'
78

89
target 'iOSExample' do
910

Examples/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ SPEC CHECKSUMS:
3030
SDWebImage: 098e97e6176540799c27e804c96653ee0833d13c
3131
WeiboSDK: bceab625ec59b7039ba721cc4ba9f5868804f63e
3232

33-
PODFILE CHECKSUM: 023242c14046212add85db8d3e1b608ebd23ea16
33+
PODFILE CHECKSUM: 92fff708b63e1ba01082536c9e749118f11f8860
3434

35-
COCOAPODS: 1.2.0
35+
COCOAPODS: 1.2.1.beta.1

Examples/iOSExample/iOSExample.xcodeproj/project.pbxproj

+41-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
2446FAE51E7B2DFD00E46A7D /* WBUser.m in Sources */ = {isa = PBXBuildFile; fileRef = 2446FAE41E7B2DFD00E46A7D /* WBUser.m */; };
11+
24D296111E7E806500F84C23 /* JSObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 24D296101E7E806500F84C23 /* JSObject.m */; };
1012
6445C3E9A768C6844103543B /* libPods-iOSExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 20A1D98A497DDD701351126F /* libPods-iOSExample.a */; };
1113
774DF4E81E0D04C300621AC7 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 774DF4D21E0D04C300621AC7 /* Info.plist */; };
1214
774DF4E91E0D04C300621AC7 /* MJExtensionConst.m in Sources */ = {isa = PBXBuildFile; fileRef = 774DF4D51E0D04C300621AC7 /* MJExtensionConst.m */; };
@@ -53,6 +55,10 @@
5355
D22FB32E1E1CF74E001194A3 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D22FB32D1E1CF74E001194A3 /* MediaPlayer.framework */; };
5456
D22FB3301E1CF75D001194A3 /* Photos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D22FB32F1E1CF75D001194A3 /* Photos.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
5557
D22FB3341E1CFCB6001194A3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D22FB3331E1CFCB6001194A3 /* Foundation.framework */; };
58+
EF4EE0151E5DCA1300E4565A /* ProfileViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EF4EE0131E5DCA1300E4565A /* ProfileViewController.m */; };
59+
EF4EE0161E5DCA1300E4565A /* ProfileViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = EF4EE0141E5DCA1300E4565A /* ProfileViewController.xib */; };
60+
EF4EE01A1E5DCB6100E4565A /* ProfileTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = EF4EE0181E5DCB6100E4565A /* ProfileTableViewCell.m */; };
61+
EF4EE01B1E5DCB6100E4565A /* ProfileTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = EF4EE0191E5DCB6100E4565A /* ProfileTableViewCell.xib */; };
5662
/* End PBXBuildFile section */
5763

5864
/* Begin PBXContainerItemProxy section */
@@ -67,6 +73,11 @@
6773

6874
/* Begin PBXFileReference section */
6975
20A1D98A497DDD701351126F /* libPods-iOSExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-iOSExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
76+
2446FAE31E7B2DFD00E46A7D /* WBUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WBUser.h; sourceTree = "<group>"; };
77+
2446FAE41E7B2DFD00E46A7D /* WBUser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WBUser.m; sourceTree = "<group>"; };
78+
2446FAE61E7B2E9E00E46A7D /* PrefixHeader.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = "<group>"; };
79+
24D2960F1E7E806500F84C23 /* JSObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSObject.h; sourceTree = "<group>"; };
80+
24D296101E7E806500F84C23 /* JSObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSObject.m; sourceTree = "<group>"; };
7081
774DF4D21E0D04C300621AC7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
7182
774DF4D31E0D04C300621AC7 /* MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJExtension.h; sourceTree = "<group>"; };
7283
774DF4D41E0D04C300621AC7 /* MJExtensionConst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJExtensionConst.h; sourceTree = "<group>"; };
@@ -143,6 +154,12 @@
143154
D22FB32F1E1CF75D001194A3 /* Photos.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Photos.framework; path = System/Library/Frameworks/Photos.framework; sourceTree = SDKROOT; };
144155
D22FB3331E1CFCB6001194A3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
145156
D8FFD1EE7AB802D9291C2CA2 /* Pods-iOSExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOSExample.release.xcconfig"; path = "../Pods/Target Support Files/Pods-iOSExample/Pods-iOSExample.release.xcconfig"; sourceTree = "<group>"; };
157+
EF4EE0121E5DCA1300E4565A /* ProfileViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProfileViewController.h; sourceTree = "<group>"; };
158+
EF4EE0131E5DCA1300E4565A /* ProfileViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProfileViewController.m; sourceTree = "<group>"; };
159+
EF4EE0141E5DCA1300E4565A /* ProfileViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ProfileViewController.xib; sourceTree = "<group>"; };
160+
EF4EE0171E5DCB6100E4565A /* ProfileTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProfileTableViewCell.h; sourceTree = "<group>"; };
161+
EF4EE0181E5DCB6100E4565A /* ProfileTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProfileTableViewCell.m; sourceTree = "<group>"; };
162+
EF4EE0191E5DCB6100E4565A /* ProfileTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ProfileTableViewCell.xib; sourceTree = "<group>"; };
146163
/* End PBXFileReference section */
147164

148165
/* Begin PBXFrameworksBuildPhase section */
@@ -266,12 +283,14 @@
266283
A92AA9731E08E3D100B4579F /* Models */ = {
267284
isa = PBXGroup;
268285
children = (
286+
2446FAE31E7B2DFD00E46A7D /* WBUser.h */,
287+
2446FAE41E7B2DFD00E46A7D /* WBUser.m */,
288+
A92AA9771E08EEF400B4579F /* UserModel.h */,
289+
A92AA9781E08EEF400B4579F /* UserModel.m */,
269290
A92AA9701E08E3CC00B4579F /* WeiboModel.h */,
270291
A92AA9711E08E3CC00B4579F /* WeiboModel.m */,
271292
A92AA9741E08E3E500B4579F /* StatuseModel.h */,
272293
A92AA9751E08E3E500B4579F /* StatuseModel.m */,
273-
A92AA9771E08EEF400B4579F /* UserModel.h */,
274-
A92AA9781E08EEF400B4579F /* UserModel.m */,
275294
);
276295
name = Models;
277296
sourceTree = "<group>";
@@ -283,6 +302,9 @@
283302
A92AA9821E0A55C100B4579F /* WeiboContentCell.m */,
284303
A92AA9841E0B571500B4579F /* LoadingView.h */,
285304
A92AA9851E0B571500B4579F /* LoadingView.m */,
305+
EF4EE0171E5DCB6100E4565A /* ProfileTableViewCell.h */,
306+
EF4EE0181E5DCB6100E4565A /* ProfileTableViewCell.m */,
307+
EF4EE0191E5DCB6100E4565A /* ProfileTableViewCell.xib */,
286308
);
287309
name = Views;
288310
sourceTree = "<group>";
@@ -312,6 +334,8 @@
312334
children = (
313335
A92AA97D1E0A534C00B4579F /* UIViewExt.h */,
314336
A92AA97E1E0A534C00B4579F /* UIViewExt.m */,
337+
24D2960F1E7E806500F84C23 /* JSObject.h */,
338+
24D296101E7E806500F84C23 /* JSObject.m */,
315339
774DF4D11E0D04C300621AC7 /* MJExtension */,
316340
A92AA9691E08E38B00B4579F /* JSONCore */,
317341
A9F9A0331E08B0C600E22FE7 /* Weibo */,
@@ -333,6 +357,7 @@
333357
children = (
334358
A9F9A00F1E08B06C00E22FE7 /* main.m */,
335359
77756B431E0DF052006F5938 /* public_timeline.json */,
360+
2446FAE61E7B2E9E00E46A7D /* PrefixHeader.pch */,
336361
);
337362
name = "Supporting Files";
338363
sourceTree = "<group>";
@@ -362,6 +387,9 @@
362387
children = (
363388
A9F9A0341E08B1C800E22FE7 /* HomeTimelineController.h */,
364389
A9F9A0351E08B1C800E22FE7 /* HomeTimelineController.m */,
390+
EF4EE0121E5DCA1300E4565A /* ProfileViewController.h */,
391+
EF4EE0131E5DCA1300E4565A /* ProfileViewController.m */,
392+
EF4EE0141E5DCA1300E4565A /* ProfileViewController.xib */,
365393
);
366394
name = Controllers;
367395
sourceTree = "<group>";
@@ -452,8 +480,10 @@
452480
isa = PBXResourcesBuildPhase;
453481
buildActionMask = 2147483647;
454482
files = (
483+
EF4EE0161E5DCA1300E4565A /* ProfileViewController.xib in Resources */,
455484
A9F9A01E1E08B06C00E22FE7 /* LaunchScreen.storyboard in Resources */,
456485
A9F9A01B1E08B06C00E22FE7 /* Assets.xcassets in Resources */,
486+
EF4EE01B1E5DCB6100E4565A /* ProfileTableViewCell.xib in Resources */,
457487
77756B441E0DF052006F5938 /* public_timeline.json in Resources */,
458488
A9F9A0191E08B06C00E22FE7 /* Main.storyboard in Resources */,
459489
774DF4E81E0D04C300621AC7 /* Info.plist in Resources */,
@@ -497,7 +527,7 @@
497527
);
498528
runOnlyForDeploymentPostprocessing = 0;
499529
shellPath = /bin/sh;
500-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
530+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
501531
showEnvVarsInLog = 0;
502532
};
503533
D842616FFAB82BC9D10D7C88 /* [CP] Copy Pods Resources */ = {
@@ -529,12 +559,14 @@
529559
A92AA9721E08E3CC00B4579F /* WeiboModel.m in Sources */,
530560
774DF4ED1E0D04C300621AC7 /* MJPropertyType.m in Sources */,
531561
774DF4F11E0D04C300621AC7 /* NSObject+MJProperty.m in Sources */,
562+
2446FAE51E7B2DFD00E46A7D /* WBUser.m in Sources */,
532563
774DF4EF1E0D04C300621AC7 /* NSObject+MJCoding.m in Sources */,
533564
A92AA9831E0A55C100B4579F /* WeiboContentCell.m in Sources */,
534565
A9F9A0131E08B06C00E22FE7 /* AppDelegate.m in Sources */,
535566
A9F9A0101E08B06C00E22FE7 /* main.m in Sources */,
536567
774DF4EC1E0D04C300621AC7 /* MJPropertyKey.m in Sources */,
537568
774DF4E91E0D04C300621AC7 /* MJExtensionConst.m in Sources */,
569+
24D296111E7E806500F84C23 /* JSObject.m in Sources */,
538570
A9F9A0361E08B1C800E22FE7 /* HomeTimelineController.m in Sources */,
539571
774DF4EE1E0D04C300621AC7 /* NSObject+MJClass.m in Sources */,
540572
77756B421E0D6523006F5938 /* NSMutableDictionary+JSONCore.m in Sources */,
@@ -544,7 +576,9 @@
544576
774DF4EB1E0D04C300621AC7 /* MJProperty.m in Sources */,
545577
A92AA9761E08E3E500B4579F /* StatuseModel.m in Sources */,
546578
A92AA9681E08E08000B4579F /* WeiboRequest.m in Sources */,
579+
EF4EE0151E5DCA1300E4565A /* ProfileViewController.m in Sources */,
547580
A92AA93C1E08B57600B4579F /* MainViewController.m in Sources */,
581+
EF4EE01A1E5DCB6100E4565A /* ProfileTableViewCell.m in Sources */,
548582
774DF4F21E0D04C300621AC7 /* NSString+MJExtension.m in Sources */,
549583
774DF4EA1E0D04C300621AC7 /* MJFoundation.m in Sources */,
550584
);
@@ -686,6 +720,8 @@
686720
buildSettings = {
687721
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
688722
DEVELOPMENT_TEAM = 9V4T4T8D8H;
723+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
724+
GCC_PREFIX_HEADER = "${SRCROOT}/iOSExample/PrefixHeader.pch";
689725
HEADER_SEARCH_PATHS = "$(inherited)";
690726
INFOPLIST_FILE = iOSExample/Info.plist;
691727
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -702,6 +738,8 @@
702738
buildSettings = {
703739
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
704740
DEVELOPMENT_TEAM = 9V4T4T8D8H;
741+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
742+
GCC_PREFIX_HEADER = "${SRCROOT}/iOSExample/PrefixHeader.pch";
705743
HEADER_SEARCH_PATHS = "$(inherited)";
706744
INFOPLIST_FILE = iOSExample/Info.plist;
707745
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

Examples/iOSExample/iOSExample/AppDelegate.m

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ @implementation AppDelegate
1818

1919
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
2020
// Override point for customization after application launch.
21+
22+
LogInfo(@"提示信息");
23+
LogWarm(@"警告信息");
24+
LogError(@"错误信息");
2125
return YES;
2226
}
2327

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// JSObject.h
3+
// iOSExample
4+
//
5+
// Created by bonana on 2017/3/19.
6+
// Copyright © 2017年 maintoco. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface JSObject : NSObject
12+
13+
/**
14+
创建时间
15+
*/
16+
@property (nonatomic, copy) NSString *created_at;
17+
18+
@end
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// JSObject.m
3+
// iOSExample
4+
//
5+
// Created by bonana on 2017/3/19.
6+
// Copyright © 2017年 maintoco. All rights reserved.
7+
//
8+
9+
#import "JSObject.h"
10+
11+
@implementation JSObject
12+
13+
- (void)setCreated_at:(NSString *)created_at {
14+
NSDateFormatter *dateFmt = [NSDateFormatter new];
15+
dateFmt.dateFormat = @"EEE MMM d HH:mm:ss Z yyyy";
16+
dateFmt.locale = [NSLocale localeWithLocaleIdentifier:@"en-US"];
17+
18+
NSDate *date = [dateFmt dateFromString:created_at];
19+
_created_at = @(date.timeIntervalSince1970).stringValue;
20+
}
21+
22+
@end

Examples/iOSExample/iOSExample/MainViewController.m

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#import "MainViewController.h"
1010
#import "HomeTimelineController.h"
11+
#import "ProfileViewController.h"
1112

1213
@interface MainViewController ()
1314

@@ -21,17 +22,17 @@ - (void)viewDidLoad {
2122

2223
self.tabBar.backgroundImage = [UIImage imageNamed:@"tabbar_backgroud"];
2324
self.tabBar.tintColor = [UIColor grayColor];
24-
NSArray *tabbarItems = @[@[@"首页",@"tabbar_home"],
25+
NSArray<NSArray *> *tabbarItems = @[@[@"首页",@"tabbar_home",[HomeTimelineController class]],
2526
@[@"消息",@"tabbar_message_center"],
2627
@[@"发现",@"tabbar_discover"],
27-
@[@"",@"tabbar_profile"]];
28+
@[@"",@"tabbar_profile",[ProfileViewController class]]];
2829
NSMutableArray *marr = [NSMutableArray array];
2930
for (int i=0; i<4; i++) {
3031
UIViewController *viewController;
31-
if (i == 0) {
32-
viewController = [[UINavigationController alloc] initWithRootViewController:[HomeTimelineController new]];
32+
if (tabbarItems[i].count > 2) {
33+
viewController = [[UINavigationController alloc] initWithRootViewController:[tabbarItems[i][2] new]];
3334
}else {
34-
viewController = [UINavigationController new];
35+
viewController = [[UINavigationController alloc] initWithRootViewController:[UIViewController new]];
3536
}
3637
viewController.tabBarItem.title = tabbarItems[i][0];
3738
NSString *imgName = tabbarItems[i][1];
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// PrefixHeader.pch
3+
// iOSExample
4+
//
5+
// Created by bonana on 2017/3/17.
6+
// Copyright © 2017年 maintoco. All rights reserved.
7+
//
8+
9+
#ifndef PrefixHeader_pch
10+
#define PrefixHeader_pch
11+
12+
// Include any system framework and library headers here that should be included in all compilation units.
13+
// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.
14+
15+
#import <Foundation/Foundation.h>
16+
17+
//For XcodeColors Settings
18+
#if DEBUG
19+
#define XCODE_COLORS_ESCAPE @"\033["
20+
21+
#define XCODE_COLORS_RESET_FG XCODE_COLORS_ESCAPE @"fg;" // Clear any foreground color
22+
#define XCODE_COLORS_RESET_BG XCODE_COLORS_ESCAPE @"bg;" // Clear any background color
23+
#define XCODE_COLORS_RESET XCODE_COLORS_ESCAPE @";" // Clear any foreground or background color
24+
25+
#define LogInfo(frmt, ...) NSLog((XCODE_COLORS_ESCAPE @"fg85,85,75;%s+%d " frmt XCODE_COLORS_RESET),__func__,__LINE__, ##__VA_ARGS__)
26+
#define LogWarm(frmt, ...) NSLog((XCODE_COLORS_ESCAPE @"fg209,57,168;%s+%d " frmt XCODE_COLORS_RESET),__func__,__LINE__, ##__VA_ARGS__)
27+
#define LogError(frmt, ...) NSLog((XCODE_COLORS_ESCAPE @"fg255,0,0;%s+%d " frmt XCODE_COLORS_RESET),__func__,__LINE__, ##__VA_ARGS__)
28+
#else
29+
#define LogInfo(frmt, ...)
30+
#define LogWarm(frmt, ...)
31+
#define LogError(frmt, ...)
32+
#define NSLog(...)
33+
#endif
34+
35+
#endif /* PrefixHeader_pch */

Examples/iOSExample/iOSExample/Weibo/HomeTimelineController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ @implementation HomeTimelineController
2424
- (void)viewDidLoad {
2525
[super viewDidLoad];
2626
// Do any additional setup after loading the view.
27-
NSLog(@"%@",NSHomeDirectory());
27+
LogWarm(@"%@",NSHomeDirectory());
2828

2929

3030
self.title = @"消息";

Examples/iOSExample/iOSExample/Weibo/LoadingView.m

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ - (void)initView {
108108

109109
- (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag {
110110
self.circleLayer.progress = self.progress;
111-
NSLog(@"%d",flag);
112111
}
113112

114113
- (void)setHidden:(BOOL)hidden {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// ProfileTableViewCell.h
3+
// iOSExample
4+
//
5+
// Created by cyoung on 2017/2/22.
6+
// Copyright © 2017年 maintoco. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface ProfileTableViewCell : UITableViewCell
12+
13+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
//
2+
// ProfileTableViewCell.m
3+
// iOSExample
4+
//
5+
// Created by cyoung on 2017/2/22.
6+
// Copyright © 2017年 maintoco. All rights reserved.
7+
//
8+
9+
#import "ProfileTableViewCell.h"
10+
11+
@implementation ProfileTableViewCell
12+
13+
- (void)awakeFromNib {
14+
[super awakeFromNib];
15+
// Initialization code
16+
}
17+
18+
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
19+
[super setSelected:selected animated:animated];
20+
21+
// Configure the view for the selected state
22+
}
23+
24+
- (IBAction)addItem:(id)sender {
25+
NSLog(@"");
26+
}
27+
28+
@end

0 commit comments

Comments
 (0)