1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #import "NCSharesCell.h"
- @implementation NCSharesCell
- - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
- {
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (self) {
-
-
- }
- return self;
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated
- {
- [super setSelected:selected animated:animated];
-
- }
- - (void)layoutSubviews {
-
- [super layoutSubviews];
-
- for (NSLayoutConstraint *constraint in self.constraints) {
- constraint.constant = self.frame.size.width - self.contentView.frame.size.width;
- }
- }
- - (void)scrollViewWillBeginDecelerating:(UIScrollView *)scrollView {
- _lastContentOffset = scrollView.contentOffset.x;
- }
- @end
|