What didn't Objective-C do for them? What are the advantages of Swift over Objective-C?

    1 answer 1

    Swift is a much more modern language, not burdened with compatibility issues with C. Adding features like memory safety, memory safety, generic classes / methods (generics), non-nullable reference types would be very difficult if you stay within Objective C. (Compare, for example, lambdas in Objective C and in Swift.)

    Syncatsis and C semantics are good for low-level languages ​​(such as C, for example), but high-level features are easier to do on a different basis.