Skip to content

Commit

Permalink
Fix warnings in CoreServices.xcframework
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Mar 10, 2024
1 parent 909fb84 commit 02d363f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
#import <Foundation/Foundation.h>
#import "_LSOpenConfiguration.h"

NS_ASSUME_NONNULL_BEGIN
@interface LSApplicationWorkspace : NSObject
+(nullable instancetype)defaultWorkspace;
-(void)openURL:(nonnull NSURL *)url configuration:(nonnull _LSOpenConfiguration *)config completionHandler:(void (^ _Nonnull)(BOOL))completion;

-(void)openURL:(NSURL *)url configuration:(_LSOpenConfiguration *)config completionHandler:(void (^)(BOOL))completion;
@end
NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface _LSOpenConfiguration : NSObject
@property(assign, getter=isSensitive,nonatomic) BOOL sensitive;
@property(nonatomic, retain, nullable) id targetConnectionEndpoint;
-(nonnull instancetype)init;
-(instancetype)init;
-(BOOL)isSensitive;
-(void)setSensitive:(BOOL)sensitive;
-(void)setTargetConnectionEndpoint:(id)endpoint ;
-(id)targetConnectionEndpoint;
-(void)setTargetConnectionEndpoint:(nullable id)endpoint ;
-(nullable id)targetConnectionEndpoint;
@end
NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
#import <Foundation/Foundation.h>
#import "_LSOpenConfiguration.h"

NS_ASSUME_NONNULL_BEGIN
@interface LSApplicationWorkspace : NSObject
+(nullable instancetype)defaultWorkspace;
-(void)openURL:(nonnull NSURL *)url configuration:(nonnull _LSOpenConfiguration *)config completionHandler:(void (^ _Nonnull)(BOOL))completion;

-(void)openURL:(NSURL *)url configuration:(_LSOpenConfiguration *)config completionHandler:(void (^)(BOOL))completion;
@end
NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface _LSOpenConfiguration : NSObject
@property(assign, getter=isSensitive,nonatomic) BOOL sensitive;
@property(nonatomic, retain, nullable) id targetConnectionEndpoint;
-(nonnull instancetype)init;
-(instancetype)init;
-(BOOL)isSensitive;
-(void)setSensitive:(BOOL)sensitive;
-(void)setTargetConnectionEndpoint:(id)endpoint ;
-(id)targetConnectionEndpoint;
-(void)setTargetConnectionEndpoint:(nullable id)endpoint ;
-(nullable id)targetConnectionEndpoint;
@end
NS_ASSUME_NONNULL_END

0 comments on commit 02d363f

Please sign in to comment.