Created
May 13, 2012 22:26
-
-
Save alanthonyc/2690508 to your computer and use it in GitHub Desktop.
Global Header File for Objective-C / iOS
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
// | |
// Constants.h | |
// | |
// Created by Anthony Castillo on 5/11/12. | |
// | |
#ifndef MyApp_Constants_h | |
#define MyApp_Constants_h | |
#define ONE_DAY 86400 | |
#define TABLE_SIZE 40 | |
#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
// | |
// Prefix header for all source files of the 'MyApp' target in the 'MyApp' project | |
// | |
#import <Availability.h> | |
#ifndef __IPHONE_3_0 | |
#warning "This project uses features only available in iOS SDK 3.0 and later." | |
#endif | |
#ifdef __OBJC__ | |
#import <UIKit/UIKit.h> | |
#import <Foundation/Foundation.h> | |
#import <CoreData/CoreData.h> | |
#import "Constants.h" | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment