From e63ef790c967b821bfbaf042a50140bb29b4574f Mon Sep 17 00:00:00 2001 From: Iulian Onofrei <6d0847b9@opayq.com> Date: Sat, 18 Apr 2020 15:23:43 +0300 Subject: [PATCH] Removed extra formatting character --- 2013-07-07-thread-safe-class-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2013-07-07-thread-safe-class-design.md b/2013-07-07-thread-safe-class-design.md index 4d6ab12..ea53cb5 100644 --- a/2013-07-07-thread-safe-class-design.md +++ b/2013-07-07-thread-safe-class-design.md @@ -75,7 +75,7 @@ What's happening internally for any property that's not manually implemented is ```objc objc_setProperty_non_gc(self, _cmd, - (ptrdiff_t)(&_userName) - (ptrdiff_t)(self), userName, NO, NO);` + (ptrdiff_t)(&_userName) - (ptrdiff_t)(self), userName, NO, NO); ``` The ptrdiff_t might look weird to you, but in the end it's simple pointer arithmetic, since an Objective-C class is just another C struct.