GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 项目首页,GitToolBar · flycl/Coding-iOS@048a139

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Coding_iOS.xcodeproj
    • project.pbxproj
  • Coding_iOS
    • Controllers/NProjectViewController
      • NProjectViewController.m
    • Util/Common
      • EaseGitButton.h
      • EaseGitButton.m
      • EaseGitButtonsView.h
      • EaseGitButtonsView.m
    • Views/Cell
      • ProjectDescriptionCell.h
      • ProjectDescriptionCell.m
      • ProjectReadMeCell.h
      • ProjectReadMeCell.m
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Coding_iOS.xcodeproj/project.pbxproj‎

Copy file name to clipboardExpand all lines: Coding_iOS.xcodeproj/project.pbxproj
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
4E6D718A1A75F00E005AD988 /* YLImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E6D71881A75F00E005AD988 /* YLImageView.m */; };
119119
4E6D718D1A762879005AD988 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4E6D718B1A762879005AD988 /* [email protected] */; };
120120
4E6D718E1A762879005AD988 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4E6D718C1A762879005AD988 /* [email protected] */; };
121-
4E6FFB311AB3176900F27B3F /* ProjectReadMeCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E6FFB301AB3176900F27B3F /* ProjectReadMeCell.m */; };
122121
4E72F82D1B144778001B6CE6 /* NSMutableString+Common.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E72F82C1B144778001B6CE6 /* NSMutableString+Common.m */; };
123122
4E72F82F1B159997001B6CE6 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4E72F82E1B159997001B6CE6 /* [email protected] */; };
124123
4E72F8331B15B811001B6CE6 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4E72F8321B15B811001B6CE6 /* [email protected] */; };
@@ -283,6 +282,7 @@
283282
4ECF703B1B171AD8000280FF /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4ECF70331B171AD8000280FF /* [email protected] */; };
284283
4ECF703C1B171AD8000280FF /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4ECF70341B171AD8000280FF /* [email protected] */; };
285284
4ECF703D1B171AD8000280FF /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4ECF70351B171AD8000280FF /* [email protected] */; };
285+
4ECF70401B180740000280FF /* EaseGitButtonsView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4ECF703F1B180740000280FF /* EaseGitButtonsView.m */; };
286286
4ED20A781AFC7C8B00C63498 /* EasePageViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4ED20A771AFC7C8B00C63498 /* EasePageViewController.m */; };
287287
4ED20A7A1AFCC43600C63498 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 4ED20A791AFCC43600C63498 /* [email protected] */; };
288288
4ED6731E1A8DD38C00DF2D1A /* ReportIllegalViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4ED6731D1A8DD38C00DF2D1A /* ReportIllegalViewController.m */; };
@@ -828,8 +828,6 @@
828828
4E6D71881A75F00E005AD988 /* YLImageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YLImageView.m; sourceTree = "<group>"; };
829829
4E6D718B1A762879005AD988 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
830830
4E6D718C1A762879005AD988 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
831-
4E6FFB2F1AB3176900F27B3F /* ProjectReadMeCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProjectReadMeCell.h; sourceTree = "<group>"; };
832-
4E6FFB301AB3176900F27B3F /* ProjectReadMeCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProjectReadMeCell.m; sourceTree = "<group>"; };
833831
4E72F82B1B144778001B6CE6 /* NSMutableString+Common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableString+Common.h"; sourceTree = "<group>"; };
834832
4E72F82C1B144778001B6CE6 /* NSMutableString+Common.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableString+Common.m"; sourceTree = "<group>"; };
835833
4E72F82E1B159997001B6CE6 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
@@ -1088,6 +1086,8 @@
10881086
4ECF70331B171AD8000280FF /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
10891087
4ECF70341B171AD8000280FF /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
10901088
4ECF70351B171AD8000280FF /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
1089+
4ECF703E1B180740000280FF /* EaseGitButtonsView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EaseGitButtonsView.h; sourceTree = "<group>"; };
1090+
4ECF703F1B180740000280FF /* EaseGitButtonsView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EaseGitButtonsView.m; sourceTree = "<group>"; };
10911091
4ED20A761AFC7C8B00C63498 /* EasePageViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EasePageViewController.h; sourceTree = "<group>"; };
10921092
4ED20A771AFC7C8B00C63498 /* EasePageViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EasePageViewController.m; sourceTree = "<group>"; };
10931093
4ED20A791AFCC43600C63498 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
@@ -2968,6 +2968,8 @@
29682968
4E03ACA51A5D2060002B000B /* UIVerticalAlignmentLabel.m */,
29692969
4E1A22891AB1844F00CFC14F /* EaseGitButton.h */,
29702970
4E1A228A1AB1844F00CFC14F /* EaseGitButton.m */,
2971+
4ECF703E1B180740000280FF /* EaseGitButtonsView.h */,
2972+
4ECF703F1B180740000280FF /* EaseGitButtonsView.m */,
29712973
0A03E6D11ABD0F690034BB8E /* LocationHelper.h */,
29722974
0A03E6D21ABD0F690034BB8E /* LocationHelper.m */,
29732975
);
@@ -3254,8 +3256,6 @@
32543256
4E1A22841AB172C400CFC14F /* ProjectItemsCell.m */,
32553257
4E1A22861AB1731600CFC14F /* ProjectDescriptionCell.h */,
32563258
4E1A22871AB1731600CFC14F /* ProjectDescriptionCell.m */,
3257-
4E6FFB2F1AB3176900F27B3F /* ProjectReadMeCell.h */,
3258-
4E6FFB301AB3176900F27B3F /* ProjectReadMeCell.m */,
32593259
4E996BD11ABA776500C704F1 /* UserInfoDetailTagCell.h */,
32603260
4E996BD21ABA776500C704F1 /* UserInfoDetailTagCell.m */,
32613261
4E996BD31ABA776500C704F1 /* UserInfoIconCell.h */,
@@ -3861,6 +3861,7 @@
38613861
8EA6D12C19E240C40076D59C /* EditTopicViewController.m in Sources */,
38623862
4EA7F15B1A6D192B00A046BD /* SDWebImageCompat.m in Sources */,
38633863
8EA6D13A19E240C40076D59C /* Project_RootViewController.m in Sources */,
3864+
4ECF70401B180740000280FF /* EaseGitButtonsView.m in Sources */,
38643865
8EF83F8A19E92AA500E86DE7 /* SettingTagsViewController.m in Sources */,
38653866
8EA6D23319E240C40076D59C /* ProjectActivityListView.m in Sources */,
38663867
8EF643D319FF7E2900F7EEB0 /* ValueListCell.m in Sources */,
@@ -3998,7 +3999,6 @@
39983999
4ECE8AFD1A3946C10021E29C /* AddressManager.m in Sources */,
39994000
B9A00D821ACA3A17008BA008 /* ProjectSettingViewController.m in Sources */,
40004001
8E1C3DED19E7D58A00EF3032 /* ActionSheetDistancePicker.m in Sources */,
4001-
4E6FFB311AB3176900F27B3F /* ProjectReadMeCell.m in Sources */,
40024002
8E59F0F41A00F3B9009A905F /* ProjectCodeListCell.m in Sources */,
40034003
0A6E6BAA1AAF4B24004C0107 /* TweetSendLocationViewController.m in Sources */,
40044004
8E59F0F71A00F3E2009A905F /* ProjectFolderListCell.m in Sources */,
Collapse file

