From cb0f52f0562abc8ca8132ec168342d3fef2d14e1 Mon Sep 17 00:00:00 2001 From: Wincent Colaiuta Date: Thu, 9 Aug 2007 22:08:23 +0200 Subject: [PATCH] Use anonymous private categories "Anonymous" private categories (new in Objective-C 2.0) are a better fit for private methods because they provide an indication to the compiler of what methods are expected to be implemented, not just those that "might" be implemented elsewhere (and available at runtime). Signed-off-by: Wincent Colaiuta --- NSMethodSignature+WOTest.m | 2 +- WOTestClass.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NSMethodSignature+WOTest.m b/NSMethodSignature+WOTest.m index b483115..1fa828a 100644 --- a/NSMethodSignature+WOTest.m +++ b/NSMethodSignature+WOTest.m @@ -93,7 +93,7 @@ See also http://www.stuffonfire.com/2005/12/signaturewithobjctypes_is_stil.html @end -@interface NSMethodSignature (WOPrivate) +@interface NSMethodSignature () - (id)initWithObjCTypes:(const char *)types; diff --git a/WOTestClass.m b/WOTestClass.m index eb7d9b1..690ca56 100644 --- a/WOTestClass.m +++ b/WOTestClass.m @@ -153,7 +153,7 @@ OSStatus WOLowLevelExceptionHandler(ExceptionInformation *theException) return noErr; } -@interface WOTest (WOPrivate) +@interface WOTest () - (void)installLowLevelExceptionHandler; - (void)removeLowLevelExceptionHandler; -- 2.37.1