摘要: 正确实现如上述代码,之前参照Object-C程序设计 (第4版)写的实例,就是报: error: synthesized property 'name' must either be named the same as a compatible instance variable or must e 阅读全文
posted @ 2018-03-30 14:42 wywdahai 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/zenny_chen/article/details/52507022 Objective-C作为Apple的first-class编程语言,在很长一段时间内都得到大量开发者的追捧。其中,Objective-C对C语言的完全兼容、灵活性以及OOP特性 阅读全文
posted @ 2018-03-30 10:27 wywdahai 阅读(473) 评论(0) 推荐(0) 编辑