‎Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m
+46-91Lines changed: 46 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#import "NProjectItemCell.h"
1313

1414
//#import "ProjectItemsCell.h"
15-
//#import "ProjectReadMeCell.h"
1615
//#import "ProjectActivityListCell.h"
1716
#import "ProjectViewController.h"
1817
#import "Coding_NetAPIManager.h"
@@ -26,18 +25,22 @@
2625
//#import "FileViewController.h"
2726

2827
#import "CodeViewController.h"
28+
#import "EaseGitButtonsView.h"
2929

3030
@interface NProjectViewController ()<UITableViewDataSource, UITableViewDelegate>
3131
@property (nonatomic, strong) UITableView *myTableView;
3232
@property (nonatomic, strong) ODRefreshControl *refreshControl;
3333

34+
@property (strong, nonatomic) EaseGitButtonsView *gitButtonsView;
35+
3436
@end
3537

3638
@implementation NProjectViewController
3739

3840
-(void)viewWillAppear:(BOOL)animated{
3941
[super viewWillAppear:animated];
4042
[self.myTableView reloadData];
43+
[self refreshGitButtonsView];
4144
}
4245

4346
- (void)viewDidLoad{
@@ -47,7 +50,7 @@ - (void)viewDidLoad{
4750

4851
// 添加myTableView
4952
_myTableView = ({
50-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
53+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
5154
tableView.backgroundColor = [UIColor clearColor];
5255
tableView.dataSource = self;
5356
tableView.delegate = self;
@@ -61,6 +64,17 @@ - (void)viewDidLoad{
6164
}];
6265
tableView;
6366
});
67+
68+
__weak typeof(self) weakSelf = self;
69+
_gitButtonsView = [EaseGitButtonsView new];
70+
_gitButtonsView.gitButtonClickedBlock = ^(NSInteger index){
71+
[weakSelf gitButtonClicked:index];
72+
};
73+
[self.view addSubview:_gitButtonsView];
74+
[_gitButtonsView mas_makeConstraints:^(MASConstraintMaker *make) {
75+
make.left.right.bottom.equalTo(self.view);
76+
make.height.mas_equalTo(EaseGitButtonsView_Height);
77+
}];
6478

6579
_refreshControl = [[ODRefreshControl alloc] initInScrollView:self.myTableView];
6680
[_refreshControl addTarget:self action:@selector(refresh) forControlEvents:UIControlEventValueChanged];
@@ -77,6 +91,7 @@ - (void)refresh{
7791
[[Coding_NetAPIManager sharedManager] request_ProjectDetail_WithObj:_myProject andBlock:^(id data, NSError *error) {
7892
if (data) {
7993
weakSelf.myProject = data;
94+
[self refreshGitButtonsView];
8095
[weakSelf.myTableView reloadData];
8196
}
8297
[weakSelf.refreshControl endRefreshing];
@@ -91,20 +106,33 @@ - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
91106
//footer
92107
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
93108
if (section < 2) {
94-
UIView *footerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 20)];
109+
UIView *footerView = [UIView new];
95110
footerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
96-
[footerView addLineUp:YES andDown:NO andColor:tableView.separatorColor];
97111
return footerView;
98112
}else{
99113
return nil;
100114
}
101115
}
102116

103117
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
104-
CGFloat footerHeight = section < 2? 20: 0;
118+
CGFloat footerHeight = section < 2? 20: 0.5;
105119
return footerHeight;
106120
}
107121

122+
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
123+
return 0.5;
124+
}
125+
126+
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
127+
if (section > 0) {
128+
UIView *headerView = [UIView new];
129+
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
130+
return headerView;
131+
}else{
132+
return nil;
133+
}
134+
}
135+
108136
//data
109137
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
110138
NSInteger row = 0;
@@ -179,89 +207,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
179207
[tableView addLineforPlainCell:cell forRowAtIndexPath:indexPath withLeftSpace:50];
180208
return cell;
181209
}
182-
183-
184-
{
185-
186-
// if (_myProject.is_public.boolValue) {
187-
// if (indexPath.section == 0) {
188-
// if (indexPath.row == 0) {
189-
// ProjectInfoCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectInfoCell forIndexPath:indexPath];
190-
// cell.curProject = _myProject;
191-
// cell.projectBlock = ^(Project *clickedPro){
192-
// [weakSelf gotoPro:clickedPro];
193-
// };
194-
// return cell;
195-
// }else{
196-
// ProjectDescriptionCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectDescriptionCell forIndexPath:indexPath];
197-
// cell.curProject = _myProject;
198-
// cell.gitButtonClickedBlock = ^(NSInteger index){
199-
// [weakSelf gitButtonClicked:index];
200-
// };
201-
// return cell;
202-
// }
203-
// }else if (indexPath.section == 1){
204-
// ProjectItemsCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectItemsCell_Public forIndexPath:indexPath];
205-
// cell.curProject = _myProject;
206-
// cell.itemClickedBlock = ^(NSInteger index){
207-
// [weakSelf goToIndex:index];
208-
// };
209-
// return cell;
210-
// }else{
211-
// ProjectReadMeCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectReadMeCell forIndexPath:indexPath];
212-
// cell.curProject = _myProject;
213-
// cell.cellHeightChangedBlock = ^(){
214-
// [weakSelf.myTableView reloadSections:[NSIndexSet indexSetWithIndex:2] withRowAnimation:UITableViewRowAnimationNone];
215-
// };
216-
// cell.loadRequestBlock = ^(NSURLRequest *curRequest){
217-
// [weakSelf loadRequest:curRequest];
218-
// };
219-
// return cell;
220-
// }
221-
// }else{
222-
// if (indexPath.section == 0) {
223-
// if (indexPath.row == 0) {
224-
// ProjectInfoCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectInfoCell forIndexPath:indexPath];
225-
// cell.curProject = _myProject;
226-
// return cell;
227-
// }else{
228-
// ProjectItemsCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectItemsCell_Private forIndexPath:indexPath];
229-
// cell.curProject = _myProject;
230-
// cell.itemClickedBlock = ^(NSInteger index){
231-
// [self goToIndex:index];
232-
// };
233-
// return cell;
234-
// }
235-
// }else{
236-
// ListGroupItem *item = [_myProActs.listGroups objectAtIndex:indexPath.section - 1];
237-
// NSUInteger row = indexPath.row +item.location;
238-
// ProjectActivity *curProAct = [_myProActs.list objectAtIndex:row];
239-
// ProjectActivityListCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier_ProjectActivityList forIndexPath:indexPath];
240-
// BOOL haveRead, isTop, isBottom;
241-
//
242-
// if (_myProActs.isOfUser || ![_myProActs.type isEqualToString:@"all"]) {
243-
// haveRead = YES;
244-
// isTop = (row == item.location);
245-
// isBottom = (row == item.location +item.length -1);
246-
// }else{
247-
// haveRead = row >= _un_read_activities_count;
248-
// isTop = (row == item.location) || (row == _un_read_activities_count);
249-
// isBottom = (row == item.location +item.length -1) || (row == _un_read_activities_count-1);
250-
// }
251-
//
252-
// [cell configWithProAct:curProAct haveRead:haveRead isTop:isTop isBottom:isBottom];
253-
// [cell.userIconView addTapBlock:^(id obj) {
254-
// [weakSelf goToUserInfo:curProAct.user];
255-
// }];
256-
// cell.htmlItemClickedBlock = ^(HtmlMediaItem *clickedItem, ProjectActivity *proAct, BOOL isContent){
257-
// [weakSelf goToVCWithItem:clickedItem activity:proAct isContent:isContent inProject:weakSelf.myProject];
258-
// };
259-
// [tableView addLineforPlainCell:cell forRowAtIndexPath:indexPath withLeftSpace:
260-
// (row == item.location +item.length -1)? 0: 85 hasSectionLine:NO];
261-
// return cell;
262-
// }
263-
// }
264-
}
265210
}
266211

267212
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
@@ -328,7 +273,7 @@ - (void)gitButtonClicked:(NSInteger)index{
328273
{
329274
if (!_myProject.isStaring) {
330275
[[Coding_NetAPIManager sharedManager] request_StarProject:_myProject andBlock:^(id data, NSError *error) {
331-
[weakSelf.myTableView reloadData];
276+
[weakSelf refreshGitButtonsView];
332277
}];
333278
}
334279
}
@@ -337,7 +282,7 @@ - (void)gitButtonClicked:(NSInteger)index{
337282
{
338283
if (!_myProject.isWatching) {
339284
[[Coding_NetAPIManager sharedManager] request_WatchProject:_myProject andBlock:^(id data, NSError *error) {
340-
[weakSelf.myTableView reloadData];
285+
[weakSelf refreshGitButtonsView];
341286
}];
342287
}
343288
}
@@ -347,7 +292,7 @@ - (void)gitButtonClicked:(NSInteger)index{
347292
[[UIActionSheet bk_actionSheetCustomWithTitle:@"fork将会将此项目复制到您的个人空间,确定要fork吗?" buttonTitles:@[@"确定"] destructiveTitle:nil cancelTitle:@"取消" andDidDismissBlock:^(UIActionSheet *sheet, NSInteger index) {
348293
if (index == 0) {
349294
[[Coding_NetAPIManager sharedManager] request_ForkProject:_myProject andBlock:^(id data, NSError *error) {
350-
[weakSelf.myTableView reloadData];
295+
[weakSelf refreshGitButtonsView];
351296
if (data) {
352297
NProjectViewController *vc = [[NProjectViewController alloc] init];
353298
vc.myProject = data;
@@ -361,5 +306,15 @@ - (void)gitButtonClicked:(NSInteger)index{
361306
}
362307
}
363308

309+
- (void)refreshGitButtonsView{
310+
self.gitButtonsView.curProject = self.myProject;
311+
CGFloat gitButtonsViewHeight = 0;
312+
if (self.myProject.is_public.boolValue) {
313+
gitButtonsViewHeight = CGRectGetHeight(self.gitButtonsView.frame) - 1;
314+
}
315+
UIEdgeInsets insets = UIEdgeInsetsMake(0, 0, gitButtonsViewHeight, 0);
316+
self.myTableView.contentInset = insets;
317+
self.myTableView.scrollIndicatorInsets = insets;
318+
}
364319

365320
@end
Collapse file

‎Coding_iOS/Util/Common/EaseGitButton.h‎

Copy file name to clipboardExpand all lines: Coding_iOS/Util/Common/EaseGitButton.h
+15-2Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,25 @@ typedef enum {
1515

1616
@interface EaseGitButton : UIButton
1717
@property (strong, nonatomic) NSString *normalTitle, *checkedTitle, *normalIcon, *checkedIcon;
18+
@property (strong, nonatomic) UIColor *normalBGColor, *checkedBGColor, *normalBorderColor, *checkedBorderColor;
1819
@property (nonatomic, assign) NSInteger userNum;
1920
@property (assign, nonatomic) BOOL checked;
2021
@property (assign, nonatomic) EaseGitButtonType type;
2122

22-
- (id)initWithFrame:(CGRect)frame normalTitle:(NSString *)normalTitle checkedTitle:(NSString *)checkedTitle normalIcon:(NSString *)normalIcon checkedIcon:(NSString *)checkedIcon userNum:(NSInteger)userNum checked:(BOOL)checked;
23+
- (instancetype)initWithFrame:(CGRect)frame
24+
normalTitle:(NSString *)normalTitle checkedTitle:(NSString *)checkedTitle
25+
normalIcon:(NSString *)normalIcon checkedIcon:(NSString *)checkedIcon
26+
normalBGColor:(UIColor *)normalBGColor checkedBGColor:(UIColor *)checkedBGColor
27+
normalBorderColor:(UIColor *)normalBorderColor checkedBorderColor:(UIColor *)checkedBorderColor
28+
userNum:(NSInteger)userNum checked:(BOOL)checked;
29+
30+
+ (instancetype)gitButtonWithFrame:(CGRect)frame
31+
normalTitle:(NSString *)normalTitle checkedTitle:(NSString *)checkedTitle
32+
normalIcon:(NSString *)normalIcon checkedIcon:(NSString *)checkedIcon
33+
normalBGColor:(UIColor *)normalBGColor checkedBGColor:(UIColor *)checkedBGColor
34+
normalBorderColor:(UIColor *)normalBorderColor checkedBorderColor:(UIColor *)checkedBorderColor
35+
userNum:(NSInteger)userNum checked:(BOOL)checked;
36+
2337
+ (EaseGitButton *)gitButtonWithFrame:(CGRect)frame type:(EaseGitButtonType)type;
24-
+ (EaseGitButton *)gitButtonWithFrame:(CGRect)frame normalTitle:(NSString *)normalTitle checkedTitle:(NSString *)checkedTitle normalIcon:(NSString *)normalIcon checkedIcon:(NSString *)checkedIcon userNum:(NSInteger)userNum checked:(BOOL)checked;
2538

2639
@end

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.