motion-firebase 1.0.11 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. data/README.md +1 -1
  2. data/lib/firebase/version.rb +1 -1
  3. metadata +1 -249
  4. data/lib/motion-firebase-facebook.rb +0 -17
  5. data/lib/vendor/FacebookSDK.framework/FacebookSDK +0 -0
  6. data/lib/vendor/FacebookSDK.framework/FacebookSDK.framework.bridgesupport +0 -2646
  7. data/lib/vendor/FacebookSDK.framework/Headers/FBAccessTokenData.h +0 -115
  8. data/lib/vendor/FacebookSDK.framework/Headers/FBCacheDescriptor.h +0 -42
  9. data/lib/vendor/FacebookSDK.framework/Headers/FBError.h +0 -274
  10. data/lib/vendor/FacebookSDK.framework/Headers/FBFrictionlessRecipientCache.h +0 -86
  11. data/lib/vendor/FacebookSDK.framework/Headers/FBFriendPickerViewController.h +0 -290
  12. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphLocation.h +0 -77
  13. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphObject.h +0 -224
  14. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphPlace.h +0 -60
  15. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphUser.h +0 -90
  16. data/lib/vendor/FacebookSDK.framework/Headers/FBInsights.h +0 -271
  17. data/lib/vendor/FacebookSDK.framework/Headers/FBLoginView.h +0 -178
  18. data/lib/vendor/FacebookSDK.framework/Headers/FBNativeDialogs.h +0 -170
  19. data/lib/vendor/FacebookSDK.framework/Headers/FBOpenGraphAction.h +0 -127
  20. data/lib/vendor/FacebookSDK.framework/Headers/FBPlacePickerViewController.h +0 -257
  21. data/lib/vendor/FacebookSDK.framework/Headers/FBProfilePictureView.h +0 -80
  22. data/lib/vendor/FacebookSDK.framework/Headers/FBRequest.h +0 -504
  23. data/lib/vendor/FacebookSDK.framework/Headers/FBRequestConnection.h +0 -389
  24. data/lib/vendor/FacebookSDK.framework/Headers/FBSession.h +0 -751
  25. data/lib/vendor/FacebookSDK.framework/Headers/FBSessionTokenCachingStrategy.h +0 -152
  26. data/lib/vendor/FacebookSDK.framework/Headers/FBSettings.h +0 -136
  27. data/lib/vendor/FacebookSDK.framework/Headers/FBTestSession.h +0 -135
  28. data/lib/vendor/FacebookSDK.framework/Headers/FBUserSettingsViewController.h +0 -127
  29. data/lib/vendor/FacebookSDK.framework/Headers/FBViewController.h +0 -118
  30. data/lib/vendor/FacebookSDK.framework/Headers/FBWebDialogs.h +0 -234
  31. data/lib/vendor/FacebookSDK.framework/Headers/FacebookSDK.h +0 -132
  32. data/lib/vendor/FacebookSDK.framework/Headers/NSError+FBError.h +0 -59
  33. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  34. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  35. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
  36. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
  37. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
  38. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
  39. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
  40. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
  41. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
  42. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
  43. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
  44. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
  45. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
  46. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
  47. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  48. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  49. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
  50. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
  51. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
  52. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
  53. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
  54. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
  55. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
  56. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
  57. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
  58. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
  59. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
  60. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
  61. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
  62. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
  63. data/lib/vendor/FacebookSDK.framework/Resources/Info.plist +0 -20
  64. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBAccessTokenData.h +0 -115
  65. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBCacheDescriptor.h +0 -42
  66. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBConnect.h +0 -22
  67. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBDialog.h +0 -165
  68. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBError.h +0 -274
  69. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFrictionlessRecipientCache.h +0 -86
  70. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFrictionlessRequestSettings.h +0 -85
  71. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFriendPickerViewController.h +0 -290
  72. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphLocation.h +0 -77
  73. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphObject.h +0 -224
  74. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphPlace.h +0 -60
  75. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphUser.h +0 -90
  76. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBInsights.h +0 -271
  77. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBLoginDialog.h +0 -48
  78. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBLoginView.h +0 -178
  79. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBNativeDialogs.h +0 -170
  80. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBOpenGraphAction.h +0 -127
  81. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBPlacePickerViewController.h +0 -257
  82. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBProfilePictureView.h +0 -80
  83. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBRequest.h +0 -504
  84. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBRequestConnection.h +0 -389
  85. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJSON.h +0 -75
  86. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonBase.h +0 -86
  87. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonParser.h +0 -87
  88. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonWriter.h +0 -129
  89. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSession.h +0 -751
  90. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSessionManualTokenCachingStrategy.h +0 -32
  91. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSessionTokenCachingStrategy.h +0 -152
  92. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSettings.h +0 -136
  93. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBTestSession.h +0 -135
  94. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBUserSettingsViewController.h +0 -127
  95. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBViewController.h +0 -118
  96. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBWebDialogs.h +0 -234
  97. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/Facebook.h +0 -281
  98. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FacebookSDK.h +0 -132
  99. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/NSError+FBError.h +0 -59
  100. data/lib/vendor/FacebookSDK.framework/Versions/A/FacebookSDK +0 -0
  101. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBAccessTokenData.h +0 -115
  102. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBCacheDescriptor.h +0 -42
  103. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBError.h +0 -274
  104. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBFrictionlessRecipientCache.h +0 -86
  105. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBFriendPickerViewController.h +0 -290
  106. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphLocation.h +0 -77
  107. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphObject.h +0 -224
  108. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphPlace.h +0 -60
  109. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphUser.h +0 -90
  110. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBInsights.h +0 -271
  111. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBLoginView.h +0 -178
  112. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBNativeDialogs.h +0 -170
  113. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBOpenGraphAction.h +0 -127
  114. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBPlacePickerViewController.h +0 -257
  115. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBProfilePictureView.h +0 -80
  116. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBRequest.h +0 -504
  117. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBRequestConnection.h +0 -389
  118. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSession.h +0 -751
  119. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSessionTokenCachingStrategy.h +0 -152
  120. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSettings.h +0 -136
  121. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBTestSession.h +0 -135
  122. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBUserSettingsViewController.h +0 -127
  123. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBViewController.h +0 -118
  124. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBWebDialogs.h +0 -234
  125. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FacebookSDK.h +0 -132
  126. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/NSError+FBError.h +0 -59
  127. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  128. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  129. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
  130. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
  131. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
  132. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
  133. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
  134. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
  135. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
  136. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
  137. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
  138. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
  139. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
  140. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
  141. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  142. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  143. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
  144. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
  145. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
  146. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
  147. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
  148. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
  149. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
  150. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
  151. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
  152. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
  153. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
  154. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
  155. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
  156. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
  157. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/Info.plist +0 -20
  158. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBAccessTokenData.h +0 -115
  159. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBCacheDescriptor.h +0 -42
  160. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBConnect.h +0 -22
  161. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBDialog.h +0 -165
  162. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBError.h +0 -274
  163. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFrictionlessRecipientCache.h +0 -86
  164. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFrictionlessRequestSettings.h +0 -85
  165. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFriendPickerViewController.h +0 -290
  166. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphLocation.h +0 -77
  167. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphObject.h +0 -224
  168. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphPlace.h +0 -60
  169. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphUser.h +0 -90
  170. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBInsights.h +0 -271
  171. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBLoginDialog.h +0 -48
  172. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBLoginView.h +0 -178
  173. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBNativeDialogs.h +0 -170
  174. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBOpenGraphAction.h +0 -127
  175. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBPlacePickerViewController.h +0 -257
  176. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBProfilePictureView.h +0 -80
  177. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBRequest.h +0 -504
  178. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBRequestConnection.h +0 -389
  179. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJSON.h +0 -75
  180. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonBase.h +0 -86
  181. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonParser.h +0 -87
  182. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonWriter.h +0 -129
  183. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSession.h +0 -751
  184. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSessionManualTokenCachingStrategy.h +0 -32
  185. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSessionTokenCachingStrategy.h +0 -152
  186. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSettings.h +0 -136
  187. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBTestSession.h +0 -135
  188. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBUserSettingsViewController.h +0 -127
  189. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBViewController.h +0 -118
  190. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBWebDialogs.h +0 -234
  191. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/Facebook.h +0 -281
  192. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FacebookSDK.h +0 -132
  193. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/NSError+FBError.h +0 -59
  194. data/lib/vendor/FacebookSDK.framework/Versions/Current/FacebookSDK +0 -0
  195. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBAccessTokenData.h +0 -115
  196. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBCacheDescriptor.h +0 -42
  197. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBError.h +0 -274
  198. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBFrictionlessRecipientCache.h +0 -86
  199. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBFriendPickerViewController.h +0 -290
  200. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphLocation.h +0 -77
  201. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphObject.h +0 -224
  202. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphPlace.h +0 -60
  203. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphUser.h +0 -90
  204. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBInsights.h +0 -271
  205. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBLoginView.h +0 -178
  206. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBNativeDialogs.h +0 -170
  207. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBOpenGraphAction.h +0 -127
  208. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBPlacePickerViewController.h +0 -257
  209. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBProfilePictureView.h +0 -80
  210. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBRequest.h +0 -504
  211. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBRequestConnection.h +0 -389
  212. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSession.h +0 -751
  213. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSessionTokenCachingStrategy.h +0 -152
  214. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSettings.h +0 -136
  215. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBTestSession.h +0 -135
  216. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBUserSettingsViewController.h +0 -127
  217. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBViewController.h +0 -118
  218. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBWebDialogs.h +0 -234
  219. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FacebookSDK.h +0 -132
  220. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/NSError+FBError.h +0 -59
  221. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  222. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  223. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
  224. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
  225. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
  226. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
  227. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
  228. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
  229. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
  230. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
  231. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
  232. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
  233. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
  234. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
  235. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  236. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  237. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
  238. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
  239. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
  240. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
  241. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
  242. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
  243. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
  244. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
  245. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
  246. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
  247. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
  248. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
  249. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
  250. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
  251. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/Info.plist +0 -20
