Conceptually speaking: How to find a list of parameters for something like UIButton
Happy New Year!
In my journey to learn Swift, I'm running into some roadblocks (of course). Specifically, with how code works when you're build an app for instance.
I learned PowerShell for work by finding a problem (deploying software to 3-400 workstations without using SCCM) and then researching the solution and building a PowerShell script to do exactly what I wanted to do.
Granted, PowerShell and Swift aren't the same thing but the concepts seem to be. You have a command-let and it has parameters where you can tell the command-let what to do and when (i.e. starting services, copying files, etc.) Swift (at least the way I'm looking at it) is kinda the same way (i.e. Create a button using UIButton, configure parameters such as color, title then tying it to a function). Seems simple enough.
But for the life of me I can't find where these parameters are listed. I've tried developer.apple.com and while I get further than I have before, it doesn't seem straightforward. I've also looked in places like Stack Overflow and while they have great examples of creating a button, I can't find any listing of what parameter all the parameters are, what syntax to use them in and what order they need to go in.
Any help would be appreciated. Thanks again!!!
Posted Jan 1, 2019, 7:57 PM UTC