Skip to content

Commit

Permalink
Merge pull request #1 from Kyle-Ye/refactor_settings_menu_swiftui
Browse files Browse the repository at this point in the history
Fix Xcode nullable warning
  • Loading branch information
liyafly authored Jan 9, 2024
2 parents bd533d8 + 57a8284 commit 4413a3d
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 4413a3d

Please sign in to comment.