Hello guys,   I have a view class that contains a collection view and which looks like this: class PhotoCollectionSubView: UIView {     var photoCollectionView:UICollectionView? = nil         var photoIdArray = [String]()         var userDAO = UserDAO()         override init(frame: CGRect) {…

used firebase:   2018-11-12 22:12:05.398324-0800 QQBCHAT[37807:7011607] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C4.1:2][0x7fee0fe19300] get output frames failed, state 8196 2018-11-12 22:12:05.398615-0800 QQBCHAT[37807:7011607] TIC Read Status [4:0x0]: 1:57 2018-11-12 22:12:05.398809-0800 QQBCHAT[37807:7011607] TIC Read Status [4:0x0]: 1:57 2018-11-12 22:15:38.035511-0800 QQBCHAT[37807:7016162] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x7fee0fd05130] get output frames failed, state 8196 2018-11-12 22:15:38.035629-0800…

got following error with this code:     Code: lazyvar documentDir = URL {         let allUrls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)         return allUrls[0]     }()     Fehler: Unable to infer complex closure return type; add explicit type to disambiguate Insert ‘ ()…

Hello! I’m fairly new to Xcode. I’ve set up some buttons to scale up with screen size. When the buttons scale, the text within doesn’t scale up along with it. I added this code:                          button.titleLabel?.numberOfLines = 0;             button.titleLabel?.adjustsFontSizeToFitWidth = true;            …

Hi, We have noticed that the `struct UnsafePointer` init methods are not exposed any more (i.e. public init(_ other: UnsafeMutablePointer)) in Xcode 10.2beta while they are in Xcode10.1. In the documentation and the API changes pages (see https://developer.apple.com/documentation/swift/unsafepointer ) they do not exist at all.…