This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Useful Macros. | |
// The best place to import this is in your project's pch file. | |
// See http://www.cimgf.com/2010/05/02/my-current-prefix-pch-file/ for details. | |
// Most current version at https://gist.github.com/325926 along with usage notes. | |
#ifndef jcscommonmacros | |
#define jcscommonmacros_1_0 10000 | |
#define jcscommonmacros jcscommonmacros_1_0 | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: http://snipt.net/yonishin/about-xcode-4-project-template | |
XCode 4 Projects and Files Template Folder: /Developer/Library/Xcode/Templates | |
Examples: | |
/Developer/Library/Xcode/Templates/Project Templates/Base/Other/Empty.xctemplate | |
/Developer/Library/Xcode/Templates/Project Templates/Base/Base.xctemplate | |
/Developer/Library/Xcode/Templates/Project Templates/Mac/Mac Base.xctemplate | |
/Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Command Line Tool.xctemplate | |
/Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Cocoa Application.xctemplate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UIViewController+ModalCheck.h | |
// | |
// Created by Felipe Sabino on 06/14/11 | |
#import <UIKit/UIKit.h> | |
@interface UIViewController (ModalCheck) | |
-(BOOL)isPresentedAsModal; |