start developing ios apps today.pdf PartI:Introduction知识点汇总

PartI:Introduction  summary(这章主要是介绍如果获得app开发的tools,以及对一些object-c概念的回顾)

(以下黑体字旁边为个人理解,如有不准还请指出)

Objects(对象) package data with related behavior;

class(类) describes the behavior and properties common to any particular type of object.

You make an object by creating an instance(对象实例) of a particular class.

When you allocate(分配) an object, you set aside enough memory for the object and set all instance variables to zero

Initialization(初始化) sets an object’s initial state—that is, its instance variables and properties—to reasonable values and then returns the object.

class inheritance(类的继承), the idea that a class inherits behaviors from a parent class

When one class inherits from another, the child—or subclass(子类)—inherits all the behavior and properties defined by the parent.

Objects interact by sending each other messages at runtime. In Objective-C terms, one object sends a message to another object by calling a method(调用方法) on that object.

If you have an object somePerson of class XYZPerson, you can send it the sayHello message like this:

[somePerson sayHello];  (个人理解左边是对象,右边是调用的对象方法)

protocol(协议) defines a set of behaviors that are expected of an object in a given situation.

Automatic Reference Counting (ARC) makes memory management straightforward by getting the compiler to keep track of who owns an object;

An instance of the UIApplication class, called the application object  (应用对象)

An instance of the AppDelegate class, called the app delegate (应用委托).

The app delegate creates the window where your app’s content is drawn and provides a place to respond to state transitions within the app.

As your app starts up, the application object calls predefined methods on the app delegate to give your custom code a chance to do its job

The app delegate interface contains a single property: window. With this property the app delegate keeps track of the window in which all of your app content is drawn.

storyboard is a visual representation of the app’s user interface, showing screens of content and the transitions between them. You use storyboards to lay out the flow—or story—that drives your app.

时间: 2024-12-16 01:01:26

start developing ios apps today.pdf PartI:Introduction知识点汇总的相关文章

start developing ios apps today.pdf--小结1

小结: 用了3天时间看了2遍apple官方入门书籍,感觉还是很不错的,第一遍不是很明白里边的一些概念,仅仅硬着头皮熟悉那些概念大概描述的是什么,然后把示例app给做了出来,第二遍结合程序以及源代码返回去看,收获颇多. start developing ios apps today.pdf这本书总共有4个part,每一个part都先介绍一些基础知识,然后提供一个tutorial教程教你如何完成一个简单的todolist app,跟着3个tutorial打一遍代码后大概对ios的开发有了一个初步了解

Start Developing iOS Apps Today

https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/ Start Developing iOS Apps Today(中文) 简介 创造 iOS 应用既有乐趣又有回报,如果你正在初学开发,可能会为从何着手而感到困惑.这份路线图为 iOS 应用开发入门提供了一个完美的开端.在你的 Mac 电脑上便可以创造出 iOS 应用,并在 iPad.iPhone 和 iPod touch 上安装使

Start Developing iOS Apps Today系列(十三)

Start Developing iOS Apps Today系列之后续 十三.查找信息 开发应用程序时,您会希望先前了解或不了解的信息都随手可查.其实无需离开 Xcode,您便能获得所需的一切信息. Xcode 附带了大量不同类型的系列文稿,包括通用指南和概念指南.框架和类参考资料,以及重点帮助文章.访问此类文稿的方式多种多样,如按住右键点按 Xcode 的各个区域来了解其使用方式.打开主项目窗口中的"Quick Help"面板来获得上下文相关的代码帮助,或者在"Docum

Differences Between Xcode Project Templates for iOS Apps

Differences Between Xcode Project Templates for iOS Apps When you create a new iOS app project in Xcode, you get to choose between several project templates, from the aptly named “Empty Application” to specialized things like an “OpenGL Game”. I noti

Adding AirDrop File Sharing Feature to Your iOS Apps

http://www.appcoda.com/ios7-airdrop-programming-tutorial/ Adding AirDrop File Sharing Feature to Your iOS Apps october 30, 2013 by simon ng 12 comments AirDrop is Apple’s answer to file and data sharing. Before the debut of iOS 7, users need to rely

史上最全最完整的IOS 游戏开发 PDF电子书定制下载

<iOS 5游戏开发>作者:(新西兰)James·Sugrue著 页数:191 出版社:北京市:人民邮电出版社 出版日期:2012.08 简介:<iOS5游戏开发>是一本iOS5游戏开发的基础入门书.全书使用通俗易懂的简单实例,带领读者经历构建经典动作游戏的整个周期.读者在本书的阅读过程中,将经历从开发概念.规划设计一直到编写实际代码的全过过程.本书的每一章,都将演示游戏创建过程中的一个逻辑步骤,读者将在其中学习如何创建Sprite,用触摸屏.重力感应器和屏幕游戏棒控制玩家角色等-

IOS 预览pdf,word文档的集中方式

在iPhone中可以很方便的预览文档文件,如:pdf.word等等,这篇文章将以PDF为例.介绍三种预览PDF的方式,又分别从本地pdf文档和网络上的pdf文档进行对比. 预览本地PDF文档: 1.使用UIWebView控件 UIWebView是iPhone开发中最常用的控件之一,类似.net中的webBrowser控件.使用它预览PDF文件相当的方便和简单. 在UIWebView中预览PDF文档的关键代码如下: 效果: 2.使用CLPreviewController CLPreviewCont

ComponentOne Xuni助力Xamarin开发者突破百万,快速开发Android、IOS Apps

在微软Build 2015上,随着VS 2015的预览版发布,Xamrine免费版已经作为VS 2015跨平台移动解决方案的核心.与此同时,Xamarin官方也宣布其用户量达到百万之多.2011年7月,Xamarin 开始使用C#开发IOS和Android app,截止2015月4月29日,用户量到达了百万,下面我们就新功能做一些分享: Xamarin.Forms for Windows Xamarin.Forms for Windows 8.1 and Windows Phone 8.1 今年

自己总结的 iOS ,Mac 开源项目以及库,知识点------持续更新

自己在 git  上看到一个非常好的总结的东西,但是呢, fork  了几次,就是 fork  不到我的 git 上,干脆复制进去,但是,也是认真去每一个每一个去认真看了,并且也是补充了一些,感觉非常棒,所以好东西要分享,为啥用 CN 博客,有个好处,可以随时修改,可以持续更新,不用每次都要再发表,感觉这样棒棒的 我们 自己总结的iOS.mac开源项目及库,持续更新.... github排名 https://github.com/trending,github搜索:https://github.