Everything iOS9 (but updated for 10!)

所在平台: Udemy

课程主页: https://www.udemy.com/course/ios9-video-tutorials/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:一切关于 iOS 9(但已更新至 10!) 课程概述: 本课程提供了一系列针对 iOS 9 主题的视频教程,所有示例均使用 Swift 语言、SpriteKit 以及 Xcode 7/8,适用于 iOS 和 tvOS。课程内容经过更新,包括基于 Swift 3 的源代码,并保持了与 Swift 2.2 代码的微小差异。 主要内容包括: 1. **按需资源**:探讨如何通过 Swift 代码加载按需资源(ODR),显著减少应用的初始体积,仅在需要时下载内容。 2. **拍照与相册访问**:编写 SpriteKit 和 Swift 基于的应用,允许用户将照片从相机或相册中添加到游戏中,并进行图像的编辑和调整。 3. **应用内购**:学习如何在 iOS 或 tvOS 应用中销售可消费和不可消费产品。 4. **NSUserDefaults 管理**:基于 Swift 2 的数据持久化,保存用户设置和游戏状态等信息,使数据在应用关闭后仍然保留。 5. **键盘输入**:创建输入视图,从中捕获用户输入并进行存储,适用于设置父母验证等功能。 6. **解析属性列表**:使用 Swift 2 解析 plist 文件,组织数据并通过游戏场景处理“升级”机制。 7. **NSNotification 使用**:通过 NSNotifications 实现类间的数据传递,保持良好的 MVC 结构。 8. **助手类**:创建可重复使用的助手类,包括静态变量和函数。 9. **游戏中心**:与 Game Center 结合,实现分数提交和成就解锁的功能。 课程没有推荐的观看顺序,您可以直接跳入任何主题进行学习。

课程评论(0条)

课程详情

**** UPDATE - We've included source projects updated for Swift 3. The code changes from Swift 2.2 to 3 were VERY minor changes (as you'll see from the code)! With that said, here's our original description for the course with plenty of references to Swift 2 and Xcode 7...This series of videos will focus on iOS9-related topics. All of these use Swift, SpriteKit, Xcode 7/8 and apply in most cases to both iOS and tvOS. There is no recommended viewing order for these topics. Jump right into any of the topics below: On-Demand Resources in iOS9 In this video tutorial we will discuss the Swift code related to loading On-Demand Resources, or simply ODR. ODR can drastically reduce the initial size of your app, and allow your users to only download what they need, when they need it. For example, you could hold off loading images / sounds for level 2 of a game if the player will still stuck on level 1. Take Photos and Access the Camera Roll then Use them in a Sprite Kit Game! Learn how program a SpriteKit and Swift 2 based app that allows user's the option to add pictures from their camera or camera roll into the game or scene, mask the images, then adjust the layout of the picture within the mask (zoom in / out, move it, rotate, squash and stretch it). The edited masked-image can then appear in ANY other scene throughout the lifespan of the app (it's saved as an NSUserDefault). In-App Purchasing for iOS or tvOS Apps Learn how to sell Consumable and Non-Consumable Products in your iOS9 or tvOS, Swift 2-based Sprite Kit App. NSUserDefaults with Swift 2 (and how to save the location of nodes) In this tutorial, we'll look at saving various types of data to the NSUserDefaults. The NSUserDefaults is great for information that you want to exist even if the app is closed and reopened. As long as the user does not delete the app entirely, the data is still there (the data is basically like a property list that is saved at runtime). So we'll look at saving String objects, Ints, Bools, Arrays and finally a Dictionary (where objects are moved at runtime and their location is saved for the next time the app is run). Keyboard Input with Swift 2 for iOS and tvOS This video tutorial will teach you how to open a view to enter keyboard input, close it and save the entered values as an NSUserDefault. Along the way you'll also see how to include placeholder text (to easily adjust the width / height, font, and font size of the input area), include custom fonts for the input text, and test the values of the input text. For example, you could include a Parental Gate in your app that prompts parents to enter a specific value, like 12 + 3, then test to see if they typed in 15. This code has been test on both iOS and tvOS devices. Parsing a property list with Swift 2 In these videos you will learn how to parse a property list with Swift 2 and organize data (Strings, Numbers, Arrays or Dictionaries with native Swift types). Plists are useful for just about any iOS / tvOS app, but in this particular example, we will create hypothetical level data (an Array of Dictionaries), and discuss reloading the same GameScene class while "leveling up" each time. NSNotifications with Swift 2 In this Swift 2 video tutorial, we will work with NSNotifications to call functions / send data between classes without breaking good MVC pattern (for example, having subviews send info to parent views). In our example, we'll make the GameScene post a notification to the GameViewController. We'll even pass dictionary data using the userInfo parameter. Helper Classes with Swift 2 In this short video tutorial, we'll look at creating static variables and functions in a Helper class with Swift 2. This Helpers class will be accessible to any other class in your app, so it's great for reusable functions and saving certain variables. This is similar to working with Singleton classes, and for good measure, we'll even create a Singleton class to show you the subtle differences. Game Center - Achievements and Leaderboards In these Swift 2 video tutorials, we will work with Game Center to post scores to a Leaderboard and note progress toward unlocking Achievements. This of course involves setting up both a Leaderboard and Achievement in iTunes Connect, then authenticating the local player, and all the code involved with posting to Game Center. As always, you'll learn every step of the code. The finished project is SpriteKit and Swift 2 based.

课程标签

0人关注该课程

主题相关的课程