ARC — Automatic Reference Counting & Access Control

Swift uses Automatic Reference Counting for memory management.

Reference counting applies only to instances of classes. Struct & Enums are not reference types.

Strong

Weak

Unowned

Access Control

Read : https://cocoacasts.com/improve-swift-performance-through-access-control

Method Dispatch in Swift

iOS Enthusiast 📱 • LinkedIn: https://www.linkedin.com/in/rathishkannan/ • GitHub: https://github.com/ratzr15 • StackOverflow: https://stackoverflow.com