Skip to content

Commit

Permalink
Fix Xcode nullable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Jan 9, 2024
1 parent bd533d8 commit 57a8284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN

@interface NSViewController (EZWindow)

- (NSWindow *)window;
- (nullable NSWindow *)window;

@end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@implementation NSViewController (EZWindow)

- (NSWindow *)window {
- (nullable NSWindow *)window {
NSResponder *responder = self;
while ((responder = [responder nextResponder])) {
if ([responder isKindOfClass:[NSWindow class]]) {
Expand Down

0 comments on commit 57a8284

Please sign in to comment.