Skip to main content

Posts

Showing posts from May, 2013

Code Review Tool for Objective-C

Clang Static Analyzer The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C programs. Currently it can be run either as a  standalone tool  or  within Xcode . The standalone tool is invoked from the command line, and is intended to be run in tandem with a build of a codebase. The analyzer is 100% open source and is part of the  Clang project. Like the rest of Clang, the analyzer is implemented as a C++ library that can be used by other tools and applications. Download Mac OS X Latest build (Intel-only binary, 10.5+): checker-275.tar.bz2  (built May 23, 2013) Release notes This build can be used both from the command line and from within Xcode Installation  and  usage Other Platforms For other platforms, please follow the instructions for  building the analyzer  from source code. Viewing static analyzer results in Xcode Viewing static analyzer results in a web browser What is Static Analysis? The t

Password Protect Folders & Files in Mac OS X with Encrypted Disk Images

How to Password Protect Files & Folders in Mac OS X with Disk Images Do this along with  general password protection  for maximum effect. Launch “Disk Utility” located in /Applications/Utilities Click on the “New Image” button at the top of the app Name the disk image and set a file size that is appropriate for what you intend to store in there Click on the contextual menu alongside “Encryption” and choose either 128 or 256-bit encryption (256 is stronger) Click “Create” At the next screen you will set a password to access the folder – do not lose this password, you will not be able to open the disk image if you do Optional: Uncheck the box next to “Remember password in keychain” – only do this if you’re the only user on the Mac, otherwise anyone can open the image without the password Click “OK” to create the disk image The encrypted disk image is now created. Now you need to locate the image, mount it which will require the password set in the creation proce

Disable ARC for a single file in a project?

Select project file then  ->  Targets  ->  Build Phases  -> Compile Sources.  adding the  -fno-objc-arc  compiler flag for those files.