Post

Replies

Boosts

Views

Activity

Reply to Something is not working well
Do you mean you want the circles to appear fully on-screen, and partly off-screen? Isn't it obvious? If the circle is drawn from its centre point, then you need to restrict the area a circle can be drawn to bounds.height and bounds.width minus circle diameter.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’23
Reply to Xcode Auto Layout Constraints for Button Sizes on Different Devices
Use a CollectionView which will automatically align the cells. Alternatively: Add width and height constraints to each image so they're a constant size. For each item on the left hand side, add an "Align Center X" constraint and set the constant value to minus the width of your image minus 10. So, if the width is 150, set it to: -150 / 2 = -75 - 10 = -85. This puts the left hand images 10 pixels to the left of the centre of the view. Do the same for the right hand images, but the constant value should be the positive, i.e. 85. This will look okay on an iPhone, but for an iPad you might want to use larger images or have something extra to the side of the images.
Apr ’23
Reply to Mac does not open text files
These are the Developer Forums. Issues such as this should go to Apple Support. However: What apps have you tried to open a text file in? Have you tried to drag the file onto an application, rather than double-clicking? Have you tried launching the app then opening the file with the File > Open menu item? Have you tried launching the app then double-clicking the file to open it? Have you checked the "Get Info" window? Does it show that files of the .txt" type will open in a specific application? Do you have permission to launch the app that the text file should open in?
Topic: App & System Services SubTopic: Hardware Tags:
Apr ’23
Reply to Is swiftui the only way to develop watchOS apps?
As someone who recently converted their WatchKit app to SwiftUI, it is faster, more responsive, and provides users with a much better experience. It is definitely worth investing the time. Since you already know Swift it shouldn't take too long to figure it out. I was going from Objective-C to Swift and SwiftUI, so I had issues... Also, I found that I could do pretty much 95% of what I needed without any help or internet searching at all. It was only for specific things that I needed to reach out. Take a look at a thread I posted on here, where I figured out how to get views to update properly when data changes: https://developer.apple.com/forums/thread/712602
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Reply to Adding the Ability to Customize Outline Colors in Apple's Default Notes App
A few things here: These are the Developer Forums for third-party developers; it is not where the developers FROM Apple talk about Apple's software. If you have a suggestion for something, raise a feedback request - https://feedback.apple.com Don't add irrelevant tags to your post. What does APFS, Enterprise or ColorSync have to do with colours in the Notes app? Nothing. To the Apple guys on here, can you please make it so that only developers signed into their developer account can post on here, as we keep getting these irrelevant posts. Thanks.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’23