David McGraw Translation: Tintin (Jackiehoo)
Original:http://www.xmcgraw.com/what-you-need-to-know-to-start-learning-how-to-code/
Translator Note: This article I saw one months ago, the content of the article basically expressed my career in the development of iOS thinking. Think this article will be for those who want to do iOS development and just start to do a friend some help, so translated and share to everyone, for me is restudying. Do not forget beginner's mind, Fang must always, the new year to start again.
Everyone has a unique experience, so there will be something special that will make Ta feel happy and enjoy doing what he likes. Writing procedures is no exception, I understand this at a very young age, it becomes the intangible asset that I started to start a business. The desire to write a program comes from the desire to do one thing completely and independently, and to do mobile development that allows me to learn all the power needed to complete a complete app without relying on anyone.
Why did I learn the objective-c and swift programming languages I'm using now? Because I like to interact directly with the user, and mobile development satisfies me. This passion has allowed me to maintain a 110% passion in learning iOS development.
I just shared the motivation I wanted to be in mobile development and thought it was an issue to think about in iOS development. You can provide your own answers to the following two questions:
1. Why do you want to program?
2. Can you draw a picture of your code in your brain, depicting the scene?
If you've decided to take this path, here are a few suggestions that I hope will help you open the door to mobile development.
Clear your passion.
You've got a certain passion, like I did, and you need to know exactly what you love. Curiosity is important, it will guide you to a specific direction, find a mobile development in the most interesting direction, and then hand over to the fate of the arrangement.
What's the picture you're picturing in your brain? Friends who like science and math may want to write code for NASA, or if some friends are good at socializing or athletic, he can develop healthy products to measure activity, and you might like video games. Know what you like in life and let it be your beacon to guide your development projects. Of course this may change, I started to write games, but I now write more social, educational and efficiency products.
You may start using the swift language and then find it inappropriate for you. For example: You might want to write games for the ipad through Spritekit and swift, and then you try to unity3d the game and like it. If you are not sure of your preferred platform and language, then stay enthusiastic and open to exploring.
Of course if you don't have this passion for mobile development, you need to stop and reassess your path. Hold on for a while. If the display is still a manifestation of fear, then this may not be the life you want, change it, life is short, you should enjoy life.
Start action
There are a lot of video tutorials on the web that can be learned, but I'd really recommend reading a few books because books are more focused, easy to navigate, and don't have a lot of distractions. Only you, the book and the Code Editor.
It's good to add some books or video tutorials on the learning platform. But a page-by-page reading will help you greatly improve, and once you identify the language you want to learn, you can buy two books:
1. Buy a book that only describes the programming language.
2. Buy a tutorial book that teaches you to use that language in a specific programming environment.
Remember: The effective way to learn from me or your friends is not necessarily for you. We have different ways of learning, and you need some independent awareness to keep yourself on the right track of learning. Reading is a safe and reliable option if you do not have this sense of independent judgment.
If you decide to use Swift to write programs for iOS devices, then you buy a swift language book instead of a objective-c language book, read it carefully, and then buy a book that teaches you how to use the swift language to develop an app.
Language + development Platform books can help you stay focused with as little distraction as possible. You may still find it difficult, but it's usually easier to learn through online tutorials.
Put down a book and write your own project
I can assure you that the biggest challenge you will encounter is not when you learn a book and complete the examples in it, but when you finish reading the book and start developing your own project. You learn a book and complete the examples inside just to make it a little less challenging to write your program because you have a certain foundation, but only the basics.
1. Find a simple idea, a very small idea, the first app as long as 2-3 things to do, so you don't have to spend a lot of time to conceive of the implementation and architecture of the app, and only need to start development.
2. Don't carry it all alone-find some way to get help. If you try a lot of methods that fail, you can ask for help on a technical question and answer site like Stack overflow.
3. You can adjust your ideas when necessary. If you feel stressed out when you're developing a project, and it's too hard to develop, you can start with an easier one. For example, the development of the game is relatively difficult to change a more easy game development. (such as 2D games instead of 3D games)
Then you need to constantly repeat the previous learning content, find books, read online tutorials, see video tutorials and more. Solving practical problems takes a lot of time and a lot of practice.
Join a team
One of the best ways to develop good programming habits and learn new ways is to put yourself in a team environment. A team environment can take you to directions that you didn't know before. You will meet many programmers who are very valuable to you in learning programming. Don't think you need some great work to join these teams, and many teams want to find enthusiastic beginners. Follow them and do some projects.
If you're having trouble joining a team, you can find a friend or teacher to learn from.
Repel self-doubt
All you need is enthusiasm. If you're eager to develop an Apple app, don't let your brain have any distractions. I promise that as you go deeper in your studies there will be self-doubt in the brain, if you like to write code, like to stay in front of the computer, do not let these distractions beat you.
To treat yourself honestly. You may like the underlying development techniques, and you will experience a lot of interesting challenges as you grow up. If you like to write code and design programs, that's great, I know a lot of developers are good at front-end development. If you like to write code and business, you will become a good leader in the future, becoming a generalist is not a bad thing. The development direction of the yard has a lot of choices, I bet there will be a suitable for you this direction.
If you really don't like writing code. Give yourself 6 months of time to try after still not interested. Do not force yourself, life is short. You should choose a path that you prefer. Don't be bound by yourself-it's your life.
Write code, write code, continue development
When I started programming, I spent 2-3 weeks, 12 hours a day, fully focused on learning how to use the Mac, how to write Obective-c code, and how to use the SDK for iOS systems.
Choose some of your favorite books and devote yourself to learning. Sit back and read, and when you are finished with the contents of the book, you can write code that must be written with your brain. This is easy for you if you like to write code, and if you set yourself a goal, such as releasing an app within 6 months, you can easily stick with it.
You finally want to start exploring areas you're unfamiliar with. You don't have to put too much pressure on yourself, don't feed yourself too many at once. It's good to add a little bit of new technology to your area of familiarity, and adding a little freshness is enough. In short, don't be too anxious to stay focused.
Set sail
Everyone is different, no one can give you the perfect answer. This article describes what I have experienced and what I have observed and summed up, and if I start from scratch I will do so. I was supposed to join a team earlier and find a mentor earlier. Even now I would like to have a mentor teach me how to deal with business things.
Think well on the bulkhead to learn it, you can certainly do, as long as you have a good mobile development in the heart of the fire burning.
A few questions to know before you decide to engage in iOS development