Post

Replies

Boosts

Views

Activity

Reply to Progress Indicator not working as expected
Where are you calling progressStart? This works for me: class ViewController: NSViewController { @IBOutlet weak var progressIndicator: NSProgressIndicator! override func viewDidLoad() { super.viewDidLoad() progressIndicator.doubleValue = 0 DispatchQueue.main.async { self.progressStart(self.progressIndicator!) } } @IBAction func progressStart(_ sender: Any) { for progress in 0..<100 { // Update the progress value in a loop progressIndicator.doubleValue = Double(progress) } } } (No need for startAnimation or stopAnimation, with a determinate progress indicator.)
Jun ’23
Reply to import AVKit - no such module on TVOS, possible for ios/multiplatform
Hard to say... Simply writing import AVKit is enough to make it work for me. That suggests there may be an issue with the setup of your Xcode? Of course, my Xcode had to import tvOS first (as it is no longer included in the default install)... ...trying to create a new tvOS project initially prompted me with: tvOS Not Installed You will not be able to build or run your project ...but you checked that first, right? XCode 14.3.1 (14E300c)
Jun ’23
Reply to How well does Xcode work (for iOS/macOS development) on a 14" MBP screen?
Personal opinions may vary, but I find that I can use Xcode most effectively when I have lots of screen space. Using my MacBook Pro 13" is fine for some "light" development work, but when the going gets serious, I always turn to my main machine, which uses a 3-monitor setup. You may find a similar situation with a 14" MBP. Basic development work on the laptop is okay, but one or more external monitors may be preferable. You can size and distribute Xcode/Simulator/Documentation/Browser windows (among the screens) as you like, to create your preferred work environment.
Jun ’23