diff --git a/OBJC_INTEROP.md b/OBJC_INTEROP.md index c20636f0c36..dbf653d989c 100644 --- a/OBJC_INTEROP.md +++ b/OBJC_INTEROP.md @@ -229,7 +229,7 @@ foo { Objective-C supports "lightweight generics" defined on classes, with a relatively limited feature set. Swift can import generics defined on classes to help provide additional type information to the compiler. -Generic feature support for Objc and Swift differ from Kotlin, so the translation will inevitably lose some information, +Generic feature support for Objective-C and Swift differ from Kotlin, so the translation will inevitably lose some information, but the features supported retain meaningful information. #### Limitations @@ -237,18 +237,18 @@ but the features supported retain meaningful information. Objective-C generics do not support all features of either Kotlin or Swift, so there will be some information lost in the translation. -Generics can only be defined on classes, not on interfaces (protocols in Objc and Swift) or functions. +Generics can only be defined on classes, not on interfaces (protocols in Objective-C and Swift) or functions. #### Nullability -Kotlin and Swift both define nullability as part of the type specification, while Objc defines nullability on methods +Kotlin and Swift both define nullability as part of the type specification, while Objective-C defines nullability on methods and properties of a type. As such, the following: