1. Mutability Objective-C offers several classes in both “regular” and mutable versions, such as NSString/NSMutableString, NSArray/NSMutableArray, and so on. In Swift, mutability is determined when you create an instance, not by choice of class. An i…
//MARK:-------swift中的typedef-------------- //使用 keyword定义类型别名,相似typedef typealias NSInteger = Int var value : NSInteger = 45 value = 12 print(value); //MARK:-------String-------------- let label = "The width is " let width = 94 var widthLabel =…