The beginning IOS8 programming with Swift Chinese translation-2

Source: Internet
Author: User

Audience reader says

This books is written-beginners without any prior programming experience and those the book was written for beginners who want to learn swift language but have not had any development experience before Stakeholders

who want to learn Swift programming. Whether You is a programmer who wants to learn whether you're a programmer who wants to learn a new language or is a designer who wants to incorporate his design into

A new programming language or a designer who wants to turn your design into an iOS app designer, or a business owner who wants to learn the code

The app or an entrepreneur who wants to learn to code, this book is written for you. This book is entirely for you.

I just assume you is comfortable using Mac OS X and IOS as a user. Of course, I assume you are a person who feels comfortable with Mac OS and iOS systems.

Learning Tips Learning Tips

I have been asked by some of my blog readers on the best way to start learning iOS I used to be asked by some of my blog readers: What is the most ways to learn IOS development

Programming. These is some of the learning tips I shared on my blog and I expect these there are some learning suggestions I have shared in my blog, and now I hope these suggestions will be useful to you.

Tips would be useful to you too.

1. As always, get your hands dirty. I emphasized this technique at the very beginning

When I wrote my first book. You can ' t learn programming just by reading. You need to take

Action and write some code. Fire up Xcode, play around with Swift and follow the first few

Chapters to build your first app. Try your best to understand how the Hello world app

Works before moving on to the next chapter. If you is able to manage the basics, it'll be

Much easier for your understand the rest of the materials.

First of all, you have to hit the code. I emphasized this point when I wrote my first book. You can't read the code in the process of learning, you need to

Write some code and put it into action. Quickly open your Xcode, create your first app, then open the swift language learning playground, then stand

That is, write down some code. Try your best to understand the "Hello World" program before you turn your attention to the next code.

Operating principle. If you understand the basics, understanding some of the complex frameworks will be incredibly easy for you.

2. Bugs is your friends when learning programming. From time-to-time, you'll hit bugs

or errors. You probably want to email me and say the sample app doesn ' t work. How can I

Get the bug fixed? Questions is always welcome and I love to help you learn

Programming. However, I encourage you to attempt-to-figure out the solutions by yourself

First. You could go over the code again and again. Or Search the Web (stackoverflow.com in

particular) for solutions. Just try your best to solve the problem before asking. Like every

Programmer, I hate bugs especially when facing a project deadline. However it ' s always

The bugs, help me improve my programming skills.

If you don't have any programming experience, one useful hint for you are that Swift is a

case-sensitive language. That means a variable named ' message ' was different from that

Named ' Message '. This was one of the most common errors and frequently asked questions.

The bugs that appear when you learn a language are your friends. You have encountered bugs and errors over and over again. You may want to email

Contact me, then ask me: My program is not working, how can I fix these issues. Personally, I'd be happy to help you with programming and

help you solve your problems. However, I encourage you to first find a solution to the problem through your own efforts. You may need to pass it over and

Try again or find a solution via the network (e.g., in stackoverflow.com). Try your best before you ask.

Solve it yourself. Like all programmers, I'm particularly sick of bugs when the project deadline is coming up. However, it is because of these bugs that I keep

Improve your programming skills.

If you do not have any programming experience, it is very useful to you that Swift is a language that is extremely sensitive to major primary schools. This means that a name is "message"

and a "Message" variable is different, you know, this is a very common and frequent error.

3. "The best-of-the-learn is-to-teach" is a old saying. It still works in the modern

World, however. You don ' t need to being an expert to teach. I ' m not talking about giving a

Lecture in a university or teaching a bunch of students in a formal class. Teaching does not

Always happen the that. It can as simple as sharing your knowledge with a colleague

Or a classmate sitting next to you. When you learn something new, try to explain the

Materials to someone else. For example, after building the HelloWorld app, teach your

Close friend how it works and how he/she can create a app too. When you become more

Knowledgeable with the programming language and materials, your may arrange an

Interest group and share what do you ' ve learnt to a larger group of people.

