iphone游戏开发_iPhone开发的10个步骤
iphone游戏开发
We all want to be a coding superhero, and the number of people entering the profession has exploded in recent years.
我们都希望成为编码超级英雄,近年来进⼊该⾏业的⼈数激增。
未来? (The future?)
It’s never been brighter, as we move to a digital future (who wants to go to the doctor when an App can be used?). That is coupled with the fact that software development can be adequately performed remotely, and you can even learn to be a professional software developer from home.
随着我们⾛向数字化的未来(谁想要在可以使⽤App的情况下去看医⽣?),它变得前所未有的光明。 再加上⼀个事实,即软件开发可以远程进⾏,甚⾄您甚⾄可以在家学习成为⼀名专业的软件开发⼈员。
This guide will step you through becoming an iPhone developer, what you need (and when you need it) and where you should focus your energy.
本指南将引导您逐步成为⼀名iPhone开发⼈员,您需要什么(何时需要它)以及应该集中精⼒的地⽅。
集中精⼒ (Get your focus)
You will need to get a grasp of what coding is, and where you want to head with your goal of becoming a coding hero.
您将需要了解什么是编码,以及要成为编码英雄的⽬标。
Coding is writing code that is compiled to form programs, that are run on a computer.
编码是编写被编译为表单程序的代码,这些代码可以在计算机上运⾏。
You’ll be using a computer to deploy applications to Apple devices. You should be aware that iPhone developer require an Apple developer subscription that costs $100 a year — but you don’t need to pay that until you have a complete project to release. In fact, to get started you to start writing Swift code.
您将使⽤计算机将应⽤程序部署到Apple设备。 你应该知道,iPhone开发⼈员需要⼀个苹果开发订阅,费⽤每年$ 100美元-但你并不需要⽀付直到你有⼀个完整的项⽬发布。 实际上,要开始使⽤,您即可开始编写Swift代码。
You will need to eventually think about that developer subscription, a Mac and a device to deploy on but that all comes rather later in this development journey.
您最终需要考虑该开发⼈员订阅,Mac和要部署的设备,但这⼀切都将在此开发旅程的后期出现。
了解你的⽬标 (Understand your goal)
If you want to reach a target in life it is probably a little bit easier to find if you know where you are headed first. To put it another way, you need a target now.
如果您想实现⼈⽣⽬标,那么如果您知道⾃⼰⾸先要去哪⾥,可能会容易⼀些。 换句话说,您现在需要⼀个⽬标。
Do you want to learn how to program as a hobby?
您是否想学习如何作为爱好编程?
Do you want to deploy applications to devices, and even sell your applications on the App store?
您是否想要将应⽤程序部署到设备上,甚⾄在App Store上出售您的应⽤程序?
Do you want to change the world by getting an App on devices through the world?
您是否想通过在世界各地的设备上安装App来改变世界?
In any of these cases you will begin to see that coding is fun, gives you skills outside the world of programming and could even secure you a fantastic job working with great people.
在上述任何⼀种情况下,您都会开始发现编码很有趣,它为您提供了编程领域以外的技能,甚⾄可以使您在与优秀⼈才⼀起⼯作时获得出⾊的⼯作。
With that in mind, and browser in hand…
考虑到这⼀点,以及浏览器在⼿……
选择你的语⾔ (Choose your language)
There are a few different languages that can help you if your aim is to be an iPhone developer. I’ll skip to the end, the choice for beginners is Swift. Yes, there are alternatives but the one you want is Swift.
如果您的⽬标是成为iPhone开发⼈员,那么有⼏种不同的语⾔可以为您提供帮助。 我将跳到最后,对于初学者来说,选择是Swift。 是的,有其他选择,但是您想要的是Swift。
Here are the alternatives:
以下是替代⽅法:
Swift: Apple’s preferred programming language, with support for SwiftUI (the newest way of creating interfaces) and interoperability with the older Objective-C. It’s also fast and fun to code!
Swift:Apple⾸选的编程语⾔,⽀持SwiftUI(创建接⼝的最新⽅式)以及与较旧的Objective-C的互操作性。 编写代码也很快且很有趣!
Objective-C: The traditional way of making iOS Apps. A little slower and a little more complex (in some ways) than Swift, if you are a professional iOS mobile developer you will come across pieces of the language here and there, but most new Apps are coded in Swift these days.
Objective-C:制作iOS应⽤的传统⽅式。 ⽐Swift慢⼀些,有些复杂(在某些⽅⾯),如果您是⼀名专业的iOS移动开发⼈员,那么您会发现到处都是这种语⾔,但是如今,⼤多数新应⽤都是使⽤Swift编写的。
Cross-platform development: There are several options for this from PhoneGap to Unity to Xamarin to ReactNative. My advice. Don’t. These options struggle for speed and often behave a version or so behind native applications — making your App look old and out of date before it is even released. Not only that, support isn’t as readily available as in fully native coding. Now this isn’t true for every situational context you might be in (a React programmer might appreciate the speed of switching to React Native, for example) but for a beginner, yes. Choose Swift.
跨平台开发:从PhoneGap到Unity到Xamarin到ReactNative,有多种选择。 我的建议。 别。 这些选项为提⾼速度⽽苦苦挣扎,并且通常在本机应⽤程序后⾯表现⼀个版本左右,从⽽使您的应⽤在发布之前显得陈旧且过时。 不仅如此,⽀持还不如完全本机编码中容易获得。 现在并⾮对您可能遇到的每种情况都是如此(例如,React程序员可能会喜欢切换到React Native的速度),但对于初学者来说,是的。选择Swift。
了解基础知识 (Go through the basics)
There are loads of tutorials out there. Look through the , and for some that will be sufficient to understand the language. Some will look though my profile and see easier to read language support — and this is backed up by tutorials that get you to create Apps within the language.
那⾥有⼤量的教程。 查看 ,其中⼀些内容⾜以理解该语⾔。 有些⼈会浏览我的个⼈资料,并会更容易阅读语⾔⽀持-并得到了教程的⽀持,这些教程使您可以使⽤该语⾔创建应⽤程序。
Remember, a !
记住,使⽤ !
取得Mac,取得装置 (Get a Mac, get a device)
To make full applications you’ll need a relatively recent Mac, and an relatively recent iDevice. Some people try to save money by running the MacOS on a PC — this is called Hackintosh. Don’t think about getting a Hackintosh, as you’ll
spend longer installing and fixing your machine rather than learning the language.
要制作完整的应⽤程序,您需要⼀台相对较新的Mac和⼀台相对较新的iDevice。 有些⼈试图通过在PC上运⾏MacOS来节省⾦钱,这就是所谓的Hackintosh。 不要考虑购买Hackintosh,因为您将花费更多的时间安装和修复计算机,⽽不是学习语⾔。
Get a Mac Mini (or Macbook Air), get an iPhone 8 or newer. You can then use the IDE Xcode, which is the way you will create a App using a .
获取Mac Mini(或Macbook Air),获取iPhone 8或更⾼版本。 然后,您可以使⽤IDE Xcode,这是使⽤创建应⽤程序的⽅式。
If you sign up to the developer program you can then even deploy your Apps to the App Store (awesome).
如果您注册了开发⼈员计划,则可以甚⾄将您的应⽤程序部署到App Store(很棒)。
练习,练习和练习 (Practice, practice and practice)
reactnative开发The core language features are important. Also the vital key components of UIKit and should slot in nicely. But it doesn’t end there — you need to continue practing! A bit of Leetcode to practice algorithms, a bit more Swift and a but of networking…you’ll get there in time.
核⼼语⾔功能很重要。 UIKit和的重要关键组件也应该很好地插⼊。 但这还不⽌于此-您需要继续练习! ⼀点点Leetcode来练习算法,⼀点点Swift和⼀些⽹络连接……您会及时到达那⾥。
By saying you’ll get there…you’ll get closer to true competency and understanding of the language and SDK under the hood.
通过说您将到达那⾥……您将更接近真正的能⼒以及对语⾔和SDK的理解。
加⼊在线社区 (Join the online community)
is a great way to find out what is going on in the Swift community. Get involved, write a blog post or ten. Work your way through proposals to really understand where the language and ecosystem is headed. I’ll see you there…!
是了解Swift社区正在发⽣的事情的好⽅法。 参与进来,写⼀篇博客⽂章或⼗篇。 浏览提案,以真正了解语⾔和⽣态系统的发展⽅向。 我会在那⾥见你…!
破解别⼈的代码 (Hack other people’s code)
There are loads and loads of open source software projects that you can access online. The greatest thing about this is that you can learn how the best of the best code. In fact, one of the greatest things about Swift is that you can access the language under the hood, and even look at Swift Evolution and see what plans there are for the future of the language.
您可以在线访问⼤量开源软件项⽬。 最好的是,您可以学习如何最好的代码。 实际上,Swift的最⼤优点之⼀就是您可以在幕后使⽤该语⾔,甚⾄可以查看Swift Evolution并了解该语⾔的未来计划。
If you want a hint of where to look — GitHub is fully searchable and you can download and look at co
de on your own machine by .
如果您想看⼀下位置-GitHub完全可搜索,则可以通过在⾃⼰的计算机上下载并查看代码。
保持学习 (Keep learning)
There are plenty of resources out there, and there are tutorials all over the Internet. As you progress in your career you will begin to understand how important it is to make sure that the person who writes the tutorial actually knows something
about the topic if not you risk learning out of date or incorrect solutions to the problem you are having.
那⾥有很多资源,并且Internet上都有教程。 随着您事业的发展,您将开始了解确保撰写教程的⼈真正了解该主题的重要性,如果您不冒着学习过时或对所遇到问题的正确解决⽅案的风险。
You’ll learn that StackOverflow is fine, but you shouldn’t be copying and pasting solutions straight. But you will start to understand why this is important (because understanding your code means you can implement and maintain it in the future with ease), and you won’t even want to take the short-cut solution.
您将了解到StackOverflow很好,但是您不应该直接复制和粘贴解决⽅案。 但是您将开始理解为什么这很重要(因为了解您的代码意味着您可以在将来轻松实现和维护它),并且您甚⾄都不想采⽤捷径解决⽅案。
最后⼀点。不断学习(不要放弃) (And, the last point. Keep learning (don’t give up))
Some coders think they are ready to move to management after a year or two coding. They feel that they should be managing people and have oversight over projects without 24 months of experience. They’re missing the point.
⼀些编码⼈员认为,经过⼀两年的编码,他们已经准备好转⼊管理层。 他们觉得⾃⼰应该管理⼈员并且对没有24个⽉经验的项⽬进⾏监督。 他们错过了重点。
Mark Zuckerberg works on VR software in his own time. Just let that sink in for a minute.
马克·扎克伯格(Mark Zuckerberg)⾃⼰从事VR软件的研究。 只是让它沉没⼀分钟。
The point becoming a software developer is a that it is a worthwhile occupation and one that you need to keep learning and studying throughout the time that you work in the industry.
成为软件开发⼈员的意义在于,这是⼀项有价值的职业,在整个⾏业⼯作期间,您需要不断学习和学习。
回到未来? (Back to the future?)
You’ve got this. You want to venture into a new future as an App developer? Take it seriously, move through this guide and take your time as with any form of learning.
你有这个 您想以应⽤程序开发⼈员的⾝份开拓新的未来吗? 请认真对待,通读本指南,并花时间学习任何形式的学习。
I know you can do it. Just, you know, practice. Well done!
我知道你可以做到这⼀点。 只是,你知道,练习。 做得好!
iphone游戏开发
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论