Skip to content

Commit 5ef2ff8

Browse files
committed
Link to instanceType article added to Init Methods
1 parent 7a4a28a commit 5ef2ff8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,11 @@ Init methods should follow the convention provided by Apple's generated code tem
560560
}
561561
```
562562

563+
See [Class Constructor Methods](#class-constructor-methods) for link to article on instancetype.
564+
563565
## Class Constructor Methods
564566

565-
Where Class constructor methods are used, these should __always__ return type of 'instancetype' and ___never___ 'id'. This ensures the compiler correctly infers the result type.
567+
Where class constructor methods are used, these should __always__ return type of 'instancetype' and ___never___ 'id'. This ensures the compiler correctly infers the result type.
566568

567569
```objc
568570
@interface Airplane

0 commit comments

Comments
 (0)