TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Crazy easy dialogs for iOS devs: QuickDialog

65 点作者 escoz将近 14 年前

5 条评论

Zev将近 14 年前
Interesting idea. But, I don't necessarily like it.<p>You're moving the display logic for a view controller to be outside of the view controller. You now have to know where a view was created and presented from in order to change any of the view's content around at a later date. With tableView:cellForRowAtIndexPath:, you don't have to worry about where it came from, because the view controller is responsible for managing its own content.<p>Also: as an aside, you should be caching all of your NS*Formatter objects at a per-thread level, rather than recreating every time you need them -- formatters are very expensive to create and set up.
评论 #2895090 未加载
chubs将近 14 年前
Looks fantastic! Great work. Until i read "the library depends on ARC for memory management" - unfortunately that'll rule out its use for me :( Having said that, i look forward to one-day-when i get to use this in an ARC app :)
评论 #2893924 未加载
评论 #2895093 未加载
acidblue将近 14 年前
Thanks for the notification. I plan on pulling the code and trying it out!<p>(On another note, ARC is a very welcome addition to the language.)
评论 #2897386 未加载
评论 #2895106 未加载
gmac将近 14 年前
Looks handy. Did I miss it, or is no licence specified?
评论 #2895101 未加载
marcomonteiro将近 14 年前
Looks cool but if possible remove the dependence on ARC.
评论 #2893598 未加载
评论 #2895108 未加载