Posts Tagged ‘Apple’

21
Mar

iPad 开发初探

   Posted by: 边城浪子    in Apple & Mac, iPhone & iPad

因为 Apple 宣布开始接受 iPad App 的 Review,而且要赶在 27 号之前,所以我着急忙慌的将之前的 iPhone App 做一下改装。本来没想这么快就开发 iPad App,所以只能借助官方的 iPad Programming Guide 来进入。

之前在小屏幕上,不断的切换 UIView,倒是很方便的,而且内存泄露也很好查。现在这些 PopoverController、RootViewController、DetailViewController 以及 SplitViewController 混在一起,之前跑得好好的代码又出现了轻微的泄露,害得改了半天。

开发 iPad App,如果不常使用 delegate 的话,就会比较麻烦了。比如你要写 PopoverView,那么如果不通过 delegate(或者用 notification,不过没必要),那么就会费很大的劲儿。感觉上,现在 iPad App 更像是在开发一个真正意义上的应用了。

在我的第一个 iPad 应用中,除了 SplitView 自己有一个 Popover 以外,我自己还有一个 Popover,当用户按下上面的按钮的时候,需要关闭 Popover 并且将更改的数据传回主程序,同时刷新 RootViewController 里面的 tableView。以前我直接将数据传给一个 UIView,然后再 Push 它就可以了,现在则需要用 delegate。下面是核心的代码,其实很简单喽:

#pragma mark -
#pragma mark 选择代理
-(IBAction)dateSelectorButtonPushed:(id)sender {
 
	// 获取 target
	DateViewController *parent = (DateViewController *)sender;
 
	// 重新读取数据
	RootViewController *rootViewController = 
	     (RootViewController *)[[[UIApplication sharedApplication] delegate]
			     rootViewController];
	[rootViewController setDateMonth:parent.monthNow Day:parent.dayNow];	
	[rootViewController readContent];
 
	// Dismiss
	[self.popoverController dismissPopoverAnimated:YES];
	self.popoverController = nil;	
}

总的来说,移植还是满快的,我已经提交到 iTunes Connection 去了,上传界面多了 iPad 的截图文件上传,其它倒也没看见什么大变化。现在 Waiting For Review 了。

Tags: , , , , , ,

28
Jan

Apple iPad

   Posted by: 边城浪子    in Apple & Mac, 乱七八糟, 多了解点儿

昨晚本来想挺到两点,看一下现场的直播,后来想了想还是决定睡了,对于第二天早上起来就能看到最新的消息,也觉得不错。

结果,半夜三点多,共同封闭开发的同事们上楼来,把我吵醒了。我知道他们是刚看完直播,不然不会这么晚,于是忍不住拿起 iTouch 上网去看一看。结果很失望,不知道为什么,可能是期望太高了吧,看见新出来的 iPad 总觉得不是很舒服。

今天中午看到了一些实际操作的视频,想法却突然有了改变:苹果的 UE 还真是做得很到位啊,一下子对这款 iPad 充满了期待。

回到家以后的第一件事应该就是下一个新的 SDK,感受一下 iPad 模拟器吧?

Tags: , ,

2
Dec

参加了 WWDRChina

   Posted by: 边城浪子    in iPhone & iPad

Apple 真是,上来最先就说,活动都是基于已经签署的 NDA 协议的,所以,不能拍照、不能摄像也不能写 Blog。我有阵子没有用推,不晓得有人在推上发了什么没有。

认识了一个老外,聊了一会儿,回来加了他的 Linked In,顺便也把“骨头”的名片给了他,或许他们以后有机会合作吧?

我该准备一些关于某个软件的内容了,那是另外一个 NDA,也不能乱说,不过我可以先写了⋯⋯

Tags: , ,

转帖的,但是此消息比较震惊啊!

Earlier today, Adobe revealed Flash Player 10.1 for smartphones, the company’s fastest and most efficient form of flash for mobile phones yet. Android, Symbian, Windows Mobile, webOS, BlackBerry…all of these phones will support Flash Player 10.1 by mid-2010. But the iPhone was nowhere to be found.

The problem: Adobe and Apple have been playing a painful game that has resulted in a lack of Flash support for red-hot smartphone. Apple doesn’t seem enthusiastic about adding Flash support, Adobe isn’t pushing hard enough. But at the Adobe MAX Conference, the rich Internet application software company announced support for Flash. Sort of.

It’s actually a new addition to Adobe Flash Professional CS5. Adobe has added the ability for Flash developers to export their work into iPhone app format, without the need to rebuild the entire app from scratch. You could soon see your favorite Flash games and web apps in the iTunes App Store.

The announcement is a great one for developers who have had to rebuild code to make their apps iPhone-friendly. However, this does nothing to place Flash inside the iPhone Safari browser. Until this happens, we won’t be satisfied. Flash is a core component of the web. Hopefully Apple realizes this sometime soon.

From:http://mashable.com/2009/10/05/iphone-flash/

Tags: , , , , ,

24
Oct

还有三天?还是就在今天?

   Posted by: 边城浪子    in 多了解点儿

OSX今早例行查看各个 Torrent List,结果在 Torrentbytes 发现了这个东西:“APPLE.MAC.OSX.LEOPARD.V10.5.ISO-OSX”——是豹子啊!看来不用等到 10 月 26 日的全球发布,今天已经可以开始下载了,一共 6G 多的一个 ISO,进入下载页以后,里面大摇大摆的写着:“You know what this is”,我现在正在下载中,目前 Seeder/Leecher = 17/99……

最近有机会用了用 Windows Vista,还真是挺不习惯的,而且好像问题也不少,用起来不太爽。如今,Leopard 终于面世,估计坊间又会多了不少谈资,像我这样的家伙也会重装系统,慢慢体验豹子的魅力。

继续忙去啦~~

Tags: , ,

29
Jan

Apple 的调查问卷

   Posted by: 边城浪子    in Apple & Mac

今天一早就接到 Apple 发来的调查问卷,怒长的一个。作为水果用户,就硬着头皮配合填一下吧,结果发现里面有些内容是关于便携式媒体播放器的,另外还问到常看的电视节目、杂志,还有常用的支付方式。这个不免给人一种感觉,那就是水果公司可能有准备要开拓中国的内容市场。是啊,就算你打算用信用卡结账,在 iTunes 上面还是被拒之门外,这简直是一种歧视啊?莫非,现在时机开始成熟了?不知道,拭目以待吧。

Tags:

10
Jan

iPhone !!!

   Posted by: 边城浪子    in Apple & Mac

iPhone如果说有什么东西是真正“千呼万唤始出来”的话,我想在今年,能够被这么称呼的东西只有 Apple 的 iPhone 了,M$ 的 Vista 注定仍旧是个垃圾。在今天的 Macworld2007 上,乔布斯向大家发布了 iPhone。

用 Keynote 上的一句话来介绍的话,就是:“苹果重新发明了电话”:iPod + Phone + Internet。Multi-Touch 技术使得用户可以不用触控笔,在屏幕上进行快速的输入,3.5 吋屏幕,高解析 320 by 480 at 160 ppi,115 x 61 x 11.6mm,135 grams,GSM,200 万像素相机,WiFi(802.11b/g) + EDGE + Bluetooth 2.0,手机屏幕上只有 Home 这一个按键,--苹果的简约是大家所熟悉的。内建 4 到 8 G 内存,而且令人惊讶的是:运行在 OS X 上!还有 Safari 浏览器--这简直就是传说中的梦幻手机!但是却是真实的从乔布斯口中发布出来! Read the rest of this entry »

Tags: , ,

13
Sep

iTunes 7.0

   Posted by: 边城浪子    in Apple & Mac

今天装上了最新发布的 iTunes 7,废话不说,上一张图片:我的 CD 架,馋死 pawaca 的 CD 架 Read the rest of this entry »

Tags: , ,

13
Sep

我终于成了 Fans?

   Posted by: 边城浪子    in Apple & Mac

Apple很遗憾,我一直没有机会成为一个真正意义上的 Fans,我想如果黄家驹还健在的话,或许我有可能成为 Beyond 的真正 Fans,可惜,我再也没有这机会了。

自从我买了 iPod 以后,就对水果公司赞不绝口,虽然我在几年前就工作在一台 PC、一台激光打印机以及一台 Mac 面前,但是一直没找到感觉。而当我拥有了一台自己的 MacBook 之后,我发现自己真的变成了一个 Fans。

首先,我会喋喋不休的向朋友们推荐水果公司的产品,并且告诉他们水果的 MacOS 有多来劲儿。MacBook 的推出,是对个人电脑市场的一个巨大冲击,积蓄了多年的力量仿佛在一瞬间释放出来,让人赞叹不已。 Read the rest of this entry »

Tags: ,