Sha256: 97afb7bd6c491cf959a36f015c4160272e351acc521e6401f037a0c34df90d57

Contents?: true

Size: 1.84 KB

Versions: 35

Compression:

Stored size: 1.84 KB

Contents

/*
 * Copyright 2012 Facebook
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0
 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

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

/*!
 @protocol
 
 @abstract
 The `FBGraphLocation` protocol enables typed access to the `location` property
 of a Facebook place object.

 
 @discussion
 The `FBGraphLocation` protocol represents the most commonly used properties of a 
 location object. It may be used to access an `NSDictionary` object that has
 been wrapped with an <FBGraphObject> facade.
 */
@protocol FBGraphLocation<FBGraphObject>

/*!
 @property
 @abstract Typed access to a location's street.
 */
@property (retain, nonatomic) NSString *street;

/*!
 @property
 @abstract Typed access to a location's city.
 */
@property (retain, nonatomic) NSString *city;

/*!
 @property
 @abstract Typed access to a location's state.
 */
@property (retain, nonatomic) NSString *state;

/*!
 @property
 @abstract Typed access to a location's country.
 */
@property (retain, nonatomic) NSString *country;

/*!
 @property
 @abstract Typed access to a location's zip code.
 */
@property (retain, nonatomic) NSString *zip;

/*!
 @property
 @abstract Typed access to a location's latitude.
 */
@property (retain, nonatomic) NSNumber *latitude; 

/*!
 @property
 @abstract Typed access to a location's longitude.
 */
@property (retain, nonatomic) NSNumber *longitude;

@end

Version data entries

35 entries across 7 versions & 1 rubygems

Version Path
motion-firebase-1.0.7 lib/vendor/FacebookSDK.framework/Headers/FBGraphLocation.h
motion-firebase-1.0.7 lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphLocation.h
motion-firebase-1.0.7 lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphLocation.h
motion-firebase-1.0.7 lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphLocation.h
motion-firebase-1.0.7 lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphLocation.h
motion-firebase-1.0.6 lib/vendor/FacebookSDK.framework/Headers/FBGraphLocation.h
motion-firebase-1.0.6 lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphLocation.h
motion-firebase-1.0.6 lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphLocation.h
motion-firebase-1.0.6 lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphLocation.h
motion-firebase-1.0.6 lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphLocation.h
motion-firebase-1.0.5 lib/vendor/FacebookSDK.framework/Headers/FBGraphLocation.h
motion-firebase-1.0.5 lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphLocation.h
motion-firebase-1.0.5 lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphLocation.h
motion-firebase-1.0.5 lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphLocation.h
motion-firebase-1.0.5 lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphLocation.h