如何实现类似于 OS X Lion Mail 中的对话的自定义视图?
我想知道如何实现类似于邮件中对话视图的视图(对于 Lion)。
http://images.apple.com/macosx/whats-new/images /mail_conversation_screen.jpg
我想要看起来像一张纸放在背景上的效果。
我认为它可能只是一个基于视图的表视图。
朝着正确的方向推动就好了。只需要知道到哪里去寻找如何去做。
提前致谢。
I'm wondering how to implement views similar to the conversation views in mail (for Lion).
http://images.apple.com/macosx/whats-new/images/mail_conversation_screen.jpg
I want the effect where it looks like a sheet of paper laying on the background.
I'm thinking that it may just be a view based table view.
A nudge in the right direction would be fine. Just need to know where to look to find out how to do it.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可能是基于视图的表格视图,或者只是具有一些简单平铺逻辑的普通容器视图(即“滚动每个子视图并设置它们的框架”)。不过,您正在寻找的效果可以通过启用背景阴影的图层支持视图轻松实现。
有几种完全有效的方法可以实现此目标(布局和绘图部分)。选择一个,沿着路径开始,然后在出现问题时发布问题。
It could be a view based table view or just a normal container view with some simple tiling logic (ie, "roll through each subview and set their frames"). The effect you're looking for, though, can be easily accomplished with layer-backed views with a background shadow enabled.
There are several perfectly valid approaches to this goal (the layout and drawing parts). Pick one, start down the path, then post questions as problems arise.