mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-06 09:41:09 +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.
16 lines
623 B
Objective-C
16 lines
623 B
Objective-C
//
|
|
// RKNotifications.m
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 9/24/09.
|
|
// Copyright 2009 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import "RKNotifications.h"
|
|
|
|
NSString* const RKRequestSentNotification = @"RKRequestSentNotification";
|
|
NSString* const RKRequestDidLoadResponseNotification = @"RKRequestDidLoadResponseNotification";
|
|
NSString* const RKRequestFailedWithErrorNotification = @"RKRequestFailedWithErrorNotification";
|
|
NSString* const RKResponseReceivedNotification = @"RKRespongReceivedNotification";
|
|
NSString* const RKServiceDidBecomeUnavailableNotification = @"RKServiceDidBecomeUnavailableNotification";
|