Question

I'm trying to implement Versions in my Cocoa app. Versioning just works well, the only problem I'm experiencing is when I want to restore a version from the versions browser (with all versions shown in the time machine style).

Setting the option in IB "Visible at Launch" causes the following problem: when browsing through the windows in the versions browser, the actual window gets instantly bigger and then it gets its size back when the clicked window is reached.

Another problem happens when I delete a version: the current window (i.e. the window on the left side) just disappears, and then also the frontmost version window becomes transparent. I noticed this also happens when creating a new project from scratch ...

Is there something I am missing? I would be very grateful for any tip on how to resolve this!

Was it helpful?

Solution

I finally figured it out. This is a bug of Xcode, running the app by double-clicking on the executable instead of inside Xcode there are no problems.

OTHER TIPS

As stated by @mrwalker This happens only when Allow debugging when using the documents Versions Browser is checked.

To remove this commandline option uncheck Allow debugging when using the documents Versions Browser in Xcode Edit Scheme -> Run -> Options.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top