G
G
Gleb9602019-05-07 13:57:28
Apple Xcode
Gleb960, 2019-05-07 13:57:28

What about StoryBoard and clean code?

Hello! I'm just starting to learn development, I'm trying to implement my ideas in my applications.
Faced such a problem, downloaded the project from the github, also looked at the creation manual for the same project.
I'm trying to make a left menu for a project, he wrote a menu without using a storyboard, and I want to further develop this project and make my own application based on this menu.
Questions:
1) I tried to figure it out in Android Studio, there the added element in the storyboard (xs what it's called there) was displayed immediately in the code, but in Xcode I can't figure out where the code from the element that I added to the storyboard is stored .
2) Beginners or no longer, please share the information, who and how to learn development.
I have now switched to English-speaking YouTube channels, but still sometimes it’s hard to speak, only subtitles save)
Thanks for the answers and advice!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yakov, 2019-05-17
@yakovmanshin

1. .storyboard files are essentially XML documents that store the structure of an application's interface. If you open the storyboard in a text editor, you will see something like this:
The code for all elements is stored there. But in real work, you do not need to open source the storyboards; interface elements are connected to the code differently - with the help of outlets and actions. Here you will find a detailed guide.
2. If you're just getting into iOS development, check out Intro to App Development with Swift and App Development with Swift , Apple's free tutorials that explain the basic concepts and principles used in iOS app development very clearly.
After getting acquainted with the basic concepts, move on to more complex things. RayWenderlich.com has a lot of tutorials on specific technologies and frameworks (like SpriteKit or Core Data) as well as step-by-step instructions on how to implement certain solutions in code (like the now playing drop-down screen in Apple Music). You have to pay for video courses, but text tutorials are available for free.
My complaint to RayWenderlich is that there is not enough theory and technical details that need to be studied in order not only to repeat other people's solutions to problems, but also to create their own. There are good theory materials on Swift by Sundell , freeCodeCamp , and on Medium, of course. As for the basic constructions of the language, there is a lot of information onSwift.org .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question