See, I want to lock my code, How do this?
Asked
Active
Viewed 3,846 times
2 Answers
6
It's same with Xcode 7 or early. * Select your file and find the Full Path in Xcode, then open it in Finder.
- Get Info and checked the
Locked
.
- Last, check the file in Xcode.

LuHsu152
- 61
- 4
-
Thank you, pictures could guide me through the operation, my English is so bad! – 碧野MAX Sep 20 '16 at 07:39
2
To lock file is possible with the Finder, it is much more troublesome when you need to lock multiple files. The long way now involves right clicking the file in the Project Navigator and selecting Show In Finder. Using Get Info (Cmd-I) will allow you to select Locked. When you do this, the lock symbol will appear in the top-right corner of the source editor, which you can click to Unlock the file.

riddhi
- 316
- 2
- 16