questionButton: UIButton!
                  
                  
                      override init(frame: CGRect) {
                  
                  
                          super.init(frame: .zero)
                  
                  
                          print(questionButton)
                  
                  
                      }
                  
                  
                      
                  
                  
                      required init?(coder aDecoder: NSCoder) {
                  
                  
                          fatalError("init(coder:) has not been implemented")
                  
                  
                      }
                  
                  
                  }
                  
                  
                  Получаю nil
                  
                  
                  Кнопка внутри контентвью ячейки и присоединена к questionButton в классе
                  
                  
                
override init(frame: CGRect) { super.init(frame: frame) print(questionButton) }
Обсуждают сегодня