Skip to content

Commit

Permalink
Update to version 1.0.58
Browse files Browse the repository at this point in the history
  • Loading branch information
fictorial committed Jul 13, 2012
1 parent cfa05d4 commit e039f47
Show file tree
Hide file tree
Showing 35 changed files with 82 additions and 3 deletions.
Binary file removed Parse.framework/Versions/1.0.49/Parse
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@class PFUser;

// Version
#define PARSE_VERSION @"1.0.49"
#define PARSE_VERSION @"1.0.58"

extern NSInteger const PARSE_API_VERSION;

Expand Down
58 changes: 58 additions & 0 deletions Parse.framework/Versions/1.0.58/Headers/PFInstallation.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
//
// PFInstallation.h
// Parse
//
// Created by Brian Jacokes on 6/4/12.
// Copyright (c) 2012 Parse, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PFObject.h"

/*!
A Parse Framework Installation Object that is a local representation of an
installation persisted to the Parse cloud. This class is a subclass of a
PFObject, and retains the same functionality of a PFObject, but also extends
it with installation-specific fields and related immutability and validity
checks. A valid PFInstallation can only be instantiated via
[PFInstallation currentInstallation], because the required identifier fields
are readonly.
PFInstallation objects which have a valid deviceToken and are saved to
the Parse cloud can be used to target push notifications.
*/

@interface PFInstallation : PFObject {
}

/** @name Accessing the Current Installation */

/*!
Gets the currently-running installation from disk and returns an instance of
it. If this installation is not stored on disk, returns a PFInstallation
with deviceType, installationId, and timeZone fields set to those of the
current installation, and a deviceToken field set to the value stored by
[PFPush storeDeviceToken:]. In the latter case, if this installation matches
one in the Parse cloud, then calling save will fill in this installation's
objectId instead of creating a new installation.
@result Returns a PFInstallation that represents the currently-running
installation.
*/
+ (PFInstallation *)currentInstallation;

/// The device type for the PFInstallation.
@property (nonatomic, readonly, retain) NSString *deviceType;

/// The installationId for the PFInstallation.
@property (nonatomic, readonly, retain) NSString *installationId;

/// The device token for the PFInstallation.
@property (nonatomic, readonly, retain) NSString *deviceToken;

/// The timeZone for the PFInstallation.
@property (nonatomic, readonly, retain) NSString *timeZone;

/// The channels for the PFInstallation.
@property (nonatomic, retain) NSArray *channels;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,19 @@
*/
- (void)removeObjectForKey:(NSString *)key;

/*!
* In LLVM 4.0 (XCode 4.5) or higher allows myPFObject[key].
@param key The key.
*/
- (id)objectForKeyedSubscript:(NSString *)key;

/*!
* In LLVM 4.0 (XCode 4.5) or higher allows myObject[key] = value
@param object The object.
@param key The key.
*/
- (void)setObject:(id)object forKeyedSubscript:(NSString *)key;

/*!
Returns the relation object associated with the given key
@param key The key that the relation is associated with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
/*!
A class which defines a push notification that can be sent from
a client device.
The preferred way of modifying or retrieving channel subscriptions is to use
the PFInstallation class, instead of the class methods in PFPush.
*/
@interface PFPush : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

/*!
Called when objects have loaded from Parse. If you override this method, you must
call [super objectsDidLoad] in your implementation.
call [super objectsDidLoad:] in your implementation.
@param error The Parse error from running the PFQuery, if there was any.
*/
- (void)objectsDidLoad:(NSError *)error;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ A Parse Framework User Object that is a local representation of a user persisted
block:(PFBooleanResultBlock)block;

/** @name Querying for Users */

/*!
Creates a query for PFUser objects.
*/
+ (PFQuery *)query;

/** @name Deprecated */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#import "PFQuery.h"
#import "PF_FBConnect.h"
#import "PFUser.h"
#import "PFInstallation.h"
#import "PFFile.h"
#import "PFFacebookUtils.h"
#import "PFTwitterUtils.h"
Expand Down
Binary file added Parse.framework/Versions/1.0.58/Parse
Binary file not shown.
2 changes: 1 addition & 1 deletion Parse.framework/Versions/Current

0 comments on commit e039f47

Please sign in to comment.