可能重複:
How does an underscore in front of a variable in a cocoa objective-c class work?
Underscore prefix on property name?@synthesize中的=運算符是什麼意思?
我是新來的XCode。我看到有人有: @synthesize msgTextField = _msgTextField;
以後他們引用_msgTextField。
問:@synthesize語句是否創建一個名爲_msgTextField的變量?
問:爲什麼它會從賦值運算符倒退?
可能重複(http://stackoverflow.com/q/5582448/)http://stackoverflow.com/q/6049269/ http://stackoverflow.com/q/2371489/ http://stackoverflow.com/q/7174277/ http://stackoverflow.com/q/5659156 http://stackoverflow.com/q/837559/ http:// stackoverflow。 com/q/6146244/ http://stackoverflow.com/q/10651535/ http://stackoverflow.com/q/6124109/ http://stackoverflow.com/q/8145373/ http:// stackoverflow.com/q/3521254/ http://stackoverflow.com/q/6064283/ http://stackoverflow.com/q/9696359/ http://stackoverflow.com/q/5521499/ http://stackoverflow.com/q/2114587/ –
謝謝喬希!我正在關注這些鏈接並正在學習很多東西! –