Skip to content

Commit fe64ffb

Browse files
committed
update
1 parent e7ab915 commit fe64ffb

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

SCTableView.xcodeproj/project.pbxproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@
207207
TargetAttributes = {
208208
22CEED281BA5B3930085EF20 = {
209209
CreatedOnToolsVersion = 6.3;
210+
DevelopmentTeam = Q8H99663FH;
210211
};
211212
22CEED411BA5B3930085EF20 = {
212213
CreatedOnToolsVersion = 6.3;
@@ -390,10 +391,13 @@
390391
buildSettings = {
391392
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
392393
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
394+
CODE_SIGN_IDENTITY = "iPhone Developer";
395+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
393396
INFOPLIST_FILE = SCTableView/Info.plist;
394397
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
395398
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
396399
PRODUCT_NAME = "$(TARGET_NAME)";
400+
PROVISIONING_PROFILE = "";
397401
};
398402
name = Debug;
399403
};
@@ -402,10 +406,13 @@
402406
buildSettings = {
403407
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
404408
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
409+
CODE_SIGN_IDENTITY = "iPhone Developer";
410+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
405411
INFOPLIST_FILE = SCTableView/Info.plist;
406412
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
407413
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
408414
PRODUCT_NAME = "$(TARGET_NAME)";
415+
PROVISIONING_PROFILE = "";
409416
};
410417
name = Release;
411418
};

SCTableView/Base.lproj/Main.storyboard

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7531" systemVersion="14D131" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="24g-gW-9N9">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="24g-gW-9N9">
33
<dependencies>
44
<deployment identifier="iOS"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7520"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
66
</dependencies>
77
<scenes>
88
<!--Root View Controller-->

SCTableView/SCTableViewCell.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ - (void)actionTrigger:(BOOL)isRight button:(SCTableViewCellRowActionButton *)btn
136136
{
137137
btn.actionCallBack(self.indexPath);
138138
}
139+
[self resetButtonsToOriginPosition];
139140
}
140141
}
141142

@@ -716,8 +717,8 @@ - (void)leftMenuAnimationEndpreviousIndex:(CGFloat)PreviousXIndex currentIndex:(
716717
// 判断特殊的删除情况
717718
if([(UIButton *)self.leftActionButtons.lastObject width] > self.buttonWidth * self.leftActionButtons.count)
718719
{
719-
//[self actionTrigger:NO button:(SCTableViewCellRowActionButton *)self.leftActionButtons.lastObject];
720-
//return;
720+
[self actionTrigger:NO button:(SCTableViewCellRowActionButton *)self.leftActionButtons.lastObject];
721+
return;
721722
}
722723

723724
if(fabs(PreviousXIndex - CurrentXIndex) <= 3.0f)

SCTableView/SCTableViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ - (SCTableViewCellStyle)SCTableView:(UITableView *)tableView editStyleForRowAtIn
8080
- (NSArray *)SCTableView:(UITableView *)tableView leftEditActionsForRowAtIndexPath:(NSIndexPath *)indexPath
8181
{
8282
SCTableViewCellRowActionButton *actionButton_3 = [[SCTableViewCellRowActionButton alloc]initWithTitle:@"标记已读" color:[UIColor blueColor] withActionBlock:^(NSIndexPath *t_indexPath){
83-
NSLog(@"Left!");
83+
//
8484
}];
8585
return @[actionButton_3];
8686
}

0 commit comments

Comments
 (0)