iOS面试题 (持续更新...)

2015-03-02  本文已影响236人  潘老6

1.@property NSString *foo;

以上的写法,在ARC下,编译器默认会帮你补齐哪些修饰符?

答案:

@property (atmoic,strong,readwrite)NSString *foo;

非oc对象,strong -> assign

本题来自sunnyxx大神的微信--逗比狗。。。

 !-- 

2.

上一篇 下一篇

猜你喜欢

热点阅读