I need to round a filled in button in Swift. My button was added, and filled, in Storyboard.   Here’s some of the things I’ve tried, none of which work: button.layer.cornerCurve = .continuous button.layer.cornerCurve = .continuous      button.clipsToBounds = true The first one works in…

Hey guys i’m new at this in fact is the first time i try coding and im doing the foos tracker tutorial but ive run into some errors and i cant seem to solve them. the first one is the       func imagePickerController(_ picker:…

Xcode 9 introduced support for compiling frameworks containing Swift as static libraries. Prior to converting my dynamic frameworks, resources from “Copy Bundle Resources” build phase could be found by looking for the filename in Bundle(for: MyClass.self). After converting to a static library, the file can…

@objc  func recordingStart() {         self.inputContainerView.uploadImageView.setBackgroundImage( UIImage(named: “recordred”) , for: .normal) // flashing mic button         self.timerToBlinkMicButton = Timer.scheduledTimer(timeInterval: TimeInterval(1), target: self, selector: #selector(recordBlink), userInfo: nil, repeats: true) timer for continuous blinking of mic button         self.fullsTring = “”         audioEngine.reset()         if recognitionTask !=…