Xcode / Interface Builder - 从设计师到编码员的更好工作流程?
在构建 OSX / Cocoa 和 iPhone / iPad 应用程序时,我们正在处理一些非常自定义的 UI 元素。我想知道是否有人有好的建议或技巧,可以在使用 Xcode / Interface Builder 时在 UI 设计师和编码人员之间获得更好的工作流程?
似乎很多事情都需要在 Cocoa 中进行 UI 编辑的编程设置...如果您偏离了预先构建的 UI 元素,那么您就无法真正轻松地拖放构建 UI...相反,我们最终会交付设计doc(photoshop/illustrator),然后可怜的开发人员必须用代码或使用界面生成器(通常是两者的组合)重新创建这个杰作。
这个工作流程导致我们得到的结果不太好,我们必须重新迭代 UI 元素以使它们更好地工作。
我们喜欢 CSS 和/或 Flash 设计师到开发人员的工作流程,其中 UI 可以看起来完全符合其应有的效果,并且向开发人员的移交更加无缝。
在使用 Xcode / Interface Builder 等工具和制作 Cocoa 应用程序时,是否有人有一些技巧或见解来获得更好的工作流程?
Were dealing with some pretty custom UI elements while building our OSX / Cocoa and iPhone / IPad apps. I was wondering if anyone has good recommendations or tricks for getting a better workflow between UI designers and coders while using Xcode / Interface Builder?
It seems that many things require programmatic settings with UI editing in Cocoa... if you stray from the pre-built UI elements then you can't really easily drag-drop build a UI... instead we end up handing off a design doc ( photoshop/illustrator ) and then the poor developer has to deal with recreating this masterpiece in code or by using interface builder - usually a combination of both.
This work flow is leading us to not so great results and we have to re-iterate around the UI elements to get them to work better.
We love CSS and / or Flash designer to developer workflow where the UI could look exactly as it should and the hand off to developer was more seamless.
Is there anyone out there who has some tricks - or insights into getting better workflow when using tools like Xcode / Interface Builder and doing Cocoa apps?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您需要为自定义 UI 组件创建 Interface Builder 插件。这将允许您的设计人员直接在 Interface Builder 中使用实际控件,就像他们使用内置控件一样。
有关如何构建 Interface Builder 插件的文档为 此处。
Brandon Walkin 的 BWToolKit 是如何实现 Interface Builder 插件的一个很好的示例。源代码位于此处,可能值得一看。
It sounds like you need to create Interface Builder plug-ins for your custom UI components. This will allow your designers to use your actual controls directly in Interface Builder, just like they use the built-in controls.
The documentation on how to build an Interface Builder plug-in is here.
An excellent example of how to implement Interface Builder plug-ins is Brandon Walkin's BWToolKit. The source code is here, it's probably worth having a look at it.