-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
-
寫完 code 之後,可以先cmd + a 全選當下的所有程式碼,然後按 control + I ,Xcode 會自動把排版弄好。
https://stackoverflow.com/questions/6543026/how-to-format-code-in-xcode -
程式碼間增加空格
static func getRequest(callURL:String, header:[String:String], callBack: @escaping ([String:Any]) -> Void){
以上面那段來舉例,可以在型別的宣告之前增加空格:
static func getRequest(callURL: String, header: [String:String], callBack: @escaping ([String:Any]) -> Void) {
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels