Closed prscX closed 6 years ago
Hi @marmelroy
First of all I would like to appreciate for creating such a nice and cool library.
I am trying to invoke file browser from objective-c class. I am able to achieve this using below code:
FileBrowser *fileBrowser = [[FileBrowser alloc] init];
I want to pass parameters as well using below init method, but it is giving me below error:
init(initialPath: URL? = nil, allowEditing: Bool = false, showCancelButton: Bool = true)
FileBrowser *fileBrowser = [[FileBrowser alloc] init: nil allowEditing: YES showCancelButton: YES]
No visible @interface for 'FileBrowser' declares the selector 'init:allowEditing:showCancelButton:'
Can you please guide me on how to init with parameters. Any help would be very much appreciated.
Thanks Pranav
Hi @marmelroy, I have got the solution basically @objc was not defined for this API, I will raise PR for the same.
Hi @marmelroy
First of all I would like to appreciate for creating such a nice and cool library.
I am trying to invoke file browser from objective-c class. I am able to achieve this using below code:
FileBrowser *fileBrowser = [[FileBrowser alloc] init];
I want to pass parameters as well using below init method, but it is giving me below error:
init(initialPath: URL? = nil, allowEditing: Bool = false, showCancelButton: Bool = true)
FileBrowser *fileBrowser = [[FileBrowser alloc] init: nil allowEditing: YES showCancelButton: YES]
No visible @interface for 'FileBrowser' declares the selector 'init:allowEditing:showCancelButton:'
Can you please guide me on how to init with parameters. Any help would be very much appreciated.
Thanks Pranav