• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

An Objective-C wrapper for Mac OS X’s FSEvents C API.


Commit MetaInfo

Revision4a8d60f7c2da5dd15d48f26c664c900054763a76 (tree)
Zeit2013-07-03 05:21:08
AutorAron Cedercrantz <aron@cede...>
CommiterAron Cedercrantz

Log Message

Merge tag '1.2.1'

Fix a memory management issue and more.

* tag '1.2.1':

Make properties explicitly strong.
CDEvent should maintain strong references to its properties.
Use relative import to allow compiling in other projects.

Ändern Zusammenfassung

Diff

--- a/CDEvent.h
+++ b/CDEvent.h
@@ -89,7 +89,7 @@ typedef FSEventStreamEventFlags CDEventFlags;
8989 *
9090 * @since 1.0.0
9191 */
92-@property (unsafe_unretained, readonly) NSDate *date;
92+@property (strong, readonly) NSDate *date;
9393
9494 /**
9595 * The URL of the item which changed.
@@ -98,7 +98,7 @@ typedef FSEventStreamEventFlags CDEventFlags;
9898 *
9999 * @since 1.0.0
100100 */
101-@property (unsafe_unretained, readonly) NSURL *URL;
101+@property (strong, readonly) NSURL *URL;
102102
103103
104104 /** @name Getting Event Flags */
--- a/CDEvents.h
+++ b/CDEvents.h
@@ -38,7 +38,7 @@
3838 #import <Foundation/Foundation.h>
3939 #import <CoreServices/CoreServices.h>
4040
41-#import <CDEvents/CDEvent.h>
41+#import "CDEvent.h"
4242
4343 @protocol CDEventsDelegate;
4444