Hi, I've been experimenting with gradients and buttons, and I want to have a button that switches between a set of gradients, but I am not sure how. Any ideas?
Post
Replies
Boosts
Views
Activity
I have been looking at the temperature of my Macbook Air lately, and I notice that it is in the 110-130's even while performing simple tasks. Despite the seemingly high temperature, the CPU load is still below 20% when this happens, so it may be nothing, but I just want to make sure nothing is wrong
Hello! I am experimenting with multiple views in an app, and I realized that if I created more than 2 views, multiple back buttons would appear based on how many views were created (If 3 were created, the 2 would appear, one button going to one view and the other back button going to another view),so how do I fix this?
Here is an image of the back buttons:
And here is the code for the views:
First View:
Second View:
Third View:
I have heard a lot of varying answers to this question when I look it up online, but I still do not have a definite answer, so is it better to sleep your Macbook or shut it down completely?
I just started learning Swift recently and I was trying to use Pickers to get a scroll wheel of some type. I had a ForEach loop that went from 10-100 and I tried to get values back from the picker when a user selected one of those values, but I instead got the index of that value instead of the actual value. Is there a way to get the value and not the index?
Thank you
Not sure if I'm thinking about this too much, but do we code this in Xcode Playgrounds or in Swift Playgrounds?
I am thinking of applying for the WWWDC Scholarship next year since I just started learning Swift recently, but as I was reading the requirements, I saw that it said:
"Your Swift playground must be built with and run on Swift Playgrounds 3.4.1 on iPadOS 14.4.2, Swift Playgrounds 3.4.1 on macOS 11.2.3, or Xcode 12.4 on macOS 11.2.3. If it runs on iPadOS, it must be optimized to display properly on all models of iPad Pro."
Does this mean that if you decide that your project is on an Ipad, then that means that it has to work on every display size or that no matter what device your project is meant for, it must be designed to work on an Ipad as well?