0
스위프트에 [UITableViewCell class]
작성 방법?
스위프트에서 UITableViewCell.class()
을 사용해 보았습니다. 나는 동등한 방법이 무엇인지 궁금합니다. 처음에 self.tableView.registerClass(UITableViewCell.class(), forCellReuseIdentifier: defaultCellIdentifier)
메소드를 호출하려고합니다.[UITableViewCell 클래스]를 신속하게 작성 하시겠습니까?
'[UITableViewCell self]'는 Obj-C에서도 작동합니다. – Sulthan
배열은 무엇입니까? 'registerClass : forCellReuseIdentifier :'는 어디서나 배열을 요청하지 않으며, Swift와 동등한 것도하지 않습니다. – Kreiri