@@ -1,389 +0,0 @@
1
- /*
2
- * Copyright 2012 Facebook
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- #import <Foundation/Foundation.h>
18
- #import <CoreLocation/CoreLocation.h>
19
- #import "FBGraphObject.h"
20
-
21
- // up-front decl's
22
- @class FBRequest;
23
- @class FBRequestConnection;
24
- @class UIImage;
25
-
26
- /*!
27
- Normally requests return JSON data that is parsed into a set of `NSDictionary`
28
- and `NSArray` objects.
29
-
30
- When a request returns a non-JSON response, that response is packaged in
31
- a `NSDictionary` using FBNonJSONResponseProperty as the key and the literal
32
- response as the value.
33
- */
34
- extern NSString *const FBNonJSONResponseProperty;
35
-
36
- /*!
37
- @typedef FBRequestHandler
38
-
39
- @abstract
40
- A block that is passed to addRequest to register for a callback with the results of that
41
- request once the connection completes.
42
-
43
- @discussion
44
- Pass a block of this type when calling addRequest. This will be called once
45
- the request completes. The call occurs on the UI thread.
46
-
47
- @param connection The `FBRequestConnection` that sent the request.
48
-
49
- @param result The result of the request. This is a translation of
50
- JSON data to `NSDictionary` and `NSArray` objects. This
51
- is nil if there was an error.
52
-
53
- @param error The `NSError` representing any error that occurred.
54
-
55
- */
56
- typedef void (^FBRequestHandler)(FBRequestConnection *connection,
57
- id result,
58
- NSError *error);
59
-
60
- /*!
61
- @class FBRequestConnection
62
-
63
- @abstract
64
- The `FBRequestConnection` represents a single connection to Facebook to service a request.
65
-
66
- @discussion
67
- The request settings are encapsulated in a reusable <FBRequest> object. The
68
- `FBRequestConnection` object encapsulates the concerns of a single communication
69
- e.g. starting a connection, canceling a connection, or batching requests.
70
-
71
- */
72
- @interface FBRequestConnection : NSObject
73
-
74
- /*!
75
- @methodgroup Creating a request
76
- */
77
-
78
- /*!
79
- @method
80
-
81
- Calls <initWithTimeout:> with a default timeout of 180 seconds.
82
- */
83
- - (id)init;
84
-
85
- /*!
86
- @method
87
-
88
- @abstract
89
- `FBRequestConnection` objects are used to issue one or more requests as a single
90
- request/response connection with Facebook.
91
-
92
- @discussion
93
- For a single request, the usual method for creating an `FBRequestConnection`
94
- object is to call one of the **start* ** methods on <FBRequest>. However, it is
95
- allowable to init an `FBRequestConnection` object directly, and call
96
- <addRequest:completionHandler:> to add one or more request objects to the
97
- connection, before calling start.
98
-
99
- Note that if requests are part of a batch, they must have an open
100
- FBSession that has an access token associated with it. Alternatively a default App ID
101
- must be set either in the plist or through an explicit call to <[FBSession defaultAppID]>.
102
-
103
- @param timeout The `NSTimeInterval` (seconds) to wait for a response before giving up.
104
- */
105
-
106
- - (id)initWithTimeout:(NSTimeInterval)timeout;
107
-
108
- // properties
109
-
110
- /*!
111
- @abstract
112
- The request that will be sent to the server.
113
-
114
- @discussion
115
- This property can be used to create a `NSURLRequest` without using
116
- `FBRequestConnection` to send that request. It is legal to set this property
117
- in which case the provided `NSMutableURLRequest` will be used instead. However,
118
- the `NSMutableURLRequest` must result in an appropriate response. Furthermore, once
119
- this property has been set, no more <FBRequest> objects can be added to this
120
- `FBRequestConnection`.
121
- */
122
- @property(nonatomic, retain, readwrite) NSMutableURLRequest *urlRequest;
123
-
124
- /*!
125
- @abstract
126
- The raw response that was returned from the server. (readonly)
127
-
128
- @discussion
129
- This property can be used to inspect HTTP headers that were returned from
130
- the server.
131
-
132
- The property is nil until the request completes. If there was a response
133
- then this property will be non-nil during the FBRequestHandler callback.
134
- */
135
- @property(nonatomic, retain, readonly) NSHTTPURLResponse *urlResponse;
136
-
137
- /*!
138
- @methodgroup Adding requests
139
- */
140
-
141
- /*!
142
- @method
143
-
144
- @abstract
145
- This method adds an <FBRequest> object to this connection and then calls
146
- <start> on the connection.
147
-
148
- @discussion
149
- The completion handler is retained until the block is called upon the
150
- completion or cancellation of the connection.
151
-
152
- @param request A request to be included in the round-trip when start is called.
153
- @param handler A handler to call back when the round-trip completes or times out.
154
- */
155
- - (void)addRequest:(FBRequest*)request
156
- completionHandler:(FBRequestHandler)handler;
157
-
158
- /*!
159
- @method
160
-
161
- @abstract
162
- This method adds an <FBRequest> object to this connection and then calls
163
- <start> on the connection.
164
-
165
- @discussion
166
- The completion handler is retained until the block is called upon the
167
- completion or cancellation of the connection. This request can be named
168
- to allow for using the request's response in a subsequent request.
169
-
170
- @param request A request to be included in the round-trip when start is called.
171
-
172
- @param handler A handler to call back when the round-trip completes or times out.
173
-
174
- @param name An optional name for this request. This can be used to feed
175
- the results of one request to the input of another <FBRequest> in the same
176
- `FBRequestConnection` as described in
177
- [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ).
178
- */
179
- - (void)addRequest:(FBRequest*)request
180
- completionHandler:(FBRequestHandler)handler
181
- batchEntryName:(NSString*)name;
182
-
183
- /*!
184
- @methodgroup Instance methods
185
- */
186
-
187
- /*!
188
- @method
189
-
190
- @abstract
191
- This method starts a connection with the server and is capable of handling all of the
192
- requests that were added to the connection.
193
-
194
- @discussion
195
- Errors are reported via the handler callback, even in cases where no
196
- communication is attempted by the implementation of `FBRequestConnection`. In
197
- such cases multiple error conditions may apply, and if so the following
198
- priority (highest to lowest) is used:
199
-
200
- - `FBRequestConnectionInvalidRequestKey` -- this error is reported when an
201
- <FBRequest> cannot be encoded for transmission.
202
-
203
- - `FBRequestConnectionInvalidBatchKey` -- this error is reported when any
204
- request in the connection cannot be encoded for transmission with the batch.
205
- In this scenario all requests fail.
206
-
207
- This method cannot be called twice for an `FBRequestConnection` instance.
208
- */
209
- - (void)start;
210
-
211
- /*!
212
- @method
213
-
214
- @abstract
215
- Signals that a connection should be logically terminated as the
216
- application is no longer interested in a response.
217
-
218
- @discussion
219
- Synchronously calls any handlers indicating the request was cancelled. Cancel
220
- does not guarantee that the request-related processing will cease. It
221
- does promise that all handlers will complete before the cancel returns. A call to
222
- cancel prior to a start implies a cancellation of all requests associated
223
- with the connection.
224
- */
225
- - (void)cancel;
226
-
227
- /*!
228
- @method
229
-
230
- @abstract
231
- Simple method to make a graph API request for user info (/me), creates an <FBRequest>
232
- then uses an <FBRequestConnection> object to start the connection with Facebook. The
233
- request uses the active session represented by `[FBSession activeSession]`.
234
-
235
- See <connectionWithSession:graphPath:parameters:HTTPMethod:completionHandler:>
236
-
237
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
238
- */
239
- + (FBRequestConnection*)startForMeWithCompletionHandler:(FBRequestHandler)handler;
240
-
241
- /*!
242
- @method
243
-
244
- @abstract
245
- Simple method to make a graph API request for user friends (/me/friends), creates an <FBRequest>
246
- then uses an <FBRequestConnection> object to start the connection with Facebook. The
247
- request uses the active session represented by `[FBSession activeSession]`.
248
-
249
- See <connectionWithSession:graphPath:parameters:HTTPMethod:completionHandler:>
250
-
251
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
252
- */
253
- + (FBRequestConnection*)startForMyFriendsWithCompletionHandler:(FBRequestHandler)handler;
254
-
255
- /*!
256
- @method
257
-
258
- @abstract
259
- Simple method to make a graph API post of a photo. The request
260
- uses the active session represented by `[FBSession activeSession]`.
261
-
262
- @param photo A `UIImage` for the photo to upload.
263
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
264
- */
265
- + (FBRequestConnection*)startForUploadPhoto:(UIImage *)photo
266
- completionHandler:(FBRequestHandler)handler;
267
-
268
- /*!
269
- @method
270
-
271
- @abstract
272
- Simple method to make a graph API post of a status update. The request
273
- uses the active session represented by `[FBSession activeSession]`.
274
-
275
- @param message The message to post.
276
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
277
- */
278
- + (FBRequestConnection *)startForPostStatusUpdate:(NSString *)message
279
- completionHandler:(FBRequestHandler)handler;
280
-
281
- /*!
282
- @method
283
-
284
- @abstract
285
- Simple method to make a graph API post of a status update. The request
286
- uses the active session represented by `[FBSession activeSession]`.
287
-
288
- @param message The message to post.
289
- @param place The place to checkin with, or nil. Place may be an fbid or a
290
- graph object representing a place.
291
- @param tags Array of friends to tag in the status update, each element
292
- may be an fbid or a graph object representing a user.
293
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
294
- */
295
- + (FBRequestConnection *)startForPostStatusUpdate:(NSString *)message
296
- place:(id)place
297
- tags:(id<NSFastEnumeration>)tags
298
- completionHandler:(FBRequestHandler)handler;
299
-
300
- /*!
301
- @method
302
-
303
- @abstract
304
- Starts a request representing a Graph API call to the "search" endpoint
305
- for a given location using the active session.
306
-
307
- @discussion
308
- Simplifies starting a request to search for places near a coordinate.
309
-
310
- This method creates the necessary <FBRequest> object and initializes and
311
- starts an <FBRequestConnection> object. A successful Graph API call will
312
- return an array of <FBGraphPlace> objects representing the nearby locations.
313
-
314
- @param coordinate The search coordinates.
315
-
316
- @param radius The search radius in meters.
317
-
318
- @param limit The maxiumum number of results to return. It is
319
- possible to receive fewer than this because of the
320
- radius and because of server limits.
321
-
322
- @param searchText The text to use in the query to narrow the set of places
323
- returned.
324
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
325
- */
326
- + (FBRequestConnection*)startForPlacesSearchAtCoordinate:(CLLocationCoordinate2D)coordinate
327
- radiusInMeters:(NSInteger)radius
328
- resultsLimit:(NSInteger)limit
329
- searchText:(NSString*)searchText
330
- completionHandler:(FBRequestHandler)handler;
331
-
332
- /*!
333
- @method
334
-
335
- @abstract
336
- Simple method to make a graph API request, creates an <FBRequest> object for then
337
- uses an <FBRequestConnection> object to start the connection with Facebook. The
338
- request uses the active session represented by `[FBSession activeSession]`.
339
-
340
- See <connectionWithSession:graphPath:parameters:HTTPMethod:completionHandler:>
341
-
342
- @param graphPath The Graph API endpoint to use for the request, for example "me".
343
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
344
- */
345
- + (FBRequestConnection*)startWithGraphPath:(NSString*)graphPath
346
- completionHandler:(FBRequestHandler)handler;
347
-
348
- /*!
349
- @method
350
-
351
- @abstract
352
- Simple method to make post an object using the graph API, creates an <FBRequest> object for
353
- HTTP POST, then uses <FBRequestConnection> to start a connection with Facebook. The request uses
354
- the active session represented by `[FBSession activeSession]`.
355
-
356
- @param graphPath The Graph API endpoint to use for the request, for example "me".
357
-
358
- @param graphObject An object or open graph action to post.
359
-
360
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
361
- */
362
- + (FBRequestConnection*)startForPostWithGraphPath:(NSString*)graphPath
363
- graphObject:(id<FBGraphObject>)graphObject
364
- completionHandler:(FBRequestHandler)handler;
365
-
366
- /*!
367
- @method
368
-
369
- @abstract
370
- Creates an `FBRequest` object for a Graph API call, instantiate an
371
- <FBRequestConnection> object, add the request to the newly created
372
- connection and finally start the connection. Use this method for
373
- specifying the request parameters and HTTP Method. The request uses
374
- the active session represented by `[FBSession activeSession]`.
375
-
376
- @param graphPath The Graph API endpoint to use for the request, for example "me".
377
-
378
- @param parameters The parameters for the request. A value of nil sends only the automatically handled parameters, for example, the access token. The default is nil.
379
-
380
- @param HTTPMethod The HTTP method to use for the request. A nil value implies a GET.
381
-
382
- @param handler The handler block to call when the request completes with a success, error, or cancel action.
383
- */
384
- + (FBRequestConnection*)startWithGraphPath:(NSString*)graphPath
385
- parameters:(NSDictionary*)parameters
386
- HTTPMethod:(NSString*)HTTPMethod
387
- completionHandler:(FBRequestHandler)handler;
388
-
389
- @end
@@ -1,75 +0,0 @@
1
- /*
2
- Copyright (C) 2007-2009 Stig Brautaset. All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without
5
- modification, are permitted provided that the following conditions are met:
6
-
7
- * Redistributions of source code must retain the above copyright notice, this
8
- list of conditions and the following disclaimer.
9
-
10
- * Redistributions in binary form must reproduce the above copyright notice,
11
- this list of conditions and the following disclaimer in the documentation
12
- and/or other materials provided with the distribution.
13
-
14
- * Neither the name of the author nor the names of its contributors may be used
15
- to endorse or promote products derived from this software without specific
16
- prior written permission.
17
-
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
22
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
- */
29
-
30
- #import <Foundation/Foundation.h>
31
- #import "FBSBJsonParser.h"
32
- #import "FBSBJsonWriter.h"
33
-
34
- /**
35
- @brief Facade for SBJsonWriter/SBJsonParser.
36
-
37
- Requests are forwarded to instances of SBJsonWriter and SBJsonParser.
38
- */
39
- @interface FBSBJSON : FBSBJsonBase <FBSBJsonParser, FBSBJsonWriter> {
40
-
41
- @private
42
- FBSBJsonParser *jsonParser;
43
- FBSBJsonWriter *jsonWriter;
44
- }
45
-
46
-
47
- /// Return the fragment represented by the given string
48
- - (id)fragmentWithString:(NSString*)jsonrep
49
- error:(NSError**)error;
50
-
51
- /// Return the object represented by the given string
52
- - (id)objectWithString:(NSString*)jsonrep
53
- error:(NSError**)error;
54
-
55
- /// Parse the string and return the represented object (or scalar)
56
- - (id)objectWithString:(id)value
57
- allowScalar:(BOOL)x
58
- error:(NSError**)error;
59
-
60
-
61
- /// Return JSON representation of an array or dictionary
62
- - (NSString*)stringWithObject:(id)value
63
- error:(NSError**)error;
64
-
65
- /// Return JSON representation of any legal JSON value
66
- - (NSString*)stringWithFragment:(id)value
67
- error:(NSError**)error;
68
-
69
- /// Return JSON representation (or fragment) for the given object
70
- - (NSString*)stringWithObject:(id)value
71
- allowScalar:(BOOL)x
72
- error:(NSError**)error;
73
-
74
-
75
- @end