Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 1 KB
//
// Prefix header for all source files of the 'Test' target in the 'Test' project
//
#import <Availability.h>
#ifdef DEBUG
#define DLog(...) NSLog(__VA_ARGS__)
#define ALog(...) [[NSAssertionHandler currentHandler] \
handleFailureInFunction:[NSString stringWithCString:__PRETTY_FUNCTION__ \
encoding:NSUTF8StringEncoding] file:[NSString stringWithCString:__FILE__ \
encoding:NSUTF8StringEncoding] lineNumber:__LINE__ description:__VA_ARGS__]
#else
#define DLog(...) do { } while (0)
#define NS_BLOCK_ASSERTIONS
#define ALog(...) NSLog(__VA_ARGS__)
#endif
#define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)
#ifndef __IPHONE_3_0
#warning "This project uses features only available in iPhone SDK 3.0 and later."
#endif
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "TouchXML.h"
#endif
#define kCellIdentifier @"kCellIdentifier"
#define kFeedURL @"kFeedURL"