getsling / GVUserDefaults

NSUserDefaults access via properties.
MIT License
952 stars 92 forks source link

Ignore undeclared selector warnings. #8

Closed jerryhjones closed 11 years ago

jerryhjones commented 11 years ago

Clang can be sensitive to the missing implementations of setupDefaults and transformKey:. Since these calls are properly guarded with respondsToSelector:, it's not unreasonable to mute Clang for a bit.

kevinrenskers commented 11 years ago

Are you actually getting warnings? I've been using this project in a ton of apps and never ever had it complain. I can't get it to show warnings in the example app either.

jerryhjones commented 11 years ago

Indeed. The Undeclared Selector (GCC_WARN_UNDECLARED_SELECTOR) warning must be set to yes.