This is one of the most effective ways of learning as I learn so much while publishing

Tutorials on appcoda.com, as well as developing my first book. Sometimes you think

Know the materials well. But once your need to explain the concept to someone else and

Answer questions, you could find that didn ' t understand the material thoroughly. and

This makes study the materials even harder. Give This method a shot when you learn

IOS programming.

"The best way to learn is to teach." This is an old saying, but he still works in modern society. You don't have to be an expert at teaching. I'm not

Talking about how to conduct lectures in a college classroom is not a formal classroom for students to teach, not always on the kind of treat to appear. He can

It's easy to do when you share your knowledge with a colleague or a deskmate. When you are learning something new, try explaining the principle to others. For example:

Once you have successfully run the Hello World program, you can teach your intimate partner how to create the same project and tell him that the project is running

What the principle is. When you become knowledgeable in programming languages and principles, you may be able to form a group of interests and share to more people how you learn.

This is one of the most important ways to learn. Just like me, when I released the tutorial after appcoda.com, I learned a lot and prompted me to release myself

First book. Sometimes you feel like you're proficient in all the principles. But when you need to explain some ideas to others, you will find that you actually do not

A thorough understanding of the principles is also prompting you to work harder to learn. This is another piece of advice I have learned about iOS development.

4. It takes time to become a great programmer. Be patient. The materials in this book

is not magical. You'll learn the basics of IOS programming and how to build your own

Apps. That's said, it takes time and lots of practices to become a competent programmer.

Don ' t set your expectations too high for your first app. Just Create something simple and

Fun.

It takes a lot of time to become a great programmer. Be patient, some of the information in this book is not magical. You will learn about iOS development

Some basics, and how to develop your own apps. That is to say: To be a big-time programmer will take a lot of the day.

Don't set your goals too high in your first application, just build some simple examples and get some fun.

5. I know money matters. Some of the People begin learning app development just

Because of money. There is nothing wrong with that. Want to build your app

Business to earn some side income and eventually turn it into a full time business. That ' s

Completely understandable. Who doesn ' t want to live a rich life? However, if money is your

Primary reason for building apps, you'll be easily discouraged when you hit bugs or errors.

Give up. Programming is isn't easy and it's challenging. I Find People

Who successfully master the language is those who has a strong desire to build apps

and is enthusiastic to learn programming. They the idea of their mind and want to

Turn it into a real app. Making money is not the number one concern. They know the app

can solve their own problems and'll be beneficial to others. With such a powerful

Purpose in mind, they understand that bugs and problems is a challenge to the face. The

The only-to-move on IS-to-figure out the solutions. So think again why do you want to learn

Programming.

Lastly, thanks for choosing. I hope you'll enjoy reading it and launch your first

IOS app on the app Store. If you ' d like to share the stories of your first app, drop me an

email at [e-mail protected] I would love to hear.

I know some questions about money. Some people start to write applications for money, which is not about right or wrong. You might want to get it through your app

Some investment sponsorship, and eventually turn it into a full-time business. It is perfectly understandable, after all, who does not want to live a wealthy life, but if

If money is the main reason you're developing apps, you're extremely discouraged when you encounter bugs or errors, and then you might put

Abandonment. Programming is an easy and challenging thing to do. And I found that the programmers who became Daniel were the kind of apps that contained

A strong desire and a great passion for learning. They quickly make it a real app after they have idea, making money not their

The primary purpose, they understand, is that their application can solve their own problems or be beneficial to others. When such a strong purpose exists

In their minds, they feel that the so-called bugs and errors are only the challenges they need to face, and the only way to solve them is to fix them and

Wrong, so think again why you should learn to program.

Finally, thank you very much for choosing this book. I hope you will enjoy your programming journey and get your app on the Apple Store as soon as possible. If you want to be with me

Share your first app story, then please contact me using this [email protected] email, I look forward to hearing from you.

The beginning IOS8 programming with Swift Chinese translation-2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.