Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
  • Games
  • Payments
  • App Center
  • Promote Your App
  • iOS
    • Getting Started
    • Concepts
    • Reference
  • Android
  • JavaScript
  • PHP
  • More SDKs
  • Class References
    • FBCacheDescriptor
    • FBFriendPickerViewController
    • FBGraphObject
    • FBLoginView
    • FBPlacePickerViewController
    • FBProfilePictureView
    • FBRequest
    • FBRequestConnection
    • FBSession
    • FBSessionTokenCachingStrategy
    • FBTestSession
    • FBUserSettingsViewController
    • FBViewController
  • Protocol References
    • FBFriendPickerDelegate
    • FBGraphLocation
    • FBGraphObject
    • FBGraphPlace
    • FBGraphUser
    • FBLoginViewDelegate
    • FBOpenGraphAction
    • FBPlacePickerDelegate
    • FBUserSettingsDelegate
    • FBViewControllerDelegate
  • Other References
    • FBError
    • FBSettings

FBCacheDescriptor

SDK Reference › iOS SDK › FBCacheDescriptor
FBCacheDescriptor
Inherits from: NSObject
Declared in: FBCacheDescriptor.h
Overview

Base class from which CacheDescriptors derive, provides a method to fetch data for later use

Discussion

Cache descriptors allow your application to specify the arguments that will be later used with another object, such as the FBFriendPickerViewController. By using a cache descriptor instance, an application can choose to fetch data ahead of the point in time where the data is needed.

Tasks
- prefetchAndCacheForSession:
Instance Methods
prefetchAndCacheForSession:

Fetches and caches the data described by the cache descriptor instance, for the given session.

- (void)prefetchAndCacheForSession:(FBSession*)session;
Parameter
session

the to use for fetching data

Declared In
FBCacheDescriptor.h

Last Updated: November 19, 2012
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy