标签:value branch space back cti hang ict margin ring
// 方法1
- (void)setBaoDanModel:(ModelOfRuZhangCard *)baoDanModel
{
if (baoDanModel.bankAccNo) {
_baoDanModel.bankAccNo = baoDanModel.bankAccNo;
self.bankKaHaoText.text = baoDanModel.bankAccNo;// 入账卡号
}
if (baoDanModel.bankBranch) {
_baoDanModel.bankBranch = baoDanModel.bankBranch;
self.zhiHangText.text = baoDanModel.bankBranch;// 银行名称
}
if (baoDanModel.paymentLine) {
_baoDanModel.paymentLine = baoDanModel.paymentLine;
self.hangHaoLabel = baoDanModel.paymentLine;// 银行编号
}
}
// 方法2
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSKeyValueChangeKey,id> *)change context:(void *)context
{}
方法1会覆盖方法2。
标签:value branch space back cti hang ict margin ring
原文地址:http://www.cnblogs.com/dengchaojie/p/7794823.html