mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-03 17:55:10 +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.
24 lines
761 B
Objective-C
24 lines
761 B
Objective-C
//
|
|
// RKNotifications.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 9/24/09.
|
|
// Copyright 2009 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/******************
|
|
* Request Auditing
|
|
*
|
|
* RKClient exposes a set of NSNotifications that can be
|
|
* used to audit the request/response cycle of your application.
|
|
* This is useful for doing things like generating automatic logging
|
|
* for all your requests or sending the response times
|
|
*/
|
|
extern NSString* const RKRequestSentNotification;
|
|
extern NSString* const RKRequestDidLoadResponseNotification;
|
|
extern NSString* const RKResponseReceivedNotification;
|
|
extern NSString* const RKRequestFailedWithErrorNotification;
|
|
|
|
extern NSString* const RKServiceDidBecomeUnavailableNotification; |