学科:IOS/KB/编译警告

来自维基学院

No previous prototype for function[编辑 | 编辑源代码]

参考:http://stackoverflow.com/q/7076345

PerformSelector may cause a leak because its selector is unknown[编辑 | 编辑源代码]

参考:http://stackoverflow.com/q/7017281

Switch case is in protected scope[编辑 | 编辑源代码]

原因:switch case块里不允许定义变量

参考:http://stackoverflow.com/q/92396