Skip to content

Commit f921bef

Browse files
committed
Adding __strong self snippet
1 parent 3ab388d commit f921bef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

strongself.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// __strong self
2+
// Declare strong referece to weak reference
3+
//
4+
// Platform: All
5+
// Language: Objective-C
6+
// Completion Scope: Function or Method
7+
8+
__strong __typeof(&*weakSelf)strongSelf = <# weakSelf #>;

0 commit comments

Comments
 (0)