Profile Photo
Since bounds is an animatable property of UIView, I wanted to see what happened if I animated the x and y values of a view's bound's origin. My view (view1) has a UILabel inside of it.       override func viewDidAppear(_ animated: Bool) {… (Show more)
in Cocoa Touch
Profile Photo
How do some apps manage to use Cut, Copy and Paste without affecting the contents of General Pasteboard? Presumably they're creating other instances of NSPasteboard using withUniqueName?   If so, is it possible to find or list Pasteboard created?
in Swift
Profile Photo
I have a very simple sample I created to test animating text using UIKIt...   I created 3 subviews and put them on the main view each subview has a UILabel in it the labels all have an alpha of 0 specified in their properties outlets for the labels are in my controller controller code:     override func viewDidAppear(_ animated: Bool) {… (Show more)
in Cocoa Touch
Profile Photo
I have made an iOS 13 app with a watch extension. The app is written in English. I have localized it to German. Everything is fine with the iPhone app; however the watch extension is only available in English. The German localization is not loaded.   When I list the available localizations by printing1 like so: print(Bundle.main.localizations)… (Show more)
in Xcode IDE and Editor
Profile Photo
I have an app live on the store and my iPhone is running on iOS13 GM seed, the app looks exactly as i would expect. Not done any changes to make it work with iOS13. However if i build via xcode on to a device or simualtor from the same released branch the UI is different. I'm confused and obviously missing something. So the biggest problem is… (Show more)
in Cocoa Touch
Profile Photo
     I have downloaded and installed Xcode in the past and I didn't have any problems with it until I uninstalled it, came back a few months or so later, and reinstalled it today.      I redownloaded and reinstalled Xcode 9.2 but that always crashes on startup. There is a crash but I'll simplify what it says. The file… (Show more)
in Getting Started
Profile Photo
I am making an app in Swift UI, which should contain a scroll view(vertical). How can i implement that? Please help me figure it out.         Thanking You!
in SwiftUI
Profile Photo
Hello,   I was watching the WWDC video: Introducing SwiftUI: Building Your First App https://developer.apple.com/videos/play/wwdc2019/204/   The had some sample code at 48:32 for localising the string used in in   Text("\(room.capacity) people")  They used a stringdict file, but didn't expand on the details of configuring the string (here's the… (Show more)
in SwiftUI
Profile Photo
Hi,   What's the easiest way to create either a Rectangle or RoundedRectangle that will fill the entire area of the watch face? I don't want to just flood the whole screen in a colour, because I want to round the corners of my background rectangle which will be the bottom layer in my ZStack.   I also want to make my app scalable across different… (Show more)
in SwiftUI
Profile Photo
Hi! I encountered a way of specifying completion handler that I don't understand. I am trying to find some swift syntax. Can you help me to find a link or some hint to understand how this works?   Following the example in https://www.raywenderlich.com/3244963-urlsession-tutorial-getting-started I got the following code working and printing the… (Show more)
in Swift
Profile Photo
It was all fine until yesterday, all of a sudden I've been getting:   The remote server returned an error: (400) Bad Request  I'm afraid Apple has done some change to the service this week but don't know where to look for the new specs.   Is anyone aware of the changes?   Here's the request to https://contacts.icloud.com:   Content-Type:… (Show more)
in Developer Forums
Load more items