This file contains 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
- (void)awakeFromNib | |
{ | |
[super awakeFromNib]; | |
for (NSLayoutConstraint *cellConstraint in self.constraints) | |
{ | |
[self removeConstraint:cellConstraint]; | |
id firstItem = cellConstraint.firstItem == self ? self.contentView : cellConstraint.firstItem; | |
id seccondItem = cellConstraint.secondItem == self ? self.contentView : cellConstraint.secondItem; |
This file contains 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
version=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" $PRODUCT_SETTINGS_PATH` | |
version=`expr $version + 1` | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $version" $PRODUCT_SETTINGS_PATH | |
#/usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $version\" $PRODUCT_SETTINGS_PATH 这行代码会让version也自增,一般不需要" | |
#From 'http://blog.csdn.net/kafeidev/article/details/8221273' |
NewerOlder