What is the difference between Swift and Objective-C

Objective-CSwift
SyntaxC style syntax with small-style message passingModern and Concise Syntax
SafetyMore permissive and allows runtime errorsStrong focus on safety – enforcing memory safety, nullability check, type safety
PerformanceNot faster than SwiftSwift uses advanced compiler optimisation techniques.
InteroperabilityCompatible with both C and C++Swift needs bridging headers to work with Objective-C code base.
Learning CurveHarder to learn compared to SwiftMore beginner friendly and easier to learn.
Difference between Objective-C and Swift