swift 关于swift:Swift-Learning-Summary-Access-Control Access control restrict access to part of the code form code in other source files and modules. It enable us to hide the implement detail of the co…
swift 关于swift:swiftc-demangle符号清洗 swift在crash堆栈里的信息是蛮奇怪的,比如说这种:_TtC16MTSS_SDKTestDemo13WXCrashTestVC其实他这是通过Name demangle名字命名技术之后,让人看起来诡异,如…
swift 关于swift:Swift-Learning-Summary-Memory-Safety Most of the time we don’t have to think about accessing memory, but it’s important to understand where potential conflicts can occur, so we can avo…
swift 关于swift:Swift-Learning-Summary-Automatic-Reference-Counting Swift use ARC to track and manage the app’s memory usage. ARC frees up the memory used by class instances when those instances are no longer needed.
swift 关于swift:Swift-Learning-Summary-Opaque-Type A function with an opaque type hides its return value’s type information. Hiding type information at some boundaries between a module and code that…
swift 关于swift:Swift-Learning-Summary-Generic Write code in a more abstract way. It make the code flexible and more reusable.
swift 关于swift:理解-Swift-中的-inlinable-译 @inlinable 属性是 Swift 鲜为人知的属性之一。与其余同类一样,它的目标是启用一组特定的微优化,您能够应用它们来进步应用程序的性能。让咱们来看看这个是…
swift 关于swift:Swift-Learning-Summary-Error-Handling First-class support for throwing, catching, propagating, and manipulating recoverable errors at runtime.
swift 关于swift:Swift-首次调试断点慢的问题解法-优酷-Swift-实践 调试断点是与开发体验关系最为亲密点之一,优酷iOS团队在内部调研时候发现,大量国内的iOS APP研发团队也遇到了相似的问题。思考到国内Swift热火朝天的现状,…