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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is the best way to resolve storyboard (iOS) conflicts?

3 点作者 skyahead将近 11 年前
When a team of programmers working on a storyboard (managed by git), it is rather painful to merge changes. I know people are saying that using multiple storyboards can mitigate this problem.<p>I wonder if there is a better way?

3 条评论

eonil将近 11 年前
The best way for this is avoiding Storyboard.<p>DVCSs are designed for full error-tolerenceable text based source files. It requires the files are fine to be broken (e.g. for compile). This is the premise to merge data files without any issue.<p>Storyboard&#x2F;IB data files are zero-tolerence. They always require full integrity for their data files. As the internal data is described as a interconnected graph, there&#x27;s no effective way to manage Storyboard&#x2F;IB data files in broken state. Most data files are in this form, and cannot be used in DVCSs.<p>Then, trying to use zero-tolerance data in a system which require full tolerance doesn&#x27;t make sense. At least for merging.
athesyn将近 11 年前
I don&#x27;t see any other option beside 1) building the UI in code again 2) break it up into separate storyboards.<p>The lesson is never to use a storyboard unless your app is a simple collection of screens with a navigation controller.
petervandijck将近 11 年前
We&#x27;re having the same problems, pointers welcome.