[p4] Working with NIB files?
Wesley Griffin
wgriffin at fraktured.net
Wed Dec 5 11:58:23 PST 2007
I'm working on an OS X project using Xcode and Interface Builder. I've
got a few NIB files and I added the project to my repository using the
command:
find BaseDirectory -type f | p4 -x - add
It looks like Perforce knows what the files are, as P4V says the file
kind is 'NibDocumentType' and they exist in the depot.
It also looks like p4 maintains the files in the NIB unlocked so that
IB doesn't complain. If that is the case (and not some odd behavior in
my setup) then is there an easier way to work with NIB files besides
switching over the P4V, manually doing a Check Out on the NIB
directory when I want to make changes?
The reason I ask is that I like that Xcode prompts me to SCM Edit
source files, since they are locked, and that automatically adds them
to the changelist. But if I'm in Xcode and double-click on a NIB, I
don't get any prompt and I've found myself forgetting that I've
modified a NIB and that it needs to be checked in.
Thanks,
Wes
More information about the perforce-user
mailing list