--- gcc/objc/README 2018/04/24 18:20:09 1.1.1.3 +++ gcc/objc/README 2018/04/24 18:26:43 1.1.1.4 @@ -15,22 +15,22 @@ who knows Objective C from somewhere els Runtime API functions ===================== -The runtime is moddeled after the NeXT Objective C runtime. That is, -most functions have semanthics as it is known from the NeXT. The +The runtime is modeled after the NeXT Objective C runtime. That is, +most functions have semantics as it is known from the NeXT. The names, however, have changed. All runtime API functions have names of lowercase letters and and underscores as opposed to the `traditional' mixed case names. The runtime api functions are not documented as of now. Someone offered to write it, and did it, but we were not allowed to use it by his university (Very sad story). We have started writing -the documentation over again. This will be announced appropriate -places when it becomes avilable. +the documentation over again. This will be announced in appropriate +places when it becomes available. Protocols ========= -Protocols are now fully supported. The semanthics is exactly as on the +Protocols are now fully supported. The semantics is exactly as on the NeXT. There is a flag to specify how protocols should be typechecked when adopted to classes. The normal typechecker requires that all methods in a given protocol must be implemented in the class that @@ -50,7 +50,7 @@ never if no methods of that particular c Besides this, it is allowed to have several +initialize methods, one for each category. The order in which these (multiple methods) are called is not well defined. I am not completely certain what the -semathics of this method is for other implementations, but this is +semantics of this method is for other implementations, but this is how it works for GNU Objective C.