Files
RestKit/Code/Network/RKNotifications.h
Blake Watters 9593612aab Closes gh-47. Initial implementation of OS X build integrating changes submitted by Felix Holmgren (https://github.com/Felixyz/RestKit).
* 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.
2011-04-12 21:02:25 -04:00

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;