HDChina 开放注册了,三天,注册地址在这里,现在好像人很多啊:
http://hdchina.org/signup.php
Tags: HDChina, PT
我在不少 iPhone 程序里面使用自定义的 UITableCellView,比如之前的 80’s Movie Quotes,tableView 表现得很流畅,但是在最近一个项目中,却出现了奇怪的现象。
我自定义了一个 UITableCellView,然后在代码中引用:
// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"MainCell";
MainCellViewController *cell = (MainCellViewController *)
[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"MainCellView"
owner:self
options:nil];
cell = [nib objectAtIndex:0];
}
// Set up the cell...
cell.titleLabel.text = [[content objectAtIndex:indexPath.row] title];
return cell;
}
一切看起来正常,但是在滚动 tableView 的时候,却发现有很卡的感觉,开始以为是我的 Custom UITableCellView 用了太多透明的 png,后来发现不是这样。经过检查,发现问题出在 CellIdentifier 上。
我之前一直以为 CellIdentifier 只要能区分要重复使用的 UITableCellView 就可以了,在使用默认的 tableView 的时候确实表现如此,但是用在自定义 UITableCellView 的时候就不是这样了,感觉是元件没有被缓存,每次都要重新初始化似的。
后来,我为 UITableCellView 在 IB 里面指定了 Identifier,我的 tableView 滚动马上变得平滑了。
这个定义应该可以在代码中实现,不过在 IB 中定义一下还是很方便的。
这个其实很简单,之所以记录一下,是要提醒自己,不能什么都想当然了。
Tags: Cocoa, Identifier, iPad, iPhone, Objective-C, tableView, UITableCellView, UITableView, Xcode
昨晚本来想挺到两点,看一下现场的直播,后来想了想还是决定睡了,对于第二天早上起来就能看到最新的消息,也觉得不错。
结果,半夜三点多,共同封闭开发的同事们上楼来,把我吵醒了。我知道他们是刚看完直播,不然不会这么晚,于是忍不住拿起 iTouch 上网去看一看。结果很失望,不知道为什么,可能是期望太高了吧,看见新出来的 iPad 总觉得不是很舒服。
今天中午看到了一些实际操作的视频,想法却突然有了改变:苹果的 UE 还真是做得很到位啊,一下子对这款 iPad 充满了期待。
回到家以后的第一件事应该就是下一个新的 SDK,感受一下 iPad 模拟器吧?
Tags: Apple, iPad, SDK
来自官网的内容:
Important Message to our Fans
It was always our pleasure, our purpose in life, our passion and we were fortunate enough to make music for you - whether it was live on stage or in the studio, creating new songs.
While we were working on our album these past few months, we could literally feel how powerful and creative our work was – and how much fun we were still having, in the process. But there was also something else: We want to end the Scorpion’s extraordinary career on a high note. We are extremely grateful for the fact that we still have the same passion for music we’ve always had since the beginning. This is why, especially now, we agree we have reached the end of the road. We finish our career with an album we consider to be one of the best we have ever recorded and with a tour that will start in our home country Germany and take us to five different continents over the next few years.
We want you, our fans, to be the first to know about this. Thank you for your never-ending support throughout the years!
We uploaded the very first snippets from our new album for you.
And now… let’s get the party started and get ready for a “Sting in the Tail”!
See you on the world tour,
Yours Scorpions
这个 Blog 的名字就来自于他们的一首 Wind Of Change,我本来想在乐道或者我这里推荐一首他们的歌曲,可是不知道该选哪一首⋯⋯
再见了,Scorpions,天下没有不散的筵席⋯⋯
Tags: Scorpions, Wind Of Change

封闭了有将近一周了,今天比较昏沉沉,可能是早上要参加电话会议,有点起猛了的缘故。于是想到可以推荐点东西了。此歌不算新,我早就想推了,推迟的原因还是因为比较忙,没精力。
这几天的事情还真是不少,尽管我身在人烟稀少的北边,每天 Twitter 的消息却从来没停过。百度、谷歌接连爆出新闻,现在每天早上起来都要看看是不是又发生什么了。
看名字,Russian Red 让我误以为是俄罗斯的,而且听上去也有那股子劲儿。后来才知道,原来这是西班牙的小姑娘。知道之后也没有太感到意外,现在你一提到西班牙,我第一个想到的可能就是《红松鼠杀人事件》,然后可能会是西班牙语的《爱情是狗娘》,然后才是阿莫多瓦,再然后,是斗牛?西班牙,也是一个出人意料的地方。
Russian Red 的声音特点很明显,听过基本上就不会忘记了。它就像锋利的刀片一样,轻轻划开你麻木的听觉,让你上瘾。
OKay。对了,最近听了听 09 年的 50 大唱片,果然发现了一些好歌,准备找时间再推。
Nice Thick Feathers
Russian Red
Read the rest of this entry »
Tags: mp3, Nice Thick Feathers, Russian Red, 西班牙
还让不让人活了?
顺便把 allmusic 也封了得了。
Tags: allmusic, IMDB
今天收到 CS5 Beta 测试的例行邮件,又有新的消息出来。新消息无疑会极大程度上激励开发者,比如我,就琢磨着把之前搁置的一个小项目拿起来。
由于 NDA 的缘故,不能说什么了,不过,相信很快大家就会在 AppStore 中看到更多的 Flash 作品了。
Tags: Adobe, AppStore, CS5, Flash, iPhone
2009 快过去了,积攒的几个邀请现在可以送了。至于 HDChina 是什么,不知道的就跳过好了。以我的经验,这个绝对是目前国内同类网站中最好的了。
高清目前还不是普通大众玩得起的,所以没有足够的时间和带宽还是不要尝试了,免得被 ban。
有意索要邀请的同学,请发邮件到 movie100cn 的 Gmail 邮箱,附上您要注册的邮箱地址,最好详细介绍一下自己对高清的理解,我可不想碰上号贩子。邀请数量有限,恕不一一回复了。
Tags: HD, HDChina, 邀请
This is definitely the longest day in my life, it is still not ended.
So many things happened, so many new person appeared… This day will be remembered, for ever.
BTW, the blog is back.
Tags: blog
Apple 真是,上来最先就说,活动都是基于已经签署的 NDA 协议的,所以,不能拍照、不能摄像也不能写 Blog。我有阵子没有用推,不晓得有人在推上发了什么没有。
认识了一个老外,聊了一会儿,回来加了他的 Linked In,顺便也把“骨头”的名片给了他,或许他们以后有机会合作吧?
我该准备一些关于某个软件的内容了,那是另外一个 NDA,也不能乱说,不过我可以先写了⋯⋯
Tags: Apple, iPhone, WWDR