How to use code formatter in Xcode for Swift?

后端 未结 9 890
Happy的楠姐
Happy的楠姐 2021-01-31 07:25

Xcode code formatter Swift

I\'m trying to auto format my code written in Swift. It\'s necessary if you\'re working in team and using CVS and don\'t want

9条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 07:54

    In Xcode [Objective-C, Swift]:

    1) +A: highlight code

    2) +I: reformat code

提交回复
热议问题