Skip to content

Instantly share code, notes, and snippets.

@alanthonyc
Created May 13, 2012 22:26
Show Gist options
  • Save alanthonyc/2690508 to your computer and use it in GitHub Desktop.
Save alanthonyc/2690508 to your computer and use it in GitHub Desktop.
Global Header File for Objective-C / iOS
//
// 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
//
// 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