This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[self configureSwipeOn:SNLSwipeSideLeft | |
withCancelAnimation:SNLSwipeAnimationDefault | |
andSuccessAnimation:SNLSwipeAnimationSlideBack | |
andImage:[UIImage imageNamed:@"indicator"] | |
andImageOnSuccess:[UIImage imageNamed:@"indicator_success"]]; | |
[self configureSwipeOn:SNLSwipeSideRight | |
withCancelAnimation:SNLSwipeAnimationDefault | |
andSuccessAnimation:SNLSwipeAnimationSlideOut | |
andImage:[UIImage imageNamed:@"indicator"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.colorBackground = [UIColor grayColor]; | |
self.colorContainer = [UIColor whiteColor]; | |
self.colorSelected = [UIColor greenColor]; | |
self.colorToolbarBarTint = [UIColor blueColor]; | |
self.colorToolbarTint = [UIColor greenColor]; | |
self.colorIndicator = [UIColor redColor]; | |
self.colorIndicatorSuccess = [UIColor greenColor]; | |
self.colorCustomSeparatorTop = [UIColor whiteColor]; | |
self.colorCustomSeparatorBottom = [UIColor grayColor]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
SNLExampleTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; | |
// set cells delegate to connect swipe action method | |
cell.delegate = self; | |
// initialize colors, images and toolbar in your SNLInteractionCell subclass | |
// see SNLExampleTableViewCell.m | |
// configure example content |
NewerOlder