We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
While porting the project to Swift 3 I cannot get around some segmentation faults. The scenario is the following. I have an Objective-C protocol:
#import "ViewModelProtocol.h" @class RACCommand; @class RACSignal; @protocol ListViewModelProtocol <ViewModelProtocol> @property (nonatomic, strong) RACCommand *listItemSelectedCommand; @property (nonatomic, strong, readonly) RACCommand *reloadDataCommand; @property (nonatomic, strong) NSArray *datasource; @end
Which is implemented in Swift as:
lazy var reloadDataCommand: RACCommand<AnyObject, AnyObject>! = { return RACCommand { (argument) -> RACSignal<AnyObject> in return self.reloadDataAction(argument: argument) } }()
In the end I always get the same error:
1. While emitting SIL for getter for reloadDataCommand at /Users/vmagalhaes/work/ios/nlife/nlife/ViewModels/ParkingViewModel.swift:28:14
Probably this has nothing to do with ReactiveObjc but any help would be appreciated.
There is a reference to something similar but my property is not optional https://bugs.swift.org/browse/SR-1825
Thanks in advance,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
While porting the project to Swift 3 I cannot get around some segmentation faults. The scenario is the following. I have an Objective-C protocol:
Which is implemented in Swift as:
In the end I always get the same error:
1. While emitting SIL for getter for reloadDataCommand at /Users/vmagalhaes/work/ios/nlife/nlife/ViewModels/ParkingViewModel.swift:28:14
Probably this has nothing to do with ReactiveObjc but any help would be appreciated.
There is a reference to something similar but my property is not optional https://bugs.swift.org/browse/SR-1825
Thanks in advance,
The text was updated successfully, but these errors were encountered: