Merge pull request #330 from jverkoey/array

Add type annotations to GBImageView's grid arrays.
This commit is contained in:
Lior Halphon 2021-02-13 14:38:07 +02:00 committed by GitHub
commit d343f0c969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@
@end @end
@interface GBImageView : NSImageView @interface GBImageView : NSImageView
@property (nonatomic, strong) NSArray *horizontalGrids; @property (nonatomic, strong) NSArray<GBImageViewGridConfiguration *> *horizontalGrids;
@property (nonatomic, strong) NSArray *verticalGrids; @property (nonatomic, strong) NSArray<GBImageViewGridConfiguration *> *verticalGrids;
@property (nonatomic) bool displayScrollRect; @property (nonatomic) bool displayScrollRect;
@property NSRect scrollRect; @property NSRect scrollRect;
@property (nonatomic, weak) IBOutlet id<GBImageViewDelegate> delegate; @property (nonatomic, weak) IBOutlet id<GBImageViewDelegate> delegate;