FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Coding-iOS/Coding_iOS/Models/CodingSkill.m at add-ldap-login · coding/Coding-iOS · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
coding
/
Coding-iOS
Public
Notifications
You must be signed in to change notification settings
Fork
1.3k
Star
3.8k
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
CodingSkill.m
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (17 loc) · 498 Bytes
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
CodingSkill.m
Copy path
File metadata and controls
22 lines (17 loc) · 498 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
//
CodingSkill.m
//
Coding_iOS
//
//
Created by Easeeeeeeeee on 2017/9/18.
//
Copyright © 2017年 Coding. All rights reserved.
//
#
import
"
CodingSkill.h
"
@implementation
CodingSkill
- (
NSString
*)
skill_str
{
NSInteger
level =
MIN
([CodingSkill
levelList
].
count
,
MAX
(
0
, _level.
integerValue
-
1
));
return
[
NSString
stringWithFormat:
@"
%@
·
%@
"
, _skillName, [CodingSkill
levelList
][level]];
}
+ (
NSArray
*)
levelList
{
return
@[
@"
入门
"
,
@"
一般
"
,
@"
熟练
"
,
@"
精通
"
, ];
}
@end
Back
|
FazBrowse Home
|
New Git URL