Permalink
Browse files

Fix libffi Clang warning. Clarify block observation documentation.

Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
  • Loading branch information...
1 parent 7ee386c commit 0432e954c96b22dff745a76c7a6f74816120dbd6 @zwaldowski committed Apr 13, 2012
Showing with 4 additions and 8 deletions.
  1. +1 −1 A2DynamicDelegate
  2. +0 −4 BlocksKit.xcodeproj/project.pbxproj
  3. +3 −3 BlocksKit/NSObject+BlockObservation.h
2 A2DynamicDelegate
@@ -1 +1 @@
-Subproject commit 2edbd539e803463d488dc7c3451a01ce3b5dad45
+Subproject commit ba1bd8f2e955516dbcc56a176ff6c27f33a7d140
View
4 BlocksKit.xcodeproj/project.pbxproj
@@ -1393,8 +1393,6 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VALUE = NO;
- GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_NAME = BlocksKit;
@@ -1421,8 +1419,6 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VALUE = NO;
- GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_NAME = BlocksKit;
View
6 BlocksKit/NSObject+BlockObservation.h
@@ -26,9 +26,9 @@
- Jonathan Wight. <https://github.com/schwa>. 2011. BSD.
@warning *Important:* Due to a design flaw in some recent versions of the
- Objective-C runtime, you must call either removeObserverWithBlockToken:
- or removeAllBlockObservers: in the dealloc method of any object making
- use of block-based KVO. This has been fixed in the OS X 10.7 and iOS 5.0
+ Objective-C runtime, you must call either a block overserver removal
+ method in the dealloc method of any object making use of block-backed
+ key-value observing. This has been fixed in the OS X 10.7 and iOS 5.0
runtime.
*/

0 comments on commit 0432e95

Please sign in to comment.