@@ -124,26 +124,26 @@ public class CompanyDetailViewController: BaseViewController<CompanyDetailViewMo
124124 let output = viewModel. transform ( input)
125125
126126 output. companyDetailInfo
127- . bind ( onNext: { [ self ] in
128- companyDetailProfileView. setCompanyProfile (
127+ . bind ( onNext: { [ weak self] in
128+ self ? . companyDetailProfileView. setCompanyProfile (
129129 imageUrl: $0. companyProfileURL,
130130 companyName: $0. companyName,
131131 companyContent: $0. companyIntroduce
132132 )
133- bossLabel. setContent ( contentText: $0. representativeName)
134- startedDayLabel. setContent ( contentText: $0. foundedAt)
135- workersNumbersLabel. setContent ( contentText: $0. workerNumber)
136- annualSalesLabel. setContent ( contentText: $0. take)
137- headAddressLabel. setContent ( contentText: $0. mainAddress)
138- chainAddressLabel. setContent ( contentText: $0. subAddress ?? " - " )
139- firstManagerLabel. setContent ( contentText: $0. managerName)
140- firstPhoneNumberLabel. setContent ( contentText: $0. managerPhoneNo)
141- secondManagerLabel. setContent ( contentText: $0. subManagerName ?? " - " )
142- secondPhoneNumberLabel. setContent ( contentText: $0. subManagerPhoneNo ?? " - " )
143- emailLabel. setContent ( contentText: $0. email)
144- faxLabel. setContent ( contentText: $0. fax ?? " - " )
145- viewModel. recruitmentID = $0. recruitmentID
146- recruitmentButton. isHidden = $0. recruitmentID == nil
133+ self ? . bossLabel. setContent ( contentText: $0. representativeName)
134+ self ? . startedDayLabel. setContent ( contentText: $0. foundedAt)
135+ self ? . workersNumbersLabel. setContent ( contentText: $0. workerNumber)
136+ self ? . annualSalesLabel. setContent ( contentText: $0. take)
137+ self ? . headAddressLabel. setContent ( contentText: $0. mainAddress)
138+ self ? . chainAddressLabel. setContent ( contentText: $0. subAddress ?? " - " )
139+ self ? . firstManagerLabel. setContent ( contentText: $0. managerName)
140+ self ? . firstPhoneNumberLabel. setContent ( contentText: $0. managerPhoneNo)
141+ self ? . secondManagerLabel. setContent ( contentText: $0. subManagerName ?? " - " )
142+ self ? . secondPhoneNumberLabel. setContent ( contentText: $0. subManagerPhoneNo ?? " - " )
143+ self ? . emailLabel. setContent ( contentText: $0. email)
144+ self ? . faxLabel. setContent ( contentText: $0. fax ?? " - " )
145+ self ? . viewModel. recruitmentID = $0. recruitmentID
146+ self ? . recruitmentButton. isHidden = $0. recruitmentID == nil
147147 } )
148148 . disposed ( by: disposeBag)
149149
0 commit comments