1.Swift中引用OC文件時, 頭文件名字需是這樣的格式: SGRecordTest_Bridging_Header_h
2.cannot convert value of type 'Void' (aka'()') to type String 是告訴我們不能讓Viod的值取作爲String, 有可能函數沒有返回值
3.
CoreText: *** Unmapped "?\uFE0F" <CTFont: 0x18498170>{name = .PingFangSC-Regular, size = 14.000000, matrix = 0x0, descriptor = <CTFontDescriptor: 0x184914b0>{attributes = <CFBasicHash 0x18499bf0 [0x3b25a170]>{type = mutable dict, count = 2,
entries =>
0 : <CFString0x38711a24 [0x3b25a170]>{contents ="UnicodeCharSet"} = <CFCharacterSet Bitmap>
1 : <CFString0x38716d44 [0x3b25a170]>{contents ="NSFontNameAttribute"} = <CFString0x38712fc4 [0x3b25a170]>{contents =".PingFangSC-Regular"}
}
>}}
字符未能識別
4.當使用的約束需要更改是需要用lessthan或者morethan不能用equal(絕對的等於)
5.終端查看本機ip 輸入ifconfig (但是不是以太網的ip,以太網的ip要去系統偏好裏面看)
簡書博客地址