views:

32

answers:

2

Hi Acidentally locked my rootviewcontroller.h file in my application, so if i write some code

in that file it shows "Not Writable RootViewController.h", i am a beginer so please help me how to unlock that .h file.

thanks in advance

A: 

You can lock/unlock file easily by using the lock button (see below) in the text editor's navigation bar. See the XCode Workspace Guide for details.

alt text

Laurent Etiemble
thank you, Laurent
mac
A: 

solution, thats small mistake,

heres a solution, this may help some beginer like me,

if u need to protect your file from editing, you can select that file , and click the lock icon, that will be appear above split window icon, in xcode,(right edge). so that u cannot make changes on that file, if u need to unlock, just click once again.

thats it,

mac