Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
- (id)initWithFrame:(CGRect)rect {
self = [super initWithFrame:rect];
if (self == nil) return nil;
[self initializeComponent];
RAC(self.title.text) = RACAble(self.viewModel.model.title);
RAC(self.userAndOrgTiles.itemSource) = RACAble(self.viewModel.userAndOrgTiles);
self.loginButton.rac_command = self.viewModel.showLoginCommand;
RAC(self.viewModel.selectedOrganizationTile) = RACAble(self.userAndOrgTiles.selectedItem);
return self;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment