From ad7b17f8308990486fb5fd35651b25f7acff78e9 Mon Sep 17 00:00:00 2001 From: Kunal Parmar Date: Mon, 22 Apr 2013 17:29:53 -0700 Subject: [PATCH 1/3] Use relative import to allow compiling in other projects. --- CDEvents.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CDEvents.h b/CDEvents.h index 8162af4..43b0793 100644 --- a/CDEvents.h +++ b/CDEvents.h @@ -38,7 +38,7 @@ #import #import -#import +#import "CDEvent.h" @protocol CDEventsDelegate; From 4c2599fa5490098bc8f0f1f963f55b13c6184412 Mon Sep 17 00:00:00 2001 From: Tomoki Aonuma Date: Thu, 16 May 2013 15:11:03 +0900 Subject: [PATCH 2/3] CDEvent should maintain strong references to its properties. --- CDEvent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CDEvent.h b/CDEvent.h index 55b2934..1ed97e2 100644 --- a/CDEvent.h +++ b/CDEvent.h @@ -89,7 +89,7 @@ typedef FSEventStreamEventFlags CDEventFlags; * * @since 1.0.0 */ -@property (unsafe_unretained, readonly) NSDate *date; +@property (readonly) NSDate *date; /** * The URL of the item which changed. @@ -98,7 +98,7 @@ typedef FSEventStreamEventFlags CDEventFlags; * * @since 1.0.0 */ -@property (unsafe_unretained, readonly) NSURL *URL; +@property (readonly) NSURL *URL; /** @name Getting Event Flags */ From 9d6cbce367f3831d0539e3c87a8b36e3f6f0a5d6 Mon Sep 17 00:00:00 2001 From: Tomoki Aonuma Date: Sat, 25 May 2013 12:06:19 +0900 Subject: [PATCH 3/3] Make properties explicitly strong. --- CDEvent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CDEvent.h b/CDEvent.h index 1ed97e2..2cfef57 100644 --- a/CDEvent.h +++ b/CDEvent.h @@ -89,7 +89,7 @@ typedef FSEventStreamEventFlags CDEventFlags; * * @since 1.0.0 */ -@property (readonly) NSDate *date; +@property (strong, readonly) NSDate *date; /** * The URL of the item which changed. @@ -98,7 +98,7 @@ typedef FSEventStreamEventFlags CDEventFlags; * * @since 1.0.0 */ -@property (readonly) NSURL *URL; +@property (strong, readonly) NSURL *URL; /** @name Getting Event Flags */