You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -560,9 +560,11 @@ Init methods should follow the convention provided by Apple's generated code tem
560
560
}
561
561
```
562
562
563
+
See [Class Constructor Methods](#class-constructor-methods) for link to article on instancetype.
564
+
563
565
## Class Constructor Methods
564
566
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.
0 commit comments