Skip to content

排版問題 #1

@Jerry0420

Description

@Jerry0420
  1. 寫完 code 之後,可以先cmd + a 全選當下的所有程式碼,然後按 control + I ,Xcode 會自動把排版弄好。
    https://stackoverflow.com/questions/6543026/how-to-format-code-in-xcode

  2. 程式碼間增加空格
    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) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions