You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add an OpenFlow view in code rather than through IB. But setUpInitialState expects self.datasource to already be set which is impossible when using the standard:
AFOpenFlowView *openFlowView = [[AFOpenFlowView alloc] initWithFrame:CGRectMake(...)];
I can't set openFlowView.datasource = self; until after this line.
The text was updated successfully, but these errors were encountered:
initWithFrame:, after taking care of its super class duties, calls [self setUpInitialState];, right? And the first thing setUpInitialState does is set up the default image via self.defaultImage = [self.dataSource defaultImage]. But, at this point, self.dataSource has not yet been set and is nil.
I am trying to add an OpenFlow view in code rather than through IB. But setUpInitialState expects self.datasource to already be set which is impossible when using the standard:
AFOpenFlowView *openFlowView = [[AFOpenFlowView alloc] initWithFrame:CGRectMake(...)];
I can't set openFlowView.datasource = self; until after this line.
The text was updated successfully, but these errors were encountered: