From a764d2becfaead5d85164035a84148ebfee58596 Mon Sep 17 00:00:00 2001 From: mmentovai Date: Fri, 17 Apr 2009 17:48:25 +0000 Subject: [PATCH] Update Objective-C style guide to 2.12: - Refer to the correct section on avoiding exceptions --- objcguide.xml | 15 ++++++++------- styleguide.xsl | 3 --- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/objcguide.xml b/objcguide.xml index 61af2f3..24e442f 100644 --- a/objcguide.xml +++ b/objcguide.xml @@ -4,7 +4,7 @@

-Revision 2.11 +Revision 2.12

@@ -329,14 +329,15 @@ Revision 2.11 Format exceptions with each @ label on its own line and a - space between the @ label and the opening brace '{', as - well as between the @catch and the caught object - declaration. + space between the @ label and the opening brace + ({), as well as between the @catch and the + caught object declaration.

- If you must use Obj-C exceptions (please see Exceptions for reasons why you should - not be using exceptions) format them as follows: + If you must use Obj-C exceptions, format them as follows. However, see + Avoid Throwing Exceptions for + reasons why you should not be using exceptions.

@try { @@ -1429,7 +1430,7 @@ Revision 2.11

-Revision 2.11 +Revision 2.12

diff --git a/styleguide.xsl b/styleguide.xsl index f5066db..488ac4c 100644 --- a/styleguide.xsl +++ b/styleguide.xsl @@ -838,12 +838,9 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions"> of the function name in their respective spans.--> - - -