issues
search
jdg
/
MBProgressHUD
MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k
stars
3.56k
forks
source link
关于扩展属性
#621
Open
fanlilinSaber
opened
3 years ago
fanlilinSaber
commented
3 years ago
@property (nonatomic, assign, readonly, getter=hasFinished) BOOL finished; 可否暴露这个属性 我想在自定义的时候更多扩展
@property (assign, nonatomic) CGFloat verticalMargin UI_APPEARANCE_SELECTOR; 可否新增这个属性,因为默认 margin 是调整左右上下的间距,定制化的时候 我想可以单独调整上下的间距 [topSpacer addConstraint:[NSLayoutConstraint constraintWithItem:topSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:self.verticalMargin]]; [bottomSpacer addConstraint:[NSLayoutConstraint constraintWithItem:bottomSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:self.verticalMargin]];