读来自APple的ioS开发指南

基本申明:需要安装在Inter-based macintosh计算机上,进行开发

Development of iOS apps requires an Intel-based Macintosh computer with the iOS SDK installed.

把你的想法转化为可行计划:

iOS程序很依赖设计模式,设计模式决定了需要多少代码完成程序,也决定了困难程度,因此我们建议尽可能研究现有的解决方案成熟设计模式,并使用他们。

最基本的原始的模式

● Model-View-Controller—This design pattern governs the overall structure of your app.

MVC是所有带有UI的程序的基本
● Delegation—This design pattern facilitates the transfer information and data from one object to another.

通过设置Delegate,可以完成灵活的组合,将对象A的信息,在对象B中任意使用
● Target-action—This design pattern translates user interactions with buttons and controls into code that
your app can execute.

目标行动,这个一般就是通过IAction来的吧,连接UI和Controller的
● Block objects—You use blocks to implement callbacks and asynchronous code.

匿名函数,可以这么理解^(参数,,,){代码&返回值}
● Sandboxing—All iOS apps are placed in sandboxes to protect the system and other apps. The structure of
the sandbox affects the placement of your app’s files and has implications for data backups and some
app-related features.

沙漏,这个在phone 7.5中也是同样的概念

 

UIKit提供了你程序的核心模块:

我们的要求是熟悉核心的APp对象,尤其是UIkit中的组件。

Understanding the role these objects play, and how you modify them to customize the default app behavior, is therefore very important for writing apps quickly and correctly.

程序在前台和后台运行的时候必须不一样:

Transitioning between the foreground and background states involves changing several aspects of your app’s behavior:程序只有一个前台线程。

iCloud对你的数据层和UI层的设计有很大的影响:

iCloud允许你把数据在不同的程序实例(在不同的设备上的)之间非实时的共享数据。由于数据可能被多程序同时访问,必须考虑同步操作防止数据破坏,同时采用icloud的数据作为data model也会影响到如何进行UI绑定。

Because files in iCloud are accessible by more than just your app, all file operations must be synchronized to prevent data corruption

众多的程序行为需要定制

所有程序的基本架构可能是一样的,但总有一些高层次设计就不一样的程序,比如VOIP程序。这些会涉及一些高级功能

App必须是性能优化过的

从标题来看,性能优化对于iOS开发来说是必须学习的!好的app多是性能优化过的,性能优化不只是写出效率更高的代码,它常意味着:你必须考虑UI响应时间,你必须考虑电池使用时间,必须考虑到程序不会影响其它系统资源

 

迭代.
App development is an iterative process. As you add new features, you might need to revisit some or all of the preceding steps to make adjustments to your existing code.
APP开发是个逐渐迭代的过程,你增加了新功能,就需要回顾之前的步骤去调整,步骤可能和之前的一样,考虑用什么pattern,用不用storayboard,修改好代码后进一步测试。

其它推荐(APPle官方资料):

Developing for the App Store 是关于如何配置你的开发环境以及发布到store的介绍

iOS human interface guildeline是关于app用户体验的指导,以及一些小tips,当然也涉及了iosAPP 人机交互方面的基本哲学。

iOS techonolog overview是关于提供iOS能做到什么样的一个说明,以及什么情况下你大概可以用什么技术,因此是一个在项目初期进行brainstorming的很好的参考书

iOS Core Data Programming Guide .

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值