1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Delegates are all nullable, naturally.

This commit is contained in:
Thomas Harte 2016-06-23 09:37:49 -04:00
parent 106e56600d
commit 097a9caa95
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
- (void)enqueueAudioBuffer:(nonnull const int16_t *)buffer numberOfSamples:(size_t)lengthInSamples;
@property (nonatomic, readonly) Float64 samplingRate;
@property (nonatomic, weak) id<CSAudioQueueDelegate> delegate;
@property (nonatomic, weak, nullable) id<CSAudioQueueDelegate> delegate;
+ (Float64)preferredSamplingRate;
@property (nonatomic, readonly) NSUInteger bufferSize;

View File

@ -53,8 +53,8 @@
*/
@interface CSOpenGLView : NSOpenGLView
@property (nonatomic, weak) id <CSOpenGLViewDelegate> delegate;
@property (nonatomic, weak) id <CSOpenGLViewResponderDelegate> responderDelegate;
@property (nonatomic, weak, nullable) id <CSOpenGLViewDelegate> delegate;
@property (nonatomic, weak, nullable) id <CSOpenGLViewResponderDelegate> responderDelegate;
/*!
Ends the timer tracking time; should be called prior to giving up the last owning reference