• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No 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

Revisão847bac216ad91cd45fa6bc0d815690e752f4dcd5 (tree)
Hora2011-02-14 11:58:26
AutorAron Cedercrantz <aron@cede...>
CommiterAron Cedercrantz

Mensagem de Log

Changed the lastEvent property of the CDEvents class to readonly in public and readwrite in private.

Mudança Sumário

Diff

--- a/CDEvents.h
+++ b/CDEvents.h
@@ -163,7 +163,7 @@ extern const CDEventIdentifier kCDEventsSinceEventNow;
163163 *
164164 * @since 1.0.0
165165 */
166-@property (retain) CDEvent *lastEvent;
166+@property (retain, readonly) CDEvent *lastEvent;
167167
168168 /**
169169 * The URLs that we watch for events.
--- a/CDEvents.m
+++ b/CDEvents.m
@@ -27,6 +27,8 @@ const CDEventIdentifier kCDEventsSinceEventNow = kFSEventStreamEventIdSinceNow;
2727 // Private API
2828 @interface CDEvents ()
2929
30+@property (retain, readwrite) CDEvent *lastEvent;
31+
3032 // The FSEvents callback function
3133 static void CDEventsCallback(
3234 ConstFSEventStreamRef streamRef,