一、概念
二、代碼
/*
Getting Started 新手指引
>>>Guides 指南(一般都是看這個,如何去學(xué)習(xí))
>>>Refaerence 參考資料 (一般都是看這個)
Release Notes 發(fā)布說明
SampleCode 示例代碼
TechnicalNotes 技術(shù)說明
TechnicalQ&A 常見技術(shù)問答
Video WWDC的視頻
*/
#pragma mark - 代碼
#import <Foundation/Foundation.h>
#pragma mark 類
#pragma mark - main函數(shù)
int main(int argc, const char * argv[])
{
/*
NSString
@interface NSString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
Description
The NSString class and its mutable subclass, NSMutableString, provide an extensive set of APIs for working with strings, including methods for comparing, searching, and modifying strings. NSString objects are used extensively throughout Foundation and other Cocoa frameworks, serving as the basis for all textual and linguistic functionality on the platform.
NSString is “toll-free bridged” with its Core Foundation counterpart, CFStringRef. See “Toll-Free Bridging” for more information.
Availability iOS (2.0 and later), macOS (10.0 and later), tvOS (9.0 and later), watchOS (2.0 and later)
*/
[NSString stringWithFormat:<#(nonnull NSString *), ...#>];
/*
描述信息 description
可用性 Availability
聲明位置 declared in
使用參考 Reference
學(xué)習(xí)指南
實例代碼
*/
/*
官方文檔搜索的時候
熱門點擊
API Reference API使用參考
SDK Guides 學(xué)習(xí)指南
Sample Code 實例代碼
*/
/*
1.start Developing iOS Apps Today --- 閱讀
馬上著手開發(fā)iOS應(yīng)用程序,建立基本iOS開發(fā)概覽
2.iOS Technology Overview
iOS技術(shù)概覽,閱讀這個文檔的目的 和 檢測標(biāo)準(zhǔn)是 ,
遇到具體問題,知道應(yīng)該去看哪方面的文檔
3.iOS Humen Interface Guidelines
iOS 人機(jī)交互指南,閱讀這個文檔的目的 和檢測標(biāo)準(zhǔn)是 ,
看到任何一個APP,你可以知道它的任何一個UI是系統(tǒng)空間,還是自自定義控件,他的層次關(guān)系等等.
4.Programming With Objective-C --- 閱讀
學(xué)習(xí)OC基礎(chǔ)語法,閱讀這個文檔的目的 和檢測標(biāo)準(zhǔn)是 ,
看得懂基本的Objective-C代碼,方便后面的學(xué)習(xí) 和閱讀各種示例代碼
5.App Programming Guide for iOS
iOS 應(yīng)用程序編程指南,介紹的就是開發(fā)一個APP的完整流程,包含APP的聲明周期,休眠,激活等等
閱讀這個文檔的目的 和 檢測標(biāo)準(zhǔn)是,
了解全部流程 和 很多細(xì)節(jié)問題
6.View Programming Guide for iOS
7.View Controller Programming Guide for iOS
閱讀 這兩個文檔的目的 和檢測標(biāo)準(zhǔn)是, 深刻理解 什么是view,什么是View Controller,理解什么情況用View,什么情況用ViewController
*/
return 0;
}
通過option鍵 + 點擊

image.png
雙擊方法

image.png
官方文檔搜索注意
![Uploading image_934796.png . . .]