objective-c - oc范型能用于适配iOS7 的代码吗?
给我你的怀抱
给我你的怀抱 2017-04-28 09:06:28
0
2
686

新特性如NSArra用<string*>能用在需要适配ios7的应用上吗吗

给我你的怀抱
给我你的怀抱

reply all(2)
迷茫

Don’t call it OC, it’s too unprofessional. People abbreviate it as Objc
Generics should be fine
iOS8 No problem 7 I haven’t tried it yet
Understand Objective-C in principle as a dynamic language
Array can put whatever you want, so generics only need to be processed during compilation The
runtime is still the old code~

洪涛

This is what the article I read said:

Lightweight Generics are lightweight because this is a pure compiler syntax support (llvm 7.0). Like Nullability, it does not rely on any objc runtime upgrade. In other words, this new syntax is available on Xcode 7 It can be used and is fully backward compatible (lower iOS versions)
Attached is the article I read

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template