mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 22:42:51 +08:00
* Factored out display of alerts into RKAlert interface that hides the differences between UIKit and OS X Cocoa. * Added macosx to supported platforms to enable build on OS X. * Configured project to use conditional architectures to enable building on OS X and iOS from the same targets. * Implemented a bare-bones OS X example app. * Create `rake build` task for building RestKit against iOS and OS X SDK for quick testing.
20 lines
395 B
Objective-C
20 lines
395 B
Objective-C
//
|
|
// RKAlert.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 4/10/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
* Presents an alert dialog with the specified message
|
|
*/
|
|
void RKAlert(NSString* message);
|
|
|
|
/**
|
|
* Presents an alert dialog with the specified message and title
|
|
*/
|
|
void RKAlertWithTitle(NSString* message, NSString* title);
|