由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
MobileDevelopment版 - 本版iOS工具集Objective-C编码约定
相关主题
制作本版工具集iphone app开发上手请教与探讨 (转载)
本版工具集iSSSDK我的简历,望建议
Advances in Objective-CWhat're the three types of memory allocated for C++ variables?
[iOS Programming]Swift Programming Language:it’s like Objective-C, without the C也问个template 的问题(C++)
Dropbox taps C++ for mobile app dev求一道题解答
湾区IOS培训与提高?真的假的? SINA $189 price objective at T. H. Capital
请教,做了2年多java后端的大妈有必要转手机开发吗?reliable donate linkage for foreigner in department???
CocoaPods released 1.0 on May 10, 2016Job Opportunity
相关话题的讨论汇总
话题: guidelines话题: linkage话题: example话题: apple
进入MobileDevelopment版参与讨论
1 (共1页)
z*******n
发帖数: 1034
1
1.遵循Apple's Introduction to Coding Guidelines for Cocoa
https://developer.apple.com/library/ios/documentation/Cocoa/Con
CodingGuidelines/CodingGuidelines.html
2.static variables naming
A.with internal linkage ,the first letter of the variable name should be
capitalized.

B.with no linkage,the first letter of the variable name should NOT be
capitalized.(see exception details in apple's guidelines)
3.
z*******n
发帖数: 1034
2
1.遵循Apple's Introduction to Coding Guidelines for Cocoa
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/
CodingGuidelines/CodingGuidelines.html
2.static variables naming
A.with internal linkage ,the first letter of the variable name should be
capitalized.
// [Example:

static NSString* const CellReuseIdentifier=@"MDCellReuseIdentifier";

//-end example]
B.with no linkage,the first letter of the variable name should NOT be
capitalized.(see exception details in apple's guidelines)
// [Example:
-(void)performMakingBabies
{
static NSInteger times;
static NSInteger USAGirlsCount; //-naming exception
}
//-end example]
3. 使用[email protected]/* */ 标示you're overriding a method of a parent class.
// [Example:
@interface MITBBSMDLoginViewController : UIViewController
...
[email protected]/* */
- (void)viewDidLoad {

[super viewDidLoad];
}
...
//-end example]
4.
z*******n
发帖数: 1034
3
工具集制作征集
0.希望今年能够开始
1.在某个条件符合情况下开源,比如18个月没有更新
2.后端能够在自由地区支持两家云产品,在中华人民共和国皇帝统治地区支持两家云产品
先想到这些

【在 z*******n 的大作中提到】
: 1.遵循Apple's Introduction to Coding Guidelines for Cocoa
: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/
: CodingGuidelines/CodingGuidelines.html
: 2.static variables naming
: A.with internal linkage ,the first letter of the variable name should be
: capitalized.
: // [Example:
:
: static NSString* const CellReuseIdentifier=@"MDCellReuseIdentifier";
:

z*******n
发帖数: 1034
4
工具集制作征集
0.希望今年能够开始
1.在某个条件符合情况下开源,比如18个月没有更新
2.后端能够在自由地区支持两家云产品,在中华人民共和国皇帝统治地区支持两家云产品
先想到这些

【在 z*******n 的大作中提到】
: 1.遵循Apple's Introduction to Coding Guidelines for Cocoa
: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/
: CodingGuidelines/CodingGuidelines.html
: 2.static variables naming
: A.with internal linkage ,the first letter of the variable name should be
: capitalized.
: // [Example:
:
: static NSString* const CellReuseIdentifier=@"MDCellReuseIdentifier";
:

1 (共1页)
进入MobileDevelopment版参与讨论
相关主题
Job OpportunityDropbox taps C++ for mobile app dev
Job Opportunity - Statistics湾区IOS培训与提高?
Job Opportunity (转载)请教,做了2年多java后端的大妈有必要转手机开发吗?
Job Opportunity - Statistics (转载)CocoaPods released 1.0 on May 10, 2016
制作本版工具集iphone app开发上手请教与探讨 (转载)
本版工具集iSSSDK我的简历,望建议
Advances in Objective-CWhat're the three types of memory allocated for C++ variables?
[iOS Programming]Swift Programming Language:it’s like Objective-C, without the C也问个template 的问题(C++)
相关话题的讨论汇总
话题: guidelines话题: linkage话题: example话题: apple