Repository: android1989/CharacterText Branch: master Commit: f825fe5676b1 Files: 520 Total size: 1.8 MB Directory structure: gitextract_2wry1999/ ├── CharacterText/ │ ├── AppDelegate.swift │ ├── Base.lproj/ │ │ └── Main.storyboard │ ├── Classes/ │ │ ├── CharacterLabel/ │ │ │ ├── CharacterLabel.swift │ │ │ └── CharacterTextView.swift │ │ ├── Extensions/ │ │ │ └── CATextLayerExtensions.swift │ │ ├── Flickr/ │ │ │ ├── FlickrCollectionViewCell.swift │ │ │ └── FlickrPhoto.swift │ │ ├── Labels/ │ │ │ ├── FadingLabel.swift │ │ │ ├── FallingLabel.swift │ │ │ └── MotionLabel.swift │ │ ├── Utilities/ │ │ │ └── CLMLayerAnimation.swift │ │ └── ViewControllers/ │ │ └── ViewController.swift │ ├── Images.xcassets/ │ │ ├── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage/ │ │ └── Contents.json │ └── Info.plist ├── CharacterText-Bridging-Header.h ├── CharacterText.xcodeproj/ │ ├── project.pbxproj │ ├── project.xcworkspace/ │ │ └── contents.xcworkspacedata │ └── xcuserdata/ │ └── andrewhulsizer.xcuserdatad/ │ └── xcschemes/ │ ├── CharacterText.xcscheme │ └── xcschememanagement.plist ├── CharacterText.xcworkspace/ │ └── contents.xcworkspacedata ├── CharacterTextTests/ │ ├── CharacterTextTests.swift │ └── Info.plist ├── Podfile ├── Pods/ │ ├── FlickrKit/ │ │ ├── Classes/ │ │ │ ├── DevedUpKit/ │ │ │ │ ├── FKDUBlocks.h │ │ │ │ ├── FKDUBlocks.m │ │ │ │ ├── FKDUConcurrentOperation.h │ │ │ │ ├── FKDUConcurrentOperation.m │ │ │ │ ├── FKDUDefaultDiskCache.h │ │ │ │ ├── FKDUDefaultDiskCache.m │ │ │ │ ├── FKDUDiskCache.h │ │ │ │ ├── FKDUNetworkController.h │ │ │ │ ├── FKDUNetworkController.m │ │ │ │ ├── FKDUNetworkOperation.h │ │ │ │ ├── FKDUNetworkOperation.m │ │ │ │ ├── FKDUStreamUtil.h │ │ │ │ └── FKDUStreamUtil.m │ │ │ ├── FlickrKit/ │ │ │ │ ├── FKDataTypes.h │ │ │ │ ├── FKDataTypes.m │ │ │ │ └── FlickrKit.m │ │ │ ├── FlickrKit.h │ │ │ ├── Model/ │ │ │ │ ├── FKAPIMethods.h │ │ │ │ ├── FKFlickrAPIMethod.h │ │ │ │ └── Generated/ │ │ │ │ ├── Activity/ │ │ │ │ │ ├── FKFlickrActivityUserComments.h │ │ │ │ │ ├── FKFlickrActivityUserComments.m │ │ │ │ │ ├── FKFlickrActivityUserPhotos.h │ │ │ │ │ └── FKFlickrActivityUserPhotos.m │ │ │ │ ├── Auth/ │ │ │ │ │ ├── FKFlickrAuthCheckToken.h │ │ │ │ │ ├── FKFlickrAuthCheckToken.m │ │ │ │ │ ├── FKFlickrAuthGetFrob.h │ │ │ │ │ ├── FKFlickrAuthGetFrob.m │ │ │ │ │ ├── FKFlickrAuthGetFullToken.h │ │ │ │ │ ├── FKFlickrAuthGetFullToken.m │ │ │ │ │ ├── FKFlickrAuthGetToken.h │ │ │ │ │ ├── FKFlickrAuthGetToken.m │ │ │ │ │ └── Oauth/ │ │ │ │ │ ├── FKFlickrAuthOauthCheckToken.h │ │ │ │ │ ├── FKFlickrAuthOauthCheckToken.m │ │ │ │ │ ├── FKFlickrAuthOauthGetAccessToken.h │ │ │ │ │ └── FKFlickrAuthOauthGetAccessToken.m │ │ │ │ ├── Blogs/ │ │ │ │ │ ├── FKFlickrBlogsGetList.h │ │ │ │ │ ├── FKFlickrBlogsGetList.m │ │ │ │ │ ├── FKFlickrBlogsGetServices.h │ │ │ │ │ ├── FKFlickrBlogsGetServices.m │ │ │ │ │ ├── FKFlickrBlogsPostPhoto.h │ │ │ │ │ └── FKFlickrBlogsPostPhoto.m │ │ │ │ ├── Cameras/ │ │ │ │ │ ├── FKFlickrCamerasGetBrandModels.h │ │ │ │ │ ├── FKFlickrCamerasGetBrandModels.m │ │ │ │ │ ├── FKFlickrCamerasGetBrands.h │ │ │ │ │ └── FKFlickrCamerasGetBrands.m │ │ │ │ ├── Collections/ │ │ │ │ │ ├── FKFlickrCollectionsGetInfo.h │ │ │ │ │ ├── FKFlickrCollectionsGetInfo.m │ │ │ │ │ ├── FKFlickrCollectionsGetTree.h │ │ │ │ │ └── FKFlickrCollectionsGetTree.m │ │ │ │ ├── Commons/ │ │ │ │ │ ├── FKFlickrCommonsGetInstitutions.h │ │ │ │ │ └── FKFlickrCommonsGetInstitutions.m │ │ │ │ ├── Contacts/ │ │ │ │ │ ├── FKFlickrContactsGetList.h │ │ │ │ │ ├── FKFlickrContactsGetList.m │ │ │ │ │ ├── FKFlickrContactsGetListRecentlyUploaded.h │ │ │ │ │ ├── FKFlickrContactsGetListRecentlyUploaded.m │ │ │ │ │ ├── FKFlickrContactsGetPublicList.h │ │ │ │ │ ├── FKFlickrContactsGetPublicList.m │ │ │ │ │ ├── FKFlickrContactsGetTaggingSuggestions.h │ │ │ │ │ └── FKFlickrContactsGetTaggingSuggestions.m │ │ │ │ ├── Favorites/ │ │ │ │ │ ├── FKFlickrFavoritesAdd.h │ │ │ │ │ ├── FKFlickrFavoritesAdd.m │ │ │ │ │ ├── FKFlickrFavoritesGetContext.h │ │ │ │ │ ├── FKFlickrFavoritesGetContext.m │ │ │ │ │ ├── FKFlickrFavoritesGetList.h │ │ │ │ │ ├── FKFlickrFavoritesGetList.m │ │ │ │ │ ├── FKFlickrFavoritesGetPublicList.h │ │ │ │ │ ├── FKFlickrFavoritesGetPublicList.m │ │ │ │ │ ├── FKFlickrFavoritesRemove.h │ │ │ │ │ └── FKFlickrFavoritesRemove.m │ │ │ │ ├── Galleries/ │ │ │ │ │ ├── FKFlickrGalleriesAddPhoto.h │ │ │ │ │ ├── FKFlickrGalleriesAddPhoto.m │ │ │ │ │ ├── FKFlickrGalleriesCreate.h │ │ │ │ │ ├── FKFlickrGalleriesCreate.m │ │ │ │ │ ├── FKFlickrGalleriesEditMeta.h │ │ │ │ │ ├── FKFlickrGalleriesEditMeta.m │ │ │ │ │ ├── FKFlickrGalleriesEditPhoto.h │ │ │ │ │ ├── FKFlickrGalleriesEditPhoto.m │ │ │ │ │ ├── FKFlickrGalleriesEditPhotos.h │ │ │ │ │ ├── FKFlickrGalleriesEditPhotos.m │ │ │ │ │ ├── FKFlickrGalleriesGetInfo.h │ │ │ │ │ ├── FKFlickrGalleriesGetInfo.m │ │ │ │ │ ├── FKFlickrGalleriesGetList.h │ │ │ │ │ ├── FKFlickrGalleriesGetList.m │ │ │ │ │ ├── FKFlickrGalleriesGetListForPhoto.h │ │ │ │ │ ├── FKFlickrGalleriesGetListForPhoto.m │ │ │ │ │ ├── FKFlickrGalleriesGetPhotos.h │ │ │ │ │ └── FKFlickrGalleriesGetPhotos.m │ │ │ │ ├── Groups/ │ │ │ │ │ ├── Discuss/ │ │ │ │ │ │ ├── Replies/ │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesAdd.h │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesAdd.m │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesDelete.h │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesDelete.m │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesEdit.h │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesEdit.m │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesGetInfo.h │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesGetInfo.m │ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussRepliesGetList.h │ │ │ │ │ │ │ └── FKFlickrGroupsDiscussRepliesGetList.m │ │ │ │ │ │ └── Topics/ │ │ │ │ │ │ ├── FKFlickrGroupsDiscussTopicsAdd.h │ │ │ │ │ │ ├── FKFlickrGroupsDiscussTopicsAdd.m │ │ │ │ │ │ ├── FKFlickrGroupsDiscussTopicsGetInfo.h │ │ │ │ │ │ ├── FKFlickrGroupsDiscussTopicsGetInfo.m │ │ │ │ │ │ ├── FKFlickrGroupsDiscussTopicsGetList.h │ │ │ │ │ │ └── FKFlickrGroupsDiscussTopicsGetList.m │ │ │ │ │ ├── FKFlickrGroupsBrowse.h │ │ │ │ │ ├── FKFlickrGroupsBrowse.m │ │ │ │ │ ├── FKFlickrGroupsGetInfo.h │ │ │ │ │ ├── FKFlickrGroupsGetInfo.m │ │ │ │ │ ├── FKFlickrGroupsJoin.h │ │ │ │ │ ├── FKFlickrGroupsJoin.m │ │ │ │ │ ├── FKFlickrGroupsJoinRequest.h │ │ │ │ │ ├── FKFlickrGroupsJoinRequest.m │ │ │ │ │ ├── FKFlickrGroupsLeave.h │ │ │ │ │ ├── FKFlickrGroupsLeave.m │ │ │ │ │ ├── FKFlickrGroupsSearch.h │ │ │ │ │ ├── FKFlickrGroupsSearch.m │ │ │ │ │ ├── Members/ │ │ │ │ │ │ ├── FKFlickrGroupsMembersGetList.h │ │ │ │ │ │ └── FKFlickrGroupsMembersGetList.m │ │ │ │ │ └── Pools/ │ │ │ │ │ ├── FKFlickrGroupsPoolsAdd.h │ │ │ │ │ ├── FKFlickrGroupsPoolsAdd.m │ │ │ │ │ ├── FKFlickrGroupsPoolsGetContext.h │ │ │ │ │ ├── FKFlickrGroupsPoolsGetContext.m │ │ │ │ │ ├── FKFlickrGroupsPoolsGetGroups.h │ │ │ │ │ ├── FKFlickrGroupsPoolsGetGroups.m │ │ │ │ │ ├── FKFlickrGroupsPoolsGetPhotos.h │ │ │ │ │ ├── FKFlickrGroupsPoolsGetPhotos.m │ │ │ │ │ ├── FKFlickrGroupsPoolsRemove.h │ │ │ │ │ └── FKFlickrGroupsPoolsRemove.m │ │ │ │ ├── Interestingness/ │ │ │ │ │ ├── FKFlickrInterestingnessGetList.h │ │ │ │ │ └── FKFlickrInterestingnessGetList.m │ │ │ │ ├── Machinetags/ │ │ │ │ │ ├── FKFlickrMachinetagsGetNamespaces.h │ │ │ │ │ ├── FKFlickrMachinetagsGetNamespaces.m │ │ │ │ │ ├── FKFlickrMachinetagsGetPairs.h │ │ │ │ │ ├── FKFlickrMachinetagsGetPairs.m │ │ │ │ │ ├── FKFlickrMachinetagsGetPredicates.h │ │ │ │ │ ├── FKFlickrMachinetagsGetPredicates.m │ │ │ │ │ ├── FKFlickrMachinetagsGetRecentValues.h │ │ │ │ │ ├── FKFlickrMachinetagsGetRecentValues.m │ │ │ │ │ ├── FKFlickrMachinetagsGetValues.h │ │ │ │ │ └── FKFlickrMachinetagsGetValues.m │ │ │ │ ├── Panda/ │ │ │ │ │ ├── FKFlickrPandaGetList.h │ │ │ │ │ ├── FKFlickrPandaGetList.m │ │ │ │ │ ├── FKFlickrPandaGetPhotos.h │ │ │ │ │ └── FKFlickrPandaGetPhotos.m │ │ │ │ ├── People/ │ │ │ │ │ ├── FKFlickrPeopleFindByEmail.h │ │ │ │ │ ├── FKFlickrPeopleFindByEmail.m │ │ │ │ │ ├── FKFlickrPeopleFindByUsername.h │ │ │ │ │ ├── FKFlickrPeopleFindByUsername.m │ │ │ │ │ ├── FKFlickrPeopleGetGroups.h │ │ │ │ │ ├── FKFlickrPeopleGetGroups.m │ │ │ │ │ ├── FKFlickrPeopleGetInfo.h │ │ │ │ │ ├── FKFlickrPeopleGetInfo.m │ │ │ │ │ ├── FKFlickrPeopleGetLimits.h │ │ │ │ │ ├── FKFlickrPeopleGetLimits.m │ │ │ │ │ ├── FKFlickrPeopleGetPhotos.h │ │ │ │ │ ├── FKFlickrPeopleGetPhotos.m │ │ │ │ │ ├── FKFlickrPeopleGetPhotosOf.h │ │ │ │ │ ├── FKFlickrPeopleGetPhotosOf.m │ │ │ │ │ ├── FKFlickrPeopleGetPublicGroups.h │ │ │ │ │ ├── FKFlickrPeopleGetPublicGroups.m │ │ │ │ │ ├── FKFlickrPeopleGetPublicPhotos.h │ │ │ │ │ ├── FKFlickrPeopleGetPublicPhotos.m │ │ │ │ │ ├── FKFlickrPeopleGetUploadStatus.h │ │ │ │ │ └── FKFlickrPeopleGetUploadStatus.m │ │ │ │ ├── Photos/ │ │ │ │ │ ├── Comments/ │ │ │ │ │ │ ├── FKFlickrPhotosCommentsAddComment.h │ │ │ │ │ │ ├── FKFlickrPhotosCommentsAddComment.m │ │ │ │ │ │ ├── FKFlickrPhotosCommentsDeleteComment.h │ │ │ │ │ │ ├── FKFlickrPhotosCommentsDeleteComment.m │ │ │ │ │ │ ├── FKFlickrPhotosCommentsEditComment.h │ │ │ │ │ │ ├── FKFlickrPhotosCommentsEditComment.m │ │ │ │ │ │ ├── FKFlickrPhotosCommentsGetList.h │ │ │ │ │ │ ├── FKFlickrPhotosCommentsGetList.m │ │ │ │ │ │ ├── FKFlickrPhotosCommentsGetRecentForContacts.h │ │ │ │ │ │ └── FKFlickrPhotosCommentsGetRecentForContacts.m │ │ │ │ │ ├── FKFlickrPhotosAddTags.h │ │ │ │ │ ├── FKFlickrPhotosAddTags.m │ │ │ │ │ ├── FKFlickrPhotosDelete.h │ │ │ │ │ ├── FKFlickrPhotosDelete.m │ │ │ │ │ ├── FKFlickrPhotosGetAllContexts.h │ │ │ │ │ ├── FKFlickrPhotosGetAllContexts.m │ │ │ │ │ ├── FKFlickrPhotosGetContactsPhotos.h │ │ │ │ │ ├── FKFlickrPhotosGetContactsPhotos.m │ │ │ │ │ ├── FKFlickrPhotosGetContactsPublicPhotos.h │ │ │ │ │ ├── FKFlickrPhotosGetContactsPublicPhotos.m │ │ │ │ │ ├── FKFlickrPhotosGetContext.h │ │ │ │ │ ├── FKFlickrPhotosGetContext.m │ │ │ │ │ ├── FKFlickrPhotosGetCounts.h │ │ │ │ │ ├── FKFlickrPhotosGetCounts.m │ │ │ │ │ ├── FKFlickrPhotosGetExif.h │ │ │ │ │ ├── FKFlickrPhotosGetExif.m │ │ │ │ │ ├── FKFlickrPhotosGetFavorites.h │ │ │ │ │ ├── FKFlickrPhotosGetFavorites.m │ │ │ │ │ ├── FKFlickrPhotosGetInfo.h │ │ │ │ │ ├── FKFlickrPhotosGetInfo.m │ │ │ │ │ ├── FKFlickrPhotosGetNotInSet.h │ │ │ │ │ ├── FKFlickrPhotosGetNotInSet.m │ │ │ │ │ ├── FKFlickrPhotosGetPerms.h │ │ │ │ │ ├── FKFlickrPhotosGetPerms.m │ │ │ │ │ ├── FKFlickrPhotosGetRecent.h │ │ │ │ │ ├── FKFlickrPhotosGetRecent.m │ │ │ │ │ ├── FKFlickrPhotosGetSizes.h │ │ │ │ │ ├── FKFlickrPhotosGetSizes.m │ │ │ │ │ ├── FKFlickrPhotosGetUntagged.h │ │ │ │ │ ├── FKFlickrPhotosGetUntagged.m │ │ │ │ │ ├── FKFlickrPhotosGetWithGeoData.h │ │ │ │ │ ├── FKFlickrPhotosGetWithGeoData.m │ │ │ │ │ ├── FKFlickrPhotosGetWithoutGeoData.h │ │ │ │ │ ├── FKFlickrPhotosGetWithoutGeoData.m │ │ │ │ │ ├── FKFlickrPhotosRecentlyUpdated.h │ │ │ │ │ ├── FKFlickrPhotosRecentlyUpdated.m │ │ │ │ │ ├── FKFlickrPhotosRemoveTag.h │ │ │ │ │ ├── FKFlickrPhotosRemoveTag.m │ │ │ │ │ ├── FKFlickrPhotosSearch.h │ │ │ │ │ ├── FKFlickrPhotosSearch.m │ │ │ │ │ ├── FKFlickrPhotosSetContentType.h │ │ │ │ │ ├── FKFlickrPhotosSetContentType.m │ │ │ │ │ ├── FKFlickrPhotosSetDates.h │ │ │ │ │ ├── FKFlickrPhotosSetDates.m │ │ │ │ │ ├── FKFlickrPhotosSetMeta.h │ │ │ │ │ ├── FKFlickrPhotosSetMeta.m │ │ │ │ │ ├── FKFlickrPhotosSetPerms.h │ │ │ │ │ ├── FKFlickrPhotosSetPerms.m │ │ │ │ │ ├── FKFlickrPhotosSetSafetyLevel.h │ │ │ │ │ ├── FKFlickrPhotosSetSafetyLevel.m │ │ │ │ │ ├── FKFlickrPhotosSetTags.h │ │ │ │ │ ├── FKFlickrPhotosSetTags.m │ │ │ │ │ ├── Geo/ │ │ │ │ │ │ ├── FKFlickrPhotosGeoBatchCorrectLocation.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoBatchCorrectLocation.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoCorrectLocation.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoCorrectLocation.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoGetLocation.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoGetLocation.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoGetPerms.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoGetPerms.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoPhotosForLocation.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoPhotosForLocation.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoRemoveLocation.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoRemoveLocation.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoSetContext.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoSetContext.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoSetLocation.h │ │ │ │ │ │ ├── FKFlickrPhotosGeoSetLocation.m │ │ │ │ │ │ ├── FKFlickrPhotosGeoSetPerms.h │ │ │ │ │ │ └── FKFlickrPhotosGeoSetPerms.m │ │ │ │ │ ├── Licenses/ │ │ │ │ │ │ ├── FKFlickrPhotosLicensesGetInfo.h │ │ │ │ │ │ ├── FKFlickrPhotosLicensesGetInfo.m │ │ │ │ │ │ ├── FKFlickrPhotosLicensesSetLicense.h │ │ │ │ │ │ └── FKFlickrPhotosLicensesSetLicense.m │ │ │ │ │ ├── Notes/ │ │ │ │ │ │ ├── FKFlickrPhotosNotesAdd.h │ │ │ │ │ │ ├── FKFlickrPhotosNotesAdd.m │ │ │ │ │ │ ├── FKFlickrPhotosNotesDelete.h │ │ │ │ │ │ ├── FKFlickrPhotosNotesDelete.m │ │ │ │ │ │ ├── FKFlickrPhotosNotesEdit.h │ │ │ │ │ │ └── FKFlickrPhotosNotesEdit.m │ │ │ │ │ ├── People/ │ │ │ │ │ │ ├── FKFlickrPhotosPeopleAdd.h │ │ │ │ │ │ ├── FKFlickrPhotosPeopleAdd.m │ │ │ │ │ │ ├── FKFlickrPhotosPeopleDelete.h │ │ │ │ │ │ ├── FKFlickrPhotosPeopleDelete.m │ │ │ │ │ │ ├── FKFlickrPhotosPeopleDeleteCoords.h │ │ │ │ │ │ ├── FKFlickrPhotosPeopleDeleteCoords.m │ │ │ │ │ │ ├── FKFlickrPhotosPeopleEditCoords.h │ │ │ │ │ │ ├── FKFlickrPhotosPeopleEditCoords.m │ │ │ │ │ │ ├── FKFlickrPhotosPeopleGetList.h │ │ │ │ │ │ └── FKFlickrPhotosPeopleGetList.m │ │ │ │ │ ├── Suggestions/ │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsApproveSuggestion.h │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsApproveSuggestion.m │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsGetList.h │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsGetList.m │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsRejectSuggestion.h │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsRejectSuggestion.m │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsRemoveSuggestion.h │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsRemoveSuggestion.m │ │ │ │ │ │ ├── FKFlickrPhotosSuggestionsSuggestLocation.h │ │ │ │ │ │ └── FKFlickrPhotosSuggestionsSuggestLocation.m │ │ │ │ │ ├── Transform/ │ │ │ │ │ │ ├── FKFlickrPhotosTransformRotate.h │ │ │ │ │ │ └── FKFlickrPhotosTransformRotate.m │ │ │ │ │ └── Upload/ │ │ │ │ │ ├── FKFlickrPhotosUploadCheckTickets.h │ │ │ │ │ └── FKFlickrPhotosUploadCheckTickets.m │ │ │ │ ├── Photosets/ │ │ │ │ │ ├── Comments/ │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsAddComment.h │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsAddComment.m │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsDeleteComment.h │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsDeleteComment.m │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsEditComment.h │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsEditComment.m │ │ │ │ │ │ ├── FKFlickrPhotosetsCommentsGetList.h │ │ │ │ │ │ └── FKFlickrPhotosetsCommentsGetList.m │ │ │ │ │ ├── FKFlickrPhotosetsAddPhoto.h │ │ │ │ │ ├── FKFlickrPhotosetsAddPhoto.m │ │ │ │ │ ├── FKFlickrPhotosetsCreate.h │ │ │ │ │ ├── FKFlickrPhotosetsCreate.m │ │ │ │ │ ├── FKFlickrPhotosetsDelete.h │ │ │ │ │ ├── FKFlickrPhotosetsDelete.m │ │ │ │ │ ├── FKFlickrPhotosetsEditMeta.h │ │ │ │ │ ├── FKFlickrPhotosetsEditMeta.m │ │ │ │ │ ├── FKFlickrPhotosetsEditPhotos.h │ │ │ │ │ ├── FKFlickrPhotosetsEditPhotos.m │ │ │ │ │ ├── FKFlickrPhotosetsGetContext.h │ │ │ │ │ ├── FKFlickrPhotosetsGetContext.m │ │ │ │ │ ├── FKFlickrPhotosetsGetInfo.h │ │ │ │ │ ├── FKFlickrPhotosetsGetInfo.m │ │ │ │ │ ├── FKFlickrPhotosetsGetList.h │ │ │ │ │ ├── FKFlickrPhotosetsGetList.m │ │ │ │ │ ├── FKFlickrPhotosetsGetPhotos.h │ │ │ │ │ ├── FKFlickrPhotosetsGetPhotos.m │ │ │ │ │ ├── FKFlickrPhotosetsOrderSets.h │ │ │ │ │ ├── FKFlickrPhotosetsOrderSets.m │ │ │ │ │ ├── FKFlickrPhotosetsRemovePhoto.h │ │ │ │ │ ├── FKFlickrPhotosetsRemovePhoto.m │ │ │ │ │ ├── FKFlickrPhotosetsRemovePhotos.h │ │ │ │ │ ├── FKFlickrPhotosetsRemovePhotos.m │ │ │ │ │ ├── FKFlickrPhotosetsReorderPhotos.h │ │ │ │ │ ├── FKFlickrPhotosetsReorderPhotos.m │ │ │ │ │ ├── FKFlickrPhotosetsSetPrimaryPhoto.h │ │ │ │ │ └── FKFlickrPhotosetsSetPrimaryPhoto.m │ │ │ │ ├── Places/ │ │ │ │ │ ├── FKFlickrPlacesFind.h │ │ │ │ │ ├── FKFlickrPlacesFind.m │ │ │ │ │ ├── FKFlickrPlacesFindByLatLon.h │ │ │ │ │ ├── FKFlickrPlacesFindByLatLon.m │ │ │ │ │ ├── FKFlickrPlacesGetChildrenWithPhotosPublic.h │ │ │ │ │ ├── FKFlickrPlacesGetChildrenWithPhotosPublic.m │ │ │ │ │ ├── FKFlickrPlacesGetInfo.h │ │ │ │ │ ├── FKFlickrPlacesGetInfo.m │ │ │ │ │ ├── FKFlickrPlacesGetInfoByUrl.h │ │ │ │ │ ├── FKFlickrPlacesGetInfoByUrl.m │ │ │ │ │ ├── FKFlickrPlacesGetPlaceTypes.h │ │ │ │ │ ├── FKFlickrPlacesGetPlaceTypes.m │ │ │ │ │ ├── FKFlickrPlacesGetShapeHistory.h │ │ │ │ │ ├── FKFlickrPlacesGetShapeHistory.m │ │ │ │ │ ├── FKFlickrPlacesGetTopPlacesList.h │ │ │ │ │ ├── FKFlickrPlacesGetTopPlacesList.m │ │ │ │ │ ├── FKFlickrPlacesPlacesForBoundingBox.h │ │ │ │ │ ├── FKFlickrPlacesPlacesForBoundingBox.m │ │ │ │ │ ├── FKFlickrPlacesPlacesForContacts.h │ │ │ │ │ ├── FKFlickrPlacesPlacesForContacts.m │ │ │ │ │ ├── FKFlickrPlacesPlacesForTags.h │ │ │ │ │ ├── FKFlickrPlacesPlacesForTags.m │ │ │ │ │ ├── FKFlickrPlacesPlacesForUser.h │ │ │ │ │ ├── FKFlickrPlacesPlacesForUser.m │ │ │ │ │ ├── FKFlickrPlacesResolvePlaceId.h │ │ │ │ │ ├── FKFlickrPlacesResolvePlaceId.m │ │ │ │ │ ├── FKFlickrPlacesResolvePlaceURL.h │ │ │ │ │ ├── FKFlickrPlacesResolvePlaceURL.m │ │ │ │ │ ├── FKFlickrPlacesTagsForPlace.h │ │ │ │ │ └── FKFlickrPlacesTagsForPlace.m │ │ │ │ ├── Prefs/ │ │ │ │ │ ├── FKFlickrPrefsGetContentType.h │ │ │ │ │ ├── FKFlickrPrefsGetContentType.m │ │ │ │ │ ├── FKFlickrPrefsGetGeoPerms.h │ │ │ │ │ ├── FKFlickrPrefsGetGeoPerms.m │ │ │ │ │ ├── FKFlickrPrefsGetHidden.h │ │ │ │ │ ├── FKFlickrPrefsGetHidden.m │ │ │ │ │ ├── FKFlickrPrefsGetPrivacy.h │ │ │ │ │ ├── FKFlickrPrefsGetPrivacy.m │ │ │ │ │ ├── FKFlickrPrefsGetSafetyLevel.h │ │ │ │ │ └── FKFlickrPrefsGetSafetyLevel.m │ │ │ │ ├── Push/ │ │ │ │ │ ├── FKFlickrPushGetSubscriptions.h │ │ │ │ │ ├── FKFlickrPushGetSubscriptions.m │ │ │ │ │ ├── FKFlickrPushGetTopics.h │ │ │ │ │ ├── FKFlickrPushGetTopics.m │ │ │ │ │ ├── FKFlickrPushSubscribe.h │ │ │ │ │ ├── FKFlickrPushSubscribe.m │ │ │ │ │ ├── FKFlickrPushUnsubscribe.h │ │ │ │ │ └── FKFlickrPushUnsubscribe.m │ │ │ │ ├── Reflection/ │ │ │ │ │ ├── FKFlickrReflectionGetMethodInfo.h │ │ │ │ │ ├── FKFlickrReflectionGetMethodInfo.m │ │ │ │ │ ├── FKFlickrReflectionGetMethods.h │ │ │ │ │ └── FKFlickrReflectionGetMethods.m │ │ │ │ ├── Stats/ │ │ │ │ │ ├── FKFlickrStatsGetCSVFiles.h │ │ │ │ │ ├── FKFlickrStatsGetCSVFiles.m │ │ │ │ │ ├── FKFlickrStatsGetCollectionDomains.h │ │ │ │ │ ├── FKFlickrStatsGetCollectionDomains.m │ │ │ │ │ ├── FKFlickrStatsGetCollectionReferrers.h │ │ │ │ │ ├── FKFlickrStatsGetCollectionReferrers.m │ │ │ │ │ ├── FKFlickrStatsGetCollectionStats.h │ │ │ │ │ ├── FKFlickrStatsGetCollectionStats.m │ │ │ │ │ ├── FKFlickrStatsGetPhotoDomains.h │ │ │ │ │ ├── FKFlickrStatsGetPhotoDomains.m │ │ │ │ │ ├── FKFlickrStatsGetPhotoReferrers.h │ │ │ │ │ ├── FKFlickrStatsGetPhotoReferrers.m │ │ │ │ │ ├── FKFlickrStatsGetPhotoStats.h │ │ │ │ │ ├── FKFlickrStatsGetPhotoStats.m │ │ │ │ │ ├── FKFlickrStatsGetPhotosetDomains.h │ │ │ │ │ ├── FKFlickrStatsGetPhotosetDomains.m │ │ │ │ │ ├── FKFlickrStatsGetPhotosetReferrers.h │ │ │ │ │ ├── FKFlickrStatsGetPhotosetReferrers.m │ │ │ │ │ ├── FKFlickrStatsGetPhotosetStats.h │ │ │ │ │ ├── FKFlickrStatsGetPhotosetStats.m │ │ │ │ │ ├── FKFlickrStatsGetPhotostreamDomains.h │ │ │ │ │ ├── FKFlickrStatsGetPhotostreamDomains.m │ │ │ │ │ ├── FKFlickrStatsGetPhotostreamReferrers.h │ │ │ │ │ ├── FKFlickrStatsGetPhotostreamReferrers.m │ │ │ │ │ ├── FKFlickrStatsGetPhotostreamStats.h │ │ │ │ │ ├── FKFlickrStatsGetPhotostreamStats.m │ │ │ │ │ ├── FKFlickrStatsGetPopularPhotos.h │ │ │ │ │ ├── FKFlickrStatsGetPopularPhotos.m │ │ │ │ │ ├── FKFlickrStatsGetTotalViews.h │ │ │ │ │ └── FKFlickrStatsGetTotalViews.m │ │ │ │ ├── Tags/ │ │ │ │ │ ├── FKFlickrTagsGetClusterPhotos.h │ │ │ │ │ ├── FKFlickrTagsGetClusterPhotos.m │ │ │ │ │ ├── FKFlickrTagsGetClusters.h │ │ │ │ │ ├── FKFlickrTagsGetClusters.m │ │ │ │ │ ├── FKFlickrTagsGetHotList.h │ │ │ │ │ ├── FKFlickrTagsGetHotList.m │ │ │ │ │ ├── FKFlickrTagsGetListPhoto.h │ │ │ │ │ ├── FKFlickrTagsGetListPhoto.m │ │ │ │ │ ├── FKFlickrTagsGetListUser.h │ │ │ │ │ ├── FKFlickrTagsGetListUser.m │ │ │ │ │ ├── FKFlickrTagsGetListUserPopular.h │ │ │ │ │ ├── FKFlickrTagsGetListUserPopular.m │ │ │ │ │ ├── FKFlickrTagsGetListUserRaw.h │ │ │ │ │ ├── FKFlickrTagsGetListUserRaw.m │ │ │ │ │ ├── FKFlickrTagsGetMostFrequentlyUsed.h │ │ │ │ │ ├── FKFlickrTagsGetMostFrequentlyUsed.m │ │ │ │ │ ├── FKFlickrTagsGetRelated.h │ │ │ │ │ └── FKFlickrTagsGetRelated.m │ │ │ │ ├── Test/ │ │ │ │ │ ├── FKFlickrTestEcho.h │ │ │ │ │ ├── FKFlickrTestEcho.m │ │ │ │ │ ├── FKFlickrTestLogin.h │ │ │ │ │ ├── FKFlickrTestLogin.m │ │ │ │ │ ├── FKFlickrTestNull.h │ │ │ │ │ └── FKFlickrTestNull.m │ │ │ │ └── Urls/ │ │ │ │ ├── FKFlickrUrlsGetGroup.h │ │ │ │ ├── FKFlickrUrlsGetGroup.m │ │ │ │ ├── FKFlickrUrlsGetUserPhotos.h │ │ │ │ ├── FKFlickrUrlsGetUserPhotos.m │ │ │ │ ├── FKFlickrUrlsGetUserProfile.h │ │ │ │ ├── FKFlickrUrlsGetUserProfile.m │ │ │ │ ├── FKFlickrUrlsLookupGallery.h │ │ │ │ ├── FKFlickrUrlsLookupGallery.m │ │ │ │ ├── FKFlickrUrlsLookupGroup.h │ │ │ │ ├── FKFlickrUrlsLookupGroup.m │ │ │ │ ├── FKFlickrUrlsLookupUser.h │ │ │ │ └── FKFlickrUrlsLookupUser.m │ │ │ ├── Network/ │ │ │ │ ├── FKDUReachability.h │ │ │ │ ├── FKDUReachability.m │ │ │ │ ├── FKFlickrNetworkOperation.h │ │ │ │ ├── FKFlickrNetworkOperation.m │ │ │ │ ├── FKImageUploadNetworkOperation.h │ │ │ │ ├── FKImageUploadNetworkOperation.m │ │ │ │ ├── FKURLBuilder.h │ │ │ │ ├── FKURLBuilder.m │ │ │ │ ├── FKUploadRespone.h │ │ │ │ ├── FKUploadRespone.m │ │ │ │ └── Reachability/ │ │ │ │ ├── FKReachability.h │ │ │ │ └── FKReachability.m │ │ │ └── Utilities/ │ │ │ ├── FKOFHMACSha1Base64.h │ │ │ ├── FKOFHMACSha1Base64.m │ │ │ ├── FKUtilities.h │ │ │ └── FKUtilities.m │ │ ├── README.md │ │ └── Source Code License.rtf │ ├── Pods-FlickrKit-Private.xcconfig │ ├── Pods-FlickrKit-dummy.m │ ├── Pods-FlickrKit-prefix.pch │ ├── Pods-FlickrKit.xcconfig │ ├── Pods-SDWebImage-Private.xcconfig │ ├── Pods-SDWebImage-dummy.m │ ├── Pods-SDWebImage-prefix.pch │ ├── Pods-SDWebImage.xcconfig │ ├── Pods-acknowledgements.markdown │ ├── Pods-acknowledgements.plist │ ├── Pods-dummy.m │ ├── Pods-environment.h │ ├── Pods-resources.sh │ ├── Pods.xcconfig │ ├── Pods.xcodeproj/ │ │ ├── project.pbxproj │ │ └── xcuserdata/ │ │ └── andrewhulsizer.xcuserdatad/ │ │ └── xcschemes/ │ │ ├── Pods-FlickrKit.xcscheme │ │ ├── Pods-SDWebImage.xcscheme │ │ ├── Pods.xcscheme │ │ └── xcschememanagement.plist │ └── SDWebImage/ │ ├── LICENSE │ ├── README.md │ └── SDWebImage/ │ ├── NSData+ImageContentType.h │ ├── NSData+ImageContentType.m │ ├── SDImageCache.h │ ├── SDImageCache.m │ ├── SDWebImageCompat.h │ ├── SDWebImageCompat.m │ ├── SDWebImageDecoder.h │ ├── SDWebImageDecoder.m │ ├── SDWebImageDownloader.h │ ├── SDWebImageDownloader.m │ ├── SDWebImageDownloaderOperation.h │ ├── SDWebImageDownloaderOperation.m │ ├── SDWebImageManager.h │ ├── SDWebImageManager.m │ ├── SDWebImageOperation.h │ ├── SDWebImagePrefetcher.h │ ├── SDWebImagePrefetcher.m │ ├── UIButton+WebCache.h │ ├── UIButton+WebCache.m │ ├── UIImage+GIF.h │ ├── UIImage+GIF.m │ ├── UIImage+MultiFormat.h │ ├── UIImage+MultiFormat.m │ ├── UIImageView+WebCache.h │ └── UIImageView+WebCache.m └── README.md ================================================ FILE CONTENTS ================================================ ================================================ FILE: CharacterText/AppDelegate.swift ================================================ // // AppDelegate.swift // CharacterText // // Created by Andrew Hulsizer on 6/26/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool { // Override point for customization after application launch. return true } func applicationWillResignActive(application: UIApplication) { // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. } func applicationDidEnterBackground(application: UIApplication) { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } func applicationWillEnterForeground(application: UIApplication) { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(application: UIApplication) { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. } func applicationWillTerminate(application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } } ================================================ FILE: CharacterText/Base.lproj/Main.storyboard ================================================ ================================================ FILE: CharacterText/Classes/CharacterLabel/CharacterLabel.swift ================================================ // // CharacterLabel.swift // CharacterText // // Created by Andrew Hulsizer on 7/4/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit import QuartzCore import CoreText class CharacterLabel: UILabel, NSLayoutManagerDelegate { let textStorage = NSTextStorage(string: " "); let textContainer = NSTextContainer(); let layoutManager = NSLayoutManager(); var oldCharacterTextLayers = Array() var characterTextLayers = Array() override var lineBreakMode: NSLineBreakMode { get { return super.lineBreakMode } set { textContainer.lineBreakMode = newValue super.lineBreakMode = newValue } } override var numberOfLines: Int { get { return super.numberOfLines } set { textContainer.maximumNumberOfLines = newValue super.numberOfLines = newValue } } override var bounds: CGRect { get { return super.bounds } set { textContainer.size = newValue.size super.bounds = newValue } } override var text: String! { get { return super.text } set { let wordRange = NSMakeRange(0, count(newValue)) var attributedText = NSMutableAttributedString(string: newValue) attributedText.addAttribute(NSForegroundColorAttributeName , value:self.textColor, range:wordRange) attributedText.addAttribute(NSFontAttributeName , value:self.font, range:wordRange) var paragraphStyle = NSMutableParagraphStyle() paragraphStyle.alignment = self.textAlignment attributedText.addAttribute(NSParagraphStyleAttributeName, value:paragraphStyle, range: wordRange) self.attributedText = attributedText } } override var attributedText: NSAttributedString! { get { return super.attributedText } set { if textStorage.string == newValue.string { return } cleanOutOldCharacterTextLayers() oldCharacterTextLayers = Array(characterTextLayers) textStorage.setAttributedString(newValue) } } override init(frame: CGRect) { super.init(frame: frame) setupLayoutManager() } required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) setupLayoutManager() } override func awakeFromNib() { super.awakeFromNib() setupLayoutManager() } func setupLayoutManager() { textStorage.addLayoutManager(layoutManager) layoutManager.addTextContainer(textContainer) textContainer.size = bounds.size textContainer.maximumNumberOfLines = numberOfLines textContainer.lineBreakMode = lineBreakMode layoutManager.delegate = self } func layoutManager(layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) { calculateTextLayers() } func calculateTextLayers() { characterTextLayers.removeAll(keepCapacity: false) let attributedText = textStorage.string let wordRange = NSMakeRange(0, count(attributedText)); let attributedString = self.internalAttributedText(); let layoutRect = layoutManager.usedRectForTextContainer(textContainer); for var index = wordRange.location; index < wordRange.length+wordRange.location; index += 0 { let glyphRange = NSMakeRange(index, 1); let characterRange = layoutManager.characterRangeForGlyphRange(glyphRange, actualGlyphRange:nil); let textContainer = layoutManager.textContainerForGlyphAtIndex(index, effectiveRange: nil); var glyphRect = layoutManager.boundingRectForGlyphRange(glyphRange, inTextContainer: textContainer!); var location = layoutManager.locationForGlyphAtIndex(index); var kerningRange = layoutManager.rangeOfNominallySpacedGlyphsContainingIndex(index); if kerningRange.length > 1 && kerningRange.location == index { if count(characterTextLayers) > 0 { var previousLayer = characterTextLayers[characterTextLayers.endIndex-1] var frame = previousLayer.frame frame.size.width += CGRectGetMaxX(glyphRect)-CGRectGetMaxX(frame) previousLayer.frame = frame } } glyphRect.origin.y += location.y-(glyphRect.height/2)+(self.bounds.size.height/2)-(layoutRect.size.height/2); var textLayer = CATextLayer(frame: glyphRect, string: attributedString.attributedSubstringFromRange(characterRange)); initialTextLayerAttributes(textLayer) layer.addSublayer(textLayer); characterTextLayers.append(textLayer); index += characterRange.length; } } func initialTextLayerAttributes(textLayer: CATextLayer) { } func internalAttributedText() -> NSMutableAttributedString! { let wordRange = NSMakeRange(0, count(textStorage.string)); var attributedText = NSMutableAttributedString(string: textStorage.string); attributedText.addAttribute(NSForegroundColorAttributeName , value: self.textColor.CGColor, range:wordRange); attributedText.addAttribute(NSFontAttributeName , value: self.font, range:wordRange); var paragraphStyle = NSMutableParagraphStyle() paragraphStyle.alignment = self.textAlignment attributedText.addAttribute(NSParagraphStyleAttributeName, value:paragraphStyle, range: wordRange) return attributedText; } func cleanOutOldCharacterTextLayers() { //Remove all text layers from the superview for textLayer in oldCharacterTextLayers { textLayer.removeFromSuperlayer(); } //clean out the text layer oldCharacterTextLayers.removeAll(keepCapacity: false); } } ================================================ FILE: CharacterText/Classes/CharacterLabel/CharacterTextView.swift ================================================ // // CharacterTextView.swift // CharacterText // // Created by Andrew Hulsizer on 6/26/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit import QuartzCore import CoreText class CharacterTextView: UITextView, NSLayoutManagerDelegate { var oldCharacterTextLayers = Array() var characterTextLayers = Array() override var text: String! { get { return super.text } set { self.attributedText = NSAttributedString(string: newValue); } } override var attributedText: NSAttributedString! { get { return super.attributedText } set { cleanOutOldCharacterTextLayers(); oldCharacterTextLayers = Array(characterTextLayers); var newAttributedText = NSMutableAttributedString(attributedString: newValue); newAttributedText.addAttribute(NSForegroundColorAttributeName, value:UIColor.clearColor(), range:NSMakeRange(0, newValue.length)); super.attributedText = newAttributedText; } } override init(frame: CGRect, textContainer: NSTextContainer!) { super.init(frame: frame, textContainer: textContainer); setupLayoutManager(); } required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) setupLayoutManager() } override func awakeFromNib() { super.awakeFromNib(); setupLayoutManager(); } func setupLayoutManager() { layoutManager.delegate = self; } func layoutManager(layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) { calculateTextLayers(); } func calculateTextLayers() { let wordRange = NSMakeRange(0, self.attributedText.length); let attributedString = self.internalAttributedText(); for var index = wordRange.location; index < wordRange.length+wordRange.location; index += 0 { let glyphRange = NSMakeRange(index, 1); let characterRange = layoutManager.characterRangeForGlyphRange(glyphRange, actualGlyphRange:nil); let textContainer = layoutManager.textContainerForGlyphAtIndex(index, effectiveRange: nil); var glyphRect = layoutManager.boundingRectForGlyphRange(glyphRange, inTextContainer: textContainer!); var location = layoutManager.locationForGlyphAtIndex(index); var kerningRange = layoutManager.rangeOfNominallySpacedGlyphsContainingIndex(index); if kerningRange.length > 1 && kerningRange.location == index { var previousLayer = self.characterTextLayers[self.characterTextLayers.endIndex] var frame = previousLayer.frame frame.size.width += (CGRectGetMaxX(glyphRect)+location.x)-CGRectGetMaxX(frame) previousLayer.frame = frame } glyphRect.origin.y += location.y-(glyphRect.height/2); var textLayer = CATextLayer(frame: glyphRect, string: attributedString.attributedSubstringFromRange(characterRange)); layer.addSublayer(textLayer); characterTextLayers.append(textLayer); let stepGlyphRange = layoutManager.glyphRangeForCharacterRange(characterRange, actualCharacterRange:nil); index += stepGlyphRange.length; } } func internalAttributedText() -> NSMutableAttributedString! { let wordRange = NSMakeRange(0, self.attributedText.length); var attributedText = NSMutableAttributedString(string: self.text); attributedText.addAttribute(NSForegroundColorAttributeName , value:self.textColor.CGColor, range:wordRange); attributedText.addAttribute(NSFontAttributeName , value:self.font, range:wordRange); return attributedText; } func cleanOutOldCharacterTextLayers() { //Remove all text layers from the superview for textLayer in oldCharacterTextLayers { textLayer.removeFromSuperlayer(); } //clean out the text layer characterTextLayers.removeAll(keepCapacity: false); } } ================================================ FILE: CharacterText/Classes/Extensions/CATextLayerExtensions.swift ================================================ // // CATextLayerExtensions.swift // CharacterText // // Created by Andrew Hulsizer on 6/26/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import QuartzCore import UIKit extension CATextLayer { convenience init(frame: CGRect, string: NSAttributedString) { self.init(); self.contentsScale = UIScreen.mainScreen().scale; self.frame = frame; self.string = string; } } ================================================ FILE: CharacterText/Classes/Flickr/FlickrCollectionViewCell.swift ================================================ // // FlickrCollectionViewCell.swift // CharacterText // // Created by Andrew Hulsizer on 7/6/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit class FlickrCollectionViewCell: UICollectionViewCell { var photoImageView: UIImageView! var darkenMask: UIView! override init(frame: CGRect) { super.init(frame: frame) initialSetup() } required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) initialSetup() } override func awakeFromNib() { super.awakeFromNib() initialSetup() } func configure(flickrPhoto: FlickrPhoto) { photoImageView.alpha = 0 photoImageView.setImageWithURL(flickrPhoto.photoURL) { image, error, cacheType in switch cacheType { case SDImageCacheType.Memory: self.photoImageView.alpha = 1 case SDImageCacheType.Disk, SDImageCacheType.None: UIView.animateWithDuration(0.5) { self.photoImageView.alpha = 1 } } } } func initialSetup() { photoImageView = UIImageView(frame: self.bounds) photoImageView.clipsToBounds = true photoImageView.contentMode = UIViewContentMode.ScaleAspectFill self.addSubview(photoImageView) darkenMask = UIView(frame: self.bounds) darkenMask.backgroundColor = UIColor(white: 0, alpha:0.5) self.addSubview(darkenMask) } } ================================================ FILE: CharacterText/Classes/Flickr/FlickrPhoto.swift ================================================ // // FlickrPhoto.swift // CharacterText // // Created by Andrew Hulsizer on 7/6/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import Foundation class FlickrPhoto: NSObject { var photoURL: NSURL var title: String init(photoURL: NSURL, title: String) { self.photoURL = photoURL self.title = title super.init() } } ================================================ FILE: CharacterText/Classes/Labels/FadingLabel.swift ================================================ // // FadingLabel.swift // CharacterText // // Created by Andrew Hulsizer on 7/4/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit import QuartzCore import CoreText class FadingLabel: CharacterLabel { override var attributedText: NSAttributedString! { get { return super.attributedText } set { super.attributedText = newValue self.animateOut() { finished in self.animateIn(nil); } } } override func initialTextLayerAttributes(textLayer: CATextLayer) { textLayer.opacity = 0 } func animateIn(completion: ((finished: Bool) -> Void)?) { for textLayer in characterTextLayers { var duration = (NSTimeInterval(arc4random()%100)/200.0)+0.25 var delay = NSTimeInterval(arc4random()%100)/500.0 CLMLayerAnimation.animation(textLayer, duration:duration, delay:delay, animations: { textLayer.opacity = 1; }, completion:nil) } } func animateOut(completion: ((finished: Bool) -> Void)? = nil) { var longestAnimation = 0.0 var longestAnimationIndex = -1 var index = 0 for textLayer in oldCharacterTextLayers { let duration = (NSTimeInterval(arc4random()%100)/200.0)+0.25 let delay = NSTimeInterval(arc4random()%100)/500.0 if duration+delay > longestAnimation { longestAnimation = duration+delay longestAnimationIndex = index } CLMLayerAnimation.animation(textLayer, duration:duration, delay:delay, animations: { textLayer.opacity = 0; }, completion:{ finished in textLayer.removeFromSuperlayer() if textLayer == self.oldCharacterTextLayers[longestAnimationIndex] { if let completionFunction = completion { completionFunction(finished: finished) } } }) ++index } } } ================================================ FILE: CharacterText/Classes/Labels/FallingLabel.swift ================================================ // // FallingLabel.swift // CharacterText // // Created by Andrew Hulsizer on 7/4/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit import QuartzCore import CoreText class FallingLabel: CharacterLabel { override var attributedText: NSAttributedString! { get { return super.attributedText } set { super.attributedText = newValue self.animateOut() { finished in self.animateIn(nil); } } } override func initialTextLayerAttributes(textLayer: CATextLayer) { textLayer.opacity = 0 } func animateIn(completion: ((finished: Bool) -> Void)?) { for textLayer in characterTextLayers { var duration = (NSTimeInterval(arc4random()%100)/100.0)+0.3 var delay = NSTimeInterval(arc4random()%100)/500.0 CLMLayerAnimation.animation(textLayer, duration:duration, delay:delay, animations: { textLayer.opacity = 1; }, completion:nil) } } func animateOut(completion: ((finished: Bool) -> Void)? = nil) { if oldCharacterTextLayers.count == 0 { if let completionFunction = completion { completionFunction(finished: true) } } var longestAnimation = 0.0 var longestAnimationIndex = -1 var index = 0 for textLayer in oldCharacterTextLayers { let duration = (NSTimeInterval(arc4random()%100)/125.0)+0.35 let delay = NSTimeInterval(arc4random()%100)/500.0 let distance = CGFloat(arc4random()%50)+25 let angle = CGFloat((Double(arc4random())/M_PI_2)-M_PI_4) var finishingTransform = CATransform3DMakeTranslation(0, distance, 0) finishingTransform = CATransform3DRotate(finishingTransform, angle, 0, 0, 1) if duration+delay > longestAnimation { longestAnimation = duration+delay longestAnimationIndex = index } CLMLayerAnimation.animation(textLayer, duration:duration, delay:delay, animations: { textLayer.transform = finishingTransform textLayer.opacity = 0; }, completion:{ finished in textLayer.removeFromSuperlayer() if textLayer == self.oldCharacterTextLayers[longestAnimationIndex] { if let completionFunction = completion { completionFunction(finished: finished) } } }) ++index } } } ================================================ FILE: CharacterText/Classes/Labels/MotionLabel.swift ================================================ // // MotionLabel.swift // CharacterText // // Created by Andrew Hulsizer on 7/7/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import QuartzCore class MotionLabel: CharacterLabel { var oldMatchingCharacters = Dictionary() var newMatchingCharacters = Dictionary() override var attributedText: NSAttributedString! { get { return super.attributedText } set { if textStorage.string == newValue.string { return } super.attributedText = newValue; let matches = self.matchingCharacterRanges(newValue.string) oldMatchingCharacters = matches.oldMatches newMatchingCharacters = matches.newMatches self.animateOut(completion: nil); self.animateIn(completion: nil); } } override func initialTextLayerAttributes(textLayer: CATextLayer) { textLayer.opacity = 0 } func animateIn(completion: ((finished: Bool) -> Void)? = nil) { var index = 0 for textLayer in characterTextLayers { if let oldMatchingIndex = newMatchingCharacters[index] { textLayer.opacity = 0; }else{ let scaleTransform = CATransform3DMakeScale(0.2, 0.2, 1) textLayer.transform = scaleTransform CLMLayerAnimation.animation(textLayer, duration:0.3, delay:NSTimeInterval(index)*0.01, animations: { textLayer.transform = CATransform3DIdentity textLayer.opacity = 1; }, completion:nil) } ++index; } } func animateOut(completion: ((finished: Bool) -> Void)? = nil) { let scaleTransform = CATransform3DMakeScale(0.2, 0.2, 1) var index = 0 for textLayer in oldCharacterTextLayers { if let newMatchingIndex = oldMatchingCharacters[index] { let glyphIndex = layoutManager.glyphIndexForCharacterAtIndex(newMatchingIndex) let matchingLayer = characterTextLayers[glyphIndex] let startingTransform = CATransform3DMakeTranslation(matchingLayer.position.x-textLayer.position.x, matchingLayer.position.y-textLayer.position.y, 0) CLMLayerAnimation.animation(textLayer, duration:0.3, delay:0, animations: { textLayer.transform = startingTransform }, completion: { finished in CLMLayerAnimation.animation(matchingLayer, duration:0.01, delay:0, animations: { matchingLayer.opacity = 1 }, completion: { finished in textLayer.removeFromSuperlayer() }) if index == self.oldCharacterTextLayers.count-1 { if let completionFunction = completion { completionFunction(finished: finished) } } }) }else{ textLayer.transform = CATransform3DIdentity CLMLayerAnimation.animation(textLayer, duration:0.3, delay:NSTimeInterval(index)*0.01, animations: { textLayer.transform = scaleTransform textLayer.opacity = 0; }, completion: { finished in textLayer.removeFromSuperlayer() if index == self.oldCharacterTextLayers.count-1 { if let completionFunction = completion { completionFunction(finished: finished) } } }) } ++index; } } func matchingCharacterRanges(newString: String) -> (oldMatches: Dictionary, newMatches: Dictionary) { var oldMatches = Dictionary() var newMatches = Dictionary() var outerIndex = 0 var innerIndex = 0 var currentIndex = 0 var currentLength = 0 var startingInnerIndex = 0 var buffer = 6 let characterTextLayersEndIndex = count(characterTextLayers)-1 for characterLayer in oldCharacterTextLayers { if startingInnerIndex >= characterTextLayersEndIndex { break; } let character = characterLayer.string as! NSAttributedString for newCharacterLayer in characterTextLayers[startingInnerIndex...characterTextLayersEndIndex] { if innerIndex >= buffer { break } let newCharacter = newCharacterLayer.string as! NSAttributedString if character.isEqualToAttributedString(newCharacter) { oldMatches[outerIndex] = startingInnerIndex+innerIndex newMatches[startingInnerIndex+innerIndex] = outerIndex startingInnerIndex += innerIndex break } ++innerIndex } innerIndex = 0 ++startingInnerIndex ++outerIndex } assert(oldMatches.count == newMatches.count, "Matches dont match", file: "NSStringExtension", line: 46) return (oldMatches, newMatches) } } ================================================ FILE: CharacterText/Classes/Utilities/CLMLayerAnimation.swift ================================================ // // CALayerAnimationExtension.swift // CharacterText // // Created by Andrew Hulsizer on 7/5/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import Foundation import QuartzCore class CLMLayerAnimation: NSObject { var completionClosure: ((finished: Bool)-> ())? = nil var layer: CALayer! class func animation(layer: CALayer, duration: NSTimeInterval, delay: NSTimeInterval, animations: (() -> ())?, completion: ((finished: Bool)-> ())?) -> CLMLayerAnimation { var animation = CLMLayerAnimation() dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(delay * Double(NSEC_PER_SEC))), dispatch_get_main_queue()) { var animationGroup: CAAnimationGroup? let oldLayer = self.animatableLayerCopy(layer) animation.completionClosure = completion if let layerAnimations = animations { CATransaction.begin() CATransaction.setDisableActions(true) layerAnimations() CATransaction.commit() } animationGroup = self.groupAnimationsForDifferences(oldLayer, newLayer: layer) if let differenceAnimation = animationGroup { differenceAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut) differenceAnimation.duration = duration differenceAnimation.beginTime = CACurrentMediaTime() differenceAnimation.delegate = animation layer.addAnimation(differenceAnimation, forKey: nil) }else{ if let completion = animation.completionClosure { completion(finished: true) } } }; return animation } class func groupAnimationsForDifferences(oldLayer: CALayer, newLayer: CALayer) -> CAAnimationGroup? { var animationGroup: CAAnimationGroup? var animations = Array() if !CATransform3DEqualToTransform(oldLayer.transform, newLayer.transform) { var animation = CABasicAnimation(keyPath: "transform") animation.fromValue = NSValue(CATransform3D: oldLayer.transform) animation.toValue = NSValue(CATransform3D: newLayer.transform) animations.append(animation) } if !CGRectEqualToRect(oldLayer.bounds, newLayer.bounds) { var animation = CABasicAnimation(keyPath: "bounds") animation.fromValue = NSValue(CGRect: oldLayer.bounds) animation.toValue = NSValue(CGRect: newLayer.bounds) animations.append(animation) } if !CGRectEqualToRect(oldLayer.frame, newLayer.frame) { var animation = CABasicAnimation(keyPath: "frame") animation.fromValue = NSValue(CGRect: oldLayer.frame) animation.toValue = NSValue(CGRect: newLayer.frame) animations.append(animation) } if !CGPointEqualToPoint(oldLayer.position, newLayer.position) { var animation = CABasicAnimation(keyPath: "position") animation.fromValue = NSValue(CGPoint: oldLayer.position) animation.toValue = NSValue(CGPoint: newLayer.position) animations.append(animation) } if oldLayer.opacity != newLayer.opacity { var animation = CABasicAnimation(keyPath: "opacity") animation.fromValue = oldLayer.opacity animation.toValue = newLayer.opacity animations.append(animation) } if animations.count > 0 { animationGroup = CAAnimationGroup() animationGroup!.animations = animations } return animationGroup } class func animatableLayerCopy(layer: CALayer) -> CALayer { var layerCopy = CALayer() layerCopy.opacity = layer.opacity layerCopy.transform = layer.transform layerCopy.bounds = layer.bounds layerCopy.position = layer.position return layerCopy; } override func animationDidStop(anim: CAAnimation!, finished flag: Bool) { if let completion = completionClosure { completion(finished: true) } } } ================================================ FILE: CharacterText/Classes/ViewControllers/ViewController.swift ================================================ // // ViewController.swift // CharacterText // // Created by Andrew Hulsizer on 6/26/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import UIKit class ViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate { @IBOutlet var collectionView: UICollectionView! var dataArray = Array() var characterLabel: MotionLabel!; override func viewDidLoad() { super.viewDidLoad() setupCollectionView() setupCharacterLabel() } func setupCollectionView() { //Get Flickr Data FlickrKit.sharedFlickrKit().initializeWithAPIKey("334626934a41897193b6a0613f1c94a0", sharedSecret: "b0132e5cfd44574b") let flickrKit = FlickrKit.sharedFlickrKit() flickrKit.call(FKFlickrInterestingnessGetList()) { response, error in if (response != nil) { var photoUrls = Array() var photos: NSDictionary = response["photos"] as! NSDictionary; var photoArray: NSArray = photos["photo"] as! NSArray; //Get Photos for photoData : AnyObject in photoArray { var photoDict: NSDictionary = photoData as! NSDictionary var url = flickrKit.photoURLForSize(FKPhotoSizeMedium800, fromPhotoDictionary: photoDict as [NSObject : AnyObject]) var newPhoto = FlickrPhoto(photoURL: url, title: photoDict["title"] as! String) photoUrls.append(newPhoto) } dispatch_async(dispatch_get_main_queue(), { self.dataArray = Array(photoUrls); self.collectionView.reloadData() }) } } collectionView.registerClass(FlickrCollectionViewCell.classForCoder(), forCellWithReuseIdentifier: "FlickrCollectionViewCell") } func setupCharacterLabel() { characterLabel = MotionLabel(frame: CGRectInset(self.view.bounds, 0, 200)); characterLabel.textAlignment = NSTextAlignment.Center characterLabel.textColor = UIColor.whiteColor() characterLabel.text = "You" self.view.addSubview(characterLabel) } func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { return dataArray.count } func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell { var collectionViewCell : FlickrCollectionViewCell! = collectionView.dequeueReusableCellWithReuseIdentifier("FlickrCollectionViewCell", forIndexPath: indexPath) as! FlickrCollectionViewCell collectionViewCell.configure(dataArray[indexPath.row]) return collectionViewCell } func scrollViewDidEndDecelerating(scrollView: UIScrollView) { let page: Int = Int(scrollView.contentOffset.x/CGRectGetWidth(self.view.bounds)) var photo = dataArray[page]; characterLabel.text = photo.title } func scrollViewDidEndDragging(scrollView: UIScrollView!, delecerate: Bool) { if !delecerate { let page: Int = Int(scrollView.contentOffset.x/CGRectGetWidth(self.view.bounds)) var photo = dataArray[page]; characterLabel.text = photo.title } } } ================================================ FILE: CharacterText/Images.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: CharacterText/Images.xcassets/LaunchImage.launchimage/Contents.json ================================================ { "images" : [ { "orientation" : "portrait", "idiom" : "iphone", "extent" : "full-screen", "minimum-system-version" : "7.0", "scale" : "2x" }, { "orientation" : "portrait", "idiom" : "iphone", "subtype" : "retina4", "extent" : "full-screen", "minimum-system-version" : "7.0", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: CharacterText/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier SwiftYeti.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1 LSRequiresIPhoneOS UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 ================================================ FILE: CharacterText-Bridging-Header.h ================================================ // // Use this file to import your target's public headers that you would like to expose to Swift. // #import #import ================================================ FILE: CharacterText.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 8EEE15EF57964A2A970FCDF9 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 34EF17A2B9484331A6D06389 /* libPods.a */; }; AF1704D4196B9D9D00AA5ED1 /* CharacterLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704C5196B9D9D00AA5ED1 /* CharacterLabel.swift */; }; AF1704D5196B9D9D00AA5ED1 /* CharacterTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704C6196B9D9D00AA5ED1 /* CharacterTextView.swift */; }; AF1704D6196B9D9D00AA5ED1 /* CATextLayerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704C8196B9D9D00AA5ED1 /* CATextLayerExtensions.swift */; }; AF1704D7196B9D9D00AA5ED1 /* FlickrCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704CA196B9D9D00AA5ED1 /* FlickrCollectionViewCell.swift */; }; AF1704D8196B9D9D00AA5ED1 /* FlickrPhoto.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704CB196B9D9D00AA5ED1 /* FlickrPhoto.swift */; }; AF1704D9196B9D9D00AA5ED1 /* FadingLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704CD196B9D9D00AA5ED1 /* FadingLabel.swift */; }; AF1704DA196B9D9D00AA5ED1 /* FallingLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704CE196B9D9D00AA5ED1 /* FallingLabel.swift */; }; AF1704DB196B9D9D00AA5ED1 /* MotionLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704CF196B9D9D00AA5ED1 /* MotionLabel.swift */; }; AF1704DC196B9D9D00AA5ED1 /* CLMLayerAnimation.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704D1196B9D9D00AA5ED1 /* CLMLayerAnimation.swift */; }; AF1704DD196B9D9D00AA5ED1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1704D3196B9D9D00AA5ED1 /* ViewController.swift */; }; AF7BB325195C749600E46AF2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF7BB324195C749600E46AF2 /* AppDelegate.swift */; }; AF7BB32A195C749600E46AF2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AF7BB328195C749600E46AF2 /* Main.storyboard */; }; AF7BB32C195C749600E46AF2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AF7BB32B195C749600E46AF2 /* Images.xcassets */; }; AF7BB338195C749600E46AF2 /* CharacterTextTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF7BB337195C749600E46AF2 /* CharacterTextTests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ AF7BB332195C749600E46AF2 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = AF7BB317195C749600E46AF2 /* Project object */; proxyType = 1; remoteGlobalIDString = AF7BB31E195C749600E46AF2; remoteInfo = CharacterText; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 34EF17A2B9484331A6D06389 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; 449B19C1BD934D6594ECA096 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = ""; }; AF1704C5196B9D9D00AA5ED1 /* CharacterLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CharacterLabel.swift; sourceTree = ""; }; AF1704C6196B9D9D00AA5ED1 /* CharacterTextView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CharacterTextView.swift; sourceTree = ""; }; AF1704C8196B9D9D00AA5ED1 /* CATextLayerExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CATextLayerExtensions.swift; sourceTree = ""; }; AF1704CA196B9D9D00AA5ED1 /* FlickrCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FlickrCollectionViewCell.swift; sourceTree = ""; }; AF1704CB196B9D9D00AA5ED1 /* FlickrPhoto.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FlickrPhoto.swift; sourceTree = ""; }; AF1704CD196B9D9D00AA5ED1 /* FadingLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FadingLabel.swift; sourceTree = ""; }; AF1704CE196B9D9D00AA5ED1 /* FallingLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FallingLabel.swift; sourceTree = ""; }; AF1704CF196B9D9D00AA5ED1 /* MotionLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MotionLabel.swift; sourceTree = ""; }; AF1704D1196B9D9D00AA5ED1 /* CLMLayerAnimation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CLMLayerAnimation.swift; sourceTree = ""; }; AF1704D3196B9D9D00AA5ED1 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; AF7BB31F195C749600E46AF2 /* CharacterText.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CharacterText.app; sourceTree = BUILT_PRODUCTS_DIR; }; AF7BB323195C749600E46AF2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AF7BB324195C749600E46AF2 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; AF7BB329195C749600E46AF2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; AF7BB32B195C749600E46AF2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; AF7BB331195C749600E46AF2 /* CharacterTextTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CharacterTextTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; AF7BB336195C749600E46AF2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AF7BB337195C749600E46AF2 /* CharacterTextTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CharacterTextTests.swift; sourceTree = ""; }; AFFE04CB196A5EA6002377A6 /* CharacterText-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CharacterText-Bridging-Header.h"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ AF7BB31C195C749600E46AF2 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 8EEE15EF57964A2A970FCDF9 /* libPods.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; AF7BB32E195C749600E46AF2 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 57E8CB34692F4216B1A379DF /* Frameworks */ = { isa = PBXGroup; children = ( 34EF17A2B9484331A6D06389 /* libPods.a */, ); name = Frameworks; sourceTree = ""; }; AF1704C3196B9D9D00AA5ED1 /* Classes */ = { isa = PBXGroup; children = ( AF1704C4196B9D9D00AA5ED1 /* CharacterLabel */, AF1704C7196B9D9D00AA5ED1 /* Extensions */, AF1704C9196B9D9D00AA5ED1 /* Flickr */, AF1704CC196B9D9D00AA5ED1 /* Labels */, AF1704D0196B9D9D00AA5ED1 /* Utilities */, AF1704D2196B9D9D00AA5ED1 /* ViewControllers */, ); path = Classes; sourceTree = ""; }; AF1704C4196B9D9D00AA5ED1 /* CharacterLabel */ = { isa = PBXGroup; children = ( AF1704C5196B9D9D00AA5ED1 /* CharacterLabel.swift */, AF1704C6196B9D9D00AA5ED1 /* CharacterTextView.swift */, ); path = CharacterLabel; sourceTree = ""; }; AF1704C7196B9D9D00AA5ED1 /* Extensions */ = { isa = PBXGroup; children = ( AF1704C8196B9D9D00AA5ED1 /* CATextLayerExtensions.swift */, ); path = Extensions; sourceTree = ""; }; AF1704C9196B9D9D00AA5ED1 /* Flickr */ = { isa = PBXGroup; children = ( AF1704CA196B9D9D00AA5ED1 /* FlickrCollectionViewCell.swift */, AF1704CB196B9D9D00AA5ED1 /* FlickrPhoto.swift */, ); path = Flickr; sourceTree = ""; }; AF1704CC196B9D9D00AA5ED1 /* Labels */ = { isa = PBXGroup; children = ( AF1704CD196B9D9D00AA5ED1 /* FadingLabel.swift */, AF1704CE196B9D9D00AA5ED1 /* FallingLabel.swift */, AF1704CF196B9D9D00AA5ED1 /* MotionLabel.swift */, ); path = Labels; sourceTree = ""; }; AF1704D0196B9D9D00AA5ED1 /* Utilities */ = { isa = PBXGroup; children = ( AF1704D1196B9D9D00AA5ED1 /* CLMLayerAnimation.swift */, ); path = Utilities; sourceTree = ""; }; AF1704D2196B9D9D00AA5ED1 /* ViewControllers */ = { isa = PBXGroup; children = ( AF1704D3196B9D9D00AA5ED1 /* ViewController.swift */, ); path = ViewControllers; sourceTree = ""; }; AF7BB316195C749600E46AF2 = { isa = PBXGroup; children = ( AF7BB321195C749600E46AF2 /* CharacterText */, AF7BB334195C749600E46AF2 /* CharacterTextTests */, AF7BB320195C749600E46AF2 /* Products */, 449B19C1BD934D6594ECA096 /* Pods.xcconfig */, 57E8CB34692F4216B1A379DF /* Frameworks */, AFFE04CB196A5EA6002377A6 /* CharacterText-Bridging-Header.h */, ); sourceTree = ""; }; AF7BB320195C749600E46AF2 /* Products */ = { isa = PBXGroup; children = ( AF7BB31F195C749600E46AF2 /* CharacterText.app */, AF7BB331195C749600E46AF2 /* CharacterTextTests.xctest */, ); name = Products; sourceTree = ""; }; AF7BB321195C749600E46AF2 /* CharacterText */ = { isa = PBXGroup; children = ( AF7BB324195C749600E46AF2 /* AppDelegate.swift */, AF1704C3196B9D9D00AA5ED1 /* Classes */, AF7BB32B195C749600E46AF2 /* Images.xcassets */, AF7BB328195C749600E46AF2 /* Main.storyboard */, AF7BB322195C749600E46AF2 /* Supporting Files */, ); path = CharacterText; sourceTree = ""; }; AF7BB322195C749600E46AF2 /* Supporting Files */ = { isa = PBXGroup; children = ( AF7BB323195C749600E46AF2 /* Info.plist */, ); name = "Supporting Files"; sourceTree = ""; }; AF7BB334195C749600E46AF2 /* CharacterTextTests */ = { isa = PBXGroup; children = ( AF7BB337195C749600E46AF2 /* CharacterTextTests.swift */, AF7BB335195C749600E46AF2 /* Supporting Files */, ); path = CharacterTextTests; sourceTree = ""; }; AF7BB335195C749600E46AF2 /* Supporting Files */ = { isa = PBXGroup; children = ( AF7BB336195C749600E46AF2 /* Info.plist */, ); name = "Supporting Files"; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ AF7BB31E195C749600E46AF2 /* CharacterText */ = { isa = PBXNativeTarget; buildConfigurationList = AF7BB33B195C749600E46AF2 /* Build configuration list for PBXNativeTarget "CharacterText" */; buildPhases = ( FA67BE65ECAB416193AB22CB /* Check Pods Manifest.lock */, AF7BB31B195C749600E46AF2 /* Sources */, AF7BB31C195C749600E46AF2 /* Frameworks */, AF7BB31D195C749600E46AF2 /* Resources */, 586E4B0FC94A468E915AA357 /* Copy Pods Resources */, ); buildRules = ( ); dependencies = ( ); name = CharacterText; productName = CharacterText; productReference = AF7BB31F195C749600E46AF2 /* CharacterText.app */; productType = "com.apple.product-type.application"; }; AF7BB330195C749600E46AF2 /* CharacterTextTests */ = { isa = PBXNativeTarget; buildConfigurationList = AF7BB33E195C749600E46AF2 /* Build configuration list for PBXNativeTarget "CharacterTextTests" */; buildPhases = ( AF7BB32D195C749600E46AF2 /* Sources */, AF7BB32E195C749600E46AF2 /* Frameworks */, AF7BB32F195C749600E46AF2 /* Resources */, ); buildRules = ( ); dependencies = ( AF7BB333195C749600E46AF2 /* PBXTargetDependency */, ); name = CharacterTextTests; productName = CharacterTextTests; productReference = AF7BB331195C749600E46AF2 /* CharacterTextTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ AF7BB317195C749600E46AF2 /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0600; ORGANIZATIONNAME = "Swift Yeti"; TargetAttributes = { AF7BB31E195C749600E46AF2 = { CreatedOnToolsVersion = 6.0; }; AF7BB330195C749600E46AF2 = { CreatedOnToolsVersion = 6.0; TestTargetID = AF7BB31E195C749600E46AF2; }; }; }; buildConfigurationList = AF7BB31A195C749600E46AF2 /* Build configuration list for PBXProject "CharacterText" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = AF7BB316195C749600E46AF2; productRefGroup = AF7BB320195C749600E46AF2 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( AF7BB31E195C749600E46AF2 /* CharacterText */, AF7BB330195C749600E46AF2 /* CharacterTextTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ AF7BB31D195C749600E46AF2 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( AF7BB32A195C749600E46AF2 /* Main.storyboard in Resources */, AF7BB32C195C749600E46AF2 /* Images.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; AF7BB32F195C749600E46AF2 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ 586E4B0FC94A468E915AA357 /* Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n"; showEnvVarsInLog = 0; }; FA67BE65ECAB416193AB22CB /* Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ AF7BB31B195C749600E46AF2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( AF1704D7196B9D9D00AA5ED1 /* FlickrCollectionViewCell.swift in Sources */, AF1704DB196B9D9D00AA5ED1 /* MotionLabel.swift in Sources */, AF1704D8196B9D9D00AA5ED1 /* FlickrPhoto.swift in Sources */, AF1704DC196B9D9D00AA5ED1 /* CLMLayerAnimation.swift in Sources */, AF1704DD196B9D9D00AA5ED1 /* ViewController.swift in Sources */, AF1704DA196B9D9D00AA5ED1 /* FallingLabel.swift in Sources */, AF1704D9196B9D9D00AA5ED1 /* FadingLabel.swift in Sources */, AF1704D6196B9D9D00AA5ED1 /* CATextLayerExtensions.swift in Sources */, AF1704D4196B9D9D00AA5ED1 /* CharacterLabel.swift in Sources */, AF7BB325195C749600E46AF2 /* AppDelegate.swift in Sources */, AF1704D5196B9D9D00AA5ED1 /* CharacterTextView.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; AF7BB32D195C749600E46AF2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( AF7BB338195C749600E46AF2 /* CharacterTextTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ AF7BB333195C749600E46AF2 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = AF7BB31E195C749600E46AF2 /* CharacterText */; targetProxy = AF7BB332195C749600E46AF2 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ AF7BB328195C749600E46AF2 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( AF7BB329195C749600E46AF2 /* Base */, ); name = Main.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ AF7BB339195C749600E46AF2 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; METAL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; AF7BB33A195C749600E46AF2 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; METAL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; name = Release; }; AF7BB33C195C749600E46AF2 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 449B19C1BD934D6594ECA096 /* Pods.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; INFOPLIST_FILE = CharacterText/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "CharacterText-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; AF7BB33D195C749600E46AF2 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 449B19C1BD934D6594ECA096 /* Pods.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; INFOPLIST_FILE = CharacterText/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "CharacterText-Bridging-Header.h"; }; name = Release; }; AF7BB33F195C749600E46AF2 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/CharacterText.app/CharacterText"; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", ); GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); INFOPLIST_FILE = CharacterTextTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; METAL_ENABLE_DEBUG_INFO = YES; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUNDLE_LOADER)"; }; name = Debug; }; AF7BB340195C749600E46AF2 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/CharacterText.app/CharacterText"; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", ); INFOPLIST_FILE = CharacterTextTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; METAL_ENABLE_DEBUG_INFO = NO; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUNDLE_LOADER)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ AF7BB31A195C749600E46AF2 /* Build configuration list for PBXProject "CharacterText" */ = { isa = XCConfigurationList; buildConfigurations = ( AF7BB339195C749600E46AF2 /* Debug */, AF7BB33A195C749600E46AF2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; AF7BB33B195C749600E46AF2 /* Build configuration list for PBXNativeTarget "CharacterText" */ = { isa = XCConfigurationList; buildConfigurations = ( AF7BB33C195C749600E46AF2 /* Debug */, AF7BB33D195C749600E46AF2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; AF7BB33E195C749600E46AF2 /* Build configuration list for PBXNativeTarget "CharacterTextTests" */ = { isa = XCConfigurationList; buildConfigurations = ( AF7BB33F195C749600E46AF2 /* Debug */, AF7BB340195C749600E46AF2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = AF7BB317195C749600E46AF2 /* Project object */; } ================================================ FILE: CharacterText.xcodeproj/project.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: CharacterText.xcodeproj/xcuserdata/andrewhulsizer.xcuserdatad/xcschemes/CharacterText.xcscheme ================================================ ================================================ FILE: CharacterText.xcodeproj/xcuserdata/andrewhulsizer.xcuserdatad/xcschemes/xcschememanagement.plist ================================================ SchemeUserState CharacterText.xcscheme orderHint 0 SuppressBuildableAutocreation AF7BB31E195C749600E46AF2 primary AF7BB330195C749600E46AF2 primary ================================================ FILE: CharacterText.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: CharacterTextTests/CharacterTextTests.swift ================================================ // // CharacterTextTests.swift // CharacterTextTests // // Created by Andrew Hulsizer on 6/26/14. // Copyright (c) 2014 Swift Yeti. All rights reserved. // import XCTest class CharacterTextTests: XCTestCase { override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. } override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testExample() { // This is an example of a functional test case. XCTAssert(true, "Pass") } func testPerformanceExample() { // This is an example of a performance test case. self.measureBlock() { // Put the code you want to measure the time of here. } } } ================================================ FILE: CharacterTextTests/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier SwiftYeti.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType BNDL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1 ================================================ FILE: Podfile ================================================ platform :ios, '7.0' pod 'FlickrKit' pod 'SDWebImage' xcodeproj 'CharacterText' ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.h ================================================ // // DUBlocks.h // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com typedef void (^FKBasicBlock)(void); typedef void (^FKBasicBlockWithError)(NSError *error); void FKexecuteBlockOnThread(NSThread *thread, FKBasicBlock block); ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.m ================================================ // // DUBlocks.m // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // Based on http://www.mikeash.com/svn/PLBlocksPlayground/BlocksAdditions.m #import "FKDUBlocks.h" @implementation NSObject (BlocksAdditions) - (void) my_callBlock { void (^block)(void) = (id)self; block(); } - (void) my_callBlockWithObject:(id)obj { void (^block)(id obj) = (id)self; block(obj); } @end void FKexecuteBlockOnThread(NSThread *thread, FKBasicBlock block) { [[block copy] performSelector:@selector(my_callBlock) onThread:thread withObject:nil waitUntilDone:YES]; } ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.h ================================================ // // DUConcurrentOperation.h // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // /** This operation object will live on after you create a asyn network connection. i.e. A usual operation would die if you spawn a background thread */ @interface FKDUConcurrentOperation : NSOperation - (void) finish; @end /* Usage... overide finish and start: - (void) start { if ([self isCancelled]) { // Must move the operation to the finished state if it is canceled. [self finish]; return; } [super start]; //do your stuff... } - (void) finish { //do your stuff... [super finish]; } */ ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.m ================================================ // // DUConcurrentOperation.m // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDUConcurrentOperation.h" @interface FKDUConcurrentOperation () @property (nonatomic, assign) BOOL isOperationExecuting; @property (nonatomic, assign) BOOL isOperationFinished; @end @implementation FKDUConcurrentOperation - (id) init { self = [super init]; if (self) { _isOperationExecuting = NO; _isOperationFinished = NO; } return self; } - (BOOL) isExecuting { return self.isOperationExecuting; } - (BOOL) isFinished { return self.isOperationFinished; } - (BOOL) isConcurrent { //This allows it to live beyond it first call so you can do asyn operation within it //However you have to manage its lifecycle return YES; } - (void) start { if ([self isCancelled]) { // Must move the operation to the finished state if it is canceled. [self finish]; return; } //DLog(@"opeartion started"); [self willChangeValueForKey:@"isExecuting"]; self.isOperationExecuting = YES; [self didChangeValueForKey:@"isExecuting"]; } - (void) finish { //DLog(@"Ending operation now"); [self willChangeValueForKey:@"isExecuting"]; [self willChangeValueForKey:@"isFinished"]; self.isOperationExecuting = NO; self.isOperationFinished = YES; [self didChangeValueForKey:@"isExecuting"]; [self didChangeValueForKey:@"isFinished"]; } - (void) cancel { [super cancel]; if (self.isExecuting) { [self finish]; } } @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.h ================================================ // // FKDUDefaultDiskCache.h // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com #import "FKDUDiskCache.h" @interface FKDUDefaultDiskCache : NSObject @property (nonatomic, assign, readonly) NSUInteger currentSizeOfCache; + (FKDUDefaultDiskCache *) sharedDiskCache; #pragma mark - Clear the cache completely - (void) emptyTheCache; #pragma mark - Trimming the cache - do it during app going to background - (NSString *) trimTheCache; @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.m ================================================ // // FKDUDefaultDiskCache.m // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com #import "FKDUDefaultDiskCache.h" @interface FKDUDefaultDiskCache () @property (nonatomic, assign) NSUInteger cacheSize; @property (nonatomic, strong) NSString *cacheDirectory; @property (nonatomic, assign) NSInteger maxDiskCacheSize; @end @implementation FKDUDefaultDiskCache + (NSString *) cachesDirectory { static NSString *cachesFolder = nil; if (!cachesFolder) { cachesFolder = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) lastObject]; } return cachesFolder; } + (FKDUDefaultDiskCache *) sharedDiskCache { static dispatch_once_t onceToken; static FKDUDefaultDiskCache * __sharedManager = nil; dispatch_once(&onceToken, ^{ __sharedManager = [[self alloc] init]; }); return __sharedManager; } - (id) init { self = [super init]; if (self) { self.maxDiskCacheSize = 100000000; //That's 100 MB } return self; } - (NSString *) cacheDir { if (self.cacheDirectory == nil) { NSString *cacheDir = [FKDUDefaultDiskCache cachesDirectory]; self.cacheDirectory = [[NSString alloc] initWithString:[cacheDir stringByAppendingPathComponent:@"FlickrKitDiskCache"]]; /* check for existence of cache directory */ if (![[NSFileManager defaultManager] fileExistsAtPath:self.cacheDirectory]) { /* create a new cache directory */ if (![[NSFileManager defaultManager] createDirectoryAtPath:self.cacheDirectory withIntermediateDirectories:NO attributes:nil error:nil]) { NSLog(@"Error creating cache directory"); self.cacheDirectory = nil; } } } return self.cacheDirectory; } #pragma mark - Data from the cache - (BOOL) isDate:(NSDate *)date moreThanMinutesAgo:(NSInteger)minutes { NSTimeInterval intervalFromNow = fabs([date timeIntervalSinceNow]); if(intervalFromNow > (minutes * 60)) { return YES; } else { return NO; } } - (NSData *) dataForKey:(NSString *)key maxAgeMinutes:(FKDUMaxAge)maxAgeMinutes { if (0 == maxAgeMinutes) { return nil; } NSString *localPath = [[self cacheDir] stringByAppendingPathComponent:key]; if ([[NSFileManager defaultManager] fileExistsAtPath:localPath]) { NSError *error = nil; NSDictionary *properties = [[NSFileManager defaultManager] attributesOfItemAtPath:localPath error:&error]; NSDate *modDate = properties[NSFileModificationDate]; if (!error) { //Check the modified date falls within the max age BOOL expired = [self isDate:modDate moreThanMinutesAgo:maxAgeMinutes]; if (expired) { return nil; } else { return [[NSFileManager defaultManager] contentsAtPath:localPath]; } } } return nil; } #pragma mark - Store Data in the cache - (void) storeData:(NSData *)data forKey:(NSString *)key { if (key != nil && data != nil) { NSString *localPath = [[self cacheDir] stringByAppendingPathComponent:key]; [[NSFileManager defaultManager] createFileAtPath:localPath contents:data attributes:nil]; if (![[NSFileManager defaultManager] fileExistsAtPath:localPath]) { NSLog(@"ERROR: Could not create file at path: %@", localPath); } else { self.cacheSize += [data length]; } } } #pragma mark - Remove item (NSData) from cache - (void) removeDataForKey:(NSString *)key { NSString *localPath = [[self cacheDir] stringByAppendingPathComponent:key]; [[NSFileManager defaultManager] removeItemAtPath:localPath error:nil]; } #pragma mark - Caculating the size of the cache - (NSUInteger) currentSizeOfCache { NSString *cacheDir = [self cacheDir]; if (self.cacheSize <= 0 && cacheDir != nil) { NSArray *dirContents = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:cacheDir error:nil]; NSString *file; NSDictionary *attrs; NSNumber *fileSize; NSUInteger totalSize = 0; for (file in dirContents) { NSError *error = nil; attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:[cacheDir stringByAppendingPathComponent:file] error:&error]; fileSize = attrs[NSFileSize]; totalSize += [fileSize integerValue]; } self.cacheSize = totalSize; NSLog(@"cache size is: %d", _cacheSize); } return self.cacheSize; } NSInteger FKDUdateModifiedSort(id file1, id file2, void *reverse); NSInteger FKDUdateModifiedSort(id file1, id file2, void *reverse) { NSDictionary *attrs1 = [[NSFileManager defaultManager] attributesOfItemAtPath:file1 error:nil]; NSDictionary *attrs2 = [[NSFileManager defaultManager] attributesOfItemAtPath:file2 error:nil]; if ((NSInteger *)reverse == NO) { return [attrs2[NSFileModificationDate] compare:attrs1[NSFileModificationDate]]; } return [attrs1[NSFileModificationDate] compare:attrs2[NSFileModificationDate]]; } #pragma mark - Empty the cache - (void) emptyTheCache { NSError *error = nil; NSArray *dirContents = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:[self cacheDir] error:&error]; for (NSString *file in dirContents) { NSString *path = [[self cacheDir] stringByAppendingPathComponent:file]; [[NSFileManager defaultManager] removeItemAtPath:path error:&error]; } self.cacheSize = 0; } #pragma mark - Trimming the cache - do it during app going to background - (NSString *) trimTheCache { NSAssert(![NSThread currentThread].isMainThread, @"should be in background"); NSUInteger targetBytes = self.maxDiskCacheSize * 0.75; NSLog(@"Checking disk cache size. Limit %i bytes", targetBytes); NSString *size = [NSString stringWithFormat:@"%i", [self currentSizeOfCache]]; if ([self currentSizeOfCache] > targetBytes) { NSLog(@"Time to clean the cache! size is: %@, %d", [self cacheDir], [self currentSizeOfCache]); NSError *error = nil; NSArray *dirContents = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:[self cacheDir] error:&error]; if (!error) { NSMutableArray *filteredArray = [[NSMutableArray alloc] init]; for (NSString *file in dirContents) { [filteredArray addObject:[[self cacheDir] stringByAppendingPathComponent:file]]; } int reverse = YES; NSMutableArray *sortedDirContents = [NSMutableArray arrayWithArray:[filteredArray sortedArrayUsingFunction:FKDUdateModifiedSort context:&reverse]]; while (_cacheSize > targetBytes && [sortedDirContents count] > 0) { NSLog(@"removing "); self.cacheSize -= [[[NSFileManager defaultManager] attributesOfItemAtPath:[sortedDirContents lastObject] error:nil][NSFileSize] integerValue]; [[NSFileManager defaultManager] removeItemAtPath:[sortedDirContents lastObject] error:nil]; [sortedDirContents removeLastObject]; } NSLog(@"Remaining cache size: %d, target size: %d", self.cacheSize, targetBytes); } } NSLog(@"Finished checking disk cache"); return size; } @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUDiskCache.h ================================================ // // FKDUDiskCache.h // FlickrKit // // Created by David Casserly on 28/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // //You can use these as convenience and readability instead of passing a number in maxAgeMinutes typedef enum { FKDUMaxAgeNeverCache = 0, FKDUMaxAgeOneMinute = 1, FKDUMaxAgeFiveMinutes = 5, FKDUMaxAgeOneHour = 60, FKDUMaxAgeHalfDay = 720, FKDUMaxAgeOneDay = 1440, FKDUMaxAgeInfinite = NSIntegerMax } FKDUMaxAge; #import @protocol FKDUDiskCache @required #pragma mark - Data from the cache - (NSData *) dataForKey:(NSString *)key maxAgeMinutes:(FKDUMaxAge)maxAgeMinutes; #pragma mark - Remove item (NSData) from cache - (void) removeDataForKey:(NSString *)key; #pragma mark - Store Data in the cache - (void) storeData:(NSData *)data forKey:(NSString *)key; @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.h ================================================ // // DUNetworkController.h // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com typedef enum { HTTPMethodGET = 0, HTTPMethodPOST, HTTPMethodPUT, HTTPMethodDELETE } HTTPMethod; @class DUNetworkRequestOperation; @interface FKDUNetworkController : NSObject @property (nonatomic, strong, readonly) NSOperationQueue *operationQueue; + (FKDUNetworkController *) sharedController; - (void) execute:(NSOperation *)operation; #pragma mark - Network Thread + (void) networkRequestThreadEntryPoint:(id)object; + (NSThread *) networkRequestThread; @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.m ================================================ // // DUNetworkController.m // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com #import "FKDUNetworkController.h" @interface FKDUNetworkController () @property (nonatomic, strong) NSOperationQueue *operationQueue; @end @implementation FKDUNetworkController + (FKDUNetworkController *) sharedController { static dispatch_once_t onceToken; static FKDUNetworkController *sharedManager = nil; dispatch_once(&onceToken, ^{ sharedManager = [[self alloc] init]; }); return sharedManager; } - (id) init { self = [super init]; if (self) { self.operationQueue = [[NSOperationQueue alloc] init]; } return self; } - (void) execute:(NSOperation *)operation { [self.operationQueue addOperation:operation]; } #pragma mark - Network Thread + (void) networkRequestThreadEntryPoint:(id)object { do { @autoreleasepool { [[NSThread currentThread] setName:@"DUNetworkThread"]; [[NSRunLoop currentRunLoop] run]; } } while (YES); } + (NSThread *) networkRequestThread { static NSThread *_networkRequestThread = nil; static dispatch_once_t oncePredicate; dispatch_once(&oncePredicate, ^{ _networkRequestThread = [[NSThread alloc] initWithTarget:self selector:@selector(networkRequestThreadEntryPoint:) object:nil]; [_networkRequestThread start]; }); return _networkRequestThread; } @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.h ================================================ // // FKDUNetworkOperation.h // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // typedef void (^FKDUNetworkCompletion)(NSURLResponse *response, NSData *data, NSError *error); #import "FKDUConcurrentOperation.h" @interface FKDUNetworkOperation : FKDUConcurrentOperation @property (nonatomic, strong, readonly) NSURLConnection *httpConnection; @property (nonatomic, strong, readonly) NSMutableData *receivedData; @property (nonatomic, strong, readonly) NSMutableURLRequest *request; @property (nonatomic, strong, readonly) NSHTTPURLResponse *response; - (id) initWithURL:(NSURL *)url; - (void) sendAsyncRequestOnCompletion:(FKDUNetworkCompletion)completion; // This is used in subclasses - (void) connectWithRequest:(NSURLRequest *)request; @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.m ================================================ // // FKDUNetworkOperation.m // FlickrKit // // Created by David Casserly on 05/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDUNetworkOperation.h" #import "FKDUBlocks.h" #import "FKDUNetworkController.h" @interface FKDUNetworkOperation () @property (nonatomic, strong) NSURLConnection *httpConnection; @property (nonatomic, strong) NSMutableData *receivedData; @property (nonatomic, strong) NSURL *url; @property (nonatomic, strong) NSMutableURLRequest *request; @property (nonatomic, strong) NSHTTPURLResponse *response; @property (nonatomic, copy) FKDUNetworkCompletion completion; @end @implementation FKDUNetworkOperation - (id) initWithURL:(NSURL *)url { self = [super init]; if (self) { self.url = url; } return self; } #pragma mark - Operation Methods - (void) cancel { [self.httpConnection cancel]; self.completion = nil; [super cancel]; } - (void) finish { self.httpConnection = nil; self.receivedData = nil; self.completion = nil; [super finish]; } - (void) start { if ([self isCancelled]) { // Must move the operation to the finished state if it is canceled. [self finish]; return; } [super start]; NSAssert(![NSThread isMainThread], @"Dont want to do this on main thread"); //Need to start this on the networking thread because we create a NSURLConnection, and we would lose //the delegate callbacks because the thread would die. Alternatively, we could create a network thread. FKexecuteBlockOnThread([FKDUNetworkController networkRequestThread], ^{ NSError *error = nil; BOOL started = [self startRequest:&error]; if (!started) { if (self.completion) { self.completion(nil, nil, error); } [self finish]; } }); } - (BOOL) startRequest:(NSError **)error { NSMutableURLRequest *request = [self createRequest:error]; if (request) { [self connectWithRequest:request]; return YES; } else { return NO; } } #pragma mark - Request - (NSMutableURLRequest *) createRequest:(NSError **)error { //Create Request NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:self.url]; request.cachePolicy = NSURLRequestReloadIgnoringLocalAndRemoteCacheData; //HTTP Method request.HTTPMethod = @"GET"; return request; } #pragma mark - Connect - (void) sendAsyncRequestOnCompletion:(FKDUNetworkCompletion)completion { self.completion = completion; [[FKDUNetworkController sharedController] execute:self]; } - (void) connectWithRequest:(NSMutableURLRequest *)request { self.request = request; self.receivedData = [NSMutableData data]; self.httpConnection = [[NSURLConnection alloc] initWithRequest:self.request delegate:self startImmediately:YES]; } #pragma mark - NSURLConnection Delegate methods - (void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { if (self.completion) { self.completion(nil, nil, error); } [self finish]; } - (void) connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { [self.receivedData appendData:data]; } - (NSURLRequest *) connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse { return request; } - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse { NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse*)[cachedResponse response]; // Look up the cache policy used in our request if([connection currentRequest].cachePolicy == NSURLRequestUseProtocolCachePolicy) { NSDictionary *headers = [httpResponse allHeaderFields]; NSString *cacheControl = [headers valueForKey:@"Cache-Control"]; NSString *expires = [headers valueForKey:@"Expires"]; if((cacheControl == nil) && (expires == nil)) { NSLog(@"server does not provide expiration information and we are using NSURLRequestUseProtocolCachePolicy"); return nil; // don't cache this } } return cachedResponse; } - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response { // This method is called when the server has determined that it // has enough information to create the NSURLResponse. // It can be called multiple times, for example in the case of a // redirect, so each time we reset the data. // receivedData is an instance variable declared elsewhere. [self.receivedData setLength:0]; self.response = (NSHTTPURLResponse *) response; } - (void) connectionDidFinishLoading:(NSURLConnection *)connection { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ if (self.completion) { self.completion(self.response, self.receivedData, nil); } }); } @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.h ================================================ // // FKDUStreamUtil.h // FlickrKit // // Created by David Casserly on 10/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import @interface FKDUStreamUtil : NSObject + (void) writeMultipartStartString:(NSString *)startString imageStream:(NSInputStream *)imageInputStream toOutputStream:(NSOutputStream *)outputStream closingString:(NSString *)closingString; @end ================================================ FILE: Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.m ================================================ // // FKDUStreamUtil.m // FlickrKit // // Created by David Casserly on 10/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDUStreamUtil.h" @implementation FKDUStreamUtil + (void) writeMultipartStartString:(NSString *)startString imageStream:(NSInputStream *)imageInputStream toOutputStream:(NSOutputStream *)outputStream closingString:(NSString *)closingString { const char *UTF8String; size_t writeLength; UTF8String = [startString UTF8String]; writeLength = strlen(UTF8String); size_t __unused actualWrittenLength; actualWrittenLength = [outputStream write:(uint8_t *)UTF8String maxLength:writeLength]; NSAssert(actualWrittenLength == writeLength, @"Start string not writtern"); // open the input stream const size_t bufferSize = 65536; size_t readSize = 0; uint8_t *buffer = (uint8_t *)calloc(1, bufferSize); NSAssert(buffer, @"Buffer not created"); [imageInputStream open]; while ([imageInputStream hasBytesAvailable]) { if (!(readSize = [imageInputStream read:buffer maxLength:bufferSize])) { break; } size_t __unused actualWrittenLength; actualWrittenLength = [outputStream write:buffer maxLength:readSize]; NSAssert (actualWrittenLength == readSize, @"Image stream not written"); } [imageInputStream close]; free(buffer); UTF8String = [closingString UTF8String]; writeLength = strlen(UTF8String); actualWrittenLength = [outputStream write:(uint8_t *)UTF8String maxLength:writeLength]; NSAssert(actualWrittenLength == writeLength, @"Closing string not written"); [outputStream close]; } @end ================================================ FILE: Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.h ================================================ // // FKDataTypes.h // FlickrKit // // Created by David Casserly on 03/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // typedef void (^FKAPIImageUploadCompletion)(NSString *imageID, NSError *error); typedef void (^FKAPIRequestCompletion)(NSDictionary *response, NSError *error); typedef void (^FKAPIAuthBeginCompletion)(NSURL *flickrLoginPageURL, NSError *error); typedef void (^FKAPIAuthCompletion)(NSString *userName, NSString *userId, NSString *fullName, NSError *error); extern NSString *const FKFlickrKitErrorDomain; // Errors internally from Flickr KIT extern NSString *const FKFlickrAPIErrorDomain; // Error originating from Flickr API #pragma mark - Error Codes typedef enum { FKErrorURLParsing = 100, FKErrorResponseParsing = 101, FKErrorEmptyResponse = 102, FKErrorNoInternet = 200, FKErrorAuthenticating = 300, FKErrorNoTokenToCheck = 301, FKErrorNotAuthorized = 302, FKErrorInvalidArgs = 400, } FKError; #pragma mark - Flickr API Endpoint extern NSString *const FKFlickrRESTAPI; typedef enum { FKPhotoSizeUnknown = 0, FKPhotoSizeCollectionIconLarge, FKPhotoSizeBuddyIcon, FKPhotoSizeSmallSquare75, FKPhotoSizeLargeSquare150, FKPhotoSizeThumbnail100, FKPhotoSizeSmall240, FKPhotoSizeSmall320, FKPhotoSizeMedium500, FKPhotoSizeMedium640, FKPhotoSizeMedium800, FKPhotoSizeLarge1024, FKPhotoSizeLarge1600, FKPhotoSizeLarge2048, FKPhotoSizeOriginal, FKPhotoSizeVideoOriginal, FKPhotoSizeVideoHDMP4, FKPhotoSizeVideoSiteMP4, FKPhotoSizeVideoMobileMP4, FKPhotoSizeVideoPlayer, } FKPhotoSize; typedef enum { FKPermissionRead, FKPermissionWrite, FKPermissionDelete } FKPermission; NSString *FKPermissionStringForPermission(FKPermission permission); NSString *FKIdentifierForSize(FKPhotoSize size); ================================================ FILE: Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.m ================================================ // // FKDataTypes.m // FlickrKit // // Created by David Casserly on 03/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDataTypes.h" #pragma mark - Error Codes NSString *const FKFlickrKitErrorDomain = @"com.devedup.flickrkit.ErrorDomain"; NSString *const FKFlickrAPIErrorDomain = @"com.devedup.flickrapi.ErrorDomain"; #pragma mark - Flickr API Endpoint NSString *const FKFlickrRESTAPI = @"https://api.flickr.com/services/rest/"; NSString *FKPermissionStringForPermission(FKPermission permission) { switch (permission) { case FKPermissionRead: return @"READ"; case FKPermissionWrite: return @"WRITE"; case FKPermissionDelete: return @"DELETE"; } } NSString *FKIdentifierForSize(FKPhotoSize size) { static NSArray *identifiers = nil; if (!identifiers) { identifiers = @[@"", @"collectionIconLarge", @"buddyIcon", @"s", @"q", @"t", @"m", @"n", @"", @"z", @"c", @"b", @"h", @"k", @"o", @"", @"", @"", @"", @""]; } return identifiers[size]; } ================================================ FILE: Pods/FlickrKit/Classes/FlickrKit/FlickrKit.m ================================================ // // FKAPI.m // FlickrKit // // Created by David Casserly on 27/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FlickrKit.h" #import "FKDUNetworkController.h" #import "FKDUDefaultDiskCache.h" #import "FKDUReachability.h" #import "FKFlickrNetworkOperation.h" #import "FKURLBuilder.h" #import "FKUtilities.h" #define kFKStoredTokenKey @"kFKStoredTokenKey" #define kFKStoredTokenSecret @"kFKStoredTokenSecret" @interface FlickrKit () @property (nonatomic, strong) NSString *apiKey; @property (nonatomic, strong) NSString *secret; //Auth @property (nonatomic, retain) NSURL *beginAuthURL; @property (nonatomic, strong) NSString *authToken; @property (nonatomic, strong) NSString *authSecret; @property (nonatomic, assign) BOOL authorized; @property (nonatomic, assign) FKPermission permissionGranted; @end #pragma mark - Flickr Kit Methods #pragma mark - @implementation FlickrKit + (FlickrKit *) sharedFlickrKit { static dispatch_once_t onceToken; static FlickrKit *flickrKit = nil; dispatch_once(&onceToken, ^{ flickrKit = [[self alloc] init]; }); return flickrKit; } - (void) initializeWithAPIKey:(NSString *)apiKey sharedSecret:(NSString *)secret { NSAssert(apiKey, @"You must pass an apiKey"); NSAssert(secret, @"You must pass an secret"); self.apiKey = apiKey; self.secret = secret; } - (FKFlickrNetworkOperation *) call:(NSString *)apiMethod args:(NSDictionary *)requestArgs completion:(FKAPIRequestCompletion)completion { return [self call:apiMethod args:requestArgs maxCacheAge:FKDUMaxAgeNeverCache completion:completion]; } - (FKFlickrNetworkOperation *) call:(NSString *)apiMethod args:(NSDictionary *)requestArgs maxCacheAge:(FKDUMaxAge)maxAge completion:(FKAPIRequestCompletion)completion { NSAssert([FlickrKit sharedFlickrKit].apiKey, @"You must pass an apiKey to initializeWithAPIKey"); NSAssert(apiMethod, @"You must pass an apiMethod"); NSAssert(completion, @"You must pass a completion block"); if ([FKDUReachability isOffline]) { if (completion) { completion(nil, [FKDUReachability buildOfflineErrorMessage]); } return nil; } if (!self.diskCache) { self.diskCache = [FKDUDefaultDiskCache sharedDiskCache]; } FKFlickrNetworkOperation *op = [[FKFlickrNetworkOperation alloc] initWithAPIMethod:apiMethod arguments:requestArgs maxAgeMinutes:maxAge diskCache:self.diskCache completion:completion]; [[FKDUNetworkController sharedController] execute:op]; return op; } #pragma mark - Flickr Using the Model Objects - (FKFlickrNetworkOperation *) call:(id)method completion:(FKAPIRequestCompletion)completion { return [self call:method maxCacheAge:FKDUMaxAgeNeverCache completion:completion]; } - (FKFlickrNetworkOperation *) call:(id)method maxCacheAge:(FKDUMaxAge)maxAge completion:(FKAPIRequestCompletion)completion { NSAssert([FlickrKit sharedFlickrKit].apiKey, @"You must pass an apiKey to initializeWithAPIKey"); NSAssert(method, @"You must pass a method"); // Check if this method needs auth if ([method needsLogin]) { if (![FlickrKit sharedFlickrKit].isAuthorized) { NSString *errorDescription = @"You need to login to call this method"; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; NSError *error = [NSError errorWithDomain:FKFlickrAPIErrorDomain code:FKErrorNotAuthorized userInfo:userInfo]; completion(nil, error); return nil; } else { // Check method permission FKPermission permissionRequired = [method requiredPerms]; FKPermission grantedPermission = [FlickrKit sharedFlickrKit].permissionGranted; if (permissionRequired > grantedPermission) { NSString *requiredString = FKPermissionStringForPermission(permissionRequired); NSString *grantedString = FKPermissionStringForPermission(grantedPermission); NSString *errorDescription = [NSString stringWithFormat:@"This method needs %@ access, and you have only authorized %@ access to your Flickr account.", requiredString, grantedString]; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; NSError *error = [NSError errorWithDomain:FKFlickrAPIErrorDomain code:FKErrorNotAuthorized userInfo:userInfo]; completion(nil, error); return nil; } } } if ([FKDUReachability isOffline]) { if (completion) { completion(nil, [FKDUReachability buildOfflineErrorMessage]); } return nil; } if (!self.diskCache) { self.diskCache = [FKDUDefaultDiskCache sharedDiskCache]; } FKFlickrNetworkOperation *op = [[FKFlickrNetworkOperation alloc] initWithAPIMethod:method maxAgeMinutes:maxAge diskCache:self.diskCache completion:completion]; [[FKDUNetworkController sharedController] execute:op]; return op; } #ifdef DEBUG - (void) clearContextForTests { self.apiKey = @""; self.secret = @""; } #endif @end #pragma mark - Authentication Methods #pragma mark - @implementation FlickrKit (Authentication) - (BOOL) isAuthorized { return self.authorized; } #pragma mark - Auth URL - (NSURL *)userAuthorizationURLWithRequestToken:(NSString *)inRequestToken requestedPermission:(FKPermission)permission { NSString *perms = @""; NSString *permissionString = nil; switch (permission) { case FKPermissionRead: permissionString = @"read"; break; case FKPermissionWrite: permissionString = @"write"; break; case FKPermissionDelete: permissionString = @"delete"; break; } self.permissionGranted = permission; perms = [NSString stringWithFormat:@"&perms=%@", permissionString]; ///http://www.flickr.com/services/oauth/authorize NSString *URLString = [NSString stringWithFormat:@"http://www.flickr.com/services/oauth/authorize?oauth_token=%@%@", inRequestToken, perms]; return [NSURL URLWithString:URLString]; } #pragma mark - 1. Begin Authorization - (FKDUNetworkOperation *) beginAuthWithCallbackURL:(NSURL *)url permission:(FKPermission)permission completion:(FKAPIAuthBeginCompletion)completion { if ([FKDUReachability isOffline]) { if (completion) { completion(nil, [FKDUReachability buildOfflineErrorMessage]); } return nil; } if (self.beginAuthURL) { if (completion) { completion(self.beginAuthURL, nil); } return nil; } NSDictionary *paramsDictionary = @{@"oauth_callback": [url absoluteString]}; FKURLBuilder *urlBuilder = [[FKURLBuilder alloc] init]; NSURL *requestURL = [urlBuilder oauthURLFromBaseURL:[NSURL URLWithString:@"http://www.flickr.com/services/oauth/request_token"] method:FKHttpMethodGET params:paramsDictionary]; FKDUNetworkOperation *op = [[FKDUNetworkOperation alloc] initWithURL:requestURL]; [op sendAsyncRequestOnCompletion:^(NSURLResponse *response, NSData *data, NSError *error) { if (response) { NSString *responseString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSDictionary *params = FKQueryParamDictionaryFromQueryString(responseString); NSString *oat = params[@"oauth_token"]; NSString *oats = params[@"oauth_token_secret"]; if (!oat || !oats) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: response}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorAuthenticating userInfo:userInfo]; if (completion) { completion(nil, error); } } else { self.authToken = oat; self.authSecret = oats; self.beginAuthURL = [self userAuthorizationURLWithRequestToken:self.authToken requestedPermission:permission]; if (completion) { completion(self.beginAuthURL, nil); } } } else { if (completion) { completion(nil, error); } } }]; return op; } - (FKDUNetworkOperation *) completeAuthWithURL:(NSURL *)url completion:(FKAPIAuthCompletion)completion { if ([FKDUReachability isOffline]) { if (completion) { completion(nil, nil, nil, [FKDUReachability buildOfflineErrorMessage]); } return nil; } NSDictionary *result = FKQueryParamDictionaryFromURL(url); NSString *token = [result valueForKey:@"oauth_token"]; NSString *verifier = [result valueForKey:@"oauth_verifier"]; if (!result) { NSString *errorString = [NSString stringWithFormat:@"Cannot obtain token/secret from URL: %@", [url absoluteString]]; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorString}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorURLParsing userInfo:userInfo]; if (completion) { completion(nil, nil, nil, error); } return nil; } NSDictionary *paramsDictionary = @{@"oauth_token": token, @"oauth_verifier": verifier}; FKURLBuilder *urlBuilder = [[FKURLBuilder alloc] init]; NSURL *requestURL = [urlBuilder oauthURLFromBaseURL:[NSURL URLWithString:@"http://www.flickr.com/services/oauth/access_token"] method:FKHttpMethodGET params:paramsDictionary]; FKDUNetworkOperation *op = [[FKDUNetworkOperation alloc] initWithURL:requestURL]; [op sendAsyncRequestOnCompletion:^(NSURLResponse *response, NSData *data, NSError *error) { if (response && !error) { NSString *response = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; response = [response stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; if ([response hasPrefix:@"oauth_problem="]) { self.beginAuthURL = nil; self.authorized = NO; self.authToken = nil; self.authSecret = nil; NSString *response = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: response}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorAuthenticating userInfo:userInfo]; if (completion) { completion(nil, nil, nil, error); } } else { NSDictionary *params = FKQueryParamDictionaryFromQueryString(response); NSString *fn = params[@"fullname"]; NSString *oat = params[@"oauth_token"]; NSString *oats = params[@"oauth_token_secret"]; NSString *nsid = params[@"user_nsid"]; NSString *un = params[@"username"]; if (!fn || !oat || !oats || !nsid || !un) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: response}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorAuthenticating userInfo:userInfo]; if (completion) { completion(nil, nil, nil, error); } } else { [[NSUserDefaults standardUserDefaults] setValue:oat forKey:kFKStoredTokenKey]; [[NSUserDefaults standardUserDefaults] setValue:oats forKey:kFKStoredTokenSecret]; [[NSUserDefaults standardUserDefaults] synchronize]; self.authorized = YES; self.authToken = oat; self.authSecret = oats; self.beginAuthURL = nil; if (completion) { completion(un, nsid, fn, nil); } } } } else { self.beginAuthURL = nil; NSString *response = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: response}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorAuthenticating userInfo:userInfo]; if (completion) { completion(nil, nil, nil, error); } } }]; return op; } #pragma mark - 3. On returning to the app, you want to re-log them in automatically - do it here - (FKFlickrNetworkOperation *) checkAuthorizationOnCompletion:(FKAPIAuthCompletion)completion { if ([FKDUReachability isOffline]) { if (completion) { completion(nil, nil, nil, [FKDUReachability buildOfflineErrorMessage]); } return nil; } NSString *storedToken = [[NSUserDefaults standardUserDefaults] stringForKey:kFKStoredTokenKey]; NSString *storedSecret = [[NSUserDefaults standardUserDefaults] stringForKey:kFKStoredTokenSecret]; if(storedToken && storedSecret) { NSDictionary *args = @{@"oauth_token": storedToken}; FlickrKit *flickr = [[FlickrKit alloc] init]; FKFlickrNetworkOperation *op = [flickr call:@"flickr.auth.oauth.checkToken" args:args maxCacheAge:FKDUMaxAgeNeverCache completion:^(NSDictionary *response, NSError *error) { if (response) { self.authToken = storedToken; self.authSecret = storedSecret; NSString *username = [response valueForKeyPath:@"oauth.user.username"]; NSString *userid = [response valueForKeyPath:@"oauth.user.nsid"]; NSString *fullname = [response valueForKeyPath:@"oauth.user.fullname"]; self.authorized = YES; if (completion) { completion(username, userid, fullname, nil); } } else { if (completion) { completion(nil, nil, nil, error); } } }]; return op; } else { NSString *errorDescription = @"There isn't a stored token to check. Login first."; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorNoTokenToCheck userInfo:userInfo]; if (completion) { completion(nil, nil, nil, error); } return nil; } } #pragma mark - 4. Logout - just removes all the stored keys - (void) logout { [[NSUserDefaults standardUserDefaults] removeObjectForKey:kFKStoredTokenKey]; [[NSUserDefaults standardUserDefaults] removeObjectForKey:kFKStoredTokenSecret]; [[NSUserDefaults standardUserDefaults] synchronize]; self.authorized = NO; self.authSecret = nil; self.authToken = nil; self.beginAuthURL = nil; } @end #pragma mark - Image URL Methods #pragma mark - @implementation FlickrKit (ImageURL) - (NSURL *) buddyIconURLForUser:(NSString *)userID { return [NSURL URLWithString:[NSString stringWithFormat:@"http://flickr.com/buddyicons/%@.jpg", userID]]; } // Utility methods to extract the photoID/server/secret/farm from the input - (NSURL *) photoURLForSize:(FKPhotoSize)size fromPhotoDictionary:(NSDictionary *)photoDict { //Find possible photoID NSString *photoID = [photoDict valueForKey:@"id"]; if (!photoID) { photoID = [photoDict valueForKey:@"primary"]; //sets return this } //Find possible server NSString *server = [photoDict valueForKey:@"server"]; //Find possible farm NSString *farm = [[photoDict valueForKey:@"farm"] stringValue]; //Find possible secret NSString *secret = [photoDict valueForKey:@"secret"]; return [self photoURLForSize:size photoID:photoID server:server secret:secret farm:farm]; } - (NSURL *) photoURLForSize:(FKPhotoSize)size photoID:(NSString *)photoID server:(NSString *)server secret:(NSString *)secret farm:(NSString *)farm { // https://farm{farm-id}.static.flickr.com/{server-id}/{id}_{secret}_[mstb].jpg // https://farm{farm-id}.static.flickr.com/{server-id}/{id}_{secret}.jpg static NSString *photoSource = @"https://static.flickr.com/"; NSMutableString *URLString = [NSMutableString stringWithString:@"https://"]; if ([farm length]) { [URLString appendFormat:@"farm%@.", farm]; } NSAssert([server length], @"Must have server attribute"); NSAssert([photoID length], @"Must have id attribute"); NSAssert([secret length], @"Must have secret attribute"); [URLString appendString:[photoSource substringFromIndex:8]]; [URLString appendFormat:@"%@/%@_%@", server, photoID, secret]; NSString *sizeKey = FKIdentifierForSize(size); [URLString appendFormat:@"_%@.jpg", sizeKey]; return [NSURL URLWithString:URLString]; } @end #pragma mark - Photo Upload Methods #pragma mark - @implementation FlickrKit (PhotoUpload) - (FKImageUploadNetworkOperation *) uploadImage:(UIImage *)image args:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion { FKImageUploadNetworkOperation *imageUpload = [[FKImageUploadNetworkOperation alloc] initWithImage:image arguments:args completion:completion]; [[FKDUNetworkController sharedController] execute:imageUpload]; return imageUpload; } @end ================================================ FILE: Pods/FlickrKit/Classes/FlickrKit.h ================================================ // // FKAPI.h // FlickrKit // // Created by David Casserly on 27/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import #import "FKDUDiskCache.h" #import "FKDataTypes.h" #import "FKFlickrNetworkOperation.h" #import "FKImageUploadNetworkOperation.h" #import "FKFlickrAPIMethod.h" #import "FKAPIMethods.h" @class FKFlickrNetworkOperation; @interface FlickrKit : NSObject //You can inject your own disk cache if you like, or just use the default one and ignore this @property (nonatomic, strong) id diskCache; // Flickr API Key @property (nonatomic, strong, readonly) NSString *apiKey; @property (nonatomic, strong, readonly) NSString *secret; // Auth @property (nonatomic, strong, readonly) NSString *authToken; @property (nonatomic, strong, readonly) NSString *authSecret; @property (nonatomic, assign, readonly) FKPermission permissionGranted; + (FlickrKit *) sharedFlickrKit; #pragma mark - Initialisation - run this on startup with your API key and Shared Secret - (void) initializeWithAPIKey:(NSString *)apiKey sharedSecret:(NSString *)secret; #pragma mark - Flickr Data Requests - using basic string and dictionary /*! Call the Flickr API using a string apiMethod passing any requestArgs * * \param apiMethod The Flickr method you want to call * \param requestArgs An NSDictionary of arguments to pass to the method * \param completion The completion block of code to execute on completion of the network call * \returns The FKFlickrNetworkOperation created */ - (FKFlickrNetworkOperation *) call:(NSString * )apiMethod args:(NSDictionary *)requestArgs completion:(FKAPIRequestCompletion)completion; //doesn't use the cache /*! Call the Flickr API using a string apiMethod passing any requestArgs * * \param apiMethod The Flickr method you want to call * \param requestArgs An NSDictionary of arguments to pass to the method * \param maxAge The maximum age the cached response can be around for. * \param completion The completion block of code to execute on completion of the network call * \returns The FKFlickrNetworkOperation created */ - (FKFlickrNetworkOperation *) call:(NSString *)apiMethod args:(NSDictionary *)requestArgs maxCacheAge:(FKDUMaxAge)maxAge completion:(FKAPIRequestCompletion)completion; //with caching specified #pragma mark - Flickr Using the Model Objects - (FKFlickrNetworkOperation *) call:(id)method completion:(FKAPIRequestCompletion)completion; //doesn't use the cache - (FKFlickrNetworkOperation *) call:(id)method maxCacheAge:(FKDUMaxAge)maxAge completion:(FKAPIRequestCompletion)completion; //with caching specified @end #pragma mark - Authentication @interface FlickrKit (Authentication) // Check if they are authorized @property (nonatomic, assign, readonly, getter = isAuthorized) BOOL authorized; // 1. Begin Authorization, onSuccess display authURL in a UIWebView - the url is a callback into your app with a URL scheme - (FKDUNetworkOperation *) beginAuthWithCallbackURL:(NSURL *)url permission:(FKPermission)permission completion:(FKAPIAuthBeginCompletion)completion; // 2. After they login and authorize the app, need to get an auth token - this will happen via your URL scheme - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url - (FKDUNetworkOperation *) completeAuthWithURL:(NSURL *)url completion:(FKAPIAuthCompletion)completion; // 3. On returning to the app, you want to re-log them in automatically - do it here - (FKFlickrNetworkOperation *) checkAuthorizationOnCompletion:(FKAPIAuthCompletion)completion; // 4. Logout - just removes all the stored keys - (void) logout; @end #pragma mark - Building Photo URLs @interface FlickrKit (ImageURL) // Build your own from the components required - (NSURL *) photoURLForSize:(FKPhotoSize)size photoID:(NSString *)photoID server:(NSString *)server secret:(NSString *)secret farm:(NSString *)farm; // Utility methods to extract the photoID/server/secret/farm from the input - (NSURL *) photoURLForSize:(FKPhotoSize)size fromPhotoDictionary:(NSDictionary *)photoDict; - (NSURL *) buddyIconURLForUser:(NSString *)userID; @end #pragma mark - Photo Upload @interface FlickrKit (PhotoUpload) - (FKImageUploadNetworkOperation *) uploadImage:(UIImage *)image args:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/FKAPIMethods.h ================================================ // // FKAPIMethods.h // FlickrKit // // Generated by FKAPIBuilder on #GENERATED_DATE#. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" #import "FKFlickrActivityUserComments.h" #import "FKFlickrActivityUserPhotos.h" #import "FKFlickrAuthCheckToken.h" #import "FKFlickrAuthGetFrob.h" #import "FKFlickrAuthGetFullToken.h" #import "FKFlickrAuthGetToken.h" #import "FKFlickrAuthOauthCheckToken.h" #import "FKFlickrAuthOauthGetAccessToken.h" #import "FKFlickrBlogsGetList.h" #import "FKFlickrBlogsGetServices.h" #import "FKFlickrBlogsPostPhoto.h" #import "FKFlickrCamerasGetBrandModels.h" #import "FKFlickrCamerasGetBrands.h" #import "FKFlickrCollectionsGetInfo.h" #import "FKFlickrCollectionsGetTree.h" #import "FKFlickrCommonsGetInstitutions.h" #import "FKFlickrContactsGetList.h" #import "FKFlickrContactsGetListRecentlyUploaded.h" #import "FKFlickrContactsGetPublicList.h" #import "FKFlickrContactsGetTaggingSuggestions.h" #import "FKFlickrFavoritesAdd.h" #import "FKFlickrFavoritesGetContext.h" #import "FKFlickrFavoritesGetList.h" #import "FKFlickrFavoritesGetPublicList.h" #import "FKFlickrFavoritesRemove.h" #import "FKFlickrGalleriesAddPhoto.h" #import "FKFlickrGalleriesCreate.h" #import "FKFlickrGalleriesEditMeta.h" #import "FKFlickrGalleriesEditPhoto.h" #import "FKFlickrGalleriesEditPhotos.h" #import "FKFlickrGalleriesGetInfo.h" #import "FKFlickrGalleriesGetList.h" #import "FKFlickrGalleriesGetListForPhoto.h" #import "FKFlickrGalleriesGetPhotos.h" #import "FKFlickrGroupsBrowse.h" #import "FKFlickrGroupsDiscussRepliesAdd.h" #import "FKFlickrGroupsDiscussRepliesDelete.h" #import "FKFlickrGroupsDiscussRepliesEdit.h" #import "FKFlickrGroupsDiscussRepliesGetInfo.h" #import "FKFlickrGroupsDiscussRepliesGetList.h" #import "FKFlickrGroupsDiscussTopicsAdd.h" #import "FKFlickrGroupsDiscussTopicsGetInfo.h" #import "FKFlickrGroupsDiscussTopicsGetList.h" #import "FKFlickrGroupsGetInfo.h" #import "FKFlickrGroupsJoin.h" #import "FKFlickrGroupsJoinRequest.h" #import "FKFlickrGroupsLeave.h" #import "FKFlickrGroupsMembersGetList.h" #import "FKFlickrGroupsPoolsAdd.h" #import "FKFlickrGroupsPoolsGetContext.h" #import "FKFlickrGroupsPoolsGetGroups.h" #import "FKFlickrGroupsPoolsGetPhotos.h" #import "FKFlickrGroupsPoolsRemove.h" #import "FKFlickrGroupsSearch.h" #import "FKFlickrInterestingnessGetList.h" #import "FKFlickrMachinetagsGetNamespaces.h" #import "FKFlickrMachinetagsGetPairs.h" #import "FKFlickrMachinetagsGetPredicates.h" #import "FKFlickrMachinetagsGetRecentValues.h" #import "FKFlickrMachinetagsGetValues.h" #import "FKFlickrPandaGetList.h" #import "FKFlickrPandaGetPhotos.h" #import "FKFlickrPeopleFindByEmail.h" #import "FKFlickrPeopleFindByUsername.h" #import "FKFlickrPeopleGetGroups.h" #import "FKFlickrPeopleGetInfo.h" #import "FKFlickrPeopleGetLimits.h" #import "FKFlickrPeopleGetPhotos.h" #import "FKFlickrPeopleGetPhotosOf.h" #import "FKFlickrPeopleGetPublicGroups.h" #import "FKFlickrPeopleGetPublicPhotos.h" #import "FKFlickrPeopleGetUploadStatus.h" #import "FKFlickrPhotosAddTags.h" #import "FKFlickrPhotosCommentsAddComment.h" #import "FKFlickrPhotosCommentsDeleteComment.h" #import "FKFlickrPhotosCommentsEditComment.h" #import "FKFlickrPhotosCommentsGetList.h" #import "FKFlickrPhotosCommentsGetRecentForContacts.h" #import "FKFlickrPhotosDelete.h" #import "FKFlickrPhotosGeoBatchCorrectLocation.h" #import "FKFlickrPhotosGeoCorrectLocation.h" #import "FKFlickrPhotosGeoGetLocation.h" #import "FKFlickrPhotosGeoGetPerms.h" #import "FKFlickrPhotosGeoPhotosForLocation.h" #import "FKFlickrPhotosGeoRemoveLocation.h" #import "FKFlickrPhotosGeoSetContext.h" #import "FKFlickrPhotosGeoSetLocation.h" #import "FKFlickrPhotosGeoSetPerms.h" #import "FKFlickrPhotosGetAllContexts.h" #import "FKFlickrPhotosGetContactsPhotos.h" #import "FKFlickrPhotosGetContactsPublicPhotos.h" #import "FKFlickrPhotosGetContext.h" #import "FKFlickrPhotosGetCounts.h" #import "FKFlickrPhotosGetExif.h" #import "FKFlickrPhotosGetFavorites.h" #import "FKFlickrPhotosGetInfo.h" #import "FKFlickrPhotosGetNotInSet.h" #import "FKFlickrPhotosGetPerms.h" #import "FKFlickrPhotosGetRecent.h" #import "FKFlickrPhotosGetSizes.h" #import "FKFlickrPhotosGetUntagged.h" #import "FKFlickrPhotosGetWithGeoData.h" #import "FKFlickrPhotosGetWithoutGeoData.h" #import "FKFlickrPhotosLicensesGetInfo.h" #import "FKFlickrPhotosLicensesSetLicense.h" #import "FKFlickrPhotosNotesAdd.h" #import "FKFlickrPhotosNotesDelete.h" #import "FKFlickrPhotosNotesEdit.h" #import "FKFlickrPhotosPeopleAdd.h" #import "FKFlickrPhotosPeopleDelete.h" #import "FKFlickrPhotosPeopleDeleteCoords.h" #import "FKFlickrPhotosPeopleEditCoords.h" #import "FKFlickrPhotosPeopleGetList.h" #import "FKFlickrPhotosRecentlyUpdated.h" #import "FKFlickrPhotosRemoveTag.h" #import "FKFlickrPhotosSearch.h" #import "FKFlickrPhotosSetContentType.h" #import "FKFlickrPhotosSetDates.h" #import "FKFlickrPhotosSetMeta.h" #import "FKFlickrPhotosSetPerms.h" #import "FKFlickrPhotosSetSafetyLevel.h" #import "FKFlickrPhotosSetTags.h" #import "FKFlickrPhotosSuggestionsApproveSuggestion.h" #import "FKFlickrPhotosSuggestionsGetList.h" #import "FKFlickrPhotosSuggestionsRejectSuggestion.h" #import "FKFlickrPhotosSuggestionsRemoveSuggestion.h" #import "FKFlickrPhotosSuggestionsSuggestLocation.h" #import "FKFlickrPhotosTransformRotate.h" #import "FKFlickrPhotosUploadCheckTickets.h" #import "FKFlickrPhotosetsAddPhoto.h" #import "FKFlickrPhotosetsCommentsAddComment.h" #import "FKFlickrPhotosetsCommentsDeleteComment.h" #import "FKFlickrPhotosetsCommentsEditComment.h" #import "FKFlickrPhotosetsCommentsGetList.h" #import "FKFlickrPhotosetsCreate.h" #import "FKFlickrPhotosetsDelete.h" #import "FKFlickrPhotosetsEditMeta.h" #import "FKFlickrPhotosetsEditPhotos.h" #import "FKFlickrPhotosetsGetContext.h" #import "FKFlickrPhotosetsGetInfo.h" #import "FKFlickrPhotosetsGetList.h" #import "FKFlickrPhotosetsGetPhotos.h" #import "FKFlickrPhotosetsOrderSets.h" #import "FKFlickrPhotosetsRemovePhoto.h" #import "FKFlickrPhotosetsRemovePhotos.h" #import "FKFlickrPhotosetsReorderPhotos.h" #import "FKFlickrPhotosetsSetPrimaryPhoto.h" #import "FKFlickrPlacesFind.h" #import "FKFlickrPlacesFindByLatLon.h" #import "FKFlickrPlacesGetChildrenWithPhotosPublic.h" #import "FKFlickrPlacesGetInfo.h" #import "FKFlickrPlacesGetInfoByUrl.h" #import "FKFlickrPlacesGetPlaceTypes.h" #import "FKFlickrPlacesGetShapeHistory.h" #import "FKFlickrPlacesGetTopPlacesList.h" #import "FKFlickrPlacesPlacesForBoundingBox.h" #import "FKFlickrPlacesPlacesForContacts.h" #import "FKFlickrPlacesPlacesForTags.h" #import "FKFlickrPlacesPlacesForUser.h" #import "FKFlickrPlacesResolvePlaceId.h" #import "FKFlickrPlacesResolvePlaceURL.h" #import "FKFlickrPlacesTagsForPlace.h" #import "FKFlickrPrefsGetContentType.h" #import "FKFlickrPrefsGetGeoPerms.h" #import "FKFlickrPrefsGetHidden.h" #import "FKFlickrPrefsGetPrivacy.h" #import "FKFlickrPrefsGetSafetyLevel.h" #import "FKFlickrPushGetSubscriptions.h" #import "FKFlickrPushGetTopics.h" #import "FKFlickrPushSubscribe.h" #import "FKFlickrPushUnsubscribe.h" #import "FKFlickrReflectionGetMethodInfo.h" #import "FKFlickrReflectionGetMethods.h" #import "FKFlickrStatsGetCollectionDomains.h" #import "FKFlickrStatsGetCollectionReferrers.h" #import "FKFlickrStatsGetCollectionStats.h" #import "FKFlickrStatsGetCSVFiles.h" #import "FKFlickrStatsGetPhotoDomains.h" #import "FKFlickrStatsGetPhotoReferrers.h" #import "FKFlickrStatsGetPhotosetDomains.h" #import "FKFlickrStatsGetPhotosetReferrers.h" #import "FKFlickrStatsGetPhotosetStats.h" #import "FKFlickrStatsGetPhotoStats.h" #import "FKFlickrStatsGetPhotostreamDomains.h" #import "FKFlickrStatsGetPhotostreamReferrers.h" #import "FKFlickrStatsGetPhotostreamStats.h" #import "FKFlickrStatsGetPopularPhotos.h" #import "FKFlickrStatsGetTotalViews.h" #import "FKFlickrTagsGetClusterPhotos.h" #import "FKFlickrTagsGetClusters.h" #import "FKFlickrTagsGetHotList.h" #import "FKFlickrTagsGetListPhoto.h" #import "FKFlickrTagsGetListUser.h" #import "FKFlickrTagsGetListUserPopular.h" #import "FKFlickrTagsGetListUserRaw.h" #import "FKFlickrTagsGetMostFrequentlyUsed.h" #import "FKFlickrTagsGetRelated.h" #import "FKFlickrTestEcho.h" #import "FKFlickrTestLogin.h" #import "FKFlickrTestNull.h" #import "FKFlickrUrlsGetGroup.h" #import "FKFlickrUrlsGetUserPhotos.h" #import "FKFlickrUrlsGetUserProfile.h" #import "FKFlickrUrlsLookupGallery.h" #import "FKFlickrUrlsLookupGroup.h" #import "FKFlickrUrlsLookupUser.h" ================================================ FILE: Pods/FlickrKit/Classes/Model/FKFlickrAPIMethod.h ================================================ // // FKFlickrAPIMethod.h // FlickrKit // // Created by David Casserly on 10/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDataTypes.h" @protocol FKFlickrAPIMethod /* The name of the method used by flickr */ - (NSString *) name; /* All the args that you have injected into the object into a dictionary */ - (NSDictionary *) args; /* Are the args passed valid? */ - (BOOL) isValid:(NSError **)error; /* Get a readable description for the error code passed */ - (NSString *) descriptionForError:(NSInteger)error; /* Does this need a login? */ - (BOOL) needsLogin; /* Do you need to sign this request */ - (BOOL) needsSigning; /* Permissions needed for this request */ - (FKPermission) requiredPerms; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.h ================================================ // // FKFlickrActivityUserComments.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrActivityUserCommentsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrActivityUserCommentsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrActivityUserCommentsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrActivityUserCommentsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrActivityUserCommentsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrActivityUserCommentsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrActivityUserCommentsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrActivityUserCommentsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrActivityUserCommentsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrActivityUserCommentsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrActivityUserCommentsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrActivityUserCommentsError; /* Returns a list of recent activity on photos commented on by the calling user. Do not poll this method more than once an hour. Response: A set of photos yay A photo test nice */ @interface FKFlickrActivityUserComments : NSObject /* Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.m ================================================ // // FKFlickrActivityUserComments.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrActivityUserComments.h" @implementation FKFlickrActivityUserComments - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.activity.userComments"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrActivityUserCommentsError_InvalidSignature: return @"Invalid signature"; case FKFlickrActivityUserCommentsError_MissingSignature: return @"Missing signature"; case FKFlickrActivityUserCommentsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrActivityUserCommentsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrActivityUserCommentsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrActivityUserCommentsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrActivityUserCommentsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrActivityUserCommentsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrActivityUserCommentsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrActivityUserCommentsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrActivityUserCommentsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.h ================================================ // // FKFlickrActivityUserPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrActivityUserPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrActivityUserPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrActivityUserPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrActivityUserPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrActivityUserPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrActivityUserPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrActivityUserPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrActivityUserPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrActivityUserPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrActivityUserPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrActivityUserPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrActivityUserPhotosError; /* Returns a list of recent activity on photos belonging to the calling user. Do not poll this method more than once an hour. Response: A set of photos yay A photo test nice */ @interface FKFlickrActivityUserPhotos : NSObject /* The timeframe in which to return updates for. This can be specified in days ('2d') or hours ('4h'). The default behavoir is to return changes since the beginning of the previous user session. */ @property (nonatomic, strong) NSString *timeframe; /* Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m ================================================ // // FKFlickrActivityUserPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrActivityUserPhotos.h" @implementation FKFlickrActivityUserPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.activity.userPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.timeframe) { [args setValue:self.timeframe forKey:@"timeframe"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrActivityUserPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrActivityUserPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrActivityUserPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrActivityUserPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrActivityUserPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrActivityUserPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrActivityUserPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrActivityUserPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrActivityUserPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrActivityUserPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrActivityUserPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h ================================================ // // FKFlickrAuthCheckToken.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthCheckTokenError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrAuthCheckTokenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrAuthCheckTokenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrAuthCheckTokenError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrAuthCheckTokenError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrAuthCheckTokenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrAuthCheckTokenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrAuthCheckTokenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrAuthCheckTokenError; /* Returns the credentials attached to an authentication token. This call must be signed, and is deprecated in favour of OAuth.

perms can have values of none, read, write or delete. For more information, see the Auth API spec.

Response: 976598454353455 read */ @interface FKFlickrAuthCheckToken : NSObject /* The authentication token to check. */ @property (nonatomic, strong) NSString *auth_token; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.m ================================================ // // FKFlickrAuthCheckToken.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAuthCheckToken.h" @implementation FKFlickrAuthCheckToken - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.auth.checkToken"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.auth_token) { valid = NO; [errorDescription appendString:@"'auth_token', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.auth_token) { [args setValue:self.auth_token forKey:@"auth_token"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrAuthCheckTokenError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrAuthCheckTokenError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrAuthCheckTokenError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrAuthCheckTokenError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrAuthCheckTokenError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrAuthCheckTokenError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrAuthCheckTokenError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrAuthCheckTokenError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.h ================================================ // // FKFlickrAuthGetFrob.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthGetFrobError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrAuthGetFrobError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrAuthGetFrobError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrAuthGetFrobError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrAuthGetFrobError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrAuthGetFrobError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrAuthGetFrobError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrAuthGetFrobError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrAuthGetFrobError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrAuthGetFrobError; /* Returns a frob to be used during authentication. This method call must be signed, and is deprecated in favour of OAuth. Response: 746563215463214621 */ @interface FKFlickrAuthGetFrob : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.m ================================================ // // FKFlickrAuthGetFrob.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAuthGetFrob.h" @implementation FKFlickrAuthGetFrob - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.auth.getFrob"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrAuthGetFrobError_InvalidSignature: return @"Invalid signature"; case FKFlickrAuthGetFrobError_MissingSignature: return @"Missing signature"; case FKFlickrAuthGetFrobError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrAuthGetFrobError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrAuthGetFrobError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrAuthGetFrobError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrAuthGetFrobError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrAuthGetFrobError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrAuthGetFrobError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.h ================================================ // // FKFlickrAuthGetFullToken.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthGetFullTokenError_MinitokenNotFound = 1, /* The passed mini-token was not valid. */ FKFlickrAuthGetFullTokenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrAuthGetFullTokenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrAuthGetFullTokenError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrAuthGetFullTokenError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrAuthGetFullTokenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrAuthGetFullTokenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrAuthGetFullTokenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrAuthGetFullTokenError; /* Get the full authentication token for a mini-token. This method call must be signed, and is deprecated in favour of OAuth.

perms can have values of none, read, write or delete. For more information, see the Auth API spec.

Response: 976598454353455 write */ @interface FKFlickrAuthGetFullToken : NSObject /* The mini-token typed in by a user. It should be 9 digits long. It may optionally contain dashes. */ @property (nonatomic, strong) NSString *mini_token; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.m ================================================ // // FKFlickrAuthGetFullToken.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAuthGetFullToken.h" @implementation FKFlickrAuthGetFullToken - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.auth.getFullToken"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.mini_token) { valid = NO; [errorDescription appendString:@"'mini_token', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.mini_token) { [args setValue:self.mini_token forKey:@"mini_token"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrAuthGetFullTokenError_MinitokenNotFound: return @"Mini-token not found"; case FKFlickrAuthGetFullTokenError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrAuthGetFullTokenError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrAuthGetFullTokenError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrAuthGetFullTokenError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrAuthGetFullTokenError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrAuthGetFullTokenError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrAuthGetFullTokenError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.h ================================================ // // FKFlickrAuthGetToken.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthGetTokenError_InvalidFrob = 108, /* The specified frob does not exist or has already been used. */ FKFlickrAuthGetTokenError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrAuthGetTokenError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrAuthGetTokenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrAuthGetTokenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrAuthGetTokenError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrAuthGetTokenError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrAuthGetTokenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrAuthGetTokenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrAuthGetTokenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrAuthGetTokenError; /* Returns the auth token for the given frob, if one has been attached. This method call must be signed, and is deprecated in favour of OAuth.

perms can have values of none, read, write or delete. For more information, see the Auth API spec.

Response: 976598454353455 write */ @interface FKFlickrAuthGetToken : NSObject /* The frob to check. */ @property (nonatomic, strong) NSString *frob; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.m ================================================ // // FKFlickrAuthGetToken.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAuthGetToken.h" @implementation FKFlickrAuthGetToken - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.auth.getToken"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.frob) { valid = NO; [errorDescription appendString:@"'frob', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.frob) { [args setValue:self.frob forKey:@"frob"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrAuthGetTokenError_InvalidFrob: return @"Invalid frob"; case FKFlickrAuthGetTokenError_InvalidSignature: return @"Invalid signature"; case FKFlickrAuthGetTokenError_MissingSignature: return @"Missing signature"; case FKFlickrAuthGetTokenError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrAuthGetTokenError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrAuthGetTokenError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrAuthGetTokenError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrAuthGetTokenError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrAuthGetTokenError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrAuthGetTokenError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.h ================================================ // // FKFlickrAuthOauthCheckToken.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthOauthCheckTokenError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrAuthOauthCheckTokenError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrAuthOauthCheckTokenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrAuthOauthCheckTokenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrAuthOauthCheckTokenError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrAuthOauthCheckTokenError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrAuthOauthCheckTokenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrAuthOauthCheckTokenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrAuthOauthCheckTokenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrAuthOauthCheckTokenError; /* Returns the credentials attached to an OAuth authentication token. Response: 72157627611980735-09e87c3024f733da write */ @interface FKFlickrAuthOauthCheckToken : NSObject /* The OAuth authentication token to check. */ @property (nonatomic, strong) NSString *oauth_token; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.m ================================================ // // FKFlickrAuthOauthCheckToken.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAuthOauthCheckToken.h" @implementation FKFlickrAuthOauthCheckToken - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.auth.oauth.checkToken"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.oauth_token) { valid = NO; [errorDescription appendString:@"'oauth_token', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.oauth_token) { [args setValue:self.oauth_token forKey:@"oauth_token"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrAuthOauthCheckTokenError_InvalidSignature: return @"Invalid signature"; case FKFlickrAuthOauthCheckTokenError_MissingSignature: return @"Missing signature"; case FKFlickrAuthOauthCheckTokenError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrAuthOauthCheckTokenError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrAuthOauthCheckTokenError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrAuthOauthCheckTokenError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrAuthOauthCheckTokenError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrAuthOauthCheckTokenError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrAuthOauthCheckTokenError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.h ================================================ // // FKFlickrAuthOauthGetAccessToken.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthOauthGetAccessTokenError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrAuthOauthGetAccessTokenError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrAuthOauthGetAccessTokenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrAuthOauthGetAccessTokenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrAuthOauthGetAccessTokenError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrAuthOauthGetAccessTokenError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrAuthOauthGetAccessTokenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrAuthOauthGetAccessTokenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrAuthOauthGetAccessTokenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrAuthOauthGetAccessTokenError; /* Exchange an auth token from the old Authentication API, to an OAuth access token. Calling this method will delete the auth token used to make the request. Response: */ @interface FKFlickrAuthOauthGetAccessToken : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.m ================================================ // // FKFlickrAuthOauthGetAccessToken.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAuthOauthGetAccessToken.h" @implementation FKFlickrAuthOauthGetAccessToken - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.auth.oauth.getAccessToken"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrAuthOauthGetAccessTokenError_InvalidSignature: return @"Invalid signature"; case FKFlickrAuthOauthGetAccessTokenError_MissingSignature: return @"Missing signature"; case FKFlickrAuthOauthGetAccessTokenError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrAuthOauthGetAccessTokenError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrAuthOauthGetAccessTokenError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrAuthOauthGetAccessTokenError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrAuthOauthGetAccessTokenError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrAuthOauthGetAccessTokenError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrAuthOauthGetAccessTokenError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.h ================================================ // // FKFlickrBlogsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrBlogsGetListError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrBlogsGetListError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrBlogsGetListError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrBlogsGetListError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrBlogsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrBlogsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrBlogsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrBlogsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrBlogsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrBlogsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrBlogsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrBlogsGetListError; /* Get a list of configured blogs for the calling user.

The needspassword attribute indicates whether a call to flickr.blogs.postPhoto for this blog will require a password to be sent. When flickr has a password already stored, needspassword is 0

Response: */ @interface FKFlickrBlogsGetList : NSObject /* Optionally only return blogs for a given service id. You can get a list of from flickr.blogs.getServices(). */ @property (nonatomic, strong) NSString *service; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.m ================================================ // // FKFlickrBlogsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrBlogsGetList.h" @implementation FKFlickrBlogsGetList - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.blogs.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.service) { [args setValue:self.service forKey:@"service"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrBlogsGetListError_InvalidSignature: return @"Invalid signature"; case FKFlickrBlogsGetListError_MissingSignature: return @"Missing signature"; case FKFlickrBlogsGetListError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrBlogsGetListError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrBlogsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrBlogsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrBlogsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrBlogsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrBlogsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrBlogsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrBlogsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.h ================================================ // // FKFlickrBlogsGetServices.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrBlogsGetServicesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrBlogsGetServicesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrBlogsGetServicesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrBlogsGetServicesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrBlogsGetServicesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrBlogsGetServicesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrBlogsGetServicesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrBlogsGetServicesError; /* Return a list of Flickr supported blogging services Response: Blogger Typepad Movable Type LiveJournal Wordpress MetaWeblogAPI Manila AtomAPI BloggerAPI Vox Twitter */ @interface FKFlickrBlogsGetServices : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.m ================================================ // // FKFlickrBlogsGetServices.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrBlogsGetServices.h" @implementation FKFlickrBlogsGetServices - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.blogs.getServices"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrBlogsGetServicesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrBlogsGetServicesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrBlogsGetServicesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrBlogsGetServicesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrBlogsGetServicesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrBlogsGetServicesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrBlogsGetServicesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.h ================================================ // // FKFlickrBlogsPostPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrBlogsPostPhotoError_BlogNotFound = 1, /* The blog id was not the id of a blog belonging to the calling user */ FKFlickrBlogsPostPhotoError_PhotoNotFound = 2, /* The photo id was not the id of a public photo */ FKFlickrBlogsPostPhotoError_PasswordNeeded = 3, /* A password is not stored for the blog and one was not passed with the request */ FKFlickrBlogsPostPhotoError_BlogPostFailed = 4, /* The blog posting failed (a blogging API failure of some sort) */ FKFlickrBlogsPostPhotoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrBlogsPostPhotoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrBlogsPostPhotoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrBlogsPostPhotoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrBlogsPostPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrBlogsPostPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrBlogsPostPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrBlogsPostPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrBlogsPostPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrBlogsPostPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrBlogsPostPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrBlogsPostPhotoError; /* */ @interface FKFlickrBlogsPostPhoto : NSObject /* The id of the blog to post to. */ @property (nonatomic, strong) NSString *blog_id; /* The id of the photo to blog */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The blog post title */ @property (nonatomic, strong) NSString *title; /* (Required) */ /* The blog post body */ @property (nonatomic, strong) NSString *description; /* (Required) */ /* The password for the blog (used when the blog does not have a stored password). */ @property (nonatomic, strong) NSString *blog_password; /* A Flickr supported blogging service. Instead of passing a blog id you can pass a service id and we'll post to the first blog of that service we find. */ @property (nonatomic, strong) NSString *service; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.m ================================================ // // FKFlickrBlogsPostPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrBlogsPostPhoto.h" @implementation FKFlickrBlogsPostPhoto - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.blogs.postPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.title) { valid = NO; [errorDescription appendString:@"'title', "]; } if(!self.description) { valid = NO; [errorDescription appendString:@"'description', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.blog_id) { [args setValue:self.blog_id forKey:@"blog_id"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.title) { [args setValue:self.title forKey:@"title"]; } if(self.description) { [args setValue:self.description forKey:@"description"]; } if(self.blog_password) { [args setValue:self.blog_password forKey:@"blog_password"]; } if(self.service) { [args setValue:self.service forKey:@"service"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrBlogsPostPhotoError_BlogNotFound: return @"Blog not found"; case FKFlickrBlogsPostPhotoError_PhotoNotFound: return @"Photo not found"; case FKFlickrBlogsPostPhotoError_PasswordNeeded: return @"Password needed"; case FKFlickrBlogsPostPhotoError_BlogPostFailed: return @"Blog post failed"; case FKFlickrBlogsPostPhotoError_InvalidSignature: return @"Invalid signature"; case FKFlickrBlogsPostPhotoError_MissingSignature: return @"Missing signature"; case FKFlickrBlogsPostPhotoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrBlogsPostPhotoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrBlogsPostPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrBlogsPostPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrBlogsPostPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrBlogsPostPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrBlogsPostPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrBlogsPostPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrBlogsPostPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.h ================================================ // // FKFlickrCamerasGetBrandModels.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrCamerasGetBrandModelsError_BrandNotFound = 1, /* Unable to find the given brand ID. */ FKFlickrCamerasGetBrandModelsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrCamerasGetBrandModelsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrCamerasGetBrandModelsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrCamerasGetBrandModelsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrCamerasGetBrandModelsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrCamerasGetBrandModelsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrCamerasGetBrandModelsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrCamerasGetBrandModelsError; /* Retrieve all the models for a given camera brand. Response: iPhone 9000
22.0 3.0 40.5 Flash
http://farm3.staticflickr.com/1234/cameras/123456_model_small_123456.jpg http://farm3.staticflickr.com/1234/cameras/123456_model_large_123456.jpg
*/ @interface FKFlickrCamerasGetBrandModels : NSObject /* The ID of the requested brand (as returned from flickr.cameras.getBrands). */ @property (nonatomic, strong) NSString *brand; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.m ================================================ // // FKFlickrCamerasGetBrandModels.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrCamerasGetBrandModels.h" @implementation FKFlickrCamerasGetBrandModels - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.cameras.getBrandModels"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.brand) { valid = NO; [errorDescription appendString:@"'brand', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.brand) { [args setValue:self.brand forKey:@"brand"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrCamerasGetBrandModelsError_BrandNotFound: return @"Brand not found"; case FKFlickrCamerasGetBrandModelsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrCamerasGetBrandModelsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrCamerasGetBrandModelsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrCamerasGetBrandModelsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrCamerasGetBrandModelsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrCamerasGetBrandModelsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrCamerasGetBrandModelsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.h ================================================ // // FKFlickrCamerasGetBrands.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrCamerasGetBrandsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrCamerasGetBrandsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrCamerasGetBrandsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrCamerasGetBrandsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrCamerasGetBrandsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrCamerasGetBrandsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrCamerasGetBrandsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrCamerasGetBrandsError; /* Returns all the brands of cameras that Flickr knows about. Response: Canon Nikon Apple */ @interface FKFlickrCamerasGetBrands : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.m ================================================ // // FKFlickrCamerasGetBrands.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrCamerasGetBrands.h" @implementation FKFlickrCamerasGetBrands - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.cameras.getBrands"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrCamerasGetBrandsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrCamerasGetBrandsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrCamerasGetBrandsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrCamerasGetBrandsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrCamerasGetBrandsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrCamerasGetBrandsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrCamerasGetBrandsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.h ================================================ // // FKFlickrCollectionsGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrCollectionsGetInfoError_CollectionNotFound = 1, /* The requested collection could not be found or is not visible to the calling user. */ FKFlickrCollectionsGetInfoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrCollectionsGetInfoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrCollectionsGetInfoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrCollectionsGetInfoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrCollectionsGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrCollectionsGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrCollectionsGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrCollectionsGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrCollectionsGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrCollectionsGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrCollectionsGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrCollectionsGetInfoError; /* Returns information for a single collection. Currently can only be called by the collection owner, this may change. Response: All My Photos Photos! .... */ @interface FKFlickrCollectionsGetInfo : NSObject /* The ID of the collection to fetch information for. */ @property (nonatomic, strong) NSString *collection_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.m ================================================ // // FKFlickrCollectionsGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrCollectionsGetInfo.h" @implementation FKFlickrCollectionsGetInfo - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.collections.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.collection_id) { valid = NO; [errorDescription appendString:@"'collection_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.collection_id) { [args setValue:self.collection_id forKey:@"collection_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrCollectionsGetInfoError_CollectionNotFound: return @"Collection not found"; case FKFlickrCollectionsGetInfoError_InvalidSignature: return @"Invalid signature"; case FKFlickrCollectionsGetInfoError_MissingSignature: return @"Missing signature"; case FKFlickrCollectionsGetInfoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrCollectionsGetInfoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrCollectionsGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrCollectionsGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrCollectionsGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrCollectionsGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrCollectionsGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrCollectionsGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrCollectionsGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.h ================================================ // // FKFlickrCollectionsGetTree.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrCollectionsGetTreeError_UserNotFound = 1, /* The specified user could not be found. */ FKFlickrCollectionsGetTreeError_CollectionNotFound = 2, /* The specified collection does not exist. */ FKFlickrCollectionsGetTreeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrCollectionsGetTreeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrCollectionsGetTreeError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrCollectionsGetTreeError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrCollectionsGetTreeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrCollectionsGetTreeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrCollectionsGetTreeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrCollectionsGetTreeError; /* Returns a tree (or sub tree) of collections belonging to a given user. A nested tree of collections, and the collections and sets they contain. Response: */ @interface FKFlickrCollectionsGetTree : NSObject /* The ID of the collection to fetch a tree for, or zero to fetch the root collection. Defaults to zero. */ @property (nonatomic, strong) NSString *collection_id; /* The ID of the account to fetch the collection tree for. Deafults to the calling user. */ @property (nonatomic, strong) NSString *user_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.m ================================================ // // FKFlickrCollectionsGetTree.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrCollectionsGetTree.h" @implementation FKFlickrCollectionsGetTree - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.collections.getTree"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.collection_id) { [args setValue:self.collection_id forKey:@"collection_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrCollectionsGetTreeError_UserNotFound: return @"User not found"; case FKFlickrCollectionsGetTreeError_CollectionNotFound: return @"Collection not found"; case FKFlickrCollectionsGetTreeError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrCollectionsGetTreeError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrCollectionsGetTreeError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrCollectionsGetTreeError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrCollectionsGetTreeError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrCollectionsGetTreeError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrCollectionsGetTreeError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.h ================================================ // // FKFlickrCommonsGetInstitutions.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrCommonsGetInstitutionsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrCommonsGetInstitutionsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrCommonsGetInstitutionsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrCommonsGetInstitutionsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrCommonsGetInstitutionsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrCommonsGetInstitutionsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrCommonsGetInstitutionsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrCommonsGetInstitutionsError; /* Retrieves a list of the current Commons institutions. Response: Institution http://example.com/ http://example.com/commons/license http://flickr.com/photos/institution */ @interface FKFlickrCommonsGetInstitutions : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.m ================================================ // // FKFlickrCommonsGetInstitutions.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrCommonsGetInstitutions.h" @implementation FKFlickrCommonsGetInstitutions - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.commons.getInstitutions"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrCommonsGetInstitutionsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrCommonsGetInstitutionsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrCommonsGetInstitutionsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrCommonsGetInstitutionsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrCommonsGetInstitutionsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrCommonsGetInstitutionsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrCommonsGetInstitutionsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.h ================================================ // // FKFlickrContactsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrContactsGetListError_InvalidSortParameter = 1, /* The possible values are: name and time. */ FKFlickrContactsGetListError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrContactsGetListError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrContactsGetListError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrContactsGetListError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrContactsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrContactsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrContactsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrContactsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrContactsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrContactsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrContactsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrContactsGetListError; /* Get a list of contacts for the calling user. Response: */ @interface FKFlickrContactsGetList : NSObject /* An optional filter of the results. The following values are valid:
 
friends
Only contacts who are friends (and not family)
family
Only contacts who are family (and not friends)
both
Only contacts who are both friends and family
neither
Only contacts who are neither friends nor family
*/ @property (nonatomic, strong) NSString *filter; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; /* Number of photos to return per page. If this argument is omitted, it defaults to 1000. The maximum allowed value is 1000. */ @property (nonatomic, strong) NSString *per_page; /* The order in which to sort the returned contacts. Defaults to name. The possible values are: name and time. */ @property (nonatomic, strong) NSString *sort; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.m ================================================ // // FKFlickrContactsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrContactsGetList.h" @implementation FKFlickrContactsGetList - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.contacts.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.filter) { [args setValue:self.filter forKey:@"filter"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.sort) { [args setValue:self.sort forKey:@"sort"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrContactsGetListError_InvalidSortParameter: return @"Invalid sort parameter."; case FKFlickrContactsGetListError_InvalidSignature: return @"Invalid signature"; case FKFlickrContactsGetListError_MissingSignature: return @"Missing signature"; case FKFlickrContactsGetListError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrContactsGetListError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrContactsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrContactsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrContactsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrContactsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrContactsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrContactsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrContactsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.h ================================================ // // FKFlickrContactsGetListRecentlyUploaded.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrContactsGetListRecentlyUploadedError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrContactsGetListRecentlyUploadedError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrContactsGetListRecentlyUploadedError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrContactsGetListRecentlyUploadedError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrContactsGetListRecentlyUploadedError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrContactsGetListRecentlyUploadedError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrContactsGetListRecentlyUploadedError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrContactsGetListRecentlyUploadedError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrContactsGetListRecentlyUploadedError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrContactsGetListRecentlyUploadedError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrContactsGetListRecentlyUploadedError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrContactsGetListRecentlyUploadedError; /* Return a list of contacts for a user who have recently uploaded photos along with the total count of photos uploaded.

This method is still considered experimental. We don't plan for it to change or to go away but so long as this notice is present you should write your code accordingly. */ @interface FKFlickrContactsGetListRecentlyUploaded : NSObject /* Limits the resultset to contacts that have uploaded photos since this date. The date should be in the form of a Unix timestamp. The default offset is (1) hour and the maximum (24) hours. */ @property (nonatomic, strong) NSString *date_lastupload; /* Limit the result set to all contacts or only those who are friends or family. Valid options are:
  • ff friends and family
  • all all your contacts
Default value is "all". */ @property (nonatomic, strong) NSString *filter; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.m ================================================ // // FKFlickrContactsGetListRecentlyUploaded.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrContactsGetListRecentlyUploaded.h" @implementation FKFlickrContactsGetListRecentlyUploaded - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.contacts.getListRecentlyUploaded"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date_lastupload) { [args setValue:self.date_lastupload forKey:@"date_lastupload"]; } if(self.filter) { [args setValue:self.filter forKey:@"filter"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrContactsGetListRecentlyUploadedError_InvalidSignature: return @"Invalid signature"; case FKFlickrContactsGetListRecentlyUploadedError_MissingSignature: return @"Missing signature"; case FKFlickrContactsGetListRecentlyUploadedError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrContactsGetListRecentlyUploadedError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrContactsGetListRecentlyUploadedError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrContactsGetListRecentlyUploadedError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrContactsGetListRecentlyUploadedError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrContactsGetListRecentlyUploadedError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrContactsGetListRecentlyUploadedError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrContactsGetListRecentlyUploadedError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrContactsGetListRecentlyUploadedError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.h ================================================ // // FKFlickrContactsGetPublicList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrContactsGetPublicListError_UserNotFound = 1, /* The specified user NSID was not a valid user. */ FKFlickrContactsGetPublicListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrContactsGetPublicListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrContactsGetPublicListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrContactsGetPublicListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrContactsGetPublicListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrContactsGetPublicListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrContactsGetPublicListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrContactsGetPublicListError; /* Get the contact list for a user.

See flickr.contacts.getList for an explanation of the response.

Response: */ @interface FKFlickrContactsGetPublicList : NSObject /* The NSID of the user to fetch the contact list for. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; /* Number of photos to return per page. If this argument is omitted, it defaults to 1000. The maximum allowed value is 1000. */ @property (nonatomic, strong) NSString *per_page; /* Include additional information for each contact, such as realname, is_friend, is_family, path_alias and location. */ @property (nonatomic, strong) NSString *show_more; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.m ================================================ // // FKFlickrContactsGetPublicList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrContactsGetPublicList.h" @implementation FKFlickrContactsGetPublicList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.contacts.getPublicList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.show_more) { [args setValue:self.show_more forKey:@"show_more"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrContactsGetPublicListError_UserNotFound: return @"User not found"; case FKFlickrContactsGetPublicListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrContactsGetPublicListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrContactsGetPublicListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrContactsGetPublicListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrContactsGetPublicListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrContactsGetPublicListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrContactsGetPublicListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.h ================================================ // // FKFlickrContactsGetTaggingSuggestions.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrContactsGetTaggingSuggestionsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrContactsGetTaggingSuggestionsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrContactsGetTaggingSuggestionsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrContactsGetTaggingSuggestionsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrContactsGetTaggingSuggestionsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrContactsGetTaggingSuggestionsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrContactsGetTaggingSuggestionsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrContactsGetTaggingSuggestionsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrContactsGetTaggingSuggestionsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrContactsGetTaggingSuggestionsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrContactsGetTaggingSuggestionsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrContactsGetTaggingSuggestionsError; /* Get suggestions for tagging people in photos based on the calling user's contacts. Response: */ @interface FKFlickrContactsGetTaggingSuggestions : NSObject /* Return calling user in the list of suggestions. Default: true. */ @property (nonatomic, strong) NSString *include_self; /* Include suggestions from the user's address book. Default: false */ @property (nonatomic, strong) NSString *include_address_book; /* Number of contacts to return per page. If this argument is omitted, all contacts will be returned. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.m ================================================ // // FKFlickrContactsGetTaggingSuggestions.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrContactsGetTaggingSuggestions.h" @implementation FKFlickrContactsGetTaggingSuggestions - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.contacts.getTaggingSuggestions"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.include_self) { [args setValue:self.include_self forKey:@"include_self"]; } if(self.include_address_book) { [args setValue:self.include_address_book forKey:@"include_address_book"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrContactsGetTaggingSuggestionsError_InvalidSignature: return @"Invalid signature"; case FKFlickrContactsGetTaggingSuggestionsError_MissingSignature: return @"Missing signature"; case FKFlickrContactsGetTaggingSuggestionsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrContactsGetTaggingSuggestionsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrContactsGetTaggingSuggestionsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrContactsGetTaggingSuggestionsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrContactsGetTaggingSuggestionsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrContactsGetTaggingSuggestionsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrContactsGetTaggingSuggestionsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrContactsGetTaggingSuggestionsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrContactsGetTaggingSuggestionsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.h ================================================ // // FKFlickrFavoritesAdd.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrFavoritesAddError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id. */ FKFlickrFavoritesAddError_PhotoIsOwnedByYou = 2, /* The photo belongs to the user and so cannot be added to their favorites. */ FKFlickrFavoritesAddError_PhotoIsAlreadyInFavorites = 3, /* The photo is already in the user's list of favorites. */ FKFlickrFavoritesAddError_UserCannotSeePhoto = 4, /* The user does not have permission to add the photo to their favorites. */ FKFlickrFavoritesAddError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrFavoritesAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrFavoritesAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrFavoritesAddError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrFavoritesAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrFavoritesAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrFavoritesAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrFavoritesAddError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrFavoritesAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrFavoritesAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrFavoritesAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrFavoritesAddError; /* Adds a photo to a user's favorites list. */ @interface FKFlickrFavoritesAdd : NSObject /* The id of the photo to add to the user's favorites. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.m ================================================ // // FKFlickrFavoritesAdd.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrFavoritesAdd.h" @implementation FKFlickrFavoritesAdd - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.favorites.add"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrFavoritesAddError_PhotoNotFound: return @"Photo not found"; case FKFlickrFavoritesAddError_PhotoIsOwnedByYou: return @"Photo is owned by you"; case FKFlickrFavoritesAddError_PhotoIsAlreadyInFavorites: return @"Photo is already in favorites"; case FKFlickrFavoritesAddError_UserCannotSeePhoto: return @"User cannot see photo"; case FKFlickrFavoritesAddError_InvalidSignature: return @"Invalid signature"; case FKFlickrFavoritesAddError_MissingSignature: return @"Missing signature"; case FKFlickrFavoritesAddError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrFavoritesAddError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrFavoritesAddError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrFavoritesAddError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrFavoritesAddError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrFavoritesAddError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrFavoritesAddError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrFavoritesAddError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrFavoritesAddError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.h ================================================ // // FKFlickrFavoritesGetContext.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrFavoritesGetContextError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view. */ FKFlickrFavoritesGetContextError_UserNotFound = 2, /* The specified user was not found. */ FKFlickrFavoritesGetContextError_PhotoNotAFavorite = 3, /* The specified photo is not a favorite of the specified user. */ FKFlickrFavoritesGetContextError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrFavoritesGetContextError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrFavoritesGetContextError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrFavoritesGetContextError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrFavoritesGetContextError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrFavoritesGetContextError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrFavoritesGetContextError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrFavoritesGetContextError; /* Returns next and previous favorites for a photo in a user's favorites.

See flickr.photos.getContext

Response: 3 */ @interface FKFlickrFavoritesGetContext : NSObject /* The id of the photo to fetch the context for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The user who counts the photo as a favorite. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* */ @property (nonatomic, strong) NSString *num_prev; /* */ @property (nonatomic, strong) NSString *num_next; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_z, url_l, url_o */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.m ================================================ // // FKFlickrFavoritesGetContext.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrFavoritesGetContext.h" @implementation FKFlickrFavoritesGetContext - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.favorites.getContext"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.num_prev) { [args setValue:self.num_prev forKey:@"num_prev"]; } if(self.num_next) { [args setValue:self.num_next forKey:@"num_next"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrFavoritesGetContextError_PhotoNotFound: return @"Photo not found"; case FKFlickrFavoritesGetContextError_UserNotFound: return @"User not found"; case FKFlickrFavoritesGetContextError_PhotoNotAFavorite: return @"Photo not a favorite"; case FKFlickrFavoritesGetContextError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrFavoritesGetContextError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrFavoritesGetContextError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrFavoritesGetContextError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrFavoritesGetContextError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrFavoritesGetContextError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrFavoritesGetContextError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.h ================================================ // // FKFlickrFavoritesGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrFavoritesGetListError_UserNotFound = 1, /* The specified user NSID was not a valid flickr user. */ FKFlickrFavoritesGetListError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrFavoritesGetListError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrFavoritesGetListError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrFavoritesGetListError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrFavoritesGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrFavoritesGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrFavoritesGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrFavoritesGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrFavoritesGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrFavoritesGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrFavoritesGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrFavoritesGetListError; /* Returns a list of the user's favorite photos. Only photos which the calling user has permission to see are returned. */ @interface FKFlickrFavoritesGetList : NSObject /* The NSID of the user to fetch the favorites list for. If this argument is omitted, the favorites list for the calling user is returned. */ @property (nonatomic, strong) NSString *user_id; /* */ @property (nonatomic, strong) NSString *jump_to; /* Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_fave_date; /* Maximum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_fave_date; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m ================================================ // // FKFlickrFavoritesGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrFavoritesGetList.h" @implementation FKFlickrFavoritesGetList - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.favorites.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.jump_to) { [args setValue:self.jump_to forKey:@"jump_to"]; } if(self.min_fave_date) { [args setValue:self.min_fave_date forKey:@"min_fave_date"]; } if(self.max_fave_date) { [args setValue:self.max_fave_date forKey:@"max_fave_date"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrFavoritesGetListError_UserNotFound: return @"User not found"; case FKFlickrFavoritesGetListError_InvalidSignature: return @"Invalid signature"; case FKFlickrFavoritesGetListError_MissingSignature: return @"Missing signature"; case FKFlickrFavoritesGetListError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrFavoritesGetListError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrFavoritesGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrFavoritesGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrFavoritesGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrFavoritesGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrFavoritesGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrFavoritesGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrFavoritesGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h ================================================ // // FKFlickrFavoritesGetPublicList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrFavoritesGetPublicListError_UserNotFound = 1, /* The specified user NSID was not a valid flickr user. */ FKFlickrFavoritesGetPublicListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrFavoritesGetPublicListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrFavoritesGetPublicListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrFavoritesGetPublicListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrFavoritesGetPublicListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrFavoritesGetPublicListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrFavoritesGetPublicListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrFavoritesGetPublicListError; /* Returns a list of favorite public photos for the given user. */ @interface FKFlickrFavoritesGetPublicList : NSObject /* The user to fetch the favorites list for. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* */ @property (nonatomic, strong) NSString *jump_to; /* Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_fave_date; /* Maximum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_fave_date; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m ================================================ // // FKFlickrFavoritesGetPublicList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrFavoritesGetPublicList.h" @implementation FKFlickrFavoritesGetPublicList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.favorites.getPublicList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.jump_to) { [args setValue:self.jump_to forKey:@"jump_to"]; } if(self.min_fave_date) { [args setValue:self.min_fave_date forKey:@"min_fave_date"]; } if(self.max_fave_date) { [args setValue:self.max_fave_date forKey:@"max_fave_date"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrFavoritesGetPublicListError_UserNotFound: return @"User not found"; case FKFlickrFavoritesGetPublicListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrFavoritesGetPublicListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrFavoritesGetPublicListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrFavoritesGetPublicListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrFavoritesGetPublicListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrFavoritesGetPublicListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrFavoritesGetPublicListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h ================================================ // // FKFlickrFavoritesRemove.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrFavoritesRemoveError_PhotoNotInFavorites = 1, /* The photo id passed was not in the user's favorites. */ FKFlickrFavoritesRemoveError_CannotRemovePhotoFromThatUsersFavorites = 2, /* user_id was passed as an argument, but photo_id is not owned by the authenticated user. */ FKFlickrFavoritesRemoveError_UserNotFound = 3, /* Invalid user_id argument. */ FKFlickrFavoritesRemoveError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrFavoritesRemoveError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrFavoritesRemoveError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrFavoritesRemoveError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrFavoritesRemoveError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrFavoritesRemoveError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrFavoritesRemoveError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrFavoritesRemoveError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrFavoritesRemoveError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrFavoritesRemoveError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrFavoritesRemoveError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrFavoritesRemoveError; /* Removes a photo from a user's favorites list. */ @interface FKFlickrFavoritesRemove : NSObject /* The id of the photo to remove from the user's favorites. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* NSID of the user whose favorites the photo should be removed from. This only works if the calling user owns the photo. */ @property (nonatomic, strong) NSString *user_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.m ================================================ // // FKFlickrFavoritesRemove.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrFavoritesRemove.h" @implementation FKFlickrFavoritesRemove - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.favorites.remove"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrFavoritesRemoveError_PhotoNotInFavorites: return @"Photo not in favorites"; case FKFlickrFavoritesRemoveError_CannotRemovePhotoFromThatUsersFavorites: return @"Cannot remove photo from that user's favorites"; case FKFlickrFavoritesRemoveError_UserNotFound: return @"User not found"; case FKFlickrFavoritesRemoveError_InvalidSignature: return @"Invalid signature"; case FKFlickrFavoritesRemoveError_MissingSignature: return @"Missing signature"; case FKFlickrFavoritesRemoveError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrFavoritesRemoveError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrFavoritesRemoveError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrFavoritesRemoveError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrFavoritesRemoveError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrFavoritesRemoveError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrFavoritesRemoveError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrFavoritesRemoveError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrFavoritesRemoveError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.h ================================================ // // FKFlickrGalleriesAddPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesAddPhotoError_RequiredParameterMissing = 1, /* One or more required parameters was not included with your API call. */ FKFlickrGalleriesAddPhotoError_InvalidGalleryID = 2, /* That gallery could not be found. */ FKFlickrGalleriesAddPhotoError_InvalidPhotoID = 3, /* The requested photo could not be found. */ FKFlickrGalleriesAddPhotoError_InvalidComment = 4, /* The comment body could not be validated. */ FKFlickrGalleriesAddPhotoError_FailedToAddPhoto = 5, /* Unable to add the photo to the gallery. */ FKFlickrGalleriesAddPhotoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGalleriesAddPhotoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGalleriesAddPhotoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGalleriesAddPhotoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGalleriesAddPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesAddPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesAddPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesAddPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesAddPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesAddPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesAddPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesAddPhotoError; /* Add a photo to a gallery. */ @interface FKFlickrGalleriesAddPhoto : NSObject /* The ID of the gallery to add a photo to. Note: this is the compound ID returned in methods like flickr.galleries.getList, and flickr.galleries.getListForPhoto. */ @property (nonatomic, strong) NSString *gallery_id; /* (Required) */ /* The photo ID to add to the gallery */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* A short comment or story to accompany the photo. */ @property (nonatomic, strong) NSString *comment; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.m ================================================ // // FKFlickrGalleriesAddPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesAddPhoto.h" @implementation FKFlickrGalleriesAddPhoto - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.galleries.addPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.gallery_id) { valid = NO; [errorDescription appendString:@"'gallery_id', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.gallery_id) { [args setValue:self.gallery_id forKey:@"gallery_id"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.comment) { [args setValue:self.comment forKey:@"comment"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesAddPhotoError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrGalleriesAddPhotoError_InvalidGalleryID: return @"Invalid gallery ID"; case FKFlickrGalleriesAddPhotoError_InvalidPhotoID: return @"Invalid photo ID"; case FKFlickrGalleriesAddPhotoError_InvalidComment: return @"Invalid comment"; case FKFlickrGalleriesAddPhotoError_FailedToAddPhoto: return @"Failed to add photo"; case FKFlickrGalleriesAddPhotoError_InvalidSignature: return @"Invalid signature"; case FKFlickrGalleriesAddPhotoError_MissingSignature: return @"Missing signature"; case FKFlickrGalleriesAddPhotoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGalleriesAddPhotoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGalleriesAddPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesAddPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesAddPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesAddPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesAddPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesAddPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesAddPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.h ================================================ // // FKFlickrGalleriesCreate.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesCreateError_RequiredParameterMissing = 1, /* One or more of the required parameters was missing from your API call. */ FKFlickrGalleriesCreateError_InvalidTitleOrDescription = 2, /* The title or the description could not be validated. */ FKFlickrGalleriesCreateError_FailedToAddGallery = 3, /* There was a problem creating the gallery. */ FKFlickrGalleriesCreateError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGalleriesCreateError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGalleriesCreateError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGalleriesCreateError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGalleriesCreateError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesCreateError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesCreateError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesCreateError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesCreateError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesCreateError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesCreateError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesCreateError; /* Create a new gallery for the calling user. The ID of the newly created gallery, and its URL. Response: */ @interface FKFlickrGalleriesCreate : NSObject /* The name of the gallery */ @property (nonatomic, strong) NSString *title; /* (Required) */ /* A short description for the gallery */ @property (nonatomic, strong) NSString *description; /* (Required) */ /* The first photo to add to your gallery */ @property (nonatomic, strong) NSString *primary_photo_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.m ================================================ // // FKFlickrGalleriesCreate.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesCreate.h" @implementation FKFlickrGalleriesCreate - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.galleries.create"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.title) { valid = NO; [errorDescription appendString:@"'title', "]; } if(!self.description) { valid = NO; [errorDescription appendString:@"'description', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.title) { [args setValue:self.title forKey:@"title"]; } if(self.description) { [args setValue:self.description forKey:@"description"]; } if(self.primary_photo_id) { [args setValue:self.primary_photo_id forKey:@"primary_photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesCreateError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrGalleriesCreateError_InvalidTitleOrDescription: return @"Invalid title or description"; case FKFlickrGalleriesCreateError_FailedToAddGallery: return @"Failed to add gallery"; case FKFlickrGalleriesCreateError_InvalidSignature: return @"Invalid signature"; case FKFlickrGalleriesCreateError_MissingSignature: return @"Missing signature"; case FKFlickrGalleriesCreateError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGalleriesCreateError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGalleriesCreateError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesCreateError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesCreateError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesCreateError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesCreateError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesCreateError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesCreateError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.h ================================================ // // FKFlickrGalleriesEditMeta.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesEditMetaError_RequiredParameterMissing = 1, /* One or more required parameters was missing from your request. */ FKFlickrGalleriesEditMetaError_InvalidTitleOrDescription = 2, /* The title or description arguments could not be validated. */ FKFlickrGalleriesEditMetaError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGalleriesEditMetaError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGalleriesEditMetaError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGalleriesEditMetaError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGalleriesEditMetaError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesEditMetaError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesEditMetaError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesEditMetaError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesEditMetaError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesEditMetaError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesEditMetaError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesEditMetaError; /* Modify the meta-data for a gallery. */ @interface FKFlickrGalleriesEditMeta : NSObject /* The gallery ID to update. */ @property (nonatomic, strong) NSString *gallery_id; /* (Required) */ /* The new title for the gallery. */ @property (nonatomic, strong) NSString *title; /* (Required) */ /* The new description for the gallery. */ @property (nonatomic, strong) NSString *description; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.m ================================================ // // FKFlickrGalleriesEditMeta.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesEditMeta.h" @implementation FKFlickrGalleriesEditMeta - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.galleries.editMeta"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.gallery_id) { valid = NO; [errorDescription appendString:@"'gallery_id', "]; } if(!self.title) { valid = NO; [errorDescription appendString:@"'title', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.gallery_id) { [args setValue:self.gallery_id forKey:@"gallery_id"]; } if(self.title) { [args setValue:self.title forKey:@"title"]; } if(self.description) { [args setValue:self.description forKey:@"description"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesEditMetaError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrGalleriesEditMetaError_InvalidTitleOrDescription: return @"Invalid title or description"; case FKFlickrGalleriesEditMetaError_InvalidSignature: return @"Invalid signature"; case FKFlickrGalleriesEditMetaError_MissingSignature: return @"Missing signature"; case FKFlickrGalleriesEditMetaError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGalleriesEditMetaError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGalleriesEditMetaError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesEditMetaError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesEditMetaError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesEditMetaError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesEditMetaError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesEditMetaError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesEditMetaError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.h ================================================ // // FKFlickrGalleriesEditPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesEditPhotoError_InvalidGalleryID = 1, /* That gallery could not be found. */ FKFlickrGalleriesEditPhotoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGalleriesEditPhotoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGalleriesEditPhotoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGalleriesEditPhotoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGalleriesEditPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesEditPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesEditPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesEditPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesEditPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesEditPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesEditPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesEditPhotoError; /* Edit the comment for a gallery photo. */ @interface FKFlickrGalleriesEditPhoto : NSObject /* The ID of the gallery to add a photo to. Note: this is the compound ID returned in methods like flickr.galleries.getList, and flickr.galleries.getListForPhoto. */ @property (nonatomic, strong) NSString *gallery_id; /* (Required) */ /* The photo ID to add to the gallery. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The updated comment the photo. */ @property (nonatomic, strong) NSString *comment; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.m ================================================ // // FKFlickrGalleriesEditPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesEditPhoto.h" @implementation FKFlickrGalleriesEditPhoto - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.galleries.editPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.gallery_id) { valid = NO; [errorDescription appendString:@"'gallery_id', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.comment) { valid = NO; [errorDescription appendString:@"'comment', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.gallery_id) { [args setValue:self.gallery_id forKey:@"gallery_id"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.comment) { [args setValue:self.comment forKey:@"comment"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesEditPhotoError_InvalidGalleryID: return @"Invalid gallery ID"; case FKFlickrGalleriesEditPhotoError_InvalidSignature: return @"Invalid signature"; case FKFlickrGalleriesEditPhotoError_MissingSignature: return @"Missing signature"; case FKFlickrGalleriesEditPhotoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGalleriesEditPhotoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGalleriesEditPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesEditPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesEditPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesEditPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesEditPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesEditPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesEditPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.h ================================================ // // FKFlickrGalleriesEditPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesEditPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGalleriesEditPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGalleriesEditPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGalleriesEditPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGalleriesEditPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesEditPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesEditPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesEditPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesEditPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesEditPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesEditPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesEditPhotosError; /* Modify the photos in a gallery. Use this method to add, remove and re-order photos. */ @interface FKFlickrGalleriesEditPhotos : NSObject /* The id of the gallery to modify. The gallery must belong to the calling user. */ @property (nonatomic, strong) NSString *gallery_id; /* (Required) */ /* The id of the photo to use as the 'primary' photo for the gallery. This id must also be passed along in photo_ids list argument. */ @property (nonatomic, strong) NSString *primary_photo_id; /* (Required) */ /* A comma-delimited list of photo ids to include in the gallery. They will appear in the set in the order sent. This list must contain the primary photo id. This list of photos replaces the existing list. */ @property (nonatomic, strong) NSString *photo_ids; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.m ================================================ // // FKFlickrGalleriesEditPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesEditPhotos.h" @implementation FKFlickrGalleriesEditPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.galleries.editPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.gallery_id) { valid = NO; [errorDescription appendString:@"'gallery_id', "]; } if(!self.primary_photo_id) { valid = NO; [errorDescription appendString:@"'primary_photo_id', "]; } if(!self.photo_ids) { valid = NO; [errorDescription appendString:@"'photo_ids', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.gallery_id) { [args setValue:self.gallery_id forKey:@"gallery_id"]; } if(self.primary_photo_id) { [args setValue:self.primary_photo_id forKey:@"primary_photo_id"]; } if(self.photo_ids) { [args setValue:self.photo_ids forKey:@"photo_ids"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesEditPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrGalleriesEditPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrGalleriesEditPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGalleriesEditPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGalleriesEditPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesEditPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesEditPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesEditPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesEditPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesEditPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesEditPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.h ================================================ // // FKFlickrGalleriesGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesGetInfoError; /* Response: Cat Pictures I've Sent To Kevin Collins */ @interface FKFlickrGalleriesGetInfo : NSObject /* The gallery ID you are requesting information for. */ @property (nonatomic, strong) NSString *gallery_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.m ================================================ // // FKFlickrGalleriesGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesGetInfo.h" @implementation FKFlickrGalleriesGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.galleries.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.gallery_id) { valid = NO; [errorDescription appendString:@"'gallery_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.gallery_id) { [args setValue:self.gallery_id forKey:@"gallery_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.h ================================================ // // FKFlickrGalleriesGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesGetListError; /* Return the list of galleries created by a user. Sorted from newest to oldest. Response: I like me some black & white black and whites People Sleeping in Libraries */ @interface FKFlickrGalleriesGetList : NSObject /* The NSID of the user to get a galleries list for. If none is specified, the calling user is assumed. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.m ================================================ // // FKFlickrGalleriesGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesGetList.h" @implementation FKFlickrGalleriesGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.galleries.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.h ================================================ // // FKFlickrGalleriesGetListForPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesGetListForPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesGetListForPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesGetListForPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesGetListForPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesGetListForPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesGetListForPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesGetListForPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesGetListForPhotoError; /* Return the list of galleries to which a photo has been added. Galleries are returned sorted by date which the photo was added to the gallery. Response: Vivitar Ultra Wide & Slim Selection The cheap and cheerful camera that isn't quite as cheap as it used to be. Awesome Pics */ @interface FKFlickrGalleriesGetListForPhoto : NSObject /* The ID of the photo to fetch a list of galleries for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.m ================================================ // // FKFlickrGalleriesGetListForPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesGetListForPhoto.h" @implementation FKFlickrGalleriesGetListForPhoto - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.galleries.getListForPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesGetListForPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesGetListForPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesGetListForPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesGetListForPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesGetListForPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesGetListForPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesGetListForPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.h ================================================ // // FKFlickrGalleriesGetPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGalleriesGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGalleriesGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGalleriesGetPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGalleriesGetPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGalleriesGetPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGalleriesGetPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGalleriesGetPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGalleriesGetPhotosError; /* Return the list of photos for a gallery Returns a standard photo response. Additionally if the gallery creator has included a comment with the photo this will be then the photo element will have the attribute has_comment="1" and the child element "comment" will be present. Response: best cat picture ever! */ @interface FKFlickrGalleriesGetPhotos : NSObject /* The ID of the gallery of photos to return */ @property (nonatomic, strong) NSString *gallery_id; /* (Required) */ /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m ================================================ // // FKFlickrGalleriesGetPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGalleriesGetPhotos.h" @implementation FKFlickrGalleriesGetPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.galleries.getPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.gallery_id) { valid = NO; [errorDescription appendString:@"'gallery_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.gallery_id) { [args setValue:self.gallery_id forKey:@"gallery_id"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGalleriesGetPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGalleriesGetPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGalleriesGetPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGalleriesGetPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGalleriesGetPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGalleriesGetPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGalleriesGetPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h ================================================ // // FKFlickrGroupsDiscussRepliesAdd.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussRepliesAddError_TopicNotFound = 1, /* The topic_id is invalid. */ FKFlickrGroupsDiscussRepliesAddError_CannotPostToGroup = 2, /* Either this account is not a member of the group, or discussion in this group is disabled. */ FKFlickrGroupsDiscussRepliesAddError_MissingRequiredArguments = 3, /* The topic_id and message are required. */ FKFlickrGroupsDiscussRepliesAddError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsDiscussRepliesAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsDiscussRepliesAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsDiscussRepliesAddError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsDiscussRepliesAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussRepliesAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussRepliesAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussRepliesAddError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussRepliesAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussRepliesAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussRepliesAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussRepliesAddError; /* Post a new reply to a group discussion topic. */ @interface FKFlickrGroupsDiscussRepliesAdd : NSObject /* The ID of the topic to post a comment to. */ @property (nonatomic, strong) NSString *topic_id; /* (Required) */ /* The message to post to the topic. */ @property (nonatomic, strong) NSString *message; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.m ================================================ // // FKFlickrGroupsDiscussRepliesAdd.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussRepliesAdd.h" @implementation FKFlickrGroupsDiscussRepliesAdd - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.discuss.replies.add"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic_id) { valid = NO; [errorDescription appendString:@"'topic_id', "]; } if(!self.message) { valid = NO; [errorDescription appendString:@"'message', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic_id) { [args setValue:self.topic_id forKey:@"topic_id"]; } if(self.message) { [args setValue:self.message forKey:@"message"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussRepliesAddError_TopicNotFound: return @"Topic not found"; case FKFlickrGroupsDiscussRepliesAddError_CannotPostToGroup: return @"Cannot post to group"; case FKFlickrGroupsDiscussRepliesAddError_MissingRequiredArguments: return @"Missing required arguments"; case FKFlickrGroupsDiscussRepliesAddError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsDiscussRepliesAddError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsDiscussRepliesAddError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsDiscussRepliesAddError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsDiscussRepliesAddError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussRepliesAddError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussRepliesAddError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesAddError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesAddError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussRepliesAddError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussRepliesAddError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.h ================================================ // // FKFlickrGroupsDiscussRepliesDelete.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussRepliesDeleteError_TopicNotFound = 1, /* The topic_id is invalid. */ FKFlickrGroupsDiscussRepliesDeleteError_ReplyNotFound = 2, /* The reply_id is invalid. */ FKFlickrGroupsDiscussRepliesDeleteError_CannotDeleteReply = 3, /* Replies can only be edited by their owner. */ FKFlickrGroupsDiscussRepliesDeleteError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsDiscussRepliesDeleteError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsDiscussRepliesDeleteError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsDiscussRepliesDeleteError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsDiscussRepliesDeleteError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussRepliesDeleteError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussRepliesDeleteError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussRepliesDeleteError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussRepliesDeleteError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussRepliesDeleteError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussRepliesDeleteError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussRepliesDeleteError; /* Delete a reply from a group topic. */ @interface FKFlickrGroupsDiscussRepliesDelete : NSObject /* The ID of the topic the post is in. */ @property (nonatomic, strong) NSString *topic_id; /* (Required) */ /* The ID of the reply to delete. */ @property (nonatomic, strong) NSString *reply_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.m ================================================ // // FKFlickrGroupsDiscussRepliesDelete.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussRepliesDelete.h" @implementation FKFlickrGroupsDiscussRepliesDelete - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 2; } - (NSString *) name { return @"flickr.groups.discuss.replies.delete"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic_id) { valid = NO; [errorDescription appendString:@"'topic_id', "]; } if(!self.reply_id) { valid = NO; [errorDescription appendString:@"'reply_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic_id) { [args setValue:self.topic_id forKey:@"topic_id"]; } if(self.reply_id) { [args setValue:self.reply_id forKey:@"reply_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussRepliesDeleteError_TopicNotFound: return @"Topic not found"; case FKFlickrGroupsDiscussRepliesDeleteError_ReplyNotFound: return @"Reply not found"; case FKFlickrGroupsDiscussRepliesDeleteError_CannotDeleteReply: return @"Cannot delete reply"; case FKFlickrGroupsDiscussRepliesDeleteError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsDiscussRepliesDeleteError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsDiscussRepliesDeleteError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsDiscussRepliesDeleteError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsDiscussRepliesDeleteError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussRepliesDeleteError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussRepliesDeleteError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesDeleteError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesDeleteError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussRepliesDeleteError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussRepliesDeleteError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.h ================================================ // // FKFlickrGroupsDiscussRepliesEdit.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussRepliesEditError_TopicNotFound = 1, /* The topic_id is invalid */ FKFlickrGroupsDiscussRepliesEditError_ReplyNotFound = 2, /* The reply_id is invalid. */ FKFlickrGroupsDiscussRepliesEditError_MissingRequiredArguments = 3, /* The topic_id and reply_id are required. */ FKFlickrGroupsDiscussRepliesEditError_CannotEditReply = 4, /* Replies can only be edited by their owner. */ FKFlickrGroupsDiscussRepliesEditError_CannotPostToGroup = 5, /* Either this account is not a member of the group, or discussion in this group is disabled. */ FKFlickrGroupsDiscussRepliesEditError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsDiscussRepliesEditError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsDiscussRepliesEditError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsDiscussRepliesEditError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsDiscussRepliesEditError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussRepliesEditError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussRepliesEditError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussRepliesEditError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussRepliesEditError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussRepliesEditError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussRepliesEditError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussRepliesEditError; /* Edit a topic reply. */ @interface FKFlickrGroupsDiscussRepliesEdit : NSObject /* The ID of the topic the post is in. */ @property (nonatomic, strong) NSString *topic_id; /* (Required) */ /* The ID of the reply post to edit. */ @property (nonatomic, strong) NSString *reply_id; /* (Required) */ /* The message to edit the post with. */ @property (nonatomic, strong) NSString *message; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.m ================================================ // // FKFlickrGroupsDiscussRepliesEdit.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussRepliesEdit.h" @implementation FKFlickrGroupsDiscussRepliesEdit - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.discuss.replies.edit"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic_id) { valid = NO; [errorDescription appendString:@"'topic_id', "]; } if(!self.reply_id) { valid = NO; [errorDescription appendString:@"'reply_id', "]; } if(!self.message) { valid = NO; [errorDescription appendString:@"'message', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic_id) { [args setValue:self.topic_id forKey:@"topic_id"]; } if(self.reply_id) { [args setValue:self.reply_id forKey:@"reply_id"]; } if(self.message) { [args setValue:self.message forKey:@"message"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussRepliesEditError_TopicNotFound: return @"Topic not found"; case FKFlickrGroupsDiscussRepliesEditError_ReplyNotFound: return @"Reply not found"; case FKFlickrGroupsDiscussRepliesEditError_MissingRequiredArguments: return @"Missing required arguments"; case FKFlickrGroupsDiscussRepliesEditError_CannotEditReply: return @"Cannot edit reply"; case FKFlickrGroupsDiscussRepliesEditError_CannotPostToGroup: return @"Cannot post to group"; case FKFlickrGroupsDiscussRepliesEditError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsDiscussRepliesEditError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsDiscussRepliesEditError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsDiscussRepliesEditError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsDiscussRepliesEditError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussRepliesEditError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussRepliesEditError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesEditError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesEditError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussRepliesEditError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussRepliesEditError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h ================================================ // // FKFlickrGroupsDiscussRepliesGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussRepliesGetInfoError_TopicNotFound = 1, /* The topic_id is invalid */ FKFlickrGroupsDiscussRepliesGetInfoError_ReplyNotFound = 2, /* The reply_id is invalid */ FKFlickrGroupsDiscussRepliesGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussRepliesGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussRepliesGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussRepliesGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussRepliesGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussRepliesGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussRepliesGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussRepliesGetInfoError; /* Get information on a group topic reply. Response: ...well, too bad. */ @interface FKFlickrGroupsDiscussRepliesGetInfo : NSObject /* The ID of the topic the post is in. */ @property (nonatomic, strong) NSString *topic_id; /* (Required) */ /* The ID of the reply to fetch. */ @property (nonatomic, strong) NSString *reply_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.m ================================================ // // FKFlickrGroupsDiscussRepliesGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussRepliesGetInfo.h" @implementation FKFlickrGroupsDiscussRepliesGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.discuss.replies.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic_id) { valid = NO; [errorDescription appendString:@"'topic_id', "]; } if(!self.reply_id) { valid = NO; [errorDescription appendString:@"'reply_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic_id) { [args setValue:self.topic_id forKey:@"topic_id"]; } if(self.reply_id) { [args setValue:self.reply_id forKey:@"reply_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussRepliesGetInfoError_TopicNotFound: return @"Topic not found"; case FKFlickrGroupsDiscussRepliesGetInfoError_ReplyNotFound: return @"Reply not found"; case FKFlickrGroupsDiscussRepliesGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussRepliesGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussRepliesGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussRepliesGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussRepliesGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.h ================================================ // // FKFlickrGroupsDiscussRepliesGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussRepliesGetListError_TopicNotFound = 1, /* The topic_id is invalid. */ FKFlickrGroupsDiscussRepliesGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussRepliesGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussRepliesGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussRepliesGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussRepliesGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussRepliesGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussRepliesGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussRepliesGetListError; /* Get a list of replies from a group discussion topic. Response: <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5080874079/" title="Star Wars 1 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4035/5080874079_684cf874e0_m.jpg" width="240" height="180" alt="Star Wars 1 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467846/" title="Star Wars 2 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4071/5081467846_2eec86176d_m.jpg" width="240" height="180" alt="Star Wars 2 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467886/" title="Star Wars 3 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4021/5081467886_d8cca6c8e8_m.jpg" width="240" height="180" alt="Star Wars 3 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467910/" title="Star Wars 4 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4084/5081467910_274bb11fdc_m.jpg" width="240" height="180" alt="Star Wars 4 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467948/" title="Star Wars 5 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4154/5081467948_1a5f200bc0_m.jpg" width="240" height="180" alt="Star Wars 5 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> *LOL* The universe is full of <a href="http://www.flickr.com/groups/visualstory/discuss/72157622533160886/">giant furry space monsters</a> it seems! Love it. Great work. Good focus on different aspects of scene in each frame. Funny ending-- even better that I didn't notice the cat right away! Being a hopeless Trekkie, I was wondering why Han was doing the Vulcan death grip on one of his allies.... On a scale of 1 to 10 of awesome. This is a 15 */ @interface FKFlickrGroupsDiscussRepliesGetList : NSObject /* The ID of the topic to fetch replies for. */ @property (nonatomic, strong) NSString *topic_id; /* (Required) */ /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* (Required) */ /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.m ================================================ // // FKFlickrGroupsDiscussRepliesGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussRepliesGetList.h" @implementation FKFlickrGroupsDiscussRepliesGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.discuss.replies.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic_id) { valid = NO; [errorDescription appendString:@"'topic_id', "]; } if(!self.per_page) { valid = NO; [errorDescription appendString:@"'per_page', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic_id) { [args setValue:self.topic_id forKey:@"topic_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussRepliesGetListError_TopicNotFound: return @"Topic not found"; case FKFlickrGroupsDiscussRepliesGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussRepliesGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussRepliesGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussRepliesGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussRepliesGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussRepliesGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.h ================================================ // // FKFlickrGroupsDiscussTopicsAdd.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussTopicsAddError_GroupNotFound = 1, /* The group by that ID does not exist */ FKFlickrGroupsDiscussTopicsAddError_CannotPostToGroup = 2, /* Either this account is not a member of the group, or discussion in this group is disabled. */ FKFlickrGroupsDiscussTopicsAddError_MessageIsTooLong = 3, /* The post message is too long. */ FKFlickrGroupsDiscussTopicsAddError_MissingRequiredArguments = 4, /* Subject and message are required. */ FKFlickrGroupsDiscussTopicsAddError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsDiscussTopicsAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsDiscussTopicsAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsDiscussTopicsAddError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsDiscussTopicsAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussTopicsAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussTopicsAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussTopicsAddError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussTopicsAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussTopicsAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussTopicsAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussTopicsAddError; /* Post a new discussion topic to a group. */ @interface FKFlickrGroupsDiscussTopicsAdd : NSObject /* The NSID of the group to add a topic to. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* The topic subject. */ @property (nonatomic, strong) NSString *subject; /* (Required) */ /* The topic message. */ @property (nonatomic, strong) NSString *message; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.m ================================================ // // FKFlickrGroupsDiscussTopicsAdd.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussTopicsAdd.h" @implementation FKFlickrGroupsDiscussTopicsAdd - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.discuss.topics.add"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(!self.subject) { valid = NO; [errorDescription appendString:@"'subject', "]; } if(!self.message) { valid = NO; [errorDescription appendString:@"'message', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.subject) { [args setValue:self.subject forKey:@"subject"]; } if(self.message) { [args setValue:self.message forKey:@"message"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussTopicsAddError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsDiscussTopicsAddError_CannotPostToGroup: return @"Cannot post to group"; case FKFlickrGroupsDiscussTopicsAddError_MessageIsTooLong: return @"Message is too long"; case FKFlickrGroupsDiscussTopicsAddError_MissingRequiredArguments: return @"Missing required arguments"; case FKFlickrGroupsDiscussTopicsAddError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsDiscussTopicsAddError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsDiscussTopicsAddError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsDiscussTopicsAddError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsDiscussTopicsAddError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussTopicsAddError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussTopicsAddError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussTopicsAddError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussTopicsAddError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussTopicsAddError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussTopicsAddError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.h ================================================ // // FKFlickrGroupsDiscussTopicsGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussTopicsGetInfoError_TopicNotFound = 1, /* The topic_id is invalid */ FKFlickrGroupsDiscussTopicsGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussTopicsGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussTopicsGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussTopicsGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussTopicsGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussTopicsGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussTopicsGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussTopicsGetInfoError; /* Get information about a group discussion topic. Response: Is anyone still around in this group? */ @interface FKFlickrGroupsDiscussTopicsGetInfo : NSObject /* The ID for the topic to edit. */ @property (nonatomic, strong) NSString *topic_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.m ================================================ // // FKFlickrGroupsDiscussTopicsGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussTopicsGetInfo.h" @implementation FKFlickrGroupsDiscussTopicsGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.discuss.topics.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic_id) { valid = NO; [errorDescription appendString:@"'topic_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic_id) { [args setValue:self.topic_id forKey:@"topic_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussTopicsGetInfoError_TopicNotFound: return @"Topic not found"; case FKFlickrGroupsDiscussTopicsGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussTopicsGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussTopicsGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussTopicsGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussTopicsGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussTopicsGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussTopicsGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.h ================================================ // // FKFlickrGroupsDiscussTopicsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsDiscussTopicsGetListError_GroupNotFound = 1, /* The group_id is invalid */ FKFlickrGroupsDiscussTopicsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsDiscussTopicsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsDiscussTopicsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsDiscussTopicsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsDiscussTopicsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsDiscussTopicsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsDiscussTopicsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsDiscussTopicsGetListError; /* Get a list of discussion topics in a group. Response: <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5080874079/" title="Star Wars 1 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4035/5080874079_684cf874e0_m.jpg" width="240" height="180" alt="Star Wars 1 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467846/" title="Star Wars 2 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4071/5081467846_2eec86176d_m.jpg" width="240" height="180" alt="Star Wars 2 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467886/" title="Star Wars 3 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4021/5081467886_d8cca6c8e8_m.jpg" width="240" height="180" alt="Star Wars 3 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467910/" title="Star Wars 4 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4084/5081467910_274bb11fdc_m.jpg" width="240" height="180" alt="Star Wars 4 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467948/" title="Star Wars 5 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4154/5081467948_1a5f200bc0_m.jpg" width="240" height="180" alt="Star Wars 5 by Smallportfolio_jm08" class="pc_img" border="0" /></a></span></div> <a href="http://www.flickr.com/photos/nokinrocks/7120495637/"><img class="notsowide" src="http://farm9.staticflickr.com/8005/7120495637_fec0382b4b_n.jpg" width="320" height="256" alt="Step It Up" /></a> <a href="http://www.flickr.com/photos/nokinrocks/7122908705/"><img class="notsowide" src="http://farm8.staticflickr.com/7259/7122908705_3bef338378_n.jpg" width="240" height="320" alt="P1050351" /></a> <a href="http://www.flickr.com/photos/nokinrocks/7122922123/"><img class="notsowide" src="http://farm8.staticflickr.com/7052/7122922123_2bfcb6707c_n.jpg" width="214" height="320" alt="Frog On A Log" /></a> <a href="http://www.flickr.com/photos/nokinrocks/7122929521/"><img class="notsowide" src="http://farm8.staticflickr.com/7047/7122929521_8ffebdd424_n.jpg" width="320" height="200" alt="P1050397" /></a> <a href="http://www.flickr.com/photos/nokinrocks/7122916999/"><img class="notsowide" src="http://farm8.staticflickr.com/7200/7122916999_a7328f9dcc_n.jpg" width="320" height="261" alt="P1050361" /></a> */ @interface FKFlickrGroupsDiscussTopicsGetList : NSObject /* The NSID of the group to fetch information for. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.m ================================================ // // FKFlickrGroupsDiscussTopicsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsDiscussTopicsGetList.h" @implementation FKFlickrGroupsDiscussTopicsGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.discuss.topics.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsDiscussTopicsGetListError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsDiscussTopicsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsDiscussTopicsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsDiscussTopicsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsDiscussTopicsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsDiscussTopicsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsDiscussTopicsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsDiscussTopicsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h ================================================ // // FKFlickrGroupsBrowse.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsBrowseError_CategoryNotFound = 1, /* The value passed for cat_id was not a valid category id. */ FKFlickrGroupsBrowseError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsBrowseError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsBrowseError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsBrowseError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsBrowseError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsBrowseError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsBrowseError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsBrowseError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsBrowseError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsBrowseError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsBrowseError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsBrowseError; /* Browse the group category tree, finding groups and sub-categories.

The count attribute of the subcat element gives the number of groups inside the subcat.

The members attribute of the group element gives the total number of members in the group. The online attribute gives a count of the members who are currently online. The inchat attribute gives a count of the number of people in the group's chat, regardless of whether they are members of the group.

Response: */ @interface FKFlickrGroupsBrowse : NSObject /* The category id to fetch a list of groups and sub-categories for. If not specified, it defaults to zero, the root of the category tree. */ @property (nonatomic, strong) NSString *cat_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.m ================================================ // // FKFlickrGroupsBrowse.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsBrowse.h" @implementation FKFlickrGroupsBrowse - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.groups.browse"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.cat_id) { [args setValue:self.cat_id forKey:@"cat_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsBrowseError_CategoryNotFound: return @"Category not found"; case FKFlickrGroupsBrowseError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsBrowseError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsBrowseError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsBrowseError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsBrowseError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsBrowseError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsBrowseError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsBrowseError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsBrowseError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsBrowseError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsBrowseError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.h ================================================ // // FKFlickrGroupsGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsGetInfoError_GroupNotFound = 1, /* The group NSID passed did not refer to a group that the calling user can see - either an invalid group is or a group that can't be seen by the calling user. */ FKFlickrGroupsGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsGetInfoError; /* Get information about a group. Response: GNEverybody The group for GNE players 69 3 */ @interface FKFlickrGroupsGetInfo : NSObject /* The NSID of the group to fetch information for. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* The language of the group name and description to fetch. If the language is not found, the primary language of the group will be returned. Valid values are the same as in feeds. */ @property (nonatomic, strong) NSString *lang; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.m ================================================ // // FKFlickrGroupsGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsGetInfo.h" @implementation FKFlickrGroupsGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.lang) { [args setValue:self.lang forKey:@"lang"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsGetInfoError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.h ================================================ // // FKFlickrGroupsJoin.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsJoinError_RequiredArgumentsMissing = 1, /* The group_id doesn't exist */ FKFlickrGroupsJoinError_GroupDoesNotExist = 2, /* The Group does not exist */ FKFlickrGroupsJoinError_GroupNotAvailabieToTheAccount = 3, /* The authed account does not have permission to view/join the group. */ FKFlickrGroupsJoinError_AccountIsAlreadyInThatGroup = 4, /* The authed account has previously joined this group */ FKFlickrGroupsJoinError_MembershipInGroupIsByInvitationOnly = 5, /* Use flickr.groups.joinRequest to contact the administrations for an invitation. */ FKFlickrGroupsJoinError_UserMustAcceptTheGroupRulesBeforeJoining = 6, /* The user must read and accept the rules before joining. Please see the accept_rules argument for this method. */ FKFlickrGroupsJoinError_AccountInMaximumNumberOfGroups = 10, /* The account is a member of the maximum number of groups. */ FKFlickrGroupsJoinError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsJoinError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsJoinError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsJoinError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsJoinError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsJoinError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsJoinError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsJoinError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsJoinError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsJoinError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsJoinError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsJoinError; /* Join a public group as a member. */ @interface FKFlickrGroupsJoin : NSObject /* The NSID of the Group in question */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* If the group has rules, they must be displayed to the user prior to joining. Passing a true value for this argument specifies that the application has displayed the group rules to the user, and that the user has agreed to them. (See flickr.groups.getInfo). */ @property (nonatomic, strong) NSString *accept_rules; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.m ================================================ // // FKFlickrGroupsJoin.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsJoin.h" @implementation FKFlickrGroupsJoin - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.join"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.accept_rules) { [args setValue:self.accept_rules forKey:@"accept_rules"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsJoinError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrGroupsJoinError_GroupDoesNotExist: return @"Group does not exist"; case FKFlickrGroupsJoinError_GroupNotAvailabieToTheAccount: return @"Group not availabie to the account"; case FKFlickrGroupsJoinError_AccountIsAlreadyInThatGroup: return @"Account is already in that group"; case FKFlickrGroupsJoinError_MembershipInGroupIsByInvitationOnly: return @"Membership in group is by invitation only."; case FKFlickrGroupsJoinError_UserMustAcceptTheGroupRulesBeforeJoining: return @"User must accept the group rules before joining"; case FKFlickrGroupsJoinError_AccountInMaximumNumberOfGroups: return @"Account in maximum number of groups"; case FKFlickrGroupsJoinError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsJoinError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsJoinError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsJoinError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsJoinError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsJoinError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsJoinError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsJoinError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsJoinError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsJoinError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsJoinError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.h ================================================ // // FKFlickrGroupsJoinRequest.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsJoinRequestError_RequiredArgumentsMissing = 1, /* The group_id or message argument are missing. */ FKFlickrGroupsJoinRequestError_GroupDoesNotExist = 2, /* The Group does not exist */ FKFlickrGroupsJoinRequestError_GroupNotAvailableToTheAccount = 3, /* The authed account does not have permission to view/join the group. */ FKFlickrGroupsJoinRequestError_AccountIsAlreadyInThatGroup = 4, /* The authed account has previously joined this group */ FKFlickrGroupsJoinRequestError_GroupIsPublicAndOpen = 5, /* The group does not require an invitation to join, please use flickr.groups.join. */ FKFlickrGroupsJoinRequestError_UserMustAcceptTheGroupRulesBeforeJoining = 6, /* The user must read and accept the rules before joining. Please see the accept_rules argument for this method. */ FKFlickrGroupsJoinRequestError_UserHasAlreadyRequestedToJoinThatGroup = 7, /* A request has already been sent and is pending approval. */ FKFlickrGroupsJoinRequestError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsJoinRequestError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsJoinRequestError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsJoinRequestError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsJoinRequestError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsJoinRequestError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsJoinRequestError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsJoinRequestError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsJoinRequestError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsJoinRequestError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsJoinRequestError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsJoinRequestError; /* Request to join a group that is invitation-only. */ @interface FKFlickrGroupsJoinRequest : NSObject /* The NSID of the group to request joining. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* Message to the administrators. */ @property (nonatomic, strong) NSString *message; /* (Required) */ /* If the group has rules, they must be displayed to the user prior to joining. Passing a true value for this argument specifies that the application has displayed the group rules to the user, and that the user has agreed to them. (See flickr.groups.getInfo). */ @property (nonatomic, strong) NSString *accept_rules; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.m ================================================ // // FKFlickrGroupsJoinRequest.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsJoinRequest.h" @implementation FKFlickrGroupsJoinRequest - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.joinRequest"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(!self.message) { valid = NO; [errorDescription appendString:@"'message', "]; } if(!self.accept_rules) { valid = NO; [errorDescription appendString:@"'accept_rules', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.message) { [args setValue:self.message forKey:@"message"]; } if(self.accept_rules) { [args setValue:self.accept_rules forKey:@"accept_rules"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsJoinRequestError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrGroupsJoinRequestError_GroupDoesNotExist: return @"Group does not exist"; case FKFlickrGroupsJoinRequestError_GroupNotAvailableToTheAccount: return @"Group not available to the account"; case FKFlickrGroupsJoinRequestError_AccountIsAlreadyInThatGroup: return @"Account is already in that group"; case FKFlickrGroupsJoinRequestError_GroupIsPublicAndOpen: return @"Group is public and open"; case FKFlickrGroupsJoinRequestError_UserMustAcceptTheGroupRulesBeforeJoining: return @"User must accept the group rules before joining"; case FKFlickrGroupsJoinRequestError_UserHasAlreadyRequestedToJoinThatGroup: return @"User has already requested to join that group"; case FKFlickrGroupsJoinRequestError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsJoinRequestError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsJoinRequestError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsJoinRequestError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsJoinRequestError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsJoinRequestError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsJoinRequestError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsJoinRequestError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsJoinRequestError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsJoinRequestError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsJoinRequestError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.h ================================================ // // FKFlickrGroupsLeave.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsLeaveError_RequiredArgumentsMissing = 1, /* The group_id doesn't exist */ FKFlickrGroupsLeaveError_GroupDoesNotExist = 2, /* The group by that ID does not exist */ FKFlickrGroupsLeaveError_AccountIsNotInThatGroup = 3, /* The user is not a member of the group that was specified */ FKFlickrGroupsLeaveError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsLeaveError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsLeaveError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsLeaveError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsLeaveError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsLeaveError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsLeaveError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsLeaveError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsLeaveError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsLeaveError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsLeaveError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsLeaveError; /* Leave a group.

If the user is the only administrator left, and there are other members, the oldest member will be promoted to administrator.

If the user is the last person in the group, the group will be deleted. */ @interface FKFlickrGroupsLeave : NSObject /* The NSID of the Group to leave */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* Delete all photos by this user from the group */ @property (nonatomic, strong) NSString *delete_photos; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.m ================================================ // // FKFlickrGroupsLeave.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsLeave.h" @implementation FKFlickrGroupsLeave - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 2; } - (NSString *) name { return @"flickr.groups.leave"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.delete_photos) { [args setValue:self.delete_photos forKey:@"delete_photos"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsLeaveError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrGroupsLeaveError_GroupDoesNotExist: return @"Group does not exist"; case FKFlickrGroupsLeaveError_AccountIsNotInThatGroup: return @"Account is not in that group"; case FKFlickrGroupsLeaveError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsLeaveError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsLeaveError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsLeaveError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsLeaveError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsLeaveError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsLeaveError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsLeaveError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsLeaveError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsLeaveError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsLeaveError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.h ================================================ // // FKFlickrGroupsSearch.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsSearchError_NoTextPassed = 1, /* The required text argument was ommited. */ FKFlickrGroupsSearchError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsSearchError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsSearchError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsSearchError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsSearchError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsSearchError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsSearchError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsSearchError; /* Search for groups. 18+ groups will only be returned for authenticated calls where the authenticated user is over 18. Response: */ @interface FKFlickrGroupsSearch : NSObject /* The text to search for. */ @property (nonatomic, strong) NSString *text; /* (Required) */ /* Number of groups to return per page. If this argument is ommited, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is ommited, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.m ================================================ // // FKFlickrGroupsSearch.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsSearch.h" @implementation FKFlickrGroupsSearch - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.search"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.text) { valid = NO; [errorDescription appendString:@"'text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.text) { [args setValue:self.text forKey:@"text"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsSearchError_NoTextPassed: return @"No text passed"; case FKFlickrGroupsSearchError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsSearchError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsSearchError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsSearchError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsSearchError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsSearchError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsSearchError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.h ================================================ // // FKFlickrGroupsMembersGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsMembersGetListError_GroupNotFound = 1, /* */ FKFlickrGroupsMembersGetListError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsMembersGetListError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsMembersGetListError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsMembersGetListError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsMembersGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsMembersGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsMembersGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsMembersGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsMembersGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsMembersGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsMembersGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsMembersGetListError; /* Get a list of the members of a group. The call must be signed on behalf of a Flickr member, and the ability to see the group membership will be determined by the Flickr member's group privileges. Response: ... */ @interface FKFlickrGroupsMembersGetList : NSObject /* Return a list of members for this group. The group must be viewable by the Flickr member on whose behalf the API call is made. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* Comma separated list of member types
  • 2: member
  • 3: moderator
  • 4: admin
By default returns all types. (Returning super rare member type "1: narwhal" isn't supported by this API method) */ @property (nonatomic, strong) NSString *membertypes; /* Number of members to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.m ================================================ // // FKFlickrGroupsMembersGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsMembersGetList.h" @implementation FKFlickrGroupsMembersGetList - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.groups.members.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.membertypes) { [args setValue:self.membertypes forKey:@"membertypes"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsMembersGetListError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsMembersGetListError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsMembersGetListError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsMembersGetListError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsMembersGetListError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsMembersGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsMembersGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsMembersGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsMembersGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsMembersGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsMembersGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsMembersGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.h ================================================ // // FKFlickrGroupsPoolsAdd.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsPoolsAddError_PhotoNotFound = 1, /* The photo id passed was not the id of a photo owned by the caling user. */ FKFlickrGroupsPoolsAddError_GroupNotFound = 2, /* The group id passed was not a valid id for a group the user is a member of. */ FKFlickrGroupsPoolsAddError_PhotoAlreadyInPool = 3, /* The specified photo is already in the pool for the specified group. */ FKFlickrGroupsPoolsAddError_PhotoInMaximumNumberOfPools = 4, /* The photo has already been added to the maximum allowed number of pools. */ FKFlickrGroupsPoolsAddError_PhotoLimitReached = 5, /* The user has already added the maximum amount of allowed photos to the pool. */ FKFlickrGroupsPoolsAddError_YourPhotoHasBeenAddedToThePendingQueueForThisPool = 6, /* The pool is moderated, and the photo has been added to the Pending Queue. If it is approved by a group administrator, it will be added to the pool. */ FKFlickrGroupsPoolsAddError_YourPhotoHasAlreadyBeenAddedToThePendingQueueForThisPool = 7, /* The pool is moderated, and the photo has already been added to the Pending Queue. */ FKFlickrGroupsPoolsAddError_ContentNotAllowed = 8, /* The content has been disallowed from the pool by the group admin(s). */ FKFlickrGroupsPoolsAddError_MaximumNumberOfPhotosInGroupPool = 10, /* A group pool has reached the upper limit for the number of photos allowed. */ FKFlickrGroupsPoolsAddError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsPoolsAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsPoolsAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsPoolsAddError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsPoolsAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsPoolsAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsPoolsAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsPoolsAddError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsPoolsAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsPoolsAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsPoolsAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsPoolsAddError; /* Add a photo to a group's pool. */ @interface FKFlickrGroupsPoolsAdd : NSObject /* The id of the photo to add to the group pool. The photo must belong to the calling user. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The NSID of the group who's pool the photo is to be added to. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.m ================================================ // // FKFlickrGroupsPoolsAdd.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsPoolsAdd.h" @implementation FKFlickrGroupsPoolsAdd - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.pools.add"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsPoolsAddError_PhotoNotFound: return @"Photo not found"; case FKFlickrGroupsPoolsAddError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsPoolsAddError_PhotoAlreadyInPool: return @"Photo already in pool"; case FKFlickrGroupsPoolsAddError_PhotoInMaximumNumberOfPools: return @"Photo in maximum number of pools"; case FKFlickrGroupsPoolsAddError_PhotoLimitReached: return @"Photo limit reached"; case FKFlickrGroupsPoolsAddError_YourPhotoHasBeenAddedToThePendingQueueForThisPool: return @"Your Photo has been added to the Pending Queue for this Pool"; case FKFlickrGroupsPoolsAddError_YourPhotoHasAlreadyBeenAddedToThePendingQueueForThisPool: return @"Your Photo has already been added to the Pending Queue for this Pool"; case FKFlickrGroupsPoolsAddError_ContentNotAllowed: return @"Content not allowed"; case FKFlickrGroupsPoolsAddError_MaximumNumberOfPhotosInGroupPool: return @"Maximum number of photos in Group Pool"; case FKFlickrGroupsPoolsAddError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsPoolsAddError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsPoolsAddError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsPoolsAddError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsPoolsAddError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsPoolsAddError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsPoolsAddError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsPoolsAddError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsPoolsAddError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsPoolsAddError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsPoolsAddError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.h ================================================ // // FKFlickrGroupsPoolsGetContext.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsPoolsGetContextError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view. */ FKFlickrGroupsPoolsGetContextError_PhotoNotInPool = 2, /* The specified photo is not in the specified group's pool. */ FKFlickrGroupsPoolsGetContextError_GroupNotFound = 3, /* The specified group nsid was not a valid group or the caller does not have permission to view the group's pool. */ FKFlickrGroupsPoolsGetContextError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsPoolsGetContextError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsPoolsGetContextError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsPoolsGetContextError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsPoolsGetContextError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsPoolsGetContextError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsPoolsGetContextError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsPoolsGetContextError; /* Returns next and previous photos for a photo in a group pool.

See flickr.photos.getContext

Response: */ @interface FKFlickrGroupsPoolsGetContext : NSObject /* The id of the photo to fetch the context for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The nsid of the group who's pool to fetch the photo's context for. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* */ @property (nonatomic, strong) NSString *num_prev; /* */ @property (nonatomic, strong) NSString *num_next; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_z, url_l, url_o */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.m ================================================ // // FKFlickrGroupsPoolsGetContext.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsPoolsGetContext.h" @implementation FKFlickrGroupsPoolsGetContext - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.pools.getContext"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.num_prev) { [args setValue:self.num_prev forKey:@"num_prev"]; } if(self.num_next) { [args setValue:self.num_next forKey:@"num_next"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsPoolsGetContextError_PhotoNotFound: return @"Photo not found"; case FKFlickrGroupsPoolsGetContextError_PhotoNotInPool: return @"Photo not in pool"; case FKFlickrGroupsPoolsGetContextError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsPoolsGetContextError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsPoolsGetContextError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsPoolsGetContextError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsPoolsGetContextError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsPoolsGetContextError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsPoolsGetContextError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsPoolsGetContextError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.h ================================================ // // FKFlickrGroupsPoolsGetGroups.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsPoolsGetGroupsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsPoolsGetGroupsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsPoolsGetGroupsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsPoolsGetGroupsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsPoolsGetGroupsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsPoolsGetGroupsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsPoolsGetGroupsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsPoolsGetGroupsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsPoolsGetGroupsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsPoolsGetGroupsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsPoolsGetGroupsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsPoolsGetGroupsError; /* Returns a list of groups to which you can add photos.

The privacy attribute is 1 for private groups, 2 for invite-only public groups and 3 for open public groups.

Response: */ @interface FKFlickrGroupsPoolsGetGroups : NSObject /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; /* Number of groups to return per page. If this argument is omitted, it defaults to 400. The maximum allowed value is 400. */ @property (nonatomic, strong) NSString *per_page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.m ================================================ // // FKFlickrGroupsPoolsGetGroups.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsPoolsGetGroups.h" @implementation FKFlickrGroupsPoolsGetGroups - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.groups.pools.getGroups"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsPoolsGetGroupsError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsPoolsGetGroupsError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsPoolsGetGroupsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsPoolsGetGroupsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsPoolsGetGroupsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsPoolsGetGroupsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsPoolsGetGroupsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsPoolsGetGroupsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsPoolsGetGroupsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsPoolsGetGroupsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsPoolsGetGroupsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.h ================================================ // // FKFlickrGroupsPoolsGetPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsPoolsGetPhotosError_GroupNotFound = 1, /* The group id passed was not a valid group id. */ FKFlickrGroupsPoolsGetPhotosError_YouDontHavePermissionToViewThisPool = 2, /* The logged in user (if any) does not have permission to view the pool for this group. */ FKFlickrGroupsPoolsGetPhotosError_UnknownUser = 3, /* The user specified by user_id does not exist. */ FKFlickrGroupsPoolsGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsPoolsGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsPoolsGetPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsPoolsGetPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsPoolsGetPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsPoolsGetPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsPoolsGetPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsPoolsGetPhotosError; /* Returns a list of pool photos for a given group, based on the permissions of the group and the user logged in (if any). Response: */ @interface FKFlickrGroupsPoolsGetPhotos : NSObject /* The id of the group who's pool you which to get the photo list for. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ /* A tag to filter the pool with. At the moment only one tag at a time is supported. */ @property (nonatomic, strong) NSString *tags; /* The nsid of a user. Specifiying this parameter will retrieve for you only those photos that the user has contributed to the group pool. */ @property (nonatomic, strong) NSString *user_id; /* */ @property (nonatomic, strong) NSString *jump_to; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m ================================================ // // FKFlickrGroupsPoolsGetPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsPoolsGetPhotos.h" @implementation FKFlickrGroupsPoolsGetPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.groups.pools.getPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.tags) { [args setValue:self.tags forKey:@"tags"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.jump_to) { [args setValue:self.jump_to forKey:@"jump_to"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsPoolsGetPhotosError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsPoolsGetPhotosError_YouDontHavePermissionToViewThisPool: return @"You don't have permission to view this pool"; case FKFlickrGroupsPoolsGetPhotosError_UnknownUser: return @"Unknown user"; case FKFlickrGroupsPoolsGetPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsPoolsGetPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsPoolsGetPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsPoolsGetPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsPoolsGetPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsPoolsGetPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsPoolsGetPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h ================================================ // // FKFlickrGroupsPoolsRemove.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrGroupsPoolsRemoveError_GroupNotFound = 1, /* The group_id passed did not refer to a valid group. */ FKFlickrGroupsPoolsRemoveError_PhotoNotInPool = 2, /* The photo_id passed was not a valid id of a photo in the group pool. */ FKFlickrGroupsPoolsRemoveError_InsufficientPermissionToRemovePhoto = 3, /* The calling user doesn't own the photo and is not an administrator of the group, so may not remove the photo from the pool. */ FKFlickrGroupsPoolsRemoveError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrGroupsPoolsRemoveError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrGroupsPoolsRemoveError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrGroupsPoolsRemoveError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrGroupsPoolsRemoveError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrGroupsPoolsRemoveError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrGroupsPoolsRemoveError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrGroupsPoolsRemoveError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrGroupsPoolsRemoveError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrGroupsPoolsRemoveError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrGroupsPoolsRemoveError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrGroupsPoolsRemoveError; /* Remove a photo from a group pool. */ @interface FKFlickrGroupsPoolsRemove : NSObject /* The id of the photo to remove from the group pool. The photo must either be owned by the calling user of the calling user must be an administrator of the group. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The NSID of the group who's pool the photo is to removed from. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.m ================================================ // // FKFlickrGroupsPoolsRemove.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrGroupsPoolsRemove.h" @implementation FKFlickrGroupsPoolsRemove - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.groups.pools.remove"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrGroupsPoolsRemoveError_GroupNotFound: return @"Group not found"; case FKFlickrGroupsPoolsRemoveError_PhotoNotInPool: return @"Photo not in pool"; case FKFlickrGroupsPoolsRemoveError_InsufficientPermissionToRemovePhoto: return @"Insufficient permission to remove photo"; case FKFlickrGroupsPoolsRemoveError_InvalidSignature: return @"Invalid signature"; case FKFlickrGroupsPoolsRemoveError_MissingSignature: return @"Missing signature"; case FKFlickrGroupsPoolsRemoveError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrGroupsPoolsRemoveError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrGroupsPoolsRemoveError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrGroupsPoolsRemoveError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrGroupsPoolsRemoveError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrGroupsPoolsRemoveError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrGroupsPoolsRemoveError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrGroupsPoolsRemoveError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrGroupsPoolsRemoveError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.h ================================================ // // FKFlickrInterestingnessGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrInterestingnessGetListError_NotAValidDateString = 1, /* The date string passed did not validate. All dates must be formatted : YYYY-MM-DD */ FKFlickrInterestingnessGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrInterestingnessGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrInterestingnessGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrInterestingnessGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrInterestingnessGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrInterestingnessGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrInterestingnessGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrInterestingnessGetListError; /* Returns the list of interesting photos for the most recent day or a user-specified date. */ @interface FKFlickrInterestingnessGetList : NSObject /* A specific date, formatted as YYYY-MM-DD, to return interesting photos for. */ @property (nonatomic, strong) NSString *date; /* Always ask the pandas for interesting photos. This is a temporary argument to allow developers to update their code. */ @property (nonatomic, strong) NSString *use_panda; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m ================================================ // // FKFlickrInterestingnessGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrInterestingnessGetList.h" @implementation FKFlickrInterestingnessGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.interestingness.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.use_panda) { [args setValue:self.use_panda forKey:@"use_panda"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrInterestingnessGetListError_NotAValidDateString: return @"Not a valid date string."; case FKFlickrInterestingnessGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrInterestingnessGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrInterestingnessGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrInterestingnessGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrInterestingnessGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrInterestingnessGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrInterestingnessGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h ================================================ // // FKFlickrMachinetagsGetNamespaces.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrMachinetagsGetNamespacesError_NotAValidPredicate = 1, /* Missing or invalid predicate argument. */ FKFlickrMachinetagsGetNamespacesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrMachinetagsGetNamespacesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrMachinetagsGetNamespacesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrMachinetagsGetNamespacesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrMachinetagsGetNamespacesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrMachinetagsGetNamespacesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrMachinetagsGetNamespacesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrMachinetagsGetNamespacesError; /* Return a list of unique namespaces, optionally limited by a given predicate, in alphabetical order. "Usage" gives you roughly how popular a machine tags, while "predicates" is the count of distinct predicates a namespace has. Response: aero flickr geo taxonomy upcoming */ @interface FKFlickrMachinetagsGetNamespaces : NSObject /* Limit the list of namespaces returned to those that have the following predicate. */ @property (nonatomic, strong) NSString *predicate; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.m ================================================ // // FKFlickrMachinetagsGetNamespaces.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrMachinetagsGetNamespaces.h" @implementation FKFlickrMachinetagsGetNamespaces - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.machinetags.getNamespaces"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.predicate) { [args setValue:self.predicate forKey:@"predicate"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrMachinetagsGetNamespacesError_NotAValidPredicate: return @"Not a valid predicate."; case FKFlickrMachinetagsGetNamespacesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrMachinetagsGetNamespacesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrMachinetagsGetNamespacesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrMachinetagsGetNamespacesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrMachinetagsGetNamespacesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrMachinetagsGetNamespacesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrMachinetagsGetNamespacesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.h ================================================ // // FKFlickrMachinetagsGetPairs.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrMachinetagsGetPairsError_NotAValidNamespace = 1, /* Missing or invalid namespace argument. */ FKFlickrMachinetagsGetPairsError_NotAValidPredicate = 2, /* Missing or invalid predicate argument. */ FKFlickrMachinetagsGetPairsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrMachinetagsGetPairsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrMachinetagsGetPairsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrMachinetagsGetPairsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrMachinetagsGetPairsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrMachinetagsGetPairsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrMachinetagsGetPairsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrMachinetagsGetPairsError; /* Return a list of unique namespace and predicate pairs, optionally limited by predicate or namespace, in alphabetical order. Response: aero:airline aero:icao aero:model aero:tail */ @interface FKFlickrMachinetagsGetPairs : NSObject /* Limit the list of pairs returned to those that have the following namespace. */ @property (nonatomic, strong) NSString *namespace; /* Limit the list of pairs returned to those that have the following predicate. */ @property (nonatomic, strong) NSString *predicate; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.m ================================================ // // FKFlickrMachinetagsGetPairs.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrMachinetagsGetPairs.h" @implementation FKFlickrMachinetagsGetPairs - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.machinetags.getPairs"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.namespace) { [args setValue:self.namespace forKey:@"namespace"]; } if(self.predicate) { [args setValue:self.predicate forKey:@"predicate"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrMachinetagsGetPairsError_NotAValidNamespace: return @"Not a valid namespace"; case FKFlickrMachinetagsGetPairsError_NotAValidPredicate: return @"Not a valid predicate"; case FKFlickrMachinetagsGetPairsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrMachinetagsGetPairsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrMachinetagsGetPairsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrMachinetagsGetPairsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrMachinetagsGetPairsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrMachinetagsGetPairsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrMachinetagsGetPairsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.h ================================================ // // FKFlickrMachinetagsGetPredicates.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrMachinetagsGetPredicatesError_NotAValidNamespace = 1, /* Missing or invalid namespace argument. */ FKFlickrMachinetagsGetPredicatesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrMachinetagsGetPredicatesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrMachinetagsGetPredicatesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrMachinetagsGetPredicatesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrMachinetagsGetPredicatesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrMachinetagsGetPredicatesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrMachinetagsGetPredicatesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrMachinetagsGetPredicatesError; /* Return a list of unique predicates, optionally limited by a given namespace. Response: elbow face hand */ @interface FKFlickrMachinetagsGetPredicates : NSObject /* Limit the list of predicates returned to those that have the following namespace. */ @property (nonatomic, strong) NSString *namespace; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.m ================================================ // // FKFlickrMachinetagsGetPredicates.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrMachinetagsGetPredicates.h" @implementation FKFlickrMachinetagsGetPredicates - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.machinetags.getPredicates"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.namespace) { [args setValue:self.namespace forKey:@"namespace"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrMachinetagsGetPredicatesError_NotAValidNamespace: return @"Not a valid namespace"; case FKFlickrMachinetagsGetPredicatesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrMachinetagsGetPredicatesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrMachinetagsGetPredicatesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrMachinetagsGetPredicatesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrMachinetagsGetPredicatesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrMachinetagsGetPredicatesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrMachinetagsGetPredicatesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.h ================================================ // // FKFlickrMachinetagsGetRecentValues.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrMachinetagsGetRecentValuesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrMachinetagsGetRecentValuesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrMachinetagsGetRecentValuesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrMachinetagsGetRecentValuesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrMachinetagsGetRecentValuesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrMachinetagsGetRecentValuesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrMachinetagsGetRecentValuesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrMachinetagsGetRecentValuesError; /* Fetch recently used (or created) machine tags values. Response: maui chaff flower */ @interface FKFlickrMachinetagsGetRecentValues : NSObject /* A namespace that all values should be restricted to. */ @property (nonatomic, strong) NSString *namespace; /* A predicate that all values should be restricted to. */ @property (nonatomic, strong) NSString *predicate; /* Only return machine tags values that have been added since this timestamp, in epoch seconds. */ @property (nonatomic, strong) NSString *added_since; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.m ================================================ // // FKFlickrMachinetagsGetRecentValues.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrMachinetagsGetRecentValues.h" @implementation FKFlickrMachinetagsGetRecentValues - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.machinetags.getRecentValues"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.namespace) { [args setValue:self.namespace forKey:@"namespace"]; } if(self.predicate) { [args setValue:self.predicate forKey:@"predicate"]; } if(self.added_since) { [args setValue:self.added_since forKey:@"added_since"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrMachinetagsGetRecentValuesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrMachinetagsGetRecentValuesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrMachinetagsGetRecentValuesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrMachinetagsGetRecentValuesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrMachinetagsGetRecentValuesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrMachinetagsGetRecentValuesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrMachinetagsGetRecentValuesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.h ================================================ // // FKFlickrMachinetagsGetValues.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrMachinetagsGetValuesError_NotAValidNamespace = 1, /* Missing or invalid namespace argument. */ FKFlickrMachinetagsGetValuesError_NotAValidPredicate = 2, /* Missing or invalid predicate argument. */ FKFlickrMachinetagsGetValuesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrMachinetagsGetValuesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrMachinetagsGetValuesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrMachinetagsGetValuesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrMachinetagsGetValuesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrMachinetagsGetValuesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrMachinetagsGetValuesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrMachinetagsGetValuesError; /* Return a list of unique values for a namespace and predicate. Response: 123 456 789 */ @interface FKFlickrMachinetagsGetValues : NSObject /* The namespace that all values should be restricted to. */ @property (nonatomic, strong) NSString *namespace; /* (Required) */ /* The predicate that all values should be restricted to. */ @property (nonatomic, strong) NSString *predicate; /* (Required) */ /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; /* Minimum usage count. */ @property (nonatomic, strong) NSString *usage; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.m ================================================ // // FKFlickrMachinetagsGetValues.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrMachinetagsGetValues.h" @implementation FKFlickrMachinetagsGetValues - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.machinetags.getValues"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.namespace) { valid = NO; [errorDescription appendString:@"'namespace', "]; } if(!self.predicate) { valid = NO; [errorDescription appendString:@"'predicate', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.namespace) { [args setValue:self.namespace forKey:@"namespace"]; } if(self.predicate) { [args setValue:self.predicate forKey:@"predicate"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.usage) { [args setValue:self.usage forKey:@"usage"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrMachinetagsGetValuesError_NotAValidNamespace: return @"Not a valid namespace"; case FKFlickrMachinetagsGetValuesError_NotAValidPredicate: return @"Not a valid predicate"; case FKFlickrMachinetagsGetValuesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrMachinetagsGetValuesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrMachinetagsGetValuesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrMachinetagsGetValuesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrMachinetagsGetValuesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrMachinetagsGetValuesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrMachinetagsGetValuesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.h ================================================ // // FKFlickrPandaGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPandaGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPandaGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPandaGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPandaGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPandaGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPandaGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPandaGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPandaGetListError; /* Return a list of Flickr pandas, from whom you can request photos using the flickr.panda.getPhotos API method.

More information about the pandas can be found on the dev blog. Response: ling ling hsing hsing wang wang */ @interface FKFlickrPandaGetList : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.m ================================================ // // FKFlickrPandaGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPandaGetList.h" @implementation FKFlickrPandaGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.panda.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPandaGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPandaGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPandaGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPandaGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPandaGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPandaGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPandaGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.h ================================================ // // FKFlickrPandaGetPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPandaGetPhotosError_RequiredParameterMissing = 1, /* One or more required parameters was not included with your request. */ FKFlickrPandaGetPhotosError_UnknownPanda = 2, /* You requested a panda we haven't met yet. */ FKFlickrPandaGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPandaGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPandaGetPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPandaGetPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPandaGetPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPandaGetPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPandaGetPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPandaGetPhotosError; /* Ask the Flickr Pandas for a list of recent public (and "safe") photos.

More information about the pandas can be found on the dev blog. When calling this API method please ensure that your code uses the lastupdate and interval attributes to determine when to request new photos. lastupdate is a Unix timestamp indicating when the list of photos was generated and interval is the number of seconds to wait before polling the Flickr API again. Response: */ @interface FKFlickrPandaGetPhotos : NSObject /* The name of the panda to ask for photos from. There are currently three pandas named:


You can fetch a list of all the current pandas using the flickr.panda.getList API method. */ @property (nonatomic, strong) NSString *panda_name; /* (Required) */ /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m ================================================ // // FKFlickrPandaGetPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPandaGetPhotos.h" @implementation FKFlickrPandaGetPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.panda.getPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.panda_name) { valid = NO; [errorDescription appendString:@"'panda_name', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.panda_name) { [args setValue:self.panda_name forKey:@"panda_name"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPandaGetPhotosError_RequiredParameterMissing: return @"Required parameter missing."; case FKFlickrPandaGetPhotosError_UnknownPanda: return @"Unknown panda"; case FKFlickrPandaGetPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPandaGetPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPandaGetPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPandaGetPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPandaGetPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPandaGetPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPandaGetPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h ================================================ // // FKFlickrPeopleFindByEmail.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleFindByEmailError_UserNotFound = 1, /* No user with the supplied email address was found. */ FKFlickrPeopleFindByEmailError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleFindByEmailError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleFindByEmailError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleFindByEmailError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleFindByEmailError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleFindByEmailError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleFindByEmailError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleFindByEmailError; /* Return a user's NSID, given their email address Response: Stewart */ @interface FKFlickrPeopleFindByEmail : NSObject /* The email address of the user to find (may be primary or secondary). */ @property (nonatomic, strong) NSString *find_email; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.m ================================================ // // FKFlickrPeopleFindByEmail.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleFindByEmail.h" @implementation FKFlickrPeopleFindByEmail - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.people.findByEmail"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.find_email) { valid = NO; [errorDescription appendString:@"'find_email', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.find_email) { [args setValue:self.find_email forKey:@"find_email"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleFindByEmailError_UserNotFound: return @"User not found"; case FKFlickrPeopleFindByEmailError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleFindByEmailError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleFindByEmailError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleFindByEmailError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleFindByEmailError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleFindByEmailError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleFindByEmailError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.h ================================================ // // FKFlickrPeopleFindByUsername.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleFindByUsernameError_UserNotFound = 1, /* No user with the supplied username was found. */ FKFlickrPeopleFindByUsernameError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleFindByUsernameError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleFindByUsernameError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleFindByUsernameError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleFindByUsernameError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleFindByUsernameError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleFindByUsernameError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleFindByUsernameError; /* Return a user's NSID, given their username. Response: Stewart */ @interface FKFlickrPeopleFindByUsername : NSObject /* The username of the user to lookup. */ @property (nonatomic, strong) NSString *username; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.m ================================================ // // FKFlickrPeopleFindByUsername.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleFindByUsername.h" @implementation FKFlickrPeopleFindByUsername - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.people.findByUsername"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.username) { valid = NO; [errorDescription appendString:@"'username', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.username) { [args setValue:self.username forKey:@"username"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleFindByUsernameError_UserNotFound: return @"User not found"; case FKFlickrPeopleFindByUsernameError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleFindByUsernameError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleFindByUsernameError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleFindByUsernameError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleFindByUsernameError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleFindByUsernameError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleFindByUsernameError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.h ================================================ // // FKFlickrPeopleGetGroups.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetGroupsError_UserNotFound = 1, /* The user id passed did not match a Flickr user. */ FKFlickrPeopleGetGroupsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPeopleGetGroupsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPeopleGetGroupsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPeopleGetGroupsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPeopleGetGroupsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetGroupsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetGroupsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetGroupsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetGroupsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetGroupsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetGroupsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetGroupsError; /* Returns the list of groups a user is a member of. The admin attribute indicates whether the user is an administrator of the group. The eighteenplus attribute indicates if the group is visible to members over 18 only. The invite_only attribute indicates whether a user can join the group without administrator approval. Response: */ @interface FKFlickrPeopleGetGroups : NSObject /* The NSID of the user to fetch groups for. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: privacy, throttle, restrictions */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m ================================================ // // FKFlickrPeopleGetGroups.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetGroups.h" @implementation FKFlickrPeopleGetGroups - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.people.getGroups"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetGroupsError_UserNotFound: return @"User not found"; case FKFlickrPeopleGetGroupsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPeopleGetGroupsError_MissingSignature: return @"Missing signature"; case FKFlickrPeopleGetGroupsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPeopleGetGroupsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPeopleGetGroupsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetGroupsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetGroupsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetGroupsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetGroupsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetGroupsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetGroupsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h ================================================ // // FKFlickrPeopleGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetInfoError_UserNotFound = 1, /* The user id passed did not match a Flickr user. */ FKFlickrPeopleGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetInfoError; /* Get information about a user.

The firstdate element contains the unix timestamp of the first photo uploaded by the user. The firstdatetaken element contains the mysql datetime of the first photo taken by the user.

The iconserver element is used to build the url to the users' buddyicon - for more information please read the buddyicon guide.

If the API call is authenticated contact information will also be returned as attributes on the person element. contact, friend, and family are boolean flags describing the relationship between the authenticated user, and the person currently being inspected. revcontact, revfriend, and revfamily is the reciprocal relationship.

Response: bees Cal Henderson eea6cd28e3d0003ab51b0058a684d94980b727ac Vancouver, Canada http://www.flickr.com/photos/bees/ http://www.flickr.com/people/bees/ 1071510391 1900-09-02 09:11:24 449 */ @interface FKFlickrPeopleGetInfo : NSObject /* The NSID of the user to fetch information about. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* As an alternative to user_id, load a member based on URL, either photos or people URL. */ @property (nonatomic, strong) NSString *url; /* (Required) */ /* If set to 1, it checks if the user is connected to Facebook and returns that information back. */ @property (nonatomic, strong) NSString *fb_connected; /* If set to 1, it returns the storage information about the user, like the storage used and storage available. */ @property (nonatomic, strong) NSString *storage; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.m ================================================ // // FKFlickrPeopleGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetInfo.h" @implementation FKFlickrPeopleGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.people.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(!self.url) { valid = NO; [errorDescription appendString:@"'url', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.url) { [args setValue:self.url forKey:@"url"]; } if(self.fb_connected) { [args setValue:self.fb_connected forKey:@"fb_connected"]; } if(self.storage) { [args setValue:self.storage forKey:@"storage"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetInfoError_UserNotFound: return @"User not found"; case FKFlickrPeopleGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.h ================================================ // // FKFlickrPeopleGetLimits.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetLimitsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPeopleGetLimitsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPeopleGetLimitsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPeopleGetLimitsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPeopleGetLimitsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetLimitsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetLimitsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetLimitsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetLimitsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetLimitsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetLimitsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetLimitsError; /* Returns the photo and video limits that apply to the calling user account.
  • photos/@maxdisplaypx: maximum size in pixels for photos displayed on the site (0 means that no limit is in place). No limit is placed on the dimension of photos uploaded.
  • photos/@maxupload: maximum file size in bytes for photo uploads.
  • videos/@maxduration: maximum duration in seconds of a video.
  • videos/@maxupload: maximum file size in bytes for video uploads.

For more details, see the documentation about limits.

Response: */ @interface FKFlickrPeopleGetLimits : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.m ================================================ // // FKFlickrPeopleGetLimits.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetLimits.h" @implementation FKFlickrPeopleGetLimits - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.people.getLimits"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetLimitsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPeopleGetLimitsError_MissingSignature: return @"Missing signature"; case FKFlickrPeopleGetLimitsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPeopleGetLimitsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPeopleGetLimitsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetLimitsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetLimitsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetLimitsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetLimitsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetLimitsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetLimitsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.h ================================================ // // FKFlickrPeopleGetPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetPhotosError_RequiredArgumentsMissing = 1, /* */ FKFlickrPeopleGetPhotosError_UnknownUser = 2, /* A user_id was passed which did not match a valid flickr user. */ FKFlickrPeopleGetPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPeopleGetPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPeopleGetPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPeopleGetPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPeopleGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetPhotosError; /* Return photos from the given user's photostream. Only photos visible to the calling user will be returned. This method must be authenticated; to return public photos for a user, use flickr.people.getPublicPhotos. */ @interface FKFlickrPeopleGetPhotos : NSObject /* The NSID of the user who's photos to return. A value of "me" will return the calling user's photos. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* Safe search setting:
  • 1 for safe.
  • 2 for moderate.
  • 3 for restricted.
(Please note: Un-authed calls can only see Safe content.) */ @property (nonatomic, strong) NSString *safe_search; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *max_taken_date; /* Content Type setting:
  • 1 for photos only.
  • 2 for screenshots only.
  • 3 for 'other' only.
  • 4 for photos and screenshots.
  • 5 for screenshots and 'other'.
  • 6 for photos and 'other'.
  • 7 for photos, screenshots, and 'other' (all).
*/ @property (nonatomic, strong) NSString *content_type; /* Return photos only matching a certain privacy level. This only applies when making an authenticated call to view photos you own. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m ================================================ // // FKFlickrPeopleGetPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetPhotos.h" @implementation FKFlickrPeopleGetPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.people.getPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.safe_search) { [args setValue:self.safe_search forKey:@"safe_search"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } if(self.content_type) { [args setValue:self.content_type forKey:@"content_type"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetPhotosError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrPeopleGetPhotosError_UnknownUser: return @"Unknown user"; case FKFlickrPeopleGetPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrPeopleGetPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrPeopleGetPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPeopleGetPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPeopleGetPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h ================================================ // // FKFlickrPeopleGetPhotosOf.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetPhotosOfError_UserNotFound = 1, /* A user_id was passed which did not match a valid flickr user. */ FKFlickrPeopleGetPhotosOfError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetPhotosOfError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetPhotosOfError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetPhotosOfError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetPhotosOfError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetPhotosOfError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetPhotosOfError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetPhotosOfError; /* Returns a list of photos containing a particular Flickr member.

This method returns a variant of the standard photo list xml.

For queries about a member other than the currently authenticated one, pagination data ("total" and "pages" attributes) will not be available.

Instead, the element will contain a boolean value 'has_next_page' which will tell you whether or not there are more photos to fetch.

Response: */ @interface FKFlickrPeopleGetPhotosOf : NSObject /* The NSID of the user you want to find photos of. A value of "me" will search against photos of the calling user, for authenticated calls. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* An NSID of a Flickr member. This will restrict the list of photos to those taken by that member. */ @property (nonatomic, strong) NSString *owner_id; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, date_person_added, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m ================================================ // // FKFlickrPeopleGetPhotosOf.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetPhotosOf.h" @implementation FKFlickrPeopleGetPhotosOf - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.people.getPhotosOf"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.owner_id) { [args setValue:self.owner_id forKey:@"owner_id"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetPhotosOfError_UserNotFound: return @"User not found."; case FKFlickrPeopleGetPhotosOfError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetPhotosOfError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetPhotosOfError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetPhotosOfError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetPhotosOfError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetPhotosOfError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetPhotosOfError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h ================================================ // // FKFlickrPeopleGetPublicGroups.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetPublicGroupsError_UserNotFound = 1, /* The user id passed did not match a Flickr user. */ FKFlickrPeopleGetPublicGroupsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetPublicGroupsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetPublicGroupsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetPublicGroupsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetPublicGroupsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetPublicGroupsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetPublicGroupsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetPublicGroupsError; /* Returns the list of public groups a user is a member of.

The admin attribute indicates whether the user is an administrator of the group. The eighteenplus attribute indicates if the group is visible to members over 18 only. The invite_only attribute indicates whether a user can join the group without administrator approval.

Response: */ @interface FKFlickrPeopleGetPublicGroups : NSObject /* The NSID of the user to fetch groups for. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* Include public groups that require an invitation or administrator approval to join. */ @property (nonatomic, strong) NSString *invitation_only; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.m ================================================ // // FKFlickrPeopleGetPublicGroups.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetPublicGroups.h" @implementation FKFlickrPeopleGetPublicGroups - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.people.getPublicGroups"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.invitation_only) { [args setValue:self.invitation_only forKey:@"invitation_only"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetPublicGroupsError_UserNotFound: return @"User not found"; case FKFlickrPeopleGetPublicGroupsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetPublicGroupsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetPublicGroupsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetPublicGroupsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetPublicGroupsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetPublicGroupsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetPublicGroupsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.h ================================================ // // FKFlickrPeopleGetPublicPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetPublicPhotosError_UserNotFound = 1, /* The user NSID passed was not a valid user NSID. */ FKFlickrPeopleGetPublicPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetPublicPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetPublicPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetPublicPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetPublicPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetPublicPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetPublicPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetPublicPhotosError; /* Get a list of public photos for the given user. */ @interface FKFlickrPeopleGetPublicPhotos : NSObject /* The NSID of the user who's photos to return. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* Safe search setting:
  • 1 for safe.
  • 2 for moderate.
  • 3 for restricted.
(Please note: Un-authed calls can only see Safe content.) */ @property (nonatomic, strong) NSString *safe_search; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m ================================================ // // FKFlickrPeopleGetPublicPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetPublicPhotos.h" @implementation FKFlickrPeopleGetPublicPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.people.getPublicPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.safe_search) { [args setValue:self.safe_search forKey:@"safe_search"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetPublicPhotosError_UserNotFound: return @"User not found"; case FKFlickrPeopleGetPublicPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetPublicPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetPublicPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetPublicPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetPublicPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetPublicPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetPublicPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h ================================================ // // FKFlickrPeopleGetUploadStatus.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPeopleGetUploadStatusError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPeopleGetUploadStatusError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPeopleGetUploadStatusError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPeopleGetUploadStatusError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPeopleGetUploadStatusError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPeopleGetUploadStatusError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPeopleGetUploadStatusError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPeopleGetUploadStatusError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPeopleGetUploadStatusError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPeopleGetUploadStatusError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPeopleGetUploadStatusError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPeopleGetUploadStatusError; /* Returns information for the calling user related to photo uploads.

Bandwidth and filesize numbers are provided in bytes and kilobytes. If you're using 32bit numbers, stick to using the kilobyte values - they shouldn't ever exceed 2/4 billion, while the byte values will.

Bandwidth is specified in bytes/kb per month.

All accounts display "lots" for the number of remaining sets, but remains in the response for backwards compatibility.

Pro accounts display "lots" for the number of remaining videos, while free users will display 0, 1, or 2.

Response: Bees */ @interface FKFlickrPeopleGetUploadStatus : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.m ================================================ // // FKFlickrPeopleGetUploadStatus.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPeopleGetUploadStatus.h" @implementation FKFlickrPeopleGetUploadStatus - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.people.getUploadStatus"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPeopleGetUploadStatusError_InvalidSignature: return @"Invalid signature"; case FKFlickrPeopleGetUploadStatusError_MissingSignature: return @"Missing signature"; case FKFlickrPeopleGetUploadStatusError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPeopleGetUploadStatusError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPeopleGetUploadStatusError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPeopleGetUploadStatusError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPeopleGetUploadStatusError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPeopleGetUploadStatusError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPeopleGetUploadStatusError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPeopleGetUploadStatusError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPeopleGetUploadStatusError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.h ================================================ // // FKFlickrPhotosCommentsAddComment.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosCommentsAddCommentError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id */ FKFlickrPhotosCommentsAddCommentError_BlankComment = 8, /* Comment text can not be blank */ FKFlickrPhotosCommentsAddCommentError_UserIsPostingCommentsTooFast = 9, /* The user has reached the limit for number of comments posted during a specific time period. Wait a bit and try again. */ FKFlickrPhotosCommentsAddCommentError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosCommentsAddCommentError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosCommentsAddCommentError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosCommentsAddCommentError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosCommentsAddCommentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosCommentsAddCommentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosCommentsAddCommentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosCommentsAddCommentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosCommentsAddCommentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosCommentsAddCommentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosCommentsAddCommentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosCommentsAddCommentError; /* Add comment to a photo as the currently authenticated user. Response: */ @interface FKFlickrPhotosCommentsAddComment : NSObject /* The id of the photo to add a comment to. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* Text of the comment */ @property (nonatomic, strong) NSString *comment_text; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.m ================================================ // // FKFlickrPhotosCommentsAddComment.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosCommentsAddComment.h" @implementation FKFlickrPhotosCommentsAddComment - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.comments.addComment"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.comment_text) { valid = NO; [errorDescription appendString:@"'comment_text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.comment_text) { [args setValue:self.comment_text forKey:@"comment_text"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosCommentsAddCommentError_PhotoNotFound: return @"Photo not found."; case FKFlickrPhotosCommentsAddCommentError_BlankComment: return @"Blank comment."; case FKFlickrPhotosCommentsAddCommentError_UserIsPostingCommentsTooFast: return @"User is posting comments too fast."; case FKFlickrPhotosCommentsAddCommentError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosCommentsAddCommentError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosCommentsAddCommentError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosCommentsAddCommentError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosCommentsAddCommentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosCommentsAddCommentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosCommentsAddCommentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosCommentsAddCommentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosCommentsAddCommentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosCommentsAddCommentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosCommentsAddCommentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.h ================================================ // // FKFlickrPhotosCommentsDeleteComment.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosCommentsDeleteCommentError_PhotoNotFound = 1, /* The requested comment is against a photo which no longer exists. */ FKFlickrPhotosCommentsDeleteCommentError_CommentNotFound = 2, /* The comment id passed was not a valid comment id */ FKFlickrPhotosCommentsDeleteCommentError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosCommentsDeleteCommentError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosCommentsDeleteCommentError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosCommentsDeleteCommentError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosCommentsDeleteCommentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosCommentsDeleteCommentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosCommentsDeleteCommentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosCommentsDeleteCommentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosCommentsDeleteCommentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosCommentsDeleteCommentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosCommentsDeleteCommentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosCommentsDeleteCommentError; /* Delete a comment as the currently authenticated user. */ @interface FKFlickrPhotosCommentsDeleteComment : NSObject /* The id of the comment to edit. */ @property (nonatomic, strong) NSString *comment_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.m ================================================ // // FKFlickrPhotosCommentsDeleteComment.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosCommentsDeleteComment.h" @implementation FKFlickrPhotosCommentsDeleteComment - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.comments.deleteComment"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.comment_id) { valid = NO; [errorDescription appendString:@"'comment_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.comment_id) { [args setValue:self.comment_id forKey:@"comment_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosCommentsDeleteCommentError_PhotoNotFound: return @"Photo not found."; case FKFlickrPhotosCommentsDeleteCommentError_CommentNotFound: return @"Comment not found."; case FKFlickrPhotosCommentsDeleteCommentError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosCommentsDeleteCommentError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosCommentsDeleteCommentError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosCommentsDeleteCommentError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosCommentsDeleteCommentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosCommentsDeleteCommentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosCommentsDeleteCommentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosCommentsDeleteCommentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosCommentsDeleteCommentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosCommentsDeleteCommentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosCommentsDeleteCommentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.h ================================================ // // FKFlickrPhotosCommentsEditComment.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosCommentsEditCommentError_PhotoNotFound = 1, /* The requested comment is against a photo which no longer exists. */ FKFlickrPhotosCommentsEditCommentError_CommentNotFound = 2, /* The comment id passed was not a valid comment id */ FKFlickrPhotosCommentsEditCommentError_BlankComment = 8, /* Comment text can not be blank */ FKFlickrPhotosCommentsEditCommentError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosCommentsEditCommentError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosCommentsEditCommentError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosCommentsEditCommentError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosCommentsEditCommentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosCommentsEditCommentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosCommentsEditCommentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosCommentsEditCommentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosCommentsEditCommentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosCommentsEditCommentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosCommentsEditCommentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosCommentsEditCommentError; /* Edit the text of a comment as the currently authenticated user. */ @interface FKFlickrPhotosCommentsEditComment : NSObject /* The id of the comment to edit. */ @property (nonatomic, strong) NSString *comment_id; /* (Required) */ /* Update the comment to this text. */ @property (nonatomic, strong) NSString *comment_text; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.m ================================================ // // FKFlickrPhotosCommentsEditComment.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosCommentsEditComment.h" @implementation FKFlickrPhotosCommentsEditComment - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.comments.editComment"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.comment_id) { valid = NO; [errorDescription appendString:@"'comment_id', "]; } if(!self.comment_text) { valid = NO; [errorDescription appendString:@"'comment_text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.comment_id) { [args setValue:self.comment_id forKey:@"comment_id"]; } if(self.comment_text) { [args setValue:self.comment_text forKey:@"comment_text"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosCommentsEditCommentError_PhotoNotFound: return @"Photo not found."; case FKFlickrPhotosCommentsEditCommentError_CommentNotFound: return @"Comment not found."; case FKFlickrPhotosCommentsEditCommentError_BlankComment: return @"Blank comment."; case FKFlickrPhotosCommentsEditCommentError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosCommentsEditCommentError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosCommentsEditCommentError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosCommentsEditCommentError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosCommentsEditCommentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosCommentsEditCommentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosCommentsEditCommentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosCommentsEditCommentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosCommentsEditCommentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosCommentsEditCommentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosCommentsEditCommentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.h ================================================ // // FKFlickrPhotosCommentsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosCommentsGetListError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosCommentsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosCommentsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosCommentsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosCommentsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosCommentsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosCommentsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosCommentsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosCommentsGetListError; /* Returns the comments for a photo Response: Umm, I'm not sure, can I get back to you on that one? */ @interface FKFlickrPhotosCommentsGetList : NSObject /* The id of the photo to fetch comments for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* Minimum date that a a comment was added. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_comment_date; /* Maximum date that a comment was added. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_comment_date; /* */ @property (nonatomic, strong) NSString *page; /* */ @property (nonatomic, strong) NSString *per_page; /* */ @property (nonatomic, strong) NSString *include_faves; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.m ================================================ // // FKFlickrPhotosCommentsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosCommentsGetList.h" @implementation FKFlickrPhotosCommentsGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.comments.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.min_comment_date) { [args setValue:self.min_comment_date forKey:@"min_comment_date"]; } if(self.max_comment_date) { [args setValue:self.max_comment_date forKey:@"max_comment_date"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.include_faves) { [args setValue:self.include_faves forKey:@"include_faves"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosCommentsGetListError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosCommentsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosCommentsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosCommentsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosCommentsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosCommentsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosCommentsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosCommentsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.h ================================================ // // FKFlickrPhotosCommentsGetRecentForContacts.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosCommentsGetRecentForContactsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosCommentsGetRecentForContactsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosCommentsGetRecentForContactsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosCommentsGetRecentForContactsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosCommentsGetRecentForContactsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosCommentsGetRecentForContactsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosCommentsGetRecentForContactsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosCommentsGetRecentForContactsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosCommentsGetRecentForContactsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosCommentsGetRecentForContactsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosCommentsGetRecentForContactsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosCommentsGetRecentForContactsError; /* Return the list of photos belonging to your contacts that have been commented on recently. */ @interface FKFlickrPhotosCommentsGetRecentForContacts : NSObject /* Limits the resultset to photos that have been commented on since this date. The date should be in the form of a Unix timestamp.

The default, and maximum, offset is (1) hour. */ @property (nonatomic, strong) NSString *date_lastcomment; /* A comma-separated list of contact NSIDs to limit the scope of the query to. */ @property (nonatomic, strong) NSString *contacts_filter; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m ================================================ // // FKFlickrPhotosCommentsGetRecentForContacts.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosCommentsGetRecentForContacts.h" @implementation FKFlickrPhotosCommentsGetRecentForContacts - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.comments.getRecentForContacts"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date_lastcomment) { [args setValue:self.date_lastcomment forKey:@"date_lastcomment"]; } if(self.contacts_filter) { [args setValue:self.contacts_filter forKey:@"contacts_filter"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosCommentsGetRecentForContactsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosCommentsGetRecentForContactsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosCommentsGetRecentForContactsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosCommentsGetRecentForContactsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosCommentsGetRecentForContactsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosCommentsGetRecentForContactsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosCommentsGetRecentForContactsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h ================================================ // // FKFlickrPhotosAddTags.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosAddTagsError_PhotoNotFound = 1, /* The photo id passed was not the id of a photo that the calling user can add tags to. It could be an invalid id, or the user may not have permission to add tags to it. */ FKFlickrPhotosAddTagsError_MaximumNumberOfTagsReached = 2, /* The maximum number of tags for the photo has been reached - no more tags can be added. If the current count is less than the maximum, but adding all of the tags for this request would go over the limit, the whole request is ignored. I.E. when you get this message, none of the requested tags have been added. */ FKFlickrPhotosAddTagsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosAddTagsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosAddTagsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosAddTagsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosAddTagsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosAddTagsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosAddTagsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosAddTagsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosAddTagsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosAddTagsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosAddTagsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosAddTagsError; /* Add tags to a photo. */ @interface FKFlickrPhotosAddTags : NSObject /* The id of the photo to add tags to. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The tags to add to the photo. */ @property (nonatomic, strong) NSString *tags; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.m ================================================ // // FKFlickrPhotosAddTags.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosAddTags.h" @implementation FKFlickrPhotosAddTags - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.addTags"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.tags) { valid = NO; [errorDescription appendString:@"'tags', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.tags) { [args setValue:self.tags forKey:@"tags"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosAddTagsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosAddTagsError_MaximumNumberOfTagsReached: return @"Maximum number of tags reached"; case FKFlickrPhotosAddTagsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosAddTagsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosAddTagsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosAddTagsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosAddTagsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosAddTagsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosAddTagsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosAddTagsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosAddTagsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosAddTagsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosAddTagsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.h ================================================ // // FKFlickrPhotosDelete.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosDeleteError_PhotoNotFound = 1, /* The photo id was not the id of a photo belonging to the calling user. */ FKFlickrPhotosDeleteError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosDeleteError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosDeleteError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosDeleteError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosDeleteError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosDeleteError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosDeleteError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosDeleteError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosDeleteError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosDeleteError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosDeleteError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosDeleteError; /* Delete a photo from flickr. */ @interface FKFlickrPhotosDelete : NSObject /* The id of the photo to delete. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.m ================================================ // // FKFlickrPhotosDelete.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosDelete.h" @implementation FKFlickrPhotosDelete - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 2; } - (NSString *) name { return @"flickr.photos.delete"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosDeleteError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosDeleteError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosDeleteError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosDeleteError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosDeleteError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosDeleteError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosDeleteError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosDeleteError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosDeleteError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosDeleteError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosDeleteError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosDeleteError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.h ================================================ // // FKFlickrPhotosGetAllContexts.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetAllContextsError_PhotoNotFound = 1, /* The photo id passed was not the id of a valid photo. */ FKFlickrPhotosGetAllContextsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetAllContextsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetAllContextsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetAllContextsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetAllContextsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetAllContextsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetAllContextsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetAllContextsError; /* Returns all visible sets and pools the photo belongs to. Response: */ @interface FKFlickrPhotosGetAllContexts : NSObject /* The photo to return information for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.m ================================================ // // FKFlickrPhotosGetAllContexts.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetAllContexts.h" @implementation FKFlickrPhotosGetAllContexts - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getAllContexts"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetAllContextsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGetAllContextsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetAllContextsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetAllContextsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetAllContextsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetAllContextsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetAllContextsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetAllContextsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.h ================================================ // // FKFlickrPhotosGetContactsPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetContactsPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetContactsPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetContactsPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetContactsPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetContactsPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetContactsPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetContactsPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetContactsPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetContactsPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetContactsPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetContactsPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetContactsPhotosError; /* Fetch a list of recent photos from the calling users' contacts. Response: */ @interface FKFlickrPhotosGetContactsPhotos : NSObject /* Number of photos to return. Defaults to 10, maximum 50. This is only used if single_photo is not passed. */ @property (nonatomic, strong) NSString *count; /* set as 1 to only show photos from friends and family (excluding regular contacts). */ @property (nonatomic, strong) NSString *just_friends; /* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */ @property (nonatomic, strong) NSString *single_photo; /* Set to 1 to include photos from the calling user. */ @property (nonatomic, strong) NSString *include_self; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields include: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update. For more information see extras under flickr.photos.search. */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m ================================================ // // FKFlickrPhotosGetContactsPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetContactsPhotos.h" @implementation FKFlickrPhotosGetContactsPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getContactsPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.count) { [args setValue:self.count forKey:@"count"]; } if(self.just_friends) { [args setValue:self.just_friends forKey:@"just_friends"]; } if(self.single_photo) { [args setValue:self.single_photo forKey:@"single_photo"]; } if(self.include_self) { [args setValue:self.include_self forKey:@"include_self"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetContactsPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetContactsPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetContactsPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetContactsPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetContactsPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetContactsPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetContactsPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetContactsPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetContactsPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetContactsPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetContactsPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h ================================================ // // FKFlickrPhotosGetContactsPublicPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetContactsPublicPhotosError_UserNotFound = 1, /* The user NSID passed was not a valid user NSID. */ FKFlickrPhotosGetContactsPublicPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetContactsPublicPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetContactsPublicPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetContactsPublicPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetContactsPublicPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetContactsPublicPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetContactsPublicPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetContactsPublicPhotosError; /* Fetch a list of recent public photos from a users' contacts. Response: */ @interface FKFlickrPhotosGetContactsPublicPhotos : NSObject /* The NSID of the user to fetch photos for. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* Number of photos to return. Defaults to 10, maximum 50. This is only used if single_photo is not passed. */ @property (nonatomic, strong) NSString *count; /* set as 1 to only show photos from friends and family (excluding regular contacts). */ @property (nonatomic, strong) NSString *just_friends; /* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */ @property (nonatomic, strong) NSString *single_photo; /* Set to 1 to include photos from the user specified by user_id. */ @property (nonatomic, strong) NSString *include_self; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update. */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m ================================================ // // FKFlickrPhotosGetContactsPublicPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetContactsPublicPhotos.h" @implementation FKFlickrPhotosGetContactsPublicPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getContactsPublicPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.count) { [args setValue:self.count forKey:@"count"]; } if(self.just_friends) { [args setValue:self.just_friends forKey:@"just_friends"]; } if(self.single_photo) { [args setValue:self.single_photo forKey:@"single_photo"]; } if(self.include_self) { [args setValue:self.include_self forKey:@"include_self"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetContactsPublicPhotosError_UserNotFound: return @"User not found"; case FKFlickrPhotosGetContactsPublicPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetContactsPublicPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetContactsPublicPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetContactsPublicPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetContactsPublicPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetContactsPublicPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetContactsPublicPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h ================================================ // // FKFlickrPhotosGetContext.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetContextError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view. */ FKFlickrPhotosGetContextError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetContextError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetContextError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetContextError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetContextError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetContextError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetContextError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetContextError; /* Returns next and previous photos for a photo in a photostream.

When either the previous of next photo is unavailable, the element is still returned, but contains id="0"

Response: */ @interface FKFlickrPhotosGetContext : NSObject /* The id of the photo to fetch the context for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* */ @property (nonatomic, strong) NSString *num_prev; /* */ @property (nonatomic, strong) NSString *num_next; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_z, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Accepts datetaken or dateposted and returns results in the proper order. */ @property (nonatomic, strong) NSString *order_by; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m ================================================ // // FKFlickrPhotosGetContext.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetContext.h" @implementation FKFlickrPhotosGetContext - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getContext"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.num_prev) { [args setValue:self.num_prev forKey:@"num_prev"]; } if(self.num_next) { [args setValue:self.num_next forKey:@"num_next"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.order_by) { [args setValue:self.order_by forKey:@"order_by"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetContextError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGetContextError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetContextError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetContextError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetContextError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetContextError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetContextError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetContextError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h ================================================ // // FKFlickrPhotosGetCounts.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetCountsError_NoDatesSpecified = 1, /* Neither dates nor taken_dates were specified. */ FKFlickrPhotosGetCountsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetCountsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetCountsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetCountsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetCountsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetCountsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetCountsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetCountsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetCountsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetCountsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetCountsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetCountsError; /* Gets a list of photo counts for the given date ranges for the calling user. Response: */ @interface FKFlickrPhotosGetCounts : NSObject /* A comma delimited list of unix timestamps, denoting the periods to return counts for. They should be specified smallest first. */ @property (nonatomic, strong) NSString *dates; /* A comma delimited list of mysql datetimes, denoting the periods to return counts for. They should be specified smallest first. */ @property (nonatomic, strong) NSString *taken_dates; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.m ================================================ // // FKFlickrPhotosGetCounts.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetCounts.h" @implementation FKFlickrPhotosGetCounts - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getCounts"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.dates) { [args setValue:self.dates forKey:@"dates"]; } if(self.taken_dates) { [args setValue:self.taken_dates forKey:@"taken_dates"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetCountsError_NoDatesSpecified: return @"No dates specified"; case FKFlickrPhotosGetCountsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetCountsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetCountsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetCountsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetCountsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetCountsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetCountsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetCountsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetCountsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetCountsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetCountsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.h ================================================ // // FKFlickrPhotosGetExif.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetExifError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGetExifError_PermissionDenied = 2, /* The owner of the photo does not want to share EXIF data. */ FKFlickrPhotosGetExifError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetExifError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetExifError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetExifError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetExifError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetExifError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetExifError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetExifError; /* Retrieves a list of EXIF/TIFF/GPS tags for a given photo. The calling user must have permission to view the photo.

The <clean> element contains a pretty-formatted version of the tag where availabale.

Response: Canon 90/10 f/9 64/1, 42/1, 4414/100 64° 42' 44.14" */ @interface FKFlickrPhotosGetExif : NSObject /* The id of the photo to fetch information for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the 'sharing' of individual photos by passing around the id and secret. */ @property (nonatomic, strong) NSString *secret; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.m ================================================ // // FKFlickrPhotosGetExif.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetExif.h" @implementation FKFlickrPhotosGetExif - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getExif"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.secret) { [args setValue:self.secret forKey:@"secret"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetExifError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGetExifError_PermissionDenied: return @"Permission denied"; case FKFlickrPhotosGetExifError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetExifError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetExifError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetExifError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetExifError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetExifError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetExifError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.h ================================================ // // FKFlickrPhotosGetFavorites.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetFavoritesError_PhotoNotFound = 1, /* The specified photo does not exist, or the calling user does not have permission to view it. */ FKFlickrPhotosGetFavoritesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetFavoritesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetFavoritesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetFavoritesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetFavoritesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetFavoritesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetFavoritesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetFavoritesError; /* Returns the list of people who have favorited a given photo. Response: */ @interface FKFlickrPhotosGetFavorites : NSObject /* The ID of the photo to fetch the favoriters list for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; /* Number of usres to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50. */ @property (nonatomic, strong) NSString *per_page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.m ================================================ // // FKFlickrPhotosGetFavorites.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetFavorites.h" @implementation FKFlickrPhotosGetFavorites - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getFavorites"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetFavoritesError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGetFavoritesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetFavoritesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetFavoritesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetFavoritesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetFavoritesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetFavoritesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetFavoritesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.h ================================================ // // FKFlickrPhotosGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetInfoError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetInfoError; /* Get information about a photo. The calling user must have permission to view the photo.

The <permissions> element is only returned for photos owned by the calling user. The isfavorite attribute only makes sense for logged in users who don't own the photo. The rotation attribute is the current clockwise rotation, in degrees, by which the smaller image sizes differ from the original image.

The <date> element's lastupdate attribute is a Unix timestamp indicating the last time the photo, or any of its metadata (tags, comments, etc.) was modified.

Response: orford_castle_taster hello! 1 foo wooyay hoopla http://www.flickr.com/photos/bees/2733/ */ @interface FKFlickrPhotosGetInfo : NSObject /* The id of the photo to get information for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the 'sharing' of individual photos by passing around the id and secret. */ @property (nonatomic, strong) NSString *secret; /* */ @property (nonatomic, strong) NSString *humandates; /* */ @property (nonatomic, strong) NSString *privacy_filter; /* */ @property (nonatomic, strong) NSString *get_contexts; /* Return geofence information in the photo's location property */ @property (nonatomic, strong) NSString *get_geofences; /* */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.m ================================================ // // FKFlickrPhotosGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetInfo.h" @implementation FKFlickrPhotosGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.secret) { [args setValue:self.secret forKey:@"secret"]; } if(self.humandates) { [args setValue:self.humandates forKey:@"humandates"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.get_contexts) { [args setValue:self.get_contexts forKey:@"get_contexts"]; } if(self.get_geofences) { [args setValue:self.get_geofences forKey:@"get_geofences"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetInfoError_PhotoNotFound: return @"Photo not found."; case FKFlickrPhotosGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.h ================================================ // // FKFlickrPhotosGetNotInSet.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetNotInSetError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetNotInSetError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetNotInSetError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetNotInSetError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetNotInSetError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetNotInSetError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetNotInSetError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetNotInSetError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetNotInSetError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetNotInSetError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetNotInSetError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetNotInSetError; /* Returns a list of your photos that are not part of any sets. */ @interface FKFlickrPhotosGetNotInSet : NSObject /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *max_taken_date; /* Return photos only matching a certain privacy level. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* Filter results by media type. Possible values are all (default), photos or videos */ @property (nonatomic, strong) NSString *media; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *min_upload_date; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m ================================================ // // FKFlickrPhotosGetNotInSet.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetNotInSet.h" @implementation FKFlickrPhotosGetNotInSet - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getNotInSet"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.media) { [args setValue:self.media forKey:@"media"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetNotInSetError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetNotInSetError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetNotInSetError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetNotInSetError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetNotInSetError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetNotInSetError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetNotInSetError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetNotInSetError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetNotInSetError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetNotInSetError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetNotInSetError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h ================================================ // // FKFlickrPhotosGetPerms.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetPermsError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */ FKFlickrPhotosGetPermsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetPermsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetPermsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetPermsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetPermsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetPermsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetPermsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetPermsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetPermsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetPermsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetPermsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetPermsError; /* Get permissions for a photo. Response: */ @interface FKFlickrPhotosGetPerms : NSObject /* The id of the photo to get permissions for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.m ================================================ // // FKFlickrPhotosGetPerms.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetPerms.h" @implementation FKFlickrPhotosGetPerms - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getPerms"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetPermsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGetPermsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetPermsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetPermsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetPermsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetPermsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetPermsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetPermsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetPermsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetPermsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetPermsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetPermsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.h ================================================ // // FKFlickrPhotosGetRecent.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetRecentError_BadValueForJump_toMustBeValidPhotoId = 1, /* */ FKFlickrPhotosGetRecentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetRecentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetRecentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetRecentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetRecentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetRecentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetRecentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetRecentError; /* Returns a list of the latest public photos uploaded to flickr. */ @interface FKFlickrPhotosGetRecent : NSObject /* */ @property (nonatomic, strong) NSString *jump_to; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m ================================================ // // FKFlickrPhotosGetRecent.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetRecent.h" @implementation FKFlickrPhotosGetRecent - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getRecent"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.jump_to) { [args setValue:self.jump_to forKey:@"jump_to"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetRecentError_BadValueForJump_toMustBeValidPhotoId: return @"bad value for jump_to, must be valid photo id."; case FKFlickrPhotosGetRecentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetRecentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetRecentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetRecentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetRecentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetRecentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetRecentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h ================================================ // // FKFlickrPhotosGetSizes.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetSizesError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id. */ FKFlickrPhotosGetSizesError_PermissionDenied = 2, /* The calling user does not have permission to view the photo. */ FKFlickrPhotosGetSizesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetSizesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetSizesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetSizesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetSizesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetSizesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetSizesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetSizesError; /* Returns the available sizes for a photo. The calling user must have permission to view the photo. Response: */ @interface FKFlickrPhotosGetSizes : NSObject /* The id of the photo to fetch size information for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.m ================================================ // // FKFlickrPhotosGetSizes.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetSizes.h" @implementation FKFlickrPhotosGetSizes - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.getSizes"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetSizesError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGetSizesError_PermissionDenied: return @"Permission denied"; case FKFlickrPhotosGetSizesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetSizesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetSizesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetSizesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetSizesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetSizesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetSizesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.h ================================================ // // FKFlickrPhotosGetUntagged.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetUntaggedError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetUntaggedError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetUntaggedError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetUntaggedError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetUntaggedError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetUntaggedError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetUntaggedError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetUntaggedError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetUntaggedError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetUntaggedError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetUntaggedError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetUntaggedError; /* Returns a list of your photos with no tags. */ @interface FKFlickrPhotosGetUntagged : NSObject /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *max_taken_date; /* Return photos only matching a certain privacy level. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* Filter results by media type. Possible values are all (default), photos or videos */ @property (nonatomic, strong) NSString *media; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m ================================================ // // FKFlickrPhotosGetUntagged.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetUntagged.h" @implementation FKFlickrPhotosGetUntagged - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getUntagged"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.media) { [args setValue:self.media forKey:@"media"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetUntaggedError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetUntaggedError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetUntaggedError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetUntaggedError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetUntaggedError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetUntaggedError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetUntaggedError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetUntaggedError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetUntaggedError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetUntaggedError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetUntaggedError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h ================================================ // // FKFlickrPhotosGetWithGeoData.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetWithGeoDataError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetWithGeoDataError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetWithGeoDataError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetWithGeoDataError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetWithGeoDataError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetWithGeoDataError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetWithGeoDataError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetWithGeoDataError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetWithGeoDataError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetWithGeoDataError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetWithGeoDataError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetWithGeoDataError; /* Returns a list of your geo-tagged photos. */ @interface FKFlickrPhotosGetWithGeoData : NSObject /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *max_taken_date; /* Return photos only matching a certain privacy level. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* The order in which to sort returned photos. Deafults to date-posted-desc. The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, and interestingness-asc. */ @property (nonatomic, strong) NSString *sort; /* Filter results by media type. Possible values are all (default), photos or videos */ @property (nonatomic, strong) NSString *media; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m ================================================ // // FKFlickrPhotosGetWithGeoData.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetWithGeoData.h" @implementation FKFlickrPhotosGetWithGeoData - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getWithGeoData"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.sort) { [args setValue:self.sort forKey:@"sort"]; } if(self.media) { [args setValue:self.media forKey:@"media"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetWithGeoDataError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetWithGeoDataError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetWithGeoDataError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetWithGeoDataError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetWithGeoDataError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetWithGeoDataError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetWithGeoDataError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetWithGeoDataError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetWithGeoDataError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetWithGeoDataError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetWithGeoDataError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h ================================================ // // FKFlickrPhotosGetWithoutGeoData.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGetWithoutGeoDataError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGetWithoutGeoDataError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGetWithoutGeoDataError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGetWithoutGeoDataError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGetWithoutGeoDataError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGetWithoutGeoDataError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGetWithoutGeoDataError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGetWithoutGeoDataError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGetWithoutGeoDataError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGetWithoutGeoDataError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGetWithoutGeoDataError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGetWithoutGeoDataError; /* Returns a list of your photos which haven't been geo-tagged. */ @interface FKFlickrPhotosGetWithoutGeoData : NSObject /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *max_taken_date; /* Return photos only matching a certain privacy level. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* The order in which to sort returned photos. Deafults to date-posted-desc. The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, and interestingness-asc. */ @property (nonatomic, strong) NSString *sort; /* Filter results by media type. Possible values are all (default), photos or videos */ @property (nonatomic, strong) NSString *media; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *min_upload_date; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m ================================================ // // FKFlickrPhotosGetWithoutGeoData.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGetWithoutGeoData.h" @implementation FKFlickrPhotosGetWithoutGeoData - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.getWithoutGeoData"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.sort) { [args setValue:self.sort forKey:@"sort"]; } if(self.media) { [args setValue:self.media forKey:@"media"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGetWithoutGeoDataError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGetWithoutGeoDataError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGetWithoutGeoDataError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGetWithoutGeoDataError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGetWithoutGeoDataError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGetWithoutGeoDataError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGetWithoutGeoDataError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGetWithoutGeoDataError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGetWithoutGeoDataError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGetWithoutGeoDataError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGetWithoutGeoDataError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h ================================================ // // FKFlickrPhotosRecentlyUpdated.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosRecentlyUpdatedError_RequiredArgumentMissing = 1, /* Some or all of the required arguments were not supplied. */ FKFlickrPhotosRecentlyUpdatedError_NotAValidDate = 2, /* The date argument did not pass validation. */ FKFlickrPhotosRecentlyUpdatedError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosRecentlyUpdatedError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosRecentlyUpdatedError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosRecentlyUpdatedError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosRecentlyUpdatedError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosRecentlyUpdatedError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosRecentlyUpdatedError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosRecentlyUpdatedError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosRecentlyUpdatedError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosRecentlyUpdatedError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosRecentlyUpdatedError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosRecentlyUpdatedError; /*

Return a list of your photos that have been recently created or which have been recently modified.

Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)

Photos are sorted by their date updated timestamp, in descending order.

Response: */ @interface FKFlickrPhotosRecentlyUpdated : NSObject /* A Unix timestamp or any English textual datetime description indicating the date from which modifications should be compared. */ @property (nonatomic, strong) NSString *min_date; /* (Required) */ /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m ================================================ // // FKFlickrPhotosRecentlyUpdated.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosRecentlyUpdated.h" @implementation FKFlickrPhotosRecentlyUpdated - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.recentlyUpdated"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.min_date) { valid = NO; [errorDescription appendString:@"'min_date', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.min_date) { [args setValue:self.min_date forKey:@"min_date"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosRecentlyUpdatedError_RequiredArgumentMissing: return @"Required argument missing."; case FKFlickrPhotosRecentlyUpdatedError_NotAValidDate: return @"Not a valid date"; case FKFlickrPhotosRecentlyUpdatedError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosRecentlyUpdatedError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosRecentlyUpdatedError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosRecentlyUpdatedError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosRecentlyUpdatedError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosRecentlyUpdatedError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosRecentlyUpdatedError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosRecentlyUpdatedError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosRecentlyUpdatedError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosRecentlyUpdatedError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosRecentlyUpdatedError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h ================================================ // // FKFlickrPhotosRemoveTag.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosRemoveTagError_TagNotFound = 1, /* The calling user doesn't have permission to delete the specified tag. This could mean it belongs to someone else, or doesn't exist. */ FKFlickrPhotosRemoveTagError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosRemoveTagError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosRemoveTagError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosRemoveTagError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosRemoveTagError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosRemoveTagError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosRemoveTagError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosRemoveTagError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosRemoveTagError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosRemoveTagError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosRemoveTagError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosRemoveTagError; /* Remove a tag from a photo. */ @interface FKFlickrPhotosRemoveTag : NSObject /* The tag to remove from the photo. This parameter should contain a tag id, as returned by flickr.photos.getInfo. */ @property (nonatomic, strong) NSString *tag_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.m ================================================ // // FKFlickrPhotosRemoveTag.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosRemoveTag.h" @implementation FKFlickrPhotosRemoveTag - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.removeTag"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.tag_id) { valid = NO; [errorDescription appendString:@"'tag_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.tag_id) { [args setValue:self.tag_id forKey:@"tag_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosRemoveTagError_TagNotFound: return @"Tag not found"; case FKFlickrPhotosRemoveTagError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosRemoveTagError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosRemoveTagError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosRemoveTagError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosRemoveTagError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosRemoveTagError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosRemoveTagError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosRemoveTagError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosRemoveTagError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosRemoveTagError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosRemoveTagError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.h ================================================ // // FKFlickrPhotosSearch.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSearchError_TooManyTagsInALLQuery = 1, /* When performing an 'all tags' search, you may not specify more than 20 tags to join together. */ FKFlickrPhotosSearchError_UnknownUser = 2, /* A user_id was passed which did not match a valid flickr user. */ FKFlickrPhotosSearchError_ParameterlessSearchesHaveBeenDisabled = 3, /* To perform a search with no parameters (to get the latest public photos, please use flickr.photos.getRecent instead). */ FKFlickrPhotosSearchError_YouDontHavePermissionToViewThisPool = 4, /* The logged in user (if any) does not have permission to view the pool for this group. */ FKFlickrPhotosSearchError_SorryTheFlickrSearchAPIIsNotCurrentlyAvailable = 10, /* The Flickr API search databases are temporarily unavailable. */ FKFlickrPhotosSearchError_NoValidMachineTags = 11, /* The query styntax for the machine_tags argument did not validate. */ FKFlickrPhotosSearchError_ExceededMaximumAllowableMachineTags = 12, /* The maximum number of machine tags in a single query was exceeded. */ FKFlickrPhotosSearchError_Jump_toNotAvaiableForThisQuery = 13, /* jump_to only supported for some query types. */ FKFlickrPhotosSearchError_BadValueForJump_to = 14, /* jump_to must be valid photo ID. */ FKFlickrPhotosSearchError_PhotoNotFound = 15, /* */ FKFlickrPhotosSearchError_YouCanOnlySearchWithinYourOwnFavorites = 16, /* */ FKFlickrPhotosSearchError_YouCanOnlySearchWithinYourOwnContacts = 17, /* The call tried to use the contacts parameter with no user ID or a user ID other than that of the authenticated user. */ FKFlickrPhotosSearchError_IllogicalArguments = 18, /* The request contained contradictory arguments. */ FKFlickrPhotosSearchError_ExcessivePhotoOffsetInSearch = 20, /* The search requested photos beyond an allowable offset. Reduce the page number or number of results per page for this search. */ FKFlickrPhotosSearchError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSearchError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSearchError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSearchError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSearchError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSearchError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSearchError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSearchError; /* Return a list of photos matching some criteria. Only photos visible to the calling user will be returned. To return private or semi-private photos, the caller must be authenticated with 'read' permissions, and have permission to view the photos. Unauthenticated calls will only return public photos. Please note that Flickr will return at most the first 4,000 results for any given search query. If this is an issue, we recommend trying a more specific query. */ @interface FKFlickrPhotosSearch : NSObject /* The NSID of the user who's photo to search. If this parameter isn't passed then everybody's public photos will be searched. A value of "me" will search against the calling user's photos for authenticated calls. */ @property (nonatomic, strong) NSString *user_id; /* A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. You can exclude results that match a term by prepending it with a - character. */ @property (nonatomic, strong) NSString *tags; /* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ @property (nonatomic, strong) NSString *tag_mode; /* A free text search. Photos who's title, description or tags contain the text will be returned. You can exclude results that match a term by prepending it with a - character. */ @property (nonatomic, strong) NSString *text; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date can be in the form of a mysql datetime or unix timestamp. */ @property (nonatomic, strong) NSString *max_taken_date; /* The license id for photos (for possible values see the flickr.photos.licenses.getInfo method). Multiple licenses may be comma-separated. */ @property (nonatomic, strong) NSString *license; /* The order in which to sort returned photos. Deafults to date-posted-desc (unless you are doing a radial geo query, in which case the default sorting is by ascending distance from the point specified). The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, and relevance. */ @property (nonatomic, strong) NSString *sort; /* Return photos only matching a certain privacy level. This only applies when making an authenticated call to view photos you own. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* A comma-delimited list of 4 values defining the Bounding Box of the area that will be searched.

The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude.

Longitude has a range of -180 to 180 , latitude of -90 to 90. Defaults to -180, -90, 180, 90 if not specified.

Unlike standard photo queries, geo (or bounding box) queries will only return 250 results per page.

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *bbox; /* Recorded accuracy level of the location information. Current range is 1-16 :
  • World level is 1
  • Country is ~3
  • Region is ~6
  • City is ~11
  • Street is ~16
Defaults to maximum value if not specified. */ @property (nonatomic, strong) NSString *accuracy; /* Safe search setting:
  • 1 for safe.
  • 2 for moderate.
  • 3 for restricted.
(Please note: Un-authed calls can only see Safe content.) */ @property (nonatomic, strong) NSString *safe_search; /* Content Type setting:
  • 1 for photos only.
  • 2 for screenshots only.
  • 3 for 'other' only.
  • 4 for photos and screenshots.
  • 5 for screenshots and 'other'.
  • 6 for photos and 'other'.
  • 7 for photos, screenshots, and 'other' (all).
*/ @property (nonatomic, strong) NSString *content_type; /* Aside from passing in a fully formed machine tag, there is a special syntax for searching on specific properties :
  • Find photos using the 'dc' namespace : "machine_tags" => "dc:"
  • Find photos with a title in the 'dc' namespace : "machine_tags" => "dc:title="
  • Find photos titled "mr. camera" in the 'dc' namespace : "machine_tags" => "dc:title=\"mr. camera\"
  • Find photos whose value is "mr. camera" : "machine_tags" => "*:*=\"mr. camera\""
  • Find photos that have a title, in any namespace : "machine_tags" => "*:title="
  • Find photos that have a title, in any namespace, whose value is "mr. camera" : "machine_tags" => "*:title=\"mr. camera\""
  • Find photos, in the 'dc' namespace whose value is "mr. camera" : "machine_tags" => "dc:*=\"mr. camera\""
Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited to (8). */ @property (nonatomic, strong) NSString *machine_tags; /* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ @property (nonatomic, strong) NSString *machine_tag_mode; /* The id of a group who's pool to search. If specified, only matching photos posted to the group's pool will be returned. */ @property (nonatomic, strong) NSString *group_id; /* boolean. Pass faves=1 along with your user_id to search within your favorites */ @property (nonatomic, strong) NSString *faves; /* Limit results by camera. Camera names must be in the Camera Finder normalized form. flickr.cameras.getList() returns a list of searchable cameras. */ @property (nonatomic, strong) NSString *camera; /* Jump, jump! */ @property (nonatomic, strong) NSString *jump_to; /* Search your contacts. Either 'all' or 'ff' for just friends and family. (Experimental) */ @property (nonatomic, strong) NSString *contacts; /* A 32-bit identifier that uniquely represents spatial entities. (not used if bbox argument is present).

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *woe_id; /* A Flickr place id. (not used if bbox argument is present).

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *place_id; /* Filter results by media type. Possible values are all (default), photos or videos */ @property (nonatomic, strong) NSString *media; /* Any photo that has been geotagged, or if the value is "0" any photo that has not been geotagged.

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *has_geo; /* Geo context is a numeric value representing the photo's geotagginess beyond latitude and longitude. For example, you may wish to search for photos that were taken "indoors" or "outdoors".

The current list of context IDs is :

  • 0, not defined.
  • 1, indoors.
  • 2, outdoors.


Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *geo_context; /* A valid latitude, in decimal format, for doing radial geo queries.

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *lat; /* A valid longitude, in decimal format, for doing radial geo queries.

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future). */ @property (nonatomic, strong) NSString *lon; /* A valid radius used for geo queries, greater than zero and less than 20 miles (or 32 kilometers), for use with point-based geo queries. The default value is 5 (km). */ @property (nonatomic, strong) NSString *radius; /* The unit of measure when doing radial geo queries. Valid options are "mi" (miles) and "km" (kilometers). The default is "km". */ @property (nonatomic, strong) NSString *radius_units; /* Limit the scope of the search to only photos that are part of the Flickr Commons project. Default is false. */ @property (nonatomic, strong) NSString *is_commons; /* Limit the scope of the search to only photos that are in a gallery? Default is false, search all photos. */ @property (nonatomic, strong) NSString *in_gallery; /* The id of a user. Will return photos where the user has been people tagged. A call signed as the person_id in question will return *all* photos the user in, otherwise returns public photos. */ @property (nonatomic, strong) NSString *person_id; /* Limit the scope of the search to only photos that are for sale on Getty. Default is false. */ @property (nonatomic, strong) NSString *is_getty; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m ================================================ // // FKFlickrPhotosSearch.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSearch.h" @implementation FKFlickrPhotosSearch - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.search"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.tags) { [args setValue:self.tags forKey:@"tags"]; } if(self.tag_mode) { [args setValue:self.tag_mode forKey:@"tag_mode"]; } if(self.text) { [args setValue:self.text forKey:@"text"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } if(self.license) { [args setValue:self.license forKey:@"license"]; } if(self.sort) { [args setValue:self.sort forKey:@"sort"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.bbox) { [args setValue:self.bbox forKey:@"bbox"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } if(self.safe_search) { [args setValue:self.safe_search forKey:@"safe_search"]; } if(self.content_type) { [args setValue:self.content_type forKey:@"content_type"]; } if(self.machine_tags) { [args setValue:self.machine_tags forKey:@"machine_tags"]; } if(self.machine_tag_mode) { [args setValue:self.machine_tag_mode forKey:@"machine_tag_mode"]; } if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } if(self.faves) { [args setValue:self.faves forKey:@"faves"]; } if(self.camera) { [args setValue:self.camera forKey:@"camera"]; } if(self.jump_to) { [args setValue:self.jump_to forKey:@"jump_to"]; } if(self.contacts) { [args setValue:self.contacts forKey:@"contacts"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.media) { [args setValue:self.media forKey:@"media"]; } if(self.has_geo) { [args setValue:self.has_geo forKey:@"has_geo"]; } if(self.geo_context) { [args setValue:self.geo_context forKey:@"geo_context"]; } if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.radius) { [args setValue:self.radius forKey:@"radius"]; } if(self.radius_units) { [args setValue:self.radius_units forKey:@"radius_units"]; } if(self.is_commons) { [args setValue:self.is_commons forKey:@"is_commons"]; } if(self.in_gallery) { [args setValue:self.in_gallery forKey:@"in_gallery"]; } if(self.person_id) { [args setValue:self.person_id forKey:@"person_id"]; } if(self.is_getty) { [args setValue:self.is_getty forKey:@"is_getty"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSearchError_TooManyTagsInALLQuery: return @"Too many tags in ALL query"; case FKFlickrPhotosSearchError_UnknownUser: return @"Unknown user"; case FKFlickrPhotosSearchError_ParameterlessSearchesHaveBeenDisabled: return @"Parameterless searches have been disabled"; case FKFlickrPhotosSearchError_YouDontHavePermissionToViewThisPool: return @"You don't have permission to view this pool"; case FKFlickrPhotosSearchError_SorryTheFlickrSearchAPIIsNotCurrentlyAvailable: return @"Sorry, the Flickr search API is not currently available."; case FKFlickrPhotosSearchError_NoValidMachineTags: return @"No valid machine tags"; case FKFlickrPhotosSearchError_ExceededMaximumAllowableMachineTags: return @"Exceeded maximum allowable machine tags"; case FKFlickrPhotosSearchError_Jump_toNotAvaiableForThisQuery: return @"jump_to not avaiable for this query"; case FKFlickrPhotosSearchError_BadValueForJump_to: return @"Bad value for jump_to"; case FKFlickrPhotosSearchError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSearchError_YouCanOnlySearchWithinYourOwnFavorites: return @"You can only search within your own favorites"; case FKFlickrPhotosSearchError_YouCanOnlySearchWithinYourOwnContacts: return @"You can only search within your own contacts"; case FKFlickrPhotosSearchError_IllogicalArguments: return @"Illogical arguments"; case FKFlickrPhotosSearchError_ExcessivePhotoOffsetInSearch: return @"Excessive photo offset in search"; case FKFlickrPhotosSearchError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSearchError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSearchError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSearchError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSearchError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSearchError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSearchError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h ================================================ // // FKFlickrPhotosSetContentType.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSetContentTypeError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */ FKFlickrPhotosSetContentTypeError_RequiredArgumentsMissing = 2, /* Some or all of the required arguments were not supplied. */ FKFlickrPhotosSetContentTypeError_ChangeNotAllowed = 3, /* Changing the content type of this photo is not allowed. */ FKFlickrPhotosSetContentTypeError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSetContentTypeError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSetContentTypeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSetContentTypeError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSetContentTypeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSetContentTypeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSetContentTypeError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSetContentTypeError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSetContentTypeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSetContentTypeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSetContentTypeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSetContentTypeError; /* Set the content type of a photo. Response: */ @interface FKFlickrPhotosSetContentType : NSObject /* The id of the photo to set the adultness of. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The content type of the photo. Must be one of: 1 for Photo, 2 for Screenshot, and 3 for Other. */ @property (nonatomic, strong) NSString *content_type; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.m ================================================ // // FKFlickrPhotosSetContentType.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSetContentType.h" @implementation FKFlickrPhotosSetContentType - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.setContentType"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.content_type) { valid = NO; [errorDescription appendString:@"'content_type', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.content_type) { [args setValue:self.content_type forKey:@"content_type"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSetContentTypeError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSetContentTypeError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrPhotosSetContentTypeError_ChangeNotAllowed: return @"Change not allowed"; case FKFlickrPhotosSetContentTypeError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSetContentTypeError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSetContentTypeError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSetContentTypeError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSetContentTypeError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSetContentTypeError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSetContentTypeError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSetContentTypeError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSetContentTypeError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSetContentTypeError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSetContentTypeError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.h ================================================ // // FKFlickrPhotosSetDates.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSetDatesError_PhotoNotFound = 1, /* The photo id was not the id of a valid photo belonging to the calling user. */ FKFlickrPhotosSetDatesError_NotEnoughArguments = 2, /* No dates were specified to be changed. */ FKFlickrPhotosSetDatesError_InvalidGranularity = 3, /* The value passed for 'granularity' was not a valid flickr date granularity. */ FKFlickrPhotosSetDatesError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSetDatesError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSetDatesError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSetDatesError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSetDatesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSetDatesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSetDatesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSetDatesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSetDatesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSetDatesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSetDatesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSetDatesError; /* Set one or both of the dates for a photo. */ @interface FKFlickrPhotosSetDates : NSObject /* The id of the photo to edit dates for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The date the photo was uploaded to flickr (see the dates documentation) */ @property (nonatomic, strong) NSString *date_posted; /* The date the photo was taken (see the dates documentation) */ @property (nonatomic, strong) NSString *date_taken; /* The granularity of the date the photo was taken (see the dates documentation) */ @property (nonatomic, strong) NSString *date_taken_granularity; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.m ================================================ // // FKFlickrPhotosSetDates.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSetDates.h" @implementation FKFlickrPhotosSetDates - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.setDates"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.date_posted) { [args setValue:self.date_posted forKey:@"date_posted"]; } if(self.date_taken) { [args setValue:self.date_taken forKey:@"date_taken"]; } if(self.date_taken_granularity) { [args setValue:self.date_taken_granularity forKey:@"date_taken_granularity"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSetDatesError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSetDatesError_NotEnoughArguments: return @"Not enough arguments"; case FKFlickrPhotosSetDatesError_InvalidGranularity: return @"Invalid granularity"; case FKFlickrPhotosSetDatesError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSetDatesError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSetDatesError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSetDatesError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSetDatesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSetDatesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSetDatesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSetDatesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSetDatesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSetDatesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSetDatesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.h ================================================ // // FKFlickrPhotosSetMeta.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSetMetaError_PhotoNotFound = 1, /* The photo id passed was not the id of a photo belonging to the calling user. It might be an invalid id, or the photo might be owned by another user. */ FKFlickrPhotosSetMetaError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSetMetaError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSetMetaError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSetMetaError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSetMetaError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSetMetaError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSetMetaError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSetMetaError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSetMetaError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSetMetaError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSetMetaError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSetMetaError; /* Set the meta information for a photo. */ @interface FKFlickrPhotosSetMeta : NSObject /* The id of the photo to set information for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The title for the photo. */ @property (nonatomic, strong) NSString *title; /* (Required) */ /* The description for the photo. */ @property (nonatomic, strong) NSString *description; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.m ================================================ // // FKFlickrPhotosSetMeta.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSetMeta.h" @implementation FKFlickrPhotosSetMeta - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.setMeta"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.title) { valid = NO; [errorDescription appendString:@"'title', "]; } if(!self.description) { valid = NO; [errorDescription appendString:@"'description', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.title) { [args setValue:self.title forKey:@"title"]; } if(self.description) { [args setValue:self.description forKey:@"description"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSetMetaError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSetMetaError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSetMetaError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSetMetaError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSetMetaError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSetMetaError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSetMetaError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSetMetaError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSetMetaError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSetMetaError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSetMetaError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSetMetaError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.h ================================================ // // FKFlickrPhotosSetPerms.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSetPermsError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */ FKFlickrPhotosSetPermsError_RequiredArgumentsMissing = 2, /* Some or all of the required arguments were not supplied. */ FKFlickrPhotosSetPermsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSetPermsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSetPermsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSetPermsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSetPermsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSetPermsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSetPermsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSetPermsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSetPermsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSetPermsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSetPermsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSetPermsError; /* Set permissions for a photo. Response: 1234 */ @interface FKFlickrPhotosSetPerms : NSObject /* The id of the photo to set permissions for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* 1 to set the photo to public, 0 to set it to private. */ @property (nonatomic, strong) NSString *is_public; /* (Required) */ /* 1 to make the photo visible to friends when private, 0 to not. */ @property (nonatomic, strong) NSString *is_friend; /* (Required) */ /* 1 to make the photo visible to family when private, 0 to not. */ @property (nonatomic, strong) NSString *is_family; /* (Required) */ /* who can add comments to the photo and it's notes. one of:
0: nobody
1: friends & family
2: contacts
3: everybody */ @property (nonatomic, strong) NSString *perm_comment; /* (Required) */ /* who can add notes and tags to the photo. one of:
0: nobody / just the owner
1: friends & family
2: contacts
3: everybody */ @property (nonatomic, strong) NSString *perm_addmeta; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m ================================================ // // FKFlickrPhotosSetPerms.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSetPerms.h" @implementation FKFlickrPhotosSetPerms - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.setPerms"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.is_public) { valid = NO; [errorDescription appendString:@"'is_public', "]; } if(!self.is_friend) { valid = NO; [errorDescription appendString:@"'is_friend', "]; } if(!self.is_family) { valid = NO; [errorDescription appendString:@"'is_family', "]; } if(!self.perm_comment) { valid = NO; [errorDescription appendString:@"'perm_comment', "]; } if(!self.perm_addmeta) { valid = NO; [errorDescription appendString:@"'perm_addmeta', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.is_public) { [args setValue:self.is_public forKey:@"is_public"]; } if(self.is_friend) { [args setValue:self.is_friend forKey:@"is_friend"]; } if(self.is_family) { [args setValue:self.is_family forKey:@"is_family"]; } if(self.perm_comment) { [args setValue:self.perm_comment forKey:@"perm_comment"]; } if(self.perm_addmeta) { [args setValue:self.perm_addmeta forKey:@"perm_addmeta"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSetPermsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSetPermsError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrPhotosSetPermsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSetPermsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSetPermsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSetPermsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSetPermsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSetPermsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSetPermsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSetPermsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSetPermsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSetPermsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSetPermsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h ================================================ // // FKFlickrPhotosSetSafetyLevel.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSetSafetyLevelError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */ FKFlickrPhotosSetSafetyLevelError_InvalidOrMissingArguments = 2, /* Neither a valid safety level nor a hidden value were passed. */ FKFlickrPhotosSetSafetyLevelError_ChangeNotAllowed = 3, /* Changing the safety level of this photo is not allowed. */ FKFlickrPhotosSetSafetyLevelError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSetSafetyLevelError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSetSafetyLevelError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSetSafetyLevelError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSetSafetyLevelError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSetSafetyLevelError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSetSafetyLevelError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSetSafetyLevelError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSetSafetyLevelError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSetSafetyLevelError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSetSafetyLevelError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSetSafetyLevelError; /* Set the safety level of a photo. Response: */ @interface FKFlickrPhotosSetSafetyLevel : NSObject /* The id of the photo to set the adultness of. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The safety level of the photo. Must be one of: 1 for Safe, 2 for Moderate, and 3 for Restricted. */ @property (nonatomic, strong) NSString *safety_level; /* Whether or not to additionally hide the photo from public searches. Must be either 1 for Yes or 0 for No. */ @property (nonatomic, strong) NSString *hidden; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.m ================================================ // // FKFlickrPhotosSetSafetyLevel.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSetSafetyLevel.h" @implementation FKFlickrPhotosSetSafetyLevel - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.setSafetyLevel"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.safety_level) { [args setValue:self.safety_level forKey:@"safety_level"]; } if(self.hidden) { [args setValue:self.hidden forKey:@"hidden"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSetSafetyLevelError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSetSafetyLevelError_InvalidOrMissingArguments: return @"Invalid or missing arguments"; case FKFlickrPhotosSetSafetyLevelError_ChangeNotAllowed: return @"Change not allowed"; case FKFlickrPhotosSetSafetyLevelError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSetSafetyLevelError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSetSafetyLevelError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSetSafetyLevelError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSetSafetyLevelError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSetSafetyLevelError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSetSafetyLevelError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSetSafetyLevelError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSetSafetyLevelError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSetSafetyLevelError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSetSafetyLevelError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.h ================================================ // // FKFlickrPhotosSetTags.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSetTagsError_PhotoNotFound = 1, /* The photo id passed was not the id of a photo belonging to the calling user. It might be an invalid id, or the photo might be owned by another user. */ FKFlickrPhotosSetTagsError_MaximumNumberOfTagsReached = 2, /* The number of tags specified exceeds the limit for the photo. No tags were modified. */ FKFlickrPhotosSetTagsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSetTagsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSetTagsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSetTagsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSetTagsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSetTagsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSetTagsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSetTagsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSetTagsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSetTagsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSetTagsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSetTagsError; /* Set the tags for a photo. */ @interface FKFlickrPhotosSetTags : NSObject /* The id of the photo to set tags for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* All tags for the photo (as a single space-delimited string). */ @property (nonatomic, strong) NSString *tags; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.m ================================================ // // FKFlickrPhotosSetTags.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSetTags.h" @implementation FKFlickrPhotosSetTags - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.setTags"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.tags) { valid = NO; [errorDescription appendString:@"'tags', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.tags) { [args setValue:self.tags forKey:@"tags"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSetTagsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosSetTagsError_MaximumNumberOfTagsReached: return @"Maximum number of tags reached"; case FKFlickrPhotosSetTagsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSetTagsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSetTagsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSetTagsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSetTagsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSetTagsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSetTagsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSetTagsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSetTagsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSetTagsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSetTagsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.h ================================================ // // FKFlickrPhotosGeoBatchCorrectLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoBatchCorrectLocationError_RequiredArgumentsMissing = 1, /* Some or all of the required arguments were not supplied. */ FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidLatitude = 2, /* The latitude argument failed validation. */ FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidLongitude = 3, /* The longitude argument failed validation. */ FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidAccuracy = 4, /* The accuracy argument failed validation. */ FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidPlacesID = 5, /* An invalid Places (or WOE) ID was passed with the API call. */ FKFlickrPhotosGeoBatchCorrectLocationError_NoPhotosGeotaggedAtThatLocation = 6, /* There were no geotagged photos found for the authed user at the supplied latitude, longitude and accuracy. */ FKFlickrPhotosGeoBatchCorrectLocationError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoBatchCorrectLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoBatchCorrectLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoBatchCorrectLocationError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoBatchCorrectLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoBatchCorrectLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoBatchCorrectLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoBatchCorrectLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoBatchCorrectLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoBatchCorrectLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoBatchCorrectLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoBatchCorrectLocationError; /* Correct the places hierarchy for all the photos for a user at a given latitude, longitude and accuracy.

Batch corrections are processed in a delayed queue so it may take a few minutes before the changes are reflected in a user's photos. */ @interface FKFlickrPhotosGeoBatchCorrectLocation : NSObject /* The latitude of the photos to be update whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lat; /* (Required) */ /* The longitude of the photos to be updated whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lon; /* (Required) */ /* Recorded accuracy level of the photos to be updated. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified. */ @property (nonatomic, strong) NSString *accuracy; /* (Required) */ /* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.m ================================================ // // FKFlickrPhotosGeoBatchCorrectLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoBatchCorrectLocation.h" @implementation FKFlickrPhotosGeoBatchCorrectLocation - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.geo.batchCorrectLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.lat) { valid = NO; [errorDescription appendString:@"'lat', "]; } if(!self.lon) { valid = NO; [errorDescription appendString:@"'lon', "]; } if(!self.accuracy) { valid = NO; [errorDescription appendString:@"'accuracy', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoBatchCorrectLocationError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidLatitude: return @"Not a valid latitude"; case FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidLongitude: return @"Not a valid longitude"; case FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidAccuracy: return @"Not a valid accuracy"; case FKFlickrPhotosGeoBatchCorrectLocationError_NotAValidPlacesID: return @"Not a valid Places ID"; case FKFlickrPhotosGeoBatchCorrectLocationError_NoPhotosGeotaggedAtThatLocation: return @"No photos geotagged at that location"; case FKFlickrPhotosGeoBatchCorrectLocationError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoBatchCorrectLocationError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoBatchCorrectLocationError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoBatchCorrectLocationError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoBatchCorrectLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoBatchCorrectLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoBatchCorrectLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoBatchCorrectLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoBatchCorrectLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoBatchCorrectLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoBatchCorrectLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.h ================================================ // // FKFlickrPhotosGeoCorrectLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoCorrectLocationError_UserHasNotConfiguredDefaultViewingSettingsForLocationData = 1, /* Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at http://www.flickr.com/account/geo/privacy/ */ FKFlickrPhotosGeoCorrectLocationError_MissingPlaceID = 2, /* No place ID was passed to the method */ FKFlickrPhotosGeoCorrectLocationError_NotAValidPlaceID = 3, /* The place ID passed to the method could not be identified */ FKFlickrPhotosGeoCorrectLocationError_ServerErrorCorrectingLocation = 4, /* There was an error trying to correct the location. */ FKFlickrPhotosGeoCorrectLocationError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoCorrectLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoCorrectLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoCorrectLocationError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoCorrectLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoCorrectLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoCorrectLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoCorrectLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoCorrectLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoCorrectLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoCorrectLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoCorrectLocationError; /* */ @interface FKFlickrPhotosGeoCorrectLocation : NSObject /* The ID of the photo whose WOE location is being corrected. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; /* The venue ID for a Foursquare location. (If not passed in with correction, any existing foursquare venue will be removed). */ @property (nonatomic, strong) NSString *foursquare_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.m ================================================ // // FKFlickrPhotosGeoCorrectLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoCorrectLocation.h" @implementation FKFlickrPhotosGeoCorrectLocation - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.geo.correctLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.foursquare_id) { valid = NO; [errorDescription appendString:@"'foursquare_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.foursquare_id) { [args setValue:self.foursquare_id forKey:@"foursquare_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoCorrectLocationError_UserHasNotConfiguredDefaultViewingSettingsForLocationData: return @"User has not configured default viewing settings for location data."; case FKFlickrPhotosGeoCorrectLocationError_MissingPlaceID: return @"Missing place ID"; case FKFlickrPhotosGeoCorrectLocationError_NotAValidPlaceID: return @"Not a valid place ID"; case FKFlickrPhotosGeoCorrectLocationError_ServerErrorCorrectingLocation: return @"Server error correcting location."; case FKFlickrPhotosGeoCorrectLocationError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoCorrectLocationError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoCorrectLocationError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoCorrectLocationError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoCorrectLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoCorrectLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoCorrectLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoCorrectLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoCorrectLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoCorrectLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoCorrectLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.h ================================================ // // FKFlickrPhotosGeoGetLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoGetLocationError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGeoGetLocationError_PhotoHasNoLocationInformation = 2, /* The photo requested has no location data or is not viewable by the calling user. */ FKFlickrPhotosGeoGetLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoGetLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoGetLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoGetLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoGetLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoGetLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoGetLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoGetLocationError; /* Get the geo data (latitude and longitude and the accuracy level) for a photo. Response: */ @interface FKFlickrPhotosGeoGetLocation : NSObject /* The id of the photo you want to retrieve location data for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* Extra flags. */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.m ================================================ // // FKFlickrPhotosGeoGetLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoGetLocation.h" @implementation FKFlickrPhotosGeoGetLocation - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.geo.getLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoGetLocationError_PhotoNotFound: return @"Photo not found."; case FKFlickrPhotosGeoGetLocationError_PhotoHasNoLocationInformation: return @"Photo has no location information."; case FKFlickrPhotosGeoGetLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoGetLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoGetLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoGetLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoGetLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoGetLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoGetLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.h ================================================ // // FKFlickrPhotosGeoGetPerms.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoGetPermsError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGeoGetPermsError_PhotoHasNoLocationInformation = 2, /* The photo requested has no location data or is not viewable by the calling user. */ FKFlickrPhotosGeoGetPermsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoGetPermsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoGetPermsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoGetPermsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoGetPermsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoGetPermsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoGetPermsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoGetPermsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoGetPermsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoGetPermsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoGetPermsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoGetPermsError; /* Get permissions for who may view geo data for a photo. Response: */ @interface FKFlickrPhotosGeoGetPerms : NSObject /* The id of the photo to get permissions for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.m ================================================ // // FKFlickrPhotosGeoGetPerms.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoGetPerms.h" @implementation FKFlickrPhotosGeoGetPerms - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.geo.getPerms"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoGetPermsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGeoGetPermsError_PhotoHasNoLocationInformation: return @"Photo has no location information"; case FKFlickrPhotosGeoGetPermsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoGetPermsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoGetPermsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoGetPermsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoGetPermsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoGetPermsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoGetPermsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoGetPermsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoGetPermsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoGetPermsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoGetPermsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.h ================================================ // // FKFlickrPhotosGeoPhotosForLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoPhotosForLocationError_RequiredArgumentsMissing = 1, /* One or more required arguments was missing from the method call. */ FKFlickrPhotosGeoPhotosForLocationError_NotAValidLatitude = 2, /* The latitude argument failed validation. */ FKFlickrPhotosGeoPhotosForLocationError_NotAValidLongitude = 3, /* The longitude argument failed validation. */ FKFlickrPhotosGeoPhotosForLocationError_NotAValidAccuracy = 4, /* The accuracy argument failed validation. */ FKFlickrPhotosGeoPhotosForLocationError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoPhotosForLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoPhotosForLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoPhotosForLocationError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoPhotosForLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoPhotosForLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoPhotosForLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoPhotosForLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoPhotosForLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoPhotosForLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoPhotosForLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoPhotosForLocationError; /* Return a list of photos for the calling user at a specific latitude, longitude and accuracy */ @interface FKFlickrPhotosGeoPhotosForLocation : NSObject /* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lat; /* (Required) */ /* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lon; /* (Required) */ /* Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified. */ @property (nonatomic, strong) NSString *accuracy; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */ @property (nonatomic, strong) NSString *extras; /* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m ================================================ // // FKFlickrPhotosGeoPhotosForLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoPhotosForLocation.h" @implementation FKFlickrPhotosGeoPhotosForLocation - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.geo.photosForLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.lat) { valid = NO; [errorDescription appendString:@"'lat', "]; } if(!self.lon) { valid = NO; [errorDescription appendString:@"'lon', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoPhotosForLocationError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrPhotosGeoPhotosForLocationError_NotAValidLatitude: return @"Not a valid latitude"; case FKFlickrPhotosGeoPhotosForLocationError_NotAValidLongitude: return @"Not a valid longitude"; case FKFlickrPhotosGeoPhotosForLocationError_NotAValidAccuracy: return @"Not a valid accuracy"; case FKFlickrPhotosGeoPhotosForLocationError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoPhotosForLocationError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoPhotosForLocationError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoPhotosForLocationError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoPhotosForLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoPhotosForLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoPhotosForLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoPhotosForLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoPhotosForLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoPhotosForLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoPhotosForLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h ================================================ // // FKFlickrPhotosGeoRemoveLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoRemoveLocationError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGeoRemoveLocationError_PhotoHasNoLocationInformation = 2, /* The specified photo has not been geotagged - there is nothing to remove. */ FKFlickrPhotosGeoRemoveLocationError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoRemoveLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoRemoveLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoRemoveLocationError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoRemoveLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoRemoveLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoRemoveLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoRemoveLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoRemoveLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoRemoveLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoRemoveLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoRemoveLocationError; /* Removes the geo data associated with a photo. */ @interface FKFlickrPhotosGeoRemoveLocation : NSObject /* The id of the photo you want to remove location data from. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.m ================================================ // // FKFlickrPhotosGeoRemoveLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoRemoveLocation.h" @implementation FKFlickrPhotosGeoRemoveLocation - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.geo.removeLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoRemoveLocationError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGeoRemoveLocationError_PhotoHasNoLocationInformation: return @"Photo has no location information"; case FKFlickrPhotosGeoRemoveLocationError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoRemoveLocationError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoRemoveLocationError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoRemoveLocationError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoRemoveLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoRemoveLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoRemoveLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoRemoveLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoRemoveLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoRemoveLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoRemoveLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.h ================================================ // // FKFlickrPhotosGeoSetContext.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoSetContextError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGeoSetContextError_NotAValidContext = 2, /* The context ID passed to the method is invalid. */ FKFlickrPhotosGeoSetContextError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoSetContextError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoSetContextError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoSetContextError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoSetContextError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoSetContextError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoSetContextError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoSetContextError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoSetContextError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoSetContextError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoSetContextError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoSetContextError; /* Indicate the state of a photo's geotagginess beyond latitude and longitude.

Note : photos passed to this method must already be geotagged (using the flickr.photos.geo.setLocation method). */ @interface FKFlickrPhotosGeoSetContext : NSObject /* The id of the photo to set context data for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* Context is a numeric value representing the photo's geotagginess beyond latitude and longitude. For example, you may wish to indicate that a photo was taken "indoors" or "outdoors".

The current list of context IDs is :

  • 0, not defined.
  • 1, indoors.
  • 2, outdoors.
*/ @property (nonatomic, strong) NSString *context; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.m ================================================ // // FKFlickrPhotosGeoSetContext.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoSetContext.h" @implementation FKFlickrPhotosGeoSetContext - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.geo.setContext"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.context) { valid = NO; [errorDescription appendString:@"'context', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.context) { [args setValue:self.context forKey:@"context"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoSetContextError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGeoSetContextError_NotAValidContext: return @"Not a valid context"; case FKFlickrPhotosGeoSetContextError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoSetContextError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoSetContextError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoSetContextError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoSetContextError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoSetContextError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoSetContextError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoSetContextError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoSetContextError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoSetContextError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoSetContextError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.h ================================================ // // FKFlickrPhotosGeoSetLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoSetLocationError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGeoSetLocationError_RequiredArgumentsMissing = 2, /* Some or all of the required arguments were not supplied. */ FKFlickrPhotosGeoSetLocationError_NotAValidLatitude = 3, /* The latitude argument failed validation. */ FKFlickrPhotosGeoSetLocationError_NotAValidLongitude = 4, /* The longitude argument failed validation. */ FKFlickrPhotosGeoSetLocationError_NotAValidAccuracy = 5, /* The accuracy argument failed validation. */ FKFlickrPhotosGeoSetLocationError_ServerError = 6, /* There was an unexpected problem setting location information to the photo. */ FKFlickrPhotosGeoSetLocationError_UserHasNotConfiguredDefaultViewingSettingsForLocationData = 7, /* Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at http://www.flickr.com/account/geo/privacy/ */ FKFlickrPhotosGeoSetLocationError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoSetLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoSetLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoSetLocationError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoSetLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoSetLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoSetLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoSetLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoSetLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoSetLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoSetLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoSetLocationError; /* Sets the geo data (latitude and longitude and, optionally, the accuracy level) for a photo. Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at http://www.flickr.com/account/geo/privacy/. If a user has not set this preference, the API method will return an error. */ @interface FKFlickrPhotosGeoSetLocation : NSObject /* The id of the photo to set location data for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lat; /* (Required) */ /* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lon; /* (Required) */ /* Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified. */ @property (nonatomic, strong) NSString *accuracy; /* Context is a numeric value representing the photo's geotagginess beyond latitude and longitude. For example, you may wish to indicate that a photo was taken "indoors" or "outdoors".

The current list of context IDs is :

  • 0, not defined.
  • 1, indoors.
  • 2, outdoors.

The default context for geotagged photos is 0, or "not defined" */ @property (nonatomic, strong) NSString *context; /* Associate a geo bookmark with this photo. */ @property (nonatomic, strong) NSString *bookmark_id; /* */ @property (nonatomic, strong) NSString *is_public; /* */ @property (nonatomic, strong) NSString *is_contact; /* */ @property (nonatomic, strong) NSString *is_friend; /* */ @property (nonatomic, strong) NSString *is_family; /* The venue ID for a Foursquare location. */ @property (nonatomic, strong) NSString *foursquare_id; /* A Where On Earth (WOE) ID. (If passed in, will override the default venue based on the lat/lon.) */ @property (nonatomic, strong) NSString *woeid; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.m ================================================ // // FKFlickrPhotosGeoSetLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoSetLocation.h" @implementation FKFlickrPhotosGeoSetLocation - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.geo.setLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.lat) { valid = NO; [errorDescription appendString:@"'lat', "]; } if(!self.lon) { valid = NO; [errorDescription appendString:@"'lon', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } if(self.context) { [args setValue:self.context forKey:@"context"]; } if(self.bookmark_id) { [args setValue:self.bookmark_id forKey:@"bookmark_id"]; } if(self.is_public) { [args setValue:self.is_public forKey:@"is_public"]; } if(self.is_contact) { [args setValue:self.is_contact forKey:@"is_contact"]; } if(self.is_friend) { [args setValue:self.is_friend forKey:@"is_friend"]; } if(self.is_family) { [args setValue:self.is_family forKey:@"is_family"]; } if(self.foursquare_id) { [args setValue:self.foursquare_id forKey:@"foursquare_id"]; } if(self.woeid) { [args setValue:self.woeid forKey:@"woeid"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoSetLocationError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGeoSetLocationError_RequiredArgumentsMissing: return @"Required arguments missing."; case FKFlickrPhotosGeoSetLocationError_NotAValidLatitude: return @"Not a valid latitude."; case FKFlickrPhotosGeoSetLocationError_NotAValidLongitude: return @"Not a valid longitude."; case FKFlickrPhotosGeoSetLocationError_NotAValidAccuracy: return @"Not a valid accuracy."; case FKFlickrPhotosGeoSetLocationError_ServerError: return @"Server error."; case FKFlickrPhotosGeoSetLocationError_UserHasNotConfiguredDefaultViewingSettingsForLocationData: return @"User has not configured default viewing settings for location data."; case FKFlickrPhotosGeoSetLocationError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoSetLocationError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoSetLocationError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoSetLocationError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoSetLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoSetLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoSetLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoSetLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoSetLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoSetLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoSetLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.h ================================================ // // FKFlickrPhotosGeoSetPerms.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosGeoSetPermsError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */ FKFlickrPhotosGeoSetPermsError_PhotoHasNoLocationInformation = 2, /* The photo requested has no location data or is not viewable by the calling user. */ FKFlickrPhotosGeoSetPermsError_RequiredArgumentsMissing = 3, /* Some or all of the required arguments were not supplied. */ FKFlickrPhotosGeoSetPermsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosGeoSetPermsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosGeoSetPermsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosGeoSetPermsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosGeoSetPermsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosGeoSetPermsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosGeoSetPermsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosGeoSetPermsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosGeoSetPermsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosGeoSetPermsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosGeoSetPermsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosGeoSetPermsError; /* Set the permission for who may view the geo data associated with a photo. */ @interface FKFlickrPhotosGeoSetPerms : NSObject /* 1 to set viewing permissions for the photo's location data to public, 0 to set it to private. */ @property (nonatomic, strong) NSString *is_public; /* (Required) */ /* 1 to set viewing permissions for the photo's location data to contacts, 0 to set it to private. */ @property (nonatomic, strong) NSString *is_contact; /* (Required) */ /* 1 to set viewing permissions for the photo's location data to friends, 0 to set it to private. */ @property (nonatomic, strong) NSString *is_friend; /* (Required) */ /* 1 to set viewing permissions for the photo's location data to family, 0 to set it to private. */ @property (nonatomic, strong) NSString *is_family; /* (Required) */ /* The id of the photo to get permissions for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.m ================================================ // // FKFlickrPhotosGeoSetPerms.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosGeoSetPerms.h" @implementation FKFlickrPhotosGeoSetPerms - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.geo.setPerms"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.is_public) { valid = NO; [errorDescription appendString:@"'is_public', "]; } if(!self.is_contact) { valid = NO; [errorDescription appendString:@"'is_contact', "]; } if(!self.is_friend) { valid = NO; [errorDescription appendString:@"'is_friend', "]; } if(!self.is_family) { valid = NO; [errorDescription appendString:@"'is_family', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.is_public) { [args setValue:self.is_public forKey:@"is_public"]; } if(self.is_contact) { [args setValue:self.is_contact forKey:@"is_contact"]; } if(self.is_friend) { [args setValue:self.is_friend forKey:@"is_friend"]; } if(self.is_family) { [args setValue:self.is_family forKey:@"is_family"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosGeoSetPermsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosGeoSetPermsError_PhotoHasNoLocationInformation: return @"Photo has no location information"; case FKFlickrPhotosGeoSetPermsError_RequiredArgumentsMissing: return @"Required arguments missing."; case FKFlickrPhotosGeoSetPermsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosGeoSetPermsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosGeoSetPermsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosGeoSetPermsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosGeoSetPermsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosGeoSetPermsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosGeoSetPermsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosGeoSetPermsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosGeoSetPermsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosGeoSetPermsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosGeoSetPermsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.h ================================================ // // FKFlickrPhotosLicensesGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosLicensesGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosLicensesGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosLicensesGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosLicensesGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosLicensesGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosLicensesGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosLicensesGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosLicensesGetInfoError; /* Fetches a list of available photo licenses for Flickr. Response: */ @interface FKFlickrPhotosLicensesGetInfo : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.m ================================================ // // FKFlickrPhotosLicensesGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosLicensesGetInfo.h" @implementation FKFlickrPhotosLicensesGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.licenses.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosLicensesGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosLicensesGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosLicensesGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosLicensesGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosLicensesGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosLicensesGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosLicensesGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.h ================================================ // // FKFlickrPhotosLicensesSetLicense.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosLicensesSetLicenseError_PhotoNotFound = 1, /* The specified id was not the id of a valif photo owner by the calling user. */ FKFlickrPhotosLicensesSetLicenseError_LicenseNotFound = 2, /* The license id was not valid. */ FKFlickrPhotosLicensesSetLicenseError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosLicensesSetLicenseError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosLicensesSetLicenseError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosLicensesSetLicenseError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosLicensesSetLicenseError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosLicensesSetLicenseError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosLicensesSetLicenseError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosLicensesSetLicenseError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosLicensesSetLicenseError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosLicensesSetLicenseError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosLicensesSetLicenseError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosLicensesSetLicenseError; /* Sets the license for a photo. */ @interface FKFlickrPhotosLicensesSetLicense : NSObject /* The photo to update the license for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The license to apply, or 0 (zero) to remove the current license. Note : as of this writing the "no known copyright restrictions" license (7) is not a valid argument. */ @property (nonatomic, strong) NSString *license_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.m ================================================ // // FKFlickrPhotosLicensesSetLicense.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosLicensesSetLicense.h" @implementation FKFlickrPhotosLicensesSetLicense - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.licenses.setLicense"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.license_id) { valid = NO; [errorDescription appendString:@"'license_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.license_id) { [args setValue:self.license_id forKey:@"license_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosLicensesSetLicenseError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosLicensesSetLicenseError_LicenseNotFound: return @"License not found"; case FKFlickrPhotosLicensesSetLicenseError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosLicensesSetLicenseError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosLicensesSetLicenseError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosLicensesSetLicenseError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosLicensesSetLicenseError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosLicensesSetLicenseError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosLicensesSetLicenseError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosLicensesSetLicenseError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosLicensesSetLicenseError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosLicensesSetLicenseError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosLicensesSetLicenseError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.h ================================================ // // FKFlickrPhotosNotesAdd.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosNotesAddError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id */ FKFlickrPhotosNotesAddError_UserCannotAddNotes = 2, /* The calling user does not have permission to add a note to this photo */ FKFlickrPhotosNotesAddError_MissingRequiredArguments = 3, /* One or more of the required arguments were not supplied. */ FKFlickrPhotosNotesAddError_MaximumNumberOfNotesReached = 4, /* The maximum number of notes for the photo has been reached. */ FKFlickrPhotosNotesAddError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosNotesAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosNotesAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosNotesAddError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosNotesAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosNotesAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosNotesAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosNotesAddError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosNotesAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosNotesAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosNotesAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosNotesAddError; /* Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages. Response: */ @interface FKFlickrPhotosNotesAdd : NSObject /* The id of the photo to add a note to */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The left coordinate of the note */ @property (nonatomic, strong) NSString *note_x; /* (Required) */ /* The top coordinate of the note */ @property (nonatomic, strong) NSString *note_y; /* (Required) */ /* The width of the note */ @property (nonatomic, strong) NSString *note_w; /* (Required) */ /* The height of the note */ @property (nonatomic, strong) NSString *note_h; /* (Required) */ /* The description of the note */ @property (nonatomic, strong) NSString *note_text; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.m ================================================ // // FKFlickrPhotosNotesAdd.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosNotesAdd.h" @implementation FKFlickrPhotosNotesAdd - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.notes.add"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.note_x) { valid = NO; [errorDescription appendString:@"'note_x', "]; } if(!self.note_y) { valid = NO; [errorDescription appendString:@"'note_y', "]; } if(!self.note_w) { valid = NO; [errorDescription appendString:@"'note_w', "]; } if(!self.note_h) { valid = NO; [errorDescription appendString:@"'note_h', "]; } if(!self.note_text) { valid = NO; [errorDescription appendString:@"'note_text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.note_x) { [args setValue:self.note_x forKey:@"note_x"]; } if(self.note_y) { [args setValue:self.note_y forKey:@"note_y"]; } if(self.note_w) { [args setValue:self.note_w forKey:@"note_w"]; } if(self.note_h) { [args setValue:self.note_h forKey:@"note_h"]; } if(self.note_text) { [args setValue:self.note_text forKey:@"note_text"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosNotesAddError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosNotesAddError_UserCannotAddNotes: return @"User cannot add notes"; case FKFlickrPhotosNotesAddError_MissingRequiredArguments: return @"Missing required arguments"; case FKFlickrPhotosNotesAddError_MaximumNumberOfNotesReached: return @"Maximum number of notes reached"; case FKFlickrPhotosNotesAddError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosNotesAddError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosNotesAddError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosNotesAddError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosNotesAddError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosNotesAddError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosNotesAddError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosNotesAddError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosNotesAddError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosNotesAddError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosNotesAddError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.h ================================================ // // FKFlickrPhotosNotesDelete.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosNotesDeleteError_NoteNotFound = 1, /* The note id passed was not a valid note id */ FKFlickrPhotosNotesDeleteError_UserCannotDeleteNote = 2, /* The calling user does not have permission to delete the specified note */ FKFlickrPhotosNotesDeleteError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosNotesDeleteError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosNotesDeleteError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosNotesDeleteError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosNotesDeleteError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosNotesDeleteError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosNotesDeleteError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosNotesDeleteError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosNotesDeleteError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosNotesDeleteError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosNotesDeleteError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosNotesDeleteError; /* Delete a note from a photo. */ @interface FKFlickrPhotosNotesDelete : NSObject /* The id of the note to delete */ @property (nonatomic, strong) NSString *note_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.m ================================================ // // FKFlickrPhotosNotesDelete.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosNotesDelete.h" @implementation FKFlickrPhotosNotesDelete - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.notes.delete"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.note_id) { valid = NO; [errorDescription appendString:@"'note_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.note_id) { [args setValue:self.note_id forKey:@"note_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosNotesDeleteError_NoteNotFound: return @"Note not found"; case FKFlickrPhotosNotesDeleteError_UserCannotDeleteNote: return @"User cannot delete note"; case FKFlickrPhotosNotesDeleteError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosNotesDeleteError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosNotesDeleteError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosNotesDeleteError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosNotesDeleteError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosNotesDeleteError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosNotesDeleteError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosNotesDeleteError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosNotesDeleteError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosNotesDeleteError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosNotesDeleteError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.h ================================================ // // FKFlickrPhotosNotesEdit.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosNotesEditError_NoteNotFound = 1, /* The note id passed was not a valid note id */ FKFlickrPhotosNotesEditError_UserCannotEditNote = 2, /* The calling user does not have permission to edit the specified note */ FKFlickrPhotosNotesEditError_MissingRequiredArguments = 3, /* One or more of the required arguments were not supplied. */ FKFlickrPhotosNotesEditError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosNotesEditError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosNotesEditError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosNotesEditError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosNotesEditError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosNotesEditError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosNotesEditError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosNotesEditError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosNotesEditError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosNotesEditError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosNotesEditError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosNotesEditError; /* Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages. */ @interface FKFlickrPhotosNotesEdit : NSObject /* The id of the note to edit */ @property (nonatomic, strong) NSString *note_id; /* (Required) */ /* The left coordinate of the note */ @property (nonatomic, strong) NSString *note_x; /* (Required) */ /* The top coordinate of the note */ @property (nonatomic, strong) NSString *note_y; /* (Required) */ /* The width of the note */ @property (nonatomic, strong) NSString *note_w; /* (Required) */ /* The height of the note */ @property (nonatomic, strong) NSString *note_h; /* (Required) */ /* The description of the note */ @property (nonatomic, strong) NSString *note_text; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.m ================================================ // // FKFlickrPhotosNotesEdit.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosNotesEdit.h" @implementation FKFlickrPhotosNotesEdit - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.notes.edit"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.note_id) { valid = NO; [errorDescription appendString:@"'note_id', "]; } if(!self.note_x) { valid = NO; [errorDescription appendString:@"'note_x', "]; } if(!self.note_y) { valid = NO; [errorDescription appendString:@"'note_y', "]; } if(!self.note_w) { valid = NO; [errorDescription appendString:@"'note_w', "]; } if(!self.note_h) { valid = NO; [errorDescription appendString:@"'note_h', "]; } if(!self.note_text) { valid = NO; [errorDescription appendString:@"'note_text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.note_id) { [args setValue:self.note_id forKey:@"note_id"]; } if(self.note_x) { [args setValue:self.note_x forKey:@"note_x"]; } if(self.note_y) { [args setValue:self.note_y forKey:@"note_y"]; } if(self.note_w) { [args setValue:self.note_w forKey:@"note_w"]; } if(self.note_h) { [args setValue:self.note_h forKey:@"note_h"]; } if(self.note_text) { [args setValue:self.note_text forKey:@"note_text"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosNotesEditError_NoteNotFound: return @"Note not found"; case FKFlickrPhotosNotesEditError_UserCannotEditNote: return @"User cannot edit note"; case FKFlickrPhotosNotesEditError_MissingRequiredArguments: return @"Missing required arguments"; case FKFlickrPhotosNotesEditError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosNotesEditError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosNotesEditError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosNotesEditError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosNotesEditError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosNotesEditError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosNotesEditError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosNotesEditError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosNotesEditError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosNotesEditError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosNotesEditError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.h ================================================ // // FKFlickrPhotosPeopleAdd.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosPeopleAddError_PersonNotFound = 1, /* The NSID passed was not a valid user id. */ FKFlickrPhotosPeopleAddError_PhotoNotFound = 2, /* The photo id passed was not a valid photo id. */ FKFlickrPhotosPeopleAddError_UserCannotAddThisPersonToPhotos = 3, /* The person being added to the photo does not allow the calling user to add them. */ FKFlickrPhotosPeopleAddError_UserCannotAddPeopleToThatPhoto = 4, /* The owner of the photo doesn't allow the calling user to add people to their photos. */ FKFlickrPhotosPeopleAddError_PersonCantBeTaggedInThatPhoto = 5, /* The person being added to the photo does not want to be identified in this photo. */ FKFlickrPhotosPeopleAddError_SomeCoordinateParamtersWereBlank = 6, /* Not all of the co-ordinate parameters (person_x, person_y, person_w, person_h) were passed with valid values. */ FKFlickrPhotosPeopleAddError_CantAddThatPersonToANonpublicPhoto = 7, /* You can only add yourself to another member's non-public photos. */ FKFlickrPhotosPeopleAddError_TooManyPeopleInThatPhoto = 8, /* The maximum number of people has already been added to the photo. */ FKFlickrPhotosPeopleAddError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosPeopleAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosPeopleAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosPeopleAddError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosPeopleAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosPeopleAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosPeopleAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosPeopleAddError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosPeopleAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosPeopleAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosPeopleAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosPeopleAddError; /* Add a person to a photo. Coordinates and sizes of boxes are optional; they are measured in pixels, based on the 500px image size shown on individual photo pages. */ @interface FKFlickrPhotosPeopleAdd : NSObject /* The id of the photo to add a person to. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The NSID of the user to add to the photo. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* The left-most pixel co-ordinate of the box around the person. */ @property (nonatomic, strong) NSString *person_x; /* The top-most pixel co-ordinate of the box around the person. */ @property (nonatomic, strong) NSString *person_y; /* The width (in pixels) of the box around the person. */ @property (nonatomic, strong) NSString *person_w; /* The height (in pixels) of the box around the person. */ @property (nonatomic, strong) NSString *person_h; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.m ================================================ // // FKFlickrPhotosPeopleAdd.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosPeopleAdd.h" @implementation FKFlickrPhotosPeopleAdd - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.people.add"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.person_x) { [args setValue:self.person_x forKey:@"person_x"]; } if(self.person_y) { [args setValue:self.person_y forKey:@"person_y"]; } if(self.person_w) { [args setValue:self.person_w forKey:@"person_w"]; } if(self.person_h) { [args setValue:self.person_h forKey:@"person_h"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosPeopleAddError_PersonNotFound: return @"Person not found"; case FKFlickrPhotosPeopleAddError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosPeopleAddError_UserCannotAddThisPersonToPhotos: return @"User cannot add this person to photos"; case FKFlickrPhotosPeopleAddError_UserCannotAddPeopleToThatPhoto: return @"User cannot add people to that photo"; case FKFlickrPhotosPeopleAddError_PersonCantBeTaggedInThatPhoto: return @"Person can't be tagged in that photo"; case FKFlickrPhotosPeopleAddError_SomeCoordinateParamtersWereBlank: return @"Some co-ordinate paramters were blank"; case FKFlickrPhotosPeopleAddError_CantAddThatPersonToANonpublicPhoto: return @"Can't add that person to a non-public photo"; case FKFlickrPhotosPeopleAddError_TooManyPeopleInThatPhoto: return @"Too many people in that photo"; case FKFlickrPhotosPeopleAddError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosPeopleAddError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosPeopleAddError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosPeopleAddError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosPeopleAddError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosPeopleAddError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosPeopleAddError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosPeopleAddError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosPeopleAddError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosPeopleAddError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosPeopleAddError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.h ================================================ // // FKFlickrPhotosPeopleDelete.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosPeopleDeleteError_PersonNotFound = 1, /* The NSID passed was not a valid user id. */ FKFlickrPhotosPeopleDeleteError_PhotoNotFound = 2, /* The photo id passed was not a valid photo id. */ FKFlickrPhotosPeopleDeleteError_UserCannotRemoveThatPerson = 3, /* The calling user did not have permission to remove this person from this photo. */ FKFlickrPhotosPeopleDeleteError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosPeopleDeleteError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosPeopleDeleteError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosPeopleDeleteError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosPeopleDeleteError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosPeopleDeleteError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosPeopleDeleteError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosPeopleDeleteError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosPeopleDeleteError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosPeopleDeleteError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosPeopleDeleteError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosPeopleDeleteError; /* Remove a person from a photo. */ @interface FKFlickrPhotosPeopleDelete : NSObject /* The id of the photo to remove a person from. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The NSID of the person to remove from the photo. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* An email address for an invited user. */ @property (nonatomic, strong) NSString *email; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.m ================================================ // // FKFlickrPhotosPeopleDelete.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosPeopleDelete.h" @implementation FKFlickrPhotosPeopleDelete - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.people.delete"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.email) { [args setValue:self.email forKey:@"email"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosPeopleDeleteError_PersonNotFound: return @"Person not found"; case FKFlickrPhotosPeopleDeleteError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosPeopleDeleteError_UserCannotRemoveThatPerson: return @"User cannot remove that person"; case FKFlickrPhotosPeopleDeleteError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosPeopleDeleteError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosPeopleDeleteError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosPeopleDeleteError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosPeopleDeleteError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosPeopleDeleteError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosPeopleDeleteError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosPeopleDeleteError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosPeopleDeleteError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosPeopleDeleteError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosPeopleDeleteError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.h ================================================ // // FKFlickrPhotosPeopleDeleteCoords.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosPeopleDeleteCoordsError_PersonNotFound = 1, /* The NSID passed was not a valid user id. */ FKFlickrPhotosPeopleDeleteCoordsError_PhotoNotFound = 2, /* The photo id passed was not a valid photo id. */ FKFlickrPhotosPeopleDeleteCoordsError_UserCannotEditThatPersonInThatPhoto = 3, /* The calling user is neither the person depicted in the photo nor the person who added the bounding box. */ FKFlickrPhotosPeopleDeleteCoordsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosPeopleDeleteCoordsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosPeopleDeleteCoordsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosPeopleDeleteCoordsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosPeopleDeleteCoordsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosPeopleDeleteCoordsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosPeopleDeleteCoordsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosPeopleDeleteCoordsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosPeopleDeleteCoordsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosPeopleDeleteCoordsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosPeopleDeleteCoordsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosPeopleDeleteCoordsError; /* Remove the bounding box from a person in a photo */ @interface FKFlickrPhotosPeopleDeleteCoords : NSObject /* The id of the photo to edit a person in. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The NSID of the person whose bounding box you want to remove. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.m ================================================ // // FKFlickrPhotosPeopleDeleteCoords.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosPeopleDeleteCoords.h" @implementation FKFlickrPhotosPeopleDeleteCoords - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.people.deleteCoords"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosPeopleDeleteCoordsError_PersonNotFound: return @"Person not found"; case FKFlickrPhotosPeopleDeleteCoordsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosPeopleDeleteCoordsError_UserCannotEditThatPersonInThatPhoto: return @"User cannot edit that person in that photo"; case FKFlickrPhotosPeopleDeleteCoordsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosPeopleDeleteCoordsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosPeopleDeleteCoordsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosPeopleDeleteCoordsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosPeopleDeleteCoordsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosPeopleDeleteCoordsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosPeopleDeleteCoordsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosPeopleDeleteCoordsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosPeopleDeleteCoordsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosPeopleDeleteCoordsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosPeopleDeleteCoordsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.h ================================================ // // FKFlickrPhotosPeopleEditCoords.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosPeopleEditCoordsError_PersonNotFound = 1, /* The NSID passed was not a valid user id. */ FKFlickrPhotosPeopleEditCoordsError_PhotoNotFound = 2, /* The photo id passed was not a valid photo id. */ FKFlickrPhotosPeopleEditCoordsError_UserCannotEditThatPersonInThatPhoto = 3, /* The calling user did not originally add this person to the photo, and is not the person in question. */ FKFlickrPhotosPeopleEditCoordsError_SomeCoordinateParamtersWereBlank = 4, /* Not all of the co-ordinate parameters (person_x, person_y, person_w, person_h) were passed with valid values. */ FKFlickrPhotosPeopleEditCoordsError_NoCoordinatesGiven = 5, /* None of the co-ordinate parameters were valid. */ FKFlickrPhotosPeopleEditCoordsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosPeopleEditCoordsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosPeopleEditCoordsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosPeopleEditCoordsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosPeopleEditCoordsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosPeopleEditCoordsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosPeopleEditCoordsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosPeopleEditCoordsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosPeopleEditCoordsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosPeopleEditCoordsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosPeopleEditCoordsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosPeopleEditCoordsError; /* Edit the bounding box of an existing person on a photo. */ @interface FKFlickrPhotosPeopleEditCoords : NSObject /* The id of the photo to edit a person in. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The NSID of the person to edit in a photo. */ @property (nonatomic, strong) NSString *user_id; /* (Required) */ /* The left-most pixel co-ordinate of the box around the person. */ @property (nonatomic, strong) NSString *person_x; /* (Required) */ /* The top-most pixel co-ordinate of the box around the person. */ @property (nonatomic, strong) NSString *person_y; /* (Required) */ /* The width (in pixels) of the box around the person. */ @property (nonatomic, strong) NSString *person_w; /* (Required) */ /* The height (in pixels) of the box around the person. */ @property (nonatomic, strong) NSString *person_h; /* (Required) */ /* An email address for an 'invited' person in a photo */ @property (nonatomic, strong) NSString *email; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.m ================================================ // // FKFlickrPhotosPeopleEditCoords.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosPeopleEditCoords.h" @implementation FKFlickrPhotosPeopleEditCoords - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.people.editCoords"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.user_id) { valid = NO; [errorDescription appendString:@"'user_id', "]; } if(!self.person_x) { valid = NO; [errorDescription appendString:@"'person_x', "]; } if(!self.person_y) { valid = NO; [errorDescription appendString:@"'person_y', "]; } if(!self.person_w) { valid = NO; [errorDescription appendString:@"'person_w', "]; } if(!self.person_h) { valid = NO; [errorDescription appendString:@"'person_h', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.person_x) { [args setValue:self.person_x forKey:@"person_x"]; } if(self.person_y) { [args setValue:self.person_y forKey:@"person_y"]; } if(self.person_w) { [args setValue:self.person_w forKey:@"person_w"]; } if(self.person_h) { [args setValue:self.person_h forKey:@"person_h"]; } if(self.email) { [args setValue:self.email forKey:@"email"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosPeopleEditCoordsError_PersonNotFound: return @"Person not found"; case FKFlickrPhotosPeopleEditCoordsError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosPeopleEditCoordsError_UserCannotEditThatPersonInThatPhoto: return @"User cannot edit that person in that photo"; case FKFlickrPhotosPeopleEditCoordsError_SomeCoordinateParamtersWereBlank: return @"Some co-ordinate paramters were blank"; case FKFlickrPhotosPeopleEditCoordsError_NoCoordinatesGiven: return @"No co-ordinates given"; case FKFlickrPhotosPeopleEditCoordsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosPeopleEditCoordsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosPeopleEditCoordsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosPeopleEditCoordsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosPeopleEditCoordsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosPeopleEditCoordsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosPeopleEditCoordsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosPeopleEditCoordsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosPeopleEditCoordsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosPeopleEditCoordsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosPeopleEditCoordsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.h ================================================ // // FKFlickrPhotosPeopleGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosPeopleGetListError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id. */ FKFlickrPhotosPeopleGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosPeopleGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosPeopleGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosPeopleGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosPeopleGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosPeopleGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosPeopleGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosPeopleGetListError; /* Get a list of people in a given photo. x, y, w and h correspond to the coordinates of the "bounding box" around a person in a photo. Since these co-ordinates are optional, these elements may not be present for every person. Response: */ @interface FKFlickrPhotosPeopleGetList : NSObject /* The id of the photo to get a list of people for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.m ================================================ // // FKFlickrPhotosPeopleGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosPeopleGetList.h" @implementation FKFlickrPhotosPeopleGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.people.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosPeopleGetListError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosPeopleGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosPeopleGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosPeopleGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosPeopleGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosPeopleGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosPeopleGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosPeopleGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.h ================================================ // // FKFlickrPhotosSuggestionsApproveSuggestion.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSuggestionsApproveSuggestionError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSuggestionsApproveSuggestionError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSuggestionsApproveSuggestionError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSuggestionsApproveSuggestionError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSuggestionsApproveSuggestionError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSuggestionsApproveSuggestionError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSuggestionsApproveSuggestionError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSuggestionsApproveSuggestionError; /* Approve a suggestion for a photo. */ @interface FKFlickrPhotosSuggestionsApproveSuggestion : NSObject /* The unique ID for the location suggestion to approve. */ @property (nonatomic, strong) NSString *suggestion_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.m ================================================ // // FKFlickrPhotosSuggestionsApproveSuggestion.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSuggestionsApproveSuggestion.h" @implementation FKFlickrPhotosSuggestionsApproveSuggestion - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.suggestions.approveSuggestion"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.suggestion_id) { valid = NO; [errorDescription appendString:@"'suggestion_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.suggestion_id) { [args setValue:self.suggestion_id forKey:@"suggestion_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSuggestionsApproveSuggestionError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSuggestionsApproveSuggestionError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSuggestionsApproveSuggestionError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSuggestionsApproveSuggestionError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSuggestionsApproveSuggestionError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSuggestionsApproveSuggestionError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSuggestionsApproveSuggestionError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSuggestionsApproveSuggestionError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.h ================================================ // // FKFlickrPhotosSuggestionsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSuggestionsGetListError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSuggestionsGetListError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSuggestionsGetListError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSuggestionsGetListError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSuggestionsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSuggestionsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSuggestionsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSuggestionsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSuggestionsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSuggestionsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSuggestionsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSuggestionsGetListError; /* Return a list of suggestions for a user that are pending approval. */ @interface FKFlickrPhotosSuggestionsGetList : NSObject /* Only show suggestions for a single photo. */ @property (nonatomic, strong) NSString *photo_id; /* Only show suggestions with a given status.
  • 0, pending
  • 1, approved
  • 2, rejected
The default is pending (or "0"). */ @property (nonatomic, strong) NSString *status_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.m ================================================ // // FKFlickrPhotosSuggestionsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSuggestionsGetList.h" @implementation FKFlickrPhotosSuggestionsGetList - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.photos.suggestions.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.status_id) { [args setValue:self.status_id forKey:@"status_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSuggestionsGetListError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSuggestionsGetListError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSuggestionsGetListError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSuggestionsGetListError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSuggestionsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSuggestionsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSuggestionsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSuggestionsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSuggestionsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSuggestionsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSuggestionsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.h ================================================ // // FKFlickrPhotosSuggestionsRejectSuggestion.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSuggestionsRejectSuggestionError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSuggestionsRejectSuggestionError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSuggestionsRejectSuggestionError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSuggestionsRejectSuggestionError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSuggestionsRejectSuggestionError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSuggestionsRejectSuggestionError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSuggestionsRejectSuggestionError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSuggestionsRejectSuggestionError; /* Reject a suggestion for a photo. */ @interface FKFlickrPhotosSuggestionsRejectSuggestion : NSObject /* The unique ID of the suggestion to reject. */ @property (nonatomic, strong) NSString *suggestion_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.m ================================================ // // FKFlickrPhotosSuggestionsRejectSuggestion.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSuggestionsRejectSuggestion.h" @implementation FKFlickrPhotosSuggestionsRejectSuggestion - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.suggestions.rejectSuggestion"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.suggestion_id) { valid = NO; [errorDescription appendString:@"'suggestion_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.suggestion_id) { [args setValue:self.suggestion_id forKey:@"suggestion_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSuggestionsRejectSuggestionError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSuggestionsRejectSuggestionError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSuggestionsRejectSuggestionError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSuggestionsRejectSuggestionError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSuggestionsRejectSuggestionError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSuggestionsRejectSuggestionError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSuggestionsRejectSuggestionError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSuggestionsRejectSuggestionError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.h ================================================ // // FKFlickrPhotosSuggestionsRemoveSuggestion.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSuggestionsRemoveSuggestionError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSuggestionsRemoveSuggestionError; /* Remove a suggestion, made by the calling user, from a photo. */ @interface FKFlickrPhotosSuggestionsRemoveSuggestion : NSObject /* The unique ID for the location suggestion to approve. */ @property (nonatomic, strong) NSString *suggestion_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.m ================================================ // // FKFlickrPhotosSuggestionsRemoveSuggestion.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSuggestionsRemoveSuggestion.h" @implementation FKFlickrPhotosSuggestionsRemoveSuggestion - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.suggestions.removeSuggestion"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.suggestion_id) { valid = NO; [errorDescription appendString:@"'suggestion_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.suggestion_id) { [args setValue:self.suggestion_id forKey:@"suggestion_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSuggestionsRemoveSuggestionError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.h ================================================ // // FKFlickrPhotosSuggestionsSuggestLocation.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosSuggestionsSuggestLocationError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosSuggestionsSuggestLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosSuggestionsSuggestLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosSuggestionsSuggestLocationError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosSuggestionsSuggestLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosSuggestionsSuggestLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosSuggestionsSuggestLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosSuggestionsSuggestLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosSuggestionsSuggestLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosSuggestionsSuggestLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosSuggestionsSuggestLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosSuggestionsSuggestLocationError; /* Suggest a geotagged location for a photo. */ @interface FKFlickrPhotosSuggestionsSuggestLocation : NSObject /* The photo whose location you are suggesting. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lat; /* (Required) */ /* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lon; /* (Required) */ /* Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified. */ @property (nonatomic, strong) NSString *accuracy; /* The WOE ID of the location used to build the location hierarchy for the photo. */ @property (nonatomic, strong) NSString *woe_id; /* The Flickr Places ID of the location used to build the location hierarchy for the photo. */ @property (nonatomic, strong) NSString *place_id; /* A short note or history to include with the suggestion. */ @property (nonatomic, strong) NSString *note; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.m ================================================ // // FKFlickrPhotosSuggestionsSuggestLocation.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosSuggestionsSuggestLocation.h" @implementation FKFlickrPhotosSuggestionsSuggestLocation - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.suggestions.suggestLocation"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.lat) { valid = NO; [errorDescription appendString:@"'lat', "]; } if(!self.lon) { valid = NO; [errorDescription appendString:@"'lon', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.note) { [args setValue:self.note forKey:@"note"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosSuggestionsSuggestLocationError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosSuggestionsSuggestLocationError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosSuggestionsSuggestLocationError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosSuggestionsSuggestLocationError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosSuggestionsSuggestLocationError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosSuggestionsSuggestLocationError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosSuggestionsSuggestLocationError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosSuggestionsSuggestLocationError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosSuggestionsSuggestLocationError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosSuggestionsSuggestLocationError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosSuggestionsSuggestLocationError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.h ================================================ // // FKFlickrPhotosTransformRotate.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosTransformRotateError_PhotoNotFound = 1, /* The photo id was invalid or did not belong to the calling user. */ FKFlickrPhotosTransformRotateError_InvalidRotation = 2, /* The rotation degrees were an invalid value. */ FKFlickrPhotosTransformRotateError_TemporaryFailure = 3, /* There was a problem either rotating the image or storing the rotated versions. */ FKFlickrPhotosTransformRotateError_RotationDisabled = 4, /* The rotation service is currently disabled. */ FKFlickrPhotosTransformRotateError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosTransformRotateError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosTransformRotateError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosTransformRotateError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosTransformRotateError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosTransformRotateError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosTransformRotateError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosTransformRotateError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosTransformRotateError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosTransformRotateError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosTransformRotateError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosTransformRotateError; /* Rotate a photo. Response: 1234 */ @interface FKFlickrPhotosTransformRotate : NSObject /* The id of the photo to rotate. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The amount of degrees by which to rotate the photo (clockwise) from it's current orientation. Valid values are 90, 180 and 270. */ @property (nonatomic, strong) NSString *degrees; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.m ================================================ // // FKFlickrPhotosTransformRotate.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosTransformRotate.h" @implementation FKFlickrPhotosTransformRotate - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photos.transform.rotate"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.degrees) { valid = NO; [errorDescription appendString:@"'degrees', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.degrees) { [args setValue:self.degrees forKey:@"degrees"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosTransformRotateError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosTransformRotateError_InvalidRotation: return @"Invalid rotation"; case FKFlickrPhotosTransformRotateError_TemporaryFailure: return @"Temporary failure"; case FKFlickrPhotosTransformRotateError_RotationDisabled: return @"Rotation disabled"; case FKFlickrPhotosTransformRotateError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosTransformRotateError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosTransformRotateError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosTransformRotateError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosTransformRotateError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosTransformRotateError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosTransformRotateError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosTransformRotateError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosTransformRotateError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosTransformRotateError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosTransformRotateError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.h ================================================ // // FKFlickrPhotosUploadCheckTickets.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosUploadCheckTicketsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosUploadCheckTicketsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosUploadCheckTicketsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosUploadCheckTicketsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosUploadCheckTicketsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosUploadCheckTicketsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosUploadCheckTicketsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosUploadCheckTicketsError; /* Checks the status of one or more asynchronous photo upload tickets.

There is one <ticket> element for each ticket id supplied. The id attribute contains the corresponding ticket id. If the ticket wasn't found, the invalid attribute is set. The status of the ticket is passed in the status attribute; 0 means not completed, 1 means completed and 2 means the ticket failed (indicating there was a problem converting the file). When the status is 1, the photo id is passed in the photoid attribute. The photo id can then be used as with the synchronous upload API. Response: */ @interface FKFlickrPhotosUploadCheckTickets : NSObject /* A comma-delimited list of ticket ids */ @property (nonatomic, strong) NSString *tickets; /* (Required) */ /* */ @property (nonatomic, strong) NSString *batch_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.m ================================================ // // FKFlickrPhotosUploadCheckTickets.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosUploadCheckTickets.h" @implementation FKFlickrPhotosUploadCheckTickets - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photos.upload.checkTickets"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.tickets) { valid = NO; [errorDescription appendString:@"'tickets', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.tickets) { [args setValue:self.tickets forKey:@"tickets"]; } if(self.batch_id) { [args setValue:self.batch_id forKey:@"batch_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosUploadCheckTicketsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosUploadCheckTicketsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosUploadCheckTicketsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosUploadCheckTicketsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosUploadCheckTicketsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosUploadCheckTicketsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosUploadCheckTicketsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.h ================================================ // // FKFlickrPhotosetsCommentsAddComment.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsCommentsAddCommentError_PhotosetNotFound = 1, /* */ FKFlickrPhotosetsCommentsAddCommentError_BlankComment = 8, /* */ FKFlickrPhotosetsCommentsAddCommentError_UserIsPostingCommentsTooFast = 9, /* The user has reached the limit for number of comments posted during a specific time period. Wait a bit and try again. */ FKFlickrPhotosetsCommentsAddCommentError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsCommentsAddCommentError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsCommentsAddCommentError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsCommentsAddCommentError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsCommentsAddCommentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsCommentsAddCommentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsCommentsAddCommentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsCommentsAddCommentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsCommentsAddCommentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsCommentsAddCommentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsCommentsAddCommentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsCommentsAddCommentError; /* Add a comment to a photoset. Response: */ @interface FKFlickrPhotosetsCommentsAddComment : NSObject /* The id of the photoset to add a comment to. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* Text of the comment */ @property (nonatomic, strong) NSString *comment_text; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.m ================================================ // // FKFlickrPhotosetsCommentsAddComment.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsCommentsAddComment.h" @implementation FKFlickrPhotosetsCommentsAddComment - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.comments.addComment"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.comment_text) { valid = NO; [errorDescription appendString:@"'comment_text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.comment_text) { [args setValue:self.comment_text forKey:@"comment_text"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsCommentsAddCommentError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsCommentsAddCommentError_BlankComment: return @"Blank comment"; case FKFlickrPhotosetsCommentsAddCommentError_UserIsPostingCommentsTooFast: return @"User is posting comments too fast."; case FKFlickrPhotosetsCommentsAddCommentError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsCommentsAddCommentError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsCommentsAddCommentError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsCommentsAddCommentError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsCommentsAddCommentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsCommentsAddCommentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsCommentsAddCommentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsCommentsAddCommentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsCommentsAddCommentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsCommentsAddCommentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsCommentsAddCommentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.h ================================================ // // FKFlickrPhotosetsCommentsDeleteComment.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsCommentsDeleteCommentError_CommentNotFound = 2, /* The comment id passed was not a valid comment id */ FKFlickrPhotosetsCommentsDeleteCommentError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsCommentsDeleteCommentError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsCommentsDeleteCommentError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsCommentsDeleteCommentError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsCommentsDeleteCommentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsCommentsDeleteCommentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsCommentsDeleteCommentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsCommentsDeleteCommentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsCommentsDeleteCommentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsCommentsDeleteCommentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsCommentsDeleteCommentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsCommentsDeleteCommentError; /* Delete a photoset comment as the currently authenticated user. */ @interface FKFlickrPhotosetsCommentsDeleteComment : NSObject /* The id of the comment to delete from a photoset. */ @property (nonatomic, strong) NSString *comment_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.m ================================================ // // FKFlickrPhotosetsCommentsDeleteComment.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsCommentsDeleteComment.h" @implementation FKFlickrPhotosetsCommentsDeleteComment - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.comments.deleteComment"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.comment_id) { valid = NO; [errorDescription appendString:@"'comment_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.comment_id) { [args setValue:self.comment_id forKey:@"comment_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsCommentsDeleteCommentError_CommentNotFound: return @"Comment not found."; case FKFlickrPhotosetsCommentsDeleteCommentError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsCommentsDeleteCommentError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsCommentsDeleteCommentError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsCommentsDeleteCommentError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsCommentsDeleteCommentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsCommentsDeleteCommentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsCommentsDeleteCommentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsCommentsDeleteCommentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsCommentsDeleteCommentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsCommentsDeleteCommentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsCommentsDeleteCommentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.h ================================================ // // FKFlickrPhotosetsCommentsEditComment.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsCommentsEditCommentError_CommentNotFound = 2, /* The comment id passed was not a valid comment id. */ FKFlickrPhotosetsCommentsEditCommentError_BlankComment = 8, /* Comment text can't be blank. */ FKFlickrPhotosetsCommentsEditCommentError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsCommentsEditCommentError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsCommentsEditCommentError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsCommentsEditCommentError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsCommentsEditCommentError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsCommentsEditCommentError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsCommentsEditCommentError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsCommentsEditCommentError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsCommentsEditCommentError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsCommentsEditCommentError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsCommentsEditCommentError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsCommentsEditCommentError; /* Edit the text of a comment as the currently authenticated user. */ @interface FKFlickrPhotosetsCommentsEditComment : NSObject /* The id of the comment to edit. */ @property (nonatomic, strong) NSString *comment_id; /* (Required) */ /* Update the comment to this text. */ @property (nonatomic, strong) NSString *comment_text; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.m ================================================ // // FKFlickrPhotosetsCommentsEditComment.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsCommentsEditComment.h" @implementation FKFlickrPhotosetsCommentsEditComment - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.comments.editComment"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.comment_id) { valid = NO; [errorDescription appendString:@"'comment_id', "]; } if(!self.comment_text) { valid = NO; [errorDescription appendString:@"'comment_text', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.comment_id) { [args setValue:self.comment_id forKey:@"comment_id"]; } if(self.comment_text) { [args setValue:self.comment_text forKey:@"comment_text"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsCommentsEditCommentError_CommentNotFound: return @"Comment not found."; case FKFlickrPhotosetsCommentsEditCommentError_BlankComment: return @"Blank comment."; case FKFlickrPhotosetsCommentsEditCommentError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsCommentsEditCommentError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsCommentsEditCommentError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsCommentsEditCommentError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsCommentsEditCommentError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsCommentsEditCommentError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsCommentsEditCommentError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsCommentsEditCommentError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsCommentsEditCommentError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsCommentsEditCommentError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsCommentsEditCommentError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.h ================================================ // // FKFlickrPhotosetsCommentsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsCommentsGetListError_PhotosetNotFound = 1, /* The photoset id was invalid. */ FKFlickrPhotosetsCommentsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsCommentsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsCommentsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsCommentsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsCommentsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsCommentsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsCommentsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsCommentsGetListError; /* Returns the comments for a photoset. Response: Umm, I'm not sure, can I get back to you on that one? */ @interface FKFlickrPhotosetsCommentsGetList : NSObject /* The id of the photoset to fetch comments for. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.m ================================================ // // FKFlickrPhotosetsCommentsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsCommentsGetList.h" @implementation FKFlickrPhotosetsCommentsGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photosets.comments.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsCommentsGetListError_PhotosetNotFound: return @"Photoset not found."; case FKFlickrPhotosetsCommentsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsCommentsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsCommentsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsCommentsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsCommentsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsCommentsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsCommentsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.h ================================================ // // FKFlickrPhotosetsAddPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsAddPhotoError_PhotosetNotFound = 1, /* The photoset id passed was not the id of avalid photoset owned by the calling user. */ FKFlickrPhotosetsAddPhotoError_PhotoNotFound = 2, /* The photo id passed was not the id of a valid photo owned by the calling user. */ FKFlickrPhotosetsAddPhotoError_PhotoAlreadyInSet = 3, /* The photo is already a member of the photoset. */ FKFlickrPhotosetsAddPhotoError_MaximumNumberOfPhotosInSet = 10, /* A set has reached the upper limit for the number of photos allowed. */ FKFlickrPhotosetsAddPhotoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsAddPhotoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsAddPhotoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsAddPhotoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsAddPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsAddPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsAddPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsAddPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsAddPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsAddPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsAddPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsAddPhotoError; /* Add a photo to the end of an existing photoset. */ @interface FKFlickrPhotosetsAddPhoto : NSObject /* The id of the photoset to add a photo to. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* The id of the photo to add to the set. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.m ================================================ // // FKFlickrPhotosetsAddPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsAddPhoto.h" @implementation FKFlickrPhotosetsAddPhoto - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.addPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsAddPhotoError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsAddPhotoError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsAddPhotoError_PhotoAlreadyInSet: return @"Photo already in set"; case FKFlickrPhotosetsAddPhotoError_MaximumNumberOfPhotosInSet: return @"Maximum number of photos in set"; case FKFlickrPhotosetsAddPhotoError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsAddPhotoError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsAddPhotoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsAddPhotoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsAddPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsAddPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsAddPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsAddPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsAddPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsAddPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsAddPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.h ================================================ // // FKFlickrPhotosetsCreate.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsCreateError_NoTitleSpecified = 1, /* No title parameter was passed in the request. */ FKFlickrPhotosetsCreateError_PhotoNotFound = 2, /* The primary photo id passed was not a valid photo id or does not belong to the calling user. */ FKFlickrPhotosetsCreateError_CantCreateAnyMoreSets = 3, /* The user has reached their maximum number of photosets limit. */ FKFlickrPhotosetsCreateError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsCreateError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsCreateError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsCreateError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsCreateError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsCreateError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsCreateError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsCreateError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsCreateError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsCreateError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsCreateError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsCreateError; /* Create a new photoset for the calling user.

New photosets are automatically put first in the photoset ordering for the user. Use flickr.photosets.orderSets if you don't want the new set to appear first on the user's photoset list.

Response: */ @interface FKFlickrPhotosetsCreate : NSObject /* A title for the photoset. */ @property (nonatomic, strong) NSString *title; /* (Required) */ /* A description of the photoset. May contain limited html. */ @property (nonatomic, strong) NSString *description; /* The id of the photo to represent this set. The photo must belong to the calling user. */ @property (nonatomic, strong) NSString *primary_photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.m ================================================ // // FKFlickrPhotosetsCreate.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsCreate.h" @implementation FKFlickrPhotosetsCreate - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.create"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.title) { valid = NO; [errorDescription appendString:@"'title', "]; } if(!self.primary_photo_id) { valid = NO; [errorDescription appendString:@"'primary_photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.title) { [args setValue:self.title forKey:@"title"]; } if(self.description) { [args setValue:self.description forKey:@"description"]; } if(self.primary_photo_id) { [args setValue:self.primary_photo_id forKey:@"primary_photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsCreateError_NoTitleSpecified: return @"No title specified"; case FKFlickrPhotosetsCreateError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsCreateError_CantCreateAnyMoreSets: return @"Can't create any more sets"; case FKFlickrPhotosetsCreateError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsCreateError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsCreateError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsCreateError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsCreateError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsCreateError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsCreateError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsCreateError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsCreateError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsCreateError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsCreateError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.h ================================================ // // FKFlickrPhotosetsDelete.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsDeleteError_PhotosetNotFound = 1, /* The photoset id passed was not a valid photoset id or did not belong to the calling user. */ FKFlickrPhotosetsDeleteError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsDeleteError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsDeleteError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsDeleteError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsDeleteError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsDeleteError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsDeleteError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsDeleteError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsDeleteError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsDeleteError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsDeleteError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsDeleteError; /* Delete a photoset. */ @interface FKFlickrPhotosetsDelete : NSObject /* The id of the photoset to delete. It must be owned by the calling user. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.m ================================================ // // FKFlickrPhotosetsDelete.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsDelete.h" @implementation FKFlickrPhotosetsDelete - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.delete"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsDeleteError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsDeleteError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsDeleteError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsDeleteError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsDeleteError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsDeleteError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsDeleteError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsDeleteError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsDeleteError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsDeleteError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsDeleteError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsDeleteError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.h ================================================ // // FKFlickrPhotosetsEditMeta.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsEditMetaError_PhotosetNotFound = 1, /* The photoset id passed was not a valid photoset id or did not belong to the calling user. */ FKFlickrPhotosetsEditMetaError_NoTitleSpecified = 2, /* No title parameter was passed in the request. */ FKFlickrPhotosetsEditMetaError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsEditMetaError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsEditMetaError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsEditMetaError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsEditMetaError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsEditMetaError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsEditMetaError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsEditMetaError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsEditMetaError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsEditMetaError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsEditMetaError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsEditMetaError; /* Modify the meta-data for a photoset. */ @interface FKFlickrPhotosetsEditMeta : NSObject /* The id of the photoset to modify. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* The new title for the photoset. */ @property (nonatomic, strong) NSString *title; /* (Required) */ /* A description of the photoset. May contain limited html. */ @property (nonatomic, strong) NSString *description; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.m ================================================ // // FKFlickrPhotosetsEditMeta.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsEditMeta.h" @implementation FKFlickrPhotosetsEditMeta - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.editMeta"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.title) { valid = NO; [errorDescription appendString:@"'title', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.title) { [args setValue:self.title forKey:@"title"]; } if(self.description) { [args setValue:self.description forKey:@"description"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsEditMetaError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsEditMetaError_NoTitleSpecified: return @"No title specified"; case FKFlickrPhotosetsEditMetaError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsEditMetaError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsEditMetaError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsEditMetaError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsEditMetaError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsEditMetaError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsEditMetaError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsEditMetaError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsEditMetaError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsEditMetaError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsEditMetaError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.h ================================================ // // FKFlickrPhotosetsEditPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsEditPhotosError_PhotosetNotFound = 1, /* The photoset id passed was not a valid photoset id or did not belong to the calling user. */ FKFlickrPhotosetsEditPhotosError_PhotoNotFound = 2, /* One or more of the photo ids passed was not a valid photo id or does not belong to the calling user. */ FKFlickrPhotosetsEditPhotosError_PrimaryPhotoNotFound = 3, /* The primary photo id passed was not a valid photo id or does not belong to the calling user. */ FKFlickrPhotosetsEditPhotosError_PrimaryPhotoNotInList = 4, /* The primary photo id passed did not appear in the photo id list. */ FKFlickrPhotosetsEditPhotosError_EmptyPhotosList = 5, /* No photo ids were passed. */ FKFlickrPhotosetsEditPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsEditPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsEditPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsEditPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsEditPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsEditPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsEditPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsEditPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsEditPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsEditPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsEditPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsEditPhotosError; /* Modify the photos in a photoset. Use this method to add, remove and re-order photos. */ @interface FKFlickrPhotosetsEditPhotos : NSObject /* The id of the photoset to modify. The photoset must belong to the calling user. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* The id of the photo to use as the 'primary' photo for the set. This id must also be passed along in photo_ids list argument. */ @property (nonatomic, strong) NSString *primary_photo_id; /* (Required) */ /* A comma-delimited list of photo ids to include in the set. They will appear in the set in the order sent. This list must contain the primary photo id. All photos must belong to the owner of the set. This list of photos replaces the existing list. Call flickr.photosets.addPhoto to append a photo to a set. */ @property (nonatomic, strong) NSString *photo_ids; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.m ================================================ // // FKFlickrPhotosetsEditPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsEditPhotos.h" @implementation FKFlickrPhotosetsEditPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.editPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.primary_photo_id) { valid = NO; [errorDescription appendString:@"'primary_photo_id', "]; } if(!self.photo_ids) { valid = NO; [errorDescription appendString:@"'photo_ids', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.primary_photo_id) { [args setValue:self.primary_photo_id forKey:@"primary_photo_id"]; } if(self.photo_ids) { [args setValue:self.photo_ids forKey:@"photo_ids"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsEditPhotosError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsEditPhotosError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsEditPhotosError_PrimaryPhotoNotFound: return @"Primary photo not found"; case FKFlickrPhotosetsEditPhotosError_PrimaryPhotoNotInList: return @"Primary photo not in list"; case FKFlickrPhotosetsEditPhotosError_EmptyPhotosList: return @"Empty photos list"; case FKFlickrPhotosetsEditPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsEditPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsEditPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsEditPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsEditPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsEditPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsEditPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsEditPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsEditPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsEditPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsEditPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.h ================================================ // // FKFlickrPhotosetsGetContext.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsGetContextError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view. */ FKFlickrPhotosetsGetContextError_PhotoNotInSet = 2, /* The specified photo is not in the specified set. */ FKFlickrPhotosetsGetContextError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsGetContextError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsGetContextError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsGetContextError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsGetContextError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsGetContextError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsGetContextError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsGetContextError; /* Returns next and previous photos for a photo in a set.

See flickr.photos.getContext

Response: */ @interface FKFlickrPhotosetsGetContext : NSObject /* The id of the photo to fetch the context for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ /* The id of the photoset for which to fetch the photo's context. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* */ @property (nonatomic, strong) NSString *num_prev; /* */ @property (nonatomic, strong) NSString *num_next; /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_z, url_l, url_o */ @property (nonatomic, strong) NSString *extras; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.m ================================================ // // FKFlickrPhotosetsGetContext.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsGetContext.h" @implementation FKFlickrPhotosetsGetContext - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photosets.getContext"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.num_prev) { [args setValue:self.num_prev forKey:@"num_prev"]; } if(self.num_next) { [args setValue:self.num_next forKey:@"num_next"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsGetContextError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsGetContextError_PhotoNotInSet: return @"Photo not in set"; case FKFlickrPhotosetsGetContextError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsGetContextError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsGetContextError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsGetContextError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsGetContextError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsGetContextError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsGetContextError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.h ================================================ // // FKFlickrPhotosetsGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsGetInfoError_PhotosetNotFound = 1, /* The photoset id was not valid. */ FKFlickrPhotosetsGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsGetInfoError; /* Gets information about a photoset. Response: Mah Kittehs Sixty and Niner. Born on the 3rd of May, 2010, or thereabouts. Came to my place on Thursday, July 29, 2010. */ @interface FKFlickrPhotosetsGetInfo : NSObject /* The ID of the photoset to fetch information for. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.m ================================================ // // FKFlickrPhotosetsGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsGetInfo.h" @implementation FKFlickrPhotosetsGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photosets.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsGetInfoError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.h ================================================ // // FKFlickrPhotosetsGetList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsGetListError_UserNotFound = 1, /* The user NSID passed was not a valid user NSID and the calling user was not logged in. */ FKFlickrPhotosetsGetListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsGetListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsGetListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsGetListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsGetListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsGetListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsGetListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsGetListError; /* Returns the photosets belonging to the specified user.

Photosets are returned in the user's specified order, which may not mean the newest set is first. Applications displaying photosets should respect the user's ordering.

Response: Avis Blanche My Grandma's Recipe File. Mah Kittehs Sixty and Niner. Born on the 3rd of May, 2010, or thereabouts. Came to my place on Thursday, July 29, 2010. */ @interface FKFlickrPhotosetsGetList : NSObject /* The NSID of the user to get a photoset list for. If none is specified, the calling user is assumed. */ @property (nonatomic, strong) NSString *user_id; /* The page of results to get. Currently, if this is not provided, all sets are returned, but this behaviour may change in future. */ @property (nonatomic, strong) NSString *page; /* The number of sets to get per page. If paging is enabled, the maximum number of sets per page is 500. */ @property (nonatomic, strong) NSString *per_page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.m ================================================ // // FKFlickrPhotosetsGetList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsGetList.h" @implementation FKFlickrPhotosetsGetList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photosets.getList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsGetListError_UserNotFound: return @"User not found"; case FKFlickrPhotosetsGetListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsGetListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsGetListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsGetListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsGetListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsGetListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsGetListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.h ================================================ // // FKFlickrPhotosetsGetPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsGetPhotosError_PhotosetNotFound = 1, /* The photoset id passed was not a valid photoset id. */ FKFlickrPhotosetsGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsGetPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsGetPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsGetPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsGetPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsGetPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsGetPhotosError; /* Get the list of photos in a set. Response: */ @interface FKFlickrPhotosetsGetPhotos : NSObject /* The id of the photoset to return the photos for. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_o */ @property (nonatomic, strong) NSString *extras; /* Return photos only matching a certain privacy level. This only applies when making an authenticated call to view a photoset you own. Valid values are:
  • 1 public photos
  • 2 private photos visible to friends
  • 3 private photos visible to family
  • 4 private photos visible to friends & family
  • 5 completely private photos
*/ @property (nonatomic, strong) NSString *privacy_filter; /* Number of photos to return per page. If this argument is omitted, it defaults to 500. The maximum allowed value is 500. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; /* Filter results by media type. Possible values are all (default), photos or videos */ @property (nonatomic, strong) NSString *media; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m ================================================ // // FKFlickrPhotosetsGetPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsGetPhotos.h" @implementation FKFlickrPhotosetsGetPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.photosets.getPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.privacy_filter) { [args setValue:self.privacy_filter forKey:@"privacy_filter"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } if(self.media) { [args setValue:self.media forKey:@"media"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsGetPhotosError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsGetPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsGetPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsGetPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsGetPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsGetPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsGetPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsGetPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h ================================================ // // FKFlickrPhotosetsOrderSets.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsOrderSetsError_SetNotFound = 1, /* One of the photoset ids passed was not the id of a valid photoset belonging to the calling user. */ FKFlickrPhotosetsOrderSetsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsOrderSetsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsOrderSetsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsOrderSetsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsOrderSetsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsOrderSetsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsOrderSetsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsOrderSetsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsOrderSetsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsOrderSetsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsOrderSetsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsOrderSetsError; /* Set the order of photosets for the calling user. */ @interface FKFlickrPhotosetsOrderSets : NSObject /* A comma delimited list of photoset IDs, ordered with the set to show first, first in the list. Any set IDs not given in the list will be set to appear at the end of the list, ordered by their IDs. */ @property (nonatomic, strong) NSString *photoset_ids; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.m ================================================ // // FKFlickrPhotosetsOrderSets.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsOrderSets.h" @implementation FKFlickrPhotosetsOrderSets - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.orderSets"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_ids) { valid = NO; [errorDescription appendString:@"'photoset_ids', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_ids) { [args setValue:self.photoset_ids forKey:@"photoset_ids"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsOrderSetsError_SetNotFound: return @"Set not found"; case FKFlickrPhotosetsOrderSetsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsOrderSetsError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsOrderSetsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsOrderSetsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsOrderSetsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsOrderSetsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsOrderSetsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsOrderSetsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsOrderSetsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsOrderSetsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsOrderSetsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.h ================================================ // // FKFlickrPhotosetsRemovePhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsRemovePhotoError_PhotosetNotFound = 1, /* The photoset id passed was not the id of avalid photoset owned by the calling user. */ FKFlickrPhotosetsRemovePhotoError_PhotoNotFound = 2, /* The photo id passed was not the id of a valid photo belonging to the calling user. */ FKFlickrPhotosetsRemovePhotoError_PhotoNotInSet = 3, /* The photo is not a member of the photoset. */ FKFlickrPhotosetsRemovePhotoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsRemovePhotoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsRemovePhotoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsRemovePhotoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsRemovePhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsRemovePhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsRemovePhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsRemovePhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsRemovePhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsRemovePhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsRemovePhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsRemovePhotoError; /* Remove a photo from a photoset. */ @interface FKFlickrPhotosetsRemovePhoto : NSObject /* The id of the photoset to remove a photo from. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* The id of the photo to remove from the set. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.m ================================================ // // FKFlickrPhotosetsRemovePhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsRemovePhoto.h" @implementation FKFlickrPhotosetsRemovePhoto - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.removePhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsRemovePhotoError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsRemovePhotoError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsRemovePhotoError_PhotoNotInSet: return @"Photo not in set"; case FKFlickrPhotosetsRemovePhotoError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsRemovePhotoError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsRemovePhotoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsRemovePhotoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsRemovePhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsRemovePhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsRemovePhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsRemovePhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsRemovePhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsRemovePhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsRemovePhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.h ================================================ // // FKFlickrPhotosetsRemovePhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsRemovePhotosError_PhotosetNotFound = 1, /* The photoset id passed was not the id of available photosets owned by the calling user. */ FKFlickrPhotosetsRemovePhotosError_PhotoNotFound = 2, /* The photo id passed was not the id of a valid photo belonging to the calling user. */ FKFlickrPhotosetsRemovePhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsRemovePhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsRemovePhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsRemovePhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsRemovePhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsRemovePhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsRemovePhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsRemovePhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsRemovePhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsRemovePhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsRemovePhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsRemovePhotosError; /* Remove multiple photos from a photoset. */ @interface FKFlickrPhotosetsRemovePhotos : NSObject /* The id of the photoset to remove photos from. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* Comma-delimited list of photo ids to remove from the photoset. */ @property (nonatomic, strong) NSString *photo_ids; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.m ================================================ // // FKFlickrPhotosetsRemovePhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsRemovePhotos.h" @implementation FKFlickrPhotosetsRemovePhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.removePhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.photo_ids) { valid = NO; [errorDescription appendString:@"'photo_ids', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.photo_ids) { [args setValue:self.photo_ids forKey:@"photo_ids"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsRemovePhotosError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsRemovePhotosError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsRemovePhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsRemovePhotosError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsRemovePhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsRemovePhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsRemovePhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsRemovePhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsRemovePhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsRemovePhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsRemovePhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsRemovePhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsRemovePhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.h ================================================ // // FKFlickrPhotosetsReorderPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsReorderPhotosError_PhotosetNotFound = 1, /* The photoset id passed was not a valid photoset id or did not belong to the calling user. */ FKFlickrPhotosetsReorderPhotosError_PhotoNotFound = 2, /* One or more of the photo ids passed was not a valid photo id or does not belong to the calling user. */ FKFlickrPhotosetsReorderPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsReorderPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsReorderPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsReorderPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsReorderPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsReorderPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsReorderPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsReorderPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsReorderPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsReorderPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsReorderPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsReorderPhotosError; /* */ @interface FKFlickrPhotosetsReorderPhotos : NSObject /* The id of the photoset to reorder. The photoset must belong to the calling user. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* Ordered, comma-delimited list of photo ids. Photos that are not in the list will keep their original order */ @property (nonatomic, strong) NSString *photo_ids; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.m ================================================ // // FKFlickrPhotosetsReorderPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsReorderPhotos.h" @implementation FKFlickrPhotosetsReorderPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.reorderPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.photo_ids) { valid = NO; [errorDescription appendString:@"'photo_ids', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.photo_ids) { [args setValue:self.photo_ids forKey:@"photo_ids"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsReorderPhotosError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsReorderPhotosError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsReorderPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsReorderPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsReorderPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsReorderPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsReorderPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsReorderPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsReorderPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsReorderPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsReorderPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsReorderPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsReorderPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.h ================================================ // // FKFlickrPhotosetsSetPrimaryPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPhotosetsSetPrimaryPhotoError_PhotosetNotFound = 1, /* The photoset id passed was not the id of avalid photoset owned by the calling user. */ FKFlickrPhotosetsSetPrimaryPhotoError_PhotoNotFound = 2, /* The photo id passed was not the id of a valid photo owned by the calling user. */ FKFlickrPhotosetsSetPrimaryPhotoError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPhotosetsSetPrimaryPhotoError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPhotosetsSetPrimaryPhotoError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPhotosetsSetPrimaryPhotoError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPhotosetsSetPrimaryPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPhotosetsSetPrimaryPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPhotosetsSetPrimaryPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPhotosetsSetPrimaryPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPhotosetsSetPrimaryPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPhotosetsSetPrimaryPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPhotosetsSetPrimaryPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPhotosetsSetPrimaryPhotoError; /* Set photoset primary photo */ @interface FKFlickrPhotosetsSetPrimaryPhoto : NSObject /* The id of the photoset to set primary photo to. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ /* The id of the photo to set as primary. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.m ================================================ // // FKFlickrPhotosetsSetPrimaryPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPhotosetsSetPrimaryPhoto.h" @implementation FKFlickrPhotosetsSetPrimaryPhoto - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 1; } - (NSString *) name { return @"flickr.photosets.setPrimaryPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPhotosetsSetPrimaryPhotoError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrPhotosetsSetPrimaryPhotoError_PhotoNotFound: return @"Photo not found"; case FKFlickrPhotosetsSetPrimaryPhotoError_InvalidSignature: return @"Invalid signature"; case FKFlickrPhotosetsSetPrimaryPhotoError_MissingSignature: return @"Missing signature"; case FKFlickrPhotosetsSetPrimaryPhotoError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPhotosetsSetPrimaryPhotoError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPhotosetsSetPrimaryPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPhotosetsSetPrimaryPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPhotosetsSetPrimaryPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPhotosetsSetPrimaryPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPhotosetsSetPrimaryPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPhotosetsSetPrimaryPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPhotosetsSetPrimaryPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.h ================================================ // // FKFlickrPlacesFind.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesFindError_RequiredParameterMissing = 1, /* One or more required parameters was not included with the API call. */ FKFlickrPlacesFindError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesFindError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesFindError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesFindError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesFindError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesFindError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesFindError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesFindError; /* Return a list of place IDs for a query string.

The flickr.places.find method is not a geocoder. It will round up to the nearest place type to which place IDs apply. For example, if you pass it a street level address it will return the city that contains the address rather than the street, or building, itself. Each place returned will contain its place ID, corresponding URL (underneath www.flickr.com/places) and place type for disambiguating different locations with the same name. Response: Alabama, Alabama, United States Alabama, New York, United States Alabama, North West, South Africa */ @interface FKFlickrPlacesFind : NSObject /* The query string to use for place ID lookups */ @property (nonatomic, strong) NSString *query; /* (Required) */ /* A bounding box for limiting the area to query. */ @property (nonatomic, strong) NSString *bbox; /* Secret sauce. */ @property (nonatomic, strong) NSString *extras; /* Do we want sexy time words in our venue results? */ @property (nonatomic, strong) NSString *safe; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.m ================================================ // // FKFlickrPlacesFind.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesFind.h" @implementation FKFlickrPlacesFind - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.find"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.query) { valid = NO; [errorDescription appendString:@"'query', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.query) { [args setValue:self.query forKey:@"query"]; } if(self.bbox) { [args setValue:self.bbox forKey:@"bbox"]; } if(self.extras) { [args setValue:self.extras forKey:@"extras"]; } if(self.safe) { [args setValue:self.safe forKey:@"safe"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesFindError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesFindError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesFindError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesFindError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesFindError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesFindError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesFindError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesFindError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.h ================================================ // // FKFlickrPlacesFindByLatLon.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesFindByLatLonError_RequiredArgumentsMissing = 1, /* One or more required parameters was not included with the API request. */ FKFlickrPlacesFindByLatLonError_NotAValidLatitude = 2, /* The latitude argument failed validation. */ FKFlickrPlacesFindByLatLonError_NotAValidLongitude = 3, /* The longitude argument failed validation. */ FKFlickrPlacesFindByLatLonError_NotAValidAccuracy = 4, /* The accuracy argument failed validation. */ FKFlickrPlacesFindByLatLonError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesFindByLatLonError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesFindByLatLonError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesFindByLatLonError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesFindByLatLonError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesFindByLatLonError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesFindByLatLonError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesFindByLatLonError; /* Return a place ID for a latitude, longitude and accuracy triple.

The flickr.places.findByLatLon method is not meant to be a (reverse) geocoder in the traditional sense. It is designed to allow users to find photos for "places" and will round up to the nearest place type to which corresponding place IDs apply.

For example, if you pass it a street level coordinate it will return the city that contains the point rather than the street, or building, itself.

It will also truncate latitudes and longitudes to three decimal points. Response: */ @interface FKFlickrPlacesFindByLatLon : NSObject /* The latitude whose valid range is -90 to 90. Anything more than 4 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lat; /* (Required) */ /* The longitude whose valid range is -180 to 180. Anything more than 4 decimal places will be truncated. */ @property (nonatomic, strong) NSString *lon; /* (Required) */ /* Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. The default is 16. */ @property (nonatomic, strong) NSString *accuracy; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.m ================================================ // // FKFlickrPlacesFindByLatLon.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesFindByLatLon.h" @implementation FKFlickrPlacesFindByLatLon - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.findByLatLon"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.lat) { valid = NO; [errorDescription appendString:@"'lat', "]; } if(!self.lon) { valid = NO; [errorDescription appendString:@"'lon', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesFindByLatLonError_RequiredArgumentsMissing: return @"Required arguments missing"; case FKFlickrPlacesFindByLatLonError_NotAValidLatitude: return @"Not a valid latitude"; case FKFlickrPlacesFindByLatLonError_NotAValidLongitude: return @"Not a valid longitude"; case FKFlickrPlacesFindByLatLonError_NotAValidAccuracy: return @"Not a valid accuracy"; case FKFlickrPlacesFindByLatLonError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesFindByLatLonError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesFindByLatLonError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesFindByLatLonError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesFindByLatLonError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesFindByLatLonError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesFindByLatLonError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.h ================================================ // // FKFlickrPlacesGetChildrenWithPhotosPublic.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesGetChildrenWithPhotosPublicError_RequiredParameterMissing = 1, /* One or more required parameter is missing from the API call. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_NotAValidPlacesID = 2, /* An invalid Places (or WOE) ID was passed with the API call. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_PlaceNotFound = 3, /* No place could be found for the Places (or WOE) ID passed to the API call. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesGetChildrenWithPhotosPublicError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesGetChildrenWithPhotosPublicError; /* Return a list of locations with public photos that are parented by a Where on Earth (WOE) or Places ID. Response: Montreal Golden Square Mile, Montreal, QC, CA, Canada Downtown Montréal, Montreal, QC, CA, Canada */ @interface FKFlickrPlacesGetChildrenWithPhotosPublic : NSObject /* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.m ================================================ // // FKFlickrPlacesGetChildrenWithPhotosPublic.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesGetChildrenWithPhotosPublic.h" @implementation FKFlickrPlacesGetChildrenWithPhotosPublic - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.getChildrenWithPhotosPublic"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesGetChildrenWithPhotosPublicError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_NotAValidPlacesID: return @"Not a valid Places ID"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_PlaceNotFound: return @"Place not found"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesGetChildrenWithPhotosPublicError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.h ================================================ // // FKFlickrPlacesGetInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesGetInfoError_RequiredParameterMissing = 1, /* One or more required parameter is missing from the API call. */ FKFlickrPlacesGetInfoError_NotAValidPlacesID = 2, /* An invalid Places (or WOE) ID was passed with the API call. */ FKFlickrPlacesGetInfoError_PlaceNotFound = 3, /* No place could be found for the Places (or WOE) ID passed to the API call. */ FKFlickrPlacesGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesGetInfoError; /* Get informations about a place. Response: Montreal Montréal Quebec Canada 45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc... http://farm4.static.flickr.com/3228/shapefiles/3534_20081111_0a8afe03c5.tar.gz */ @interface FKFlickrPlacesGetInfo : NSObject /* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.m ================================================ // // FKFlickrPlacesGetInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesGetInfo.h" @implementation FKFlickrPlacesGetInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.getInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesGetInfoError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesGetInfoError_NotAValidPlacesID: return @"Not a valid Places ID"; case FKFlickrPlacesGetInfoError_PlaceNotFound: return @"Place not found"; case FKFlickrPlacesGetInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesGetInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesGetInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesGetInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesGetInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesGetInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesGetInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.h ================================================ // // FKFlickrPlacesGetInfoByUrl.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesGetInfoByUrlError_PlaceURLRequired = 2, /* The flickr.com/places URL was not passed with the API method. */ FKFlickrPlacesGetInfoByUrlError_PlaceNotFound = 3, /* Unable to find a valid place for the places URL. */ FKFlickrPlacesGetInfoByUrlError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesGetInfoByUrlError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesGetInfoByUrlError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesGetInfoByUrlError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesGetInfoByUrlError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesGetInfoByUrlError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesGetInfoByUrlError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesGetInfoByUrlError; /* Lookup information about a place, by its flickr.com/places URL. Response: Montreal Montréal Quebec Canada 45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc... */ @interface FKFlickrPlacesGetInfoByUrl : NSObject /* A flickr.com/places URL in the form of /country/region/city. For example: /Canada/Quebec/Montreal */ @property (nonatomic, strong) NSString *url; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.m ================================================ // // FKFlickrPlacesGetInfoByUrl.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesGetInfoByUrl.h" @implementation FKFlickrPlacesGetInfoByUrl - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.getInfoByUrl"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.url) { valid = NO; [errorDescription appendString:@"'url', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.url) { [args setValue:self.url forKey:@"url"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesGetInfoByUrlError_PlaceURLRequired: return @"Place URL required."; case FKFlickrPlacesGetInfoByUrlError_PlaceNotFound: return @"Place not found."; case FKFlickrPlacesGetInfoByUrlError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesGetInfoByUrlError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesGetInfoByUrlError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesGetInfoByUrlError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesGetInfoByUrlError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesGetInfoByUrlError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesGetInfoByUrlError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.h ================================================ // // FKFlickrPlacesGetPlaceTypes.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesGetPlaceTypesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesGetPlaceTypesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesGetPlaceTypesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesGetPlaceTypesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesGetPlaceTypesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesGetPlaceTypesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesGetPlaceTypesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesGetPlaceTypesError; /* Fetches a list of available place types for Flickr. Response: neighbourhood locality county region country continent */ @interface FKFlickrPlacesGetPlaceTypes : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.m ================================================ // // FKFlickrPlacesGetPlaceTypes.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesGetPlaceTypes.h" @implementation FKFlickrPlacesGetPlaceTypes - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.getPlaceTypes"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesGetPlaceTypesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesGetPlaceTypesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesGetPlaceTypesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesGetPlaceTypesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesGetPlaceTypesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesGetPlaceTypesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesGetPlaceTypesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.h ================================================ // // FKFlickrPlacesGetShapeHistory.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesGetShapeHistoryError_RequiredParameterMissing = 1, /* One or more required parameter is missing from the API call. */ FKFlickrPlacesGetShapeHistoryError_NotAValidPlacesID = 2, /* An invalid Places (or WOE) ID was passed with the API call. */ FKFlickrPlacesGetShapeHistoryError_PlaceNotFound = 3, /* No place could be found for the Places (or WOE) ID passed to the API call. */ FKFlickrPlacesGetShapeHistoryError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesGetShapeHistoryError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesGetShapeHistoryError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesGetShapeHistoryError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesGetShapeHistoryError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesGetShapeHistoryError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesGetShapeHistoryError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesGetShapeHistoryError; /* Return an historical list of all the shape data generated for a Places or Where on Earth (WOE) ID. Response: 45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc... http://farm4.static.flickr.com/3228/shapefiles/3534_20081111_0a8afe03c5.tar.gz */ @interface FKFlickrPlacesGetShapeHistory : NSObject /* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.m ================================================ // // FKFlickrPlacesGetShapeHistory.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesGetShapeHistory.h" @implementation FKFlickrPlacesGetShapeHistory - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.getShapeHistory"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesGetShapeHistoryError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesGetShapeHistoryError_NotAValidPlacesID: return @"Not a valid Places ID"; case FKFlickrPlacesGetShapeHistoryError_PlaceNotFound: return @"Place not found"; case FKFlickrPlacesGetShapeHistoryError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesGetShapeHistoryError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesGetShapeHistoryError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesGetShapeHistoryError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesGetShapeHistoryError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesGetShapeHistoryError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesGetShapeHistoryError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.h ================================================ // // FKFlickrPlacesGetTopPlacesList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesGetTopPlacesListError_RequiredParameterMissing = 1, /* One or more required parameters with missing from your request. */ FKFlickrPlacesGetTopPlacesListError_NotAValidPlaceType = 2, /* An unknown or unsupported place type ID was passed with your request. */ FKFlickrPlacesGetTopPlacesListError_NotAValidDate = 3, /* The date argument passed with your request is invalid. */ FKFlickrPlacesGetTopPlacesListError_NotAValidPlaceID = 4, /* An invalid Places (or WOE) identifier was included with your request. */ FKFlickrPlacesGetTopPlacesListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesGetTopPlacesListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesGetTopPlacesListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesGetTopPlacesListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesGetTopPlacesListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesGetTopPlacesListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesGetTopPlacesListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesGetTopPlacesListError; /* Return the top 100 most geotagged places for a day. Response: United States */ @interface FKFlickrPlacesGetTopPlacesList : NSObject /* The numeric ID for a specific place type to cluster photos by.

Valid place type IDs are :
  • 22: neighbourhood
  • 7: locality
  • 8: region
  • 12: country
  • 29: continent
*/ @property (nonatomic, strong) NSString *place_type_id; /* (Required) */ /* A valid date in YYYY-MM-DD format. The default is yesterday. */ @property (nonatomic, strong) NSString *date; /* Limit your query to only those top places belonging to a specific Where on Earth (WOE) identifier. */ @property (nonatomic, strong) NSString *woe_id; /* Limit your query to only those top places belonging to a specific Flickr Places identifier. */ @property (nonatomic, strong) NSString *place_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m ================================================ // // FKFlickrPlacesGetTopPlacesList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesGetTopPlacesList.h" @implementation FKFlickrPlacesGetTopPlacesList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.getTopPlacesList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.place_type_id) { valid = NO; [errorDescription appendString:@"'place_type_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_type_id) { [args setValue:self.place_type_id forKey:@"place_type_id"]; } if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesGetTopPlacesListError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesGetTopPlacesListError_NotAValidPlaceType: return @"Not a valid place type."; case FKFlickrPlacesGetTopPlacesListError_NotAValidDate: return @"Not a valid date."; case FKFlickrPlacesGetTopPlacesListError_NotAValidPlaceID: return @"Not a valid Place ID"; case FKFlickrPlacesGetTopPlacesListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesGetTopPlacesListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesGetTopPlacesListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesGetTopPlacesListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesGetTopPlacesListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesGetTopPlacesListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesGetTopPlacesListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h ================================================ // // FKFlickrPlacesPlacesForBoundingBox.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesPlacesForBoundingBoxError_RequiredParametersMissing = 1, /* One or more required parameter is missing from the API call. */ FKFlickrPlacesPlacesForBoundingBoxError_NotAValidBbox = 2, /* The bbox argument was incomplete or incorrectly formatted */ FKFlickrPlacesPlacesForBoundingBoxError_NotAValidPlaceType = 3, /* An invalid place type was included with your request. */ FKFlickrPlacesPlacesForBoundingBoxError_BoundingBoxExceedsMaximumAllowableSizeForPlaceType = 4, /* The bounding box passed along with your request was too large for the request place type. */ FKFlickrPlacesPlacesForBoundingBoxError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesPlacesForBoundingBoxError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesPlacesForBoundingBoxError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesPlacesForBoundingBoxError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesPlacesForBoundingBoxError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesPlacesForBoundingBoxError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesPlacesForBoundingBoxError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesPlacesForBoundingBoxError; /* Return all the locations of a matching place type for a bounding box.

The maximum allowable size of a bounding box (the distance between the SW and NE corners) is governed by the place type you are requesting. Allowable sizes are as follows:
  • neighbourhood: 3km (1.8mi)
  • locality: 7km (4.3mi)
  • county: 50km (31mi)
  • region: 200km (124mi)
  • country: 500km (310mi)
  • continent: 1500km (932mi)
Response: Downtown, San Francisco, CA, US, United States Civic Center, San Francisco, CA, US, United States Chinatown, San Francisco, CA, US, United States */ @interface FKFlickrPlacesPlacesForBoundingBox : NSObject /* A comma-delimited list of 4 values defining the Bounding Box of the area that will be searched. The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude. */ @property (nonatomic, strong) NSString *bbox; /* (Required) */ /* The name of place type to using as the starting point to search for places in a bounding box. Valid placetypes are:
  • neighbourhood
  • locality
  • county
  • region
  • country
  • continent

The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won't go away but it will not be added to new methods. A complete list of place type IDs is available using the flickr.places.getPlaceTypes method. (While optional, you must pass either a valid place type or place type ID.) */ @property (nonatomic, strong) NSString *place_type; /* The numeric ID for a specific place type to cluster photos by.

Valid place type IDs are :
  • 22: neighbourhood
  • 7: locality
  • 8: region
  • 12: country
  • 29: continent

(While optional, you must pass either a valid place type or place type ID.) */ @property (nonatomic, strong) NSString *place_type_id; /* Perform a recursive place type search. For example, if you search for neighbourhoods in a given bounding box but there are no results the method will also query for localities and so on until one or more valid places are found.
Recursive searches do not change the bounding box size restrictions for the initial place type passed to the method. */ @property (nonatomic, strong) NSString *recursive; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m ================================================ // // FKFlickrPlacesPlacesForBoundingBox.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesPlacesForBoundingBox.h" @implementation FKFlickrPlacesPlacesForBoundingBox - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.placesForBoundingBox"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.bbox) { valid = NO; [errorDescription appendString:@"'bbox', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.bbox) { [args setValue:self.bbox forKey:@"bbox"]; } if(self.place_type) { [args setValue:self.place_type forKey:@"place_type"]; } if(self.place_type_id) { [args setValue:self.place_type_id forKey:@"place_type_id"]; } if(self.recursive) { [args setValue:self.recursive forKey:@"recursive"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesPlacesForBoundingBoxError_RequiredParametersMissing: return @"Required parameters missing"; case FKFlickrPlacesPlacesForBoundingBoxError_NotAValidBbox: return @"Not a valid bbox"; case FKFlickrPlacesPlacesForBoundingBoxError_NotAValidPlaceType: return @"Not a valid place type"; case FKFlickrPlacesPlacesForBoundingBoxError_BoundingBoxExceedsMaximumAllowableSizeForPlaceType: return @"Bounding box exceeds maximum allowable size for place type"; case FKFlickrPlacesPlacesForBoundingBoxError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesPlacesForBoundingBoxError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesPlacesForBoundingBoxError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesPlacesForBoundingBoxError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesPlacesForBoundingBoxError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesPlacesForBoundingBoxError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesPlacesForBoundingBoxError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h ================================================ // // FKFlickrPlacesPlacesForContacts.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesPlacesForContactsError_PlacesForContactsAreNotAvailableAtThisTime = 1, /* Places for contacts have been disabled or are otherwise not available. */ FKFlickrPlacesPlacesForContactsError_RequiredParameterMissing = 2, /* One or more of the required parameters was not included with your request. */ FKFlickrPlacesPlacesForContactsError_NotAValidPlaceType = 3, /* An invalid place type was included with your request. */ FKFlickrPlacesPlacesForContactsError_NotAValidPlaceID = 4, /* An invalid Places (or WOE) identifier was included with your request. */ FKFlickrPlacesPlacesForContactsError_NotAValidThreshold = 5, /* The threshold passed was invalid. */ FKFlickrPlacesPlacesForContactsError_NotAValidContactsType = 6, /* Contacts must be either "all" or "ff" (friends and family). */ FKFlickrPlacesPlacesForContactsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPlacesPlacesForContactsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPlacesPlacesForContactsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPlacesPlacesForContactsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPlacesPlacesForContactsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesPlacesForContactsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesPlacesForContactsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesPlacesForContactsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesPlacesForContactsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesPlacesForContactsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesPlacesForContactsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesPlacesForContactsError; /* Return a list of the top 100 unique places clustered by a given placetype for a user's contacts. Response: San Francisco, California */ @interface FKFlickrPlacesPlacesForContacts : NSObject /* A specific place type to cluster photos by.

Valid place types are :
  • neighbourhood (and neighborhood)
  • locality
  • region
  • country
  • continent

The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won't go away but it will not be added to new methods. A complete list of place type IDs is available using the flickr.places.getPlaceTypes method. (While optional, you must pass either a valid place type or place type ID.) */ @property (nonatomic, strong) NSString *place_type; /* The numeric ID for a specific place type to cluster photos by.

Valid place type IDs are :
  • 22: neighbourhood
  • 7: locality
  • 8: region
  • 12: country
  • 29: continent

(While optional, you must pass either a valid place type or place type ID.) */ @property (nonatomic, strong) NSString *place_type_id; /* A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (WOE ID 23424977).

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; /* A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (Place ID 4KO02SibApitvSBieQ).

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.

For example if your contacts only have 3 photos taken in the locality of Montreal (WOE ID 3534) but your threshold is set to 5 then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924). */ @property (nonatomic, strong) NSString *threshold; /* Search your contacts. Either 'all' or 'ff' for just friends and family. (Default is all) */ @property (nonatomic, strong) NSString *contacts; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *max_taken_date; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m ================================================ // // FKFlickrPlacesPlacesForContacts.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesPlacesForContacts.h" @implementation FKFlickrPlacesPlacesForContacts - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.places.placesForContacts"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_type) { [args setValue:self.place_type forKey:@"place_type"]; } if(self.place_type_id) { [args setValue:self.place_type_id forKey:@"place_type_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.threshold) { [args setValue:self.threshold forKey:@"threshold"]; } if(self.contacts) { [args setValue:self.contacts forKey:@"contacts"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesPlacesForContactsError_PlacesForContactsAreNotAvailableAtThisTime: return @"Places for contacts are not available at this time"; case FKFlickrPlacesPlacesForContactsError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesPlacesForContactsError_NotAValidPlaceType: return @"Not a valid place type."; case FKFlickrPlacesPlacesForContactsError_NotAValidPlaceID: return @"Not a valid Place ID"; case FKFlickrPlacesPlacesForContactsError_NotAValidThreshold: return @"Not a valid threshold"; case FKFlickrPlacesPlacesForContactsError_NotAValidContactsType: return @"Not a valid contacts type"; case FKFlickrPlacesPlacesForContactsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPlacesPlacesForContactsError_MissingSignature: return @"Missing signature"; case FKFlickrPlacesPlacesForContactsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPlacesPlacesForContactsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPlacesPlacesForContactsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesPlacesForContactsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesPlacesForContactsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesPlacesForContactsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesPlacesForContactsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesPlacesForContactsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesPlacesForContactsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h ================================================ // // FKFlickrPlacesPlacesForTags.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesPlacesForTagsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesPlacesForTagsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesPlacesForTagsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesPlacesForTagsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesPlacesForTagsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesPlacesForTagsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesPlacesForTagsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesPlacesForTagsError; /* Return a list of the top 100 unique places clustered by a given placetype for set of tags or machine tags. Response: San Francisco, California */ @interface FKFlickrPlacesPlacesForTags : NSObject /* The numeric ID for a specific place type to cluster photos by.

Valid place type IDs are :
  • 22: neighbourhood
  • 7: locality
  • 8: region
  • 12: country
  • 29: continent
*/ @property (nonatomic, strong) NSString *place_type_id; /* (Required) */ /* A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (WOE ID 23424977).

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; /* A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (Place ID 4KO02SibApitvSBieQ).

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.

For example if you only have 3 photos taken in the locality of Montreal (WOE ID 3534) but your threshold is set to 5 then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924). */ @property (nonatomic, strong) NSString *threshold; /* A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. */ @property (nonatomic, strong) NSString *tags; /* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ @property (nonatomic, strong) NSString *tag_mode; /* Aside from passing in a fully formed machine tag, there is a special syntax for searching on specific properties :
  • Find photos using the 'dc' namespace : "machine_tags" => "dc:"
  • Find photos with a title in the 'dc' namespace : "machine_tags" => "dc:title="
  • Find photos titled "mr. camera" in the 'dc' namespace : "machine_tags" => "dc:title=\"mr. camera\"
  • Find photos whose value is "mr. camera" : "machine_tags" => "*:*=\"mr. camera\""
  • Find photos that have a title, in any namespace : "machine_tags" => "*:title="
  • Find photos that have a title, in any namespace, whose value is "mr. camera" : "machine_tags" => "*:title=\"mr. camera\""
  • Find photos, in the 'dc' namespace whose value is "mr. camera" : "machine_tags" => "dc:*=\"mr. camera\""
Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited to (8). */ @property (nonatomic, strong) NSString *machine_tags; /* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ @property (nonatomic, strong) NSString *machine_tag_mode; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *max_taken_date; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m ================================================ // // FKFlickrPlacesPlacesForTags.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesPlacesForTags.h" @implementation FKFlickrPlacesPlacesForTags - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.placesForTags"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.place_type_id) { valid = NO; [errorDescription appendString:@"'place_type_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_type_id) { [args setValue:self.place_type_id forKey:@"place_type_id"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.threshold) { [args setValue:self.threshold forKey:@"threshold"]; } if(self.tags) { [args setValue:self.tags forKey:@"tags"]; } if(self.tag_mode) { [args setValue:self.tag_mode forKey:@"tag_mode"]; } if(self.machine_tags) { [args setValue:self.machine_tags forKey:@"machine_tags"]; } if(self.machine_tag_mode) { [args setValue:self.machine_tag_mode forKey:@"machine_tag_mode"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesPlacesForTagsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesPlacesForTagsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesPlacesForTagsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesPlacesForTagsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesPlacesForTagsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesPlacesForTagsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesPlacesForTagsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h ================================================ // // FKFlickrPlacesPlacesForUser.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesPlacesForUserError_PlacesForUserAreNotAvailableAtThisTime = 1, /* Places for user have been disabled or are otherwise not available. */ FKFlickrPlacesPlacesForUserError_RequiredParameterMissing = 2, /* One or more of the required parameters was not included with your request. */ FKFlickrPlacesPlacesForUserError_NotAValidPlaceType = 3, /* An invalid place type was included with your request. */ FKFlickrPlacesPlacesForUserError_NotAValidPlaceID = 4, /* An invalid Places (or WOE) identifier was included with your request. */ FKFlickrPlacesPlacesForUserError_NotAValidThreshold = 5, /* The threshold passed was invalid. */ FKFlickrPlacesPlacesForUserError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPlacesPlacesForUserError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPlacesPlacesForUserError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPlacesPlacesForUserError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPlacesPlacesForUserError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesPlacesForUserError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesPlacesForUserError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesPlacesForUserError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesPlacesForUserError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesPlacesForUserError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesPlacesForUserError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesPlacesForUserError; /* Return a list of the top 100 unique places clustered by a given placetype for a user. Response: San Francisco, California */ @interface FKFlickrPlacesPlacesForUser : NSObject /* The numeric ID for a specific place type to cluster photos by.

Valid place type IDs are :
  • 22: neighbourhood
  • 7: locality
  • 8: region
  • 12: country
  • 29: continent

The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won't go away but it will not be added to new methods. A complete list of place type IDs is available using the flickr.places.getPlaceTypes method. (While optional, you must pass either a valid place type or place type ID.) */ @property (nonatomic, strong) NSString *place_type_id; /* A specific place type to cluster photos by.

Valid place types are :
  • neighbourhood (and neighborhood)
  • locality
  • region
  • country
  • continent

(While optional, you must pass either a valid place type or place type ID.) */ @property (nonatomic, strong) NSString *place_type; /* A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (WOE ID 23424977).

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; /* A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (Place ID 4KO02SibApitvSBieQ).

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.

For example if you only have 3 photos taken in the locality of Montreal (WOE ID 3534) but your threshold is set to 5 then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924). */ @property (nonatomic, strong) NSString *threshold; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *max_taken_date; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m ================================================ // // FKFlickrPlacesPlacesForUser.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesPlacesForUser.h" @implementation FKFlickrPlacesPlacesForUser - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.places.placesForUser"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_type_id) { [args setValue:self.place_type_id forKey:@"place_type_id"]; } if(self.place_type) { [args setValue:self.place_type forKey:@"place_type"]; } if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.threshold) { [args setValue:self.threshold forKey:@"threshold"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesPlacesForUserError_PlacesForUserAreNotAvailableAtThisTime: return @"Places for user are not available at this time"; case FKFlickrPlacesPlacesForUserError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesPlacesForUserError_NotAValidPlaceType: return @"Not a valid place type"; case FKFlickrPlacesPlacesForUserError_NotAValidPlaceID: return @"Not a valid Place ID"; case FKFlickrPlacesPlacesForUserError_NotAValidThreshold: return @"Not a valid threshold"; case FKFlickrPlacesPlacesForUserError_InvalidSignature: return @"Invalid signature"; case FKFlickrPlacesPlacesForUserError_MissingSignature: return @"Missing signature"; case FKFlickrPlacesPlacesForUserError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPlacesPlacesForUserError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPlacesPlacesForUserError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesPlacesForUserError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesPlacesForUserError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesPlacesForUserError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesPlacesForUserError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesPlacesForUserError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesPlacesForUserError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h ================================================ // // FKFlickrPlacesResolvePlaceId.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesResolvePlaceIdError_PlaceIDRequired = 2, /* */ FKFlickrPlacesResolvePlaceIdError_PlaceNotFound = 3, /* */ FKFlickrPlacesResolvePlaceIdError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesResolvePlaceIdError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesResolvePlaceIdError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesResolvePlaceIdError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesResolvePlaceIdError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesResolvePlaceIdError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesResolvePlaceIdError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesResolvePlaceIdError; /* Find Flickr Places information by Place ID.

This method has been deprecated. It won't be removed but you should use flickr.places.getInfo instead. Response: San Francisco San Francisco California United States */ @interface FKFlickrPlacesResolvePlaceId : NSObject /* A Flickr Places ID */ @property (nonatomic, strong) NSString *place_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.m ================================================ // // FKFlickrPlacesResolvePlaceId.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesResolvePlaceId.h" @implementation FKFlickrPlacesResolvePlaceId - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.resolvePlaceId"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.place_id) { valid = NO; [errorDescription appendString:@"'place_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesResolvePlaceIdError_PlaceIDRequired: return @"Place ID required."; case FKFlickrPlacesResolvePlaceIdError_PlaceNotFound: return @"Place not found."; case FKFlickrPlacesResolvePlaceIdError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesResolvePlaceIdError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesResolvePlaceIdError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesResolvePlaceIdError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesResolvePlaceIdError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesResolvePlaceIdError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesResolvePlaceIdError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.h ================================================ // // FKFlickrPlacesResolvePlaceURL.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesResolvePlaceURLError_PlaceURLRequired = 2, /* */ FKFlickrPlacesResolvePlaceURLError_PlaceNotFound = 3, /* */ FKFlickrPlacesResolvePlaceURLError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesResolvePlaceURLError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesResolvePlaceURLError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesResolvePlaceURLError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesResolvePlaceURLError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesResolvePlaceURLError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesResolvePlaceURLError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesResolvePlaceURLError; /* Find Flickr Places information by Place URL.

This method has been deprecated. It won't be removed but you should use flickr.places.getInfoByUrl instead. Response: San Francisco San Francisco California United States */ @interface FKFlickrPlacesResolvePlaceURL : NSObject /* A Flickr Places URL.

Flickr Place URLs are of the form /country/region/city */ @property (nonatomic, strong) NSString *url; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m ================================================ // // FKFlickrPlacesResolvePlaceURL.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesResolvePlaceURL.h" @implementation FKFlickrPlacesResolvePlaceURL - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.resolvePlaceURL"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.url) { valid = NO; [errorDescription appendString:@"'url', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.url) { [args setValue:self.url forKey:@"url"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesResolvePlaceURLError_PlaceURLRequired: return @"Place URL required."; case FKFlickrPlacesResolvePlaceURLError_PlaceNotFound: return @"Place not found."; case FKFlickrPlacesResolvePlaceURLError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesResolvePlaceURLError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesResolvePlaceURLError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesResolvePlaceURLError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesResolvePlaceURLError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesResolvePlaceURLError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesResolvePlaceURLError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h ================================================ // // FKFlickrPlacesTagsForPlace.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPlacesTagsForPlaceError_RequiredParameterMissing = 1, /* One or more parameters was not included with the API request */ FKFlickrPlacesTagsForPlaceError_NotAValidPlacesID = 2, /* An invalid Places (or WOE) identifier was included with your request. */ FKFlickrPlacesTagsForPlaceError_PlaceNotFound = 3, /* An invalid Places (or WOE) identifier was included with your request. */ FKFlickrPlacesTagsForPlaceError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPlacesTagsForPlaceError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPlacesTagsForPlaceError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPlacesTagsForPlaceError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPlacesTagsForPlaceError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPlacesTagsForPlaceError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPlacesTagsForPlaceError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPlacesTagsForPlaceError; /* Return a list of the top 100 unique tags for a Flickr Places or Where on Earth (WOE) ID Response: montreal canada montréal quebec québec sylvainmichaud nikon lucbus music urban lucbussieres festival */ @interface FKFlickrPlacesTagsForPlace : NSObject /* A Where on Earth identifier to use to filter photo clusters.

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *woe_id; /* A Flickr Places identifier to use to filter photo clusters.

(While optional, you must pass either a valid Places ID or a WOE ID.) */ @property (nonatomic, strong) NSString *place_id; /* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *min_upload_date; /* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */ @property (nonatomic, strong) NSString *max_upload_date; /* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *min_taken_date; /* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */ @property (nonatomic, strong) NSString *max_taken_date; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m ================================================ // // FKFlickrPlacesTagsForPlace.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPlacesTagsForPlace.h" @implementation FKFlickrPlacesTagsForPlace - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.places.tagsForPlace"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.woe_id) { [args setValue:self.woe_id forKey:@"woe_id"]; } if(self.place_id) { [args setValue:self.place_id forKey:@"place_id"]; } if(self.min_upload_date) { [args setValue:self.min_upload_date forKey:@"min_upload_date"]; } if(self.max_upload_date) { [args setValue:self.max_upload_date forKey:@"max_upload_date"]; } if(self.min_taken_date) { [args setValue:self.min_taken_date forKey:@"min_taken_date"]; } if(self.max_taken_date) { [args setValue:self.max_taken_date forKey:@"max_taken_date"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPlacesTagsForPlaceError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPlacesTagsForPlaceError_NotAValidPlacesID: return @"Not a valid Places ID"; case FKFlickrPlacesTagsForPlaceError_PlaceNotFound: return @"Place not found"; case FKFlickrPlacesTagsForPlaceError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPlacesTagsForPlaceError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPlacesTagsForPlaceError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPlacesTagsForPlaceError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPlacesTagsForPlaceError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPlacesTagsForPlaceError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPlacesTagsForPlaceError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h ================================================ // // FKFlickrPrefsGetContentType.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPrefsGetContentTypeError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPrefsGetContentTypeError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPrefsGetContentTypeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPrefsGetContentTypeError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPrefsGetContentTypeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPrefsGetContentTypeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPrefsGetContentTypeError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPrefsGetContentTypeError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPrefsGetContentTypeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPrefsGetContentTypeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPrefsGetContentTypeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPrefsGetContentTypeError; /* Returns the default content type preference for the user. Response: */ @interface FKFlickrPrefsGetContentType : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.m ================================================ // // FKFlickrPrefsGetContentType.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPrefsGetContentType.h" @implementation FKFlickrPrefsGetContentType - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.prefs.getContentType"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPrefsGetContentTypeError_InvalidSignature: return @"Invalid signature"; case FKFlickrPrefsGetContentTypeError_MissingSignature: return @"Missing signature"; case FKFlickrPrefsGetContentTypeError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPrefsGetContentTypeError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPrefsGetContentTypeError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPrefsGetContentTypeError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPrefsGetContentTypeError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPrefsGetContentTypeError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPrefsGetContentTypeError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPrefsGetContentTypeError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPrefsGetContentTypeError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.h ================================================ // // FKFlickrPrefsGetGeoPerms.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPrefsGetGeoPermsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPrefsGetGeoPermsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPrefsGetGeoPermsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPrefsGetGeoPermsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPrefsGetGeoPermsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPrefsGetGeoPermsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPrefsGetGeoPermsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPrefsGetGeoPermsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPrefsGetGeoPermsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPrefsGetGeoPermsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPrefsGetGeoPermsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPrefsGetGeoPermsError; /* Returns the default privacy level for geographic information attached to the user's photos and whether or not the user has chosen to use geo-related EXIF information to automatically geotag their photos. Possible values, for viewing geotagged photos, are:
  • 0 : No default set
  • 1 : Public
  • 2 : Contacts only
  • 3 : Friends and Family only
  • 4 : Friends only
  • 5 : Family only
  • 6 : Private
Users can edit this preference at http://www.flickr.com/account/geo/privacy/.

Possible values for whether or not geo-related EXIF information will be used to geotag a photo are:
  • 0: Geo-related EXIF information will be ignored
  • 1: Geo-related EXIF information will be used to try and geotag photos on upload
Users can edit this preference at http://www.flickr.com/account/geo/exif/?from=privacy Response: */ @interface FKFlickrPrefsGetGeoPerms : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.m ================================================ // // FKFlickrPrefsGetGeoPerms.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPrefsGetGeoPerms.h" @implementation FKFlickrPrefsGetGeoPerms - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.prefs.getGeoPerms"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPrefsGetGeoPermsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPrefsGetGeoPermsError_MissingSignature: return @"Missing signature"; case FKFlickrPrefsGetGeoPermsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPrefsGetGeoPermsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPrefsGetGeoPermsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPrefsGetGeoPermsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPrefsGetGeoPermsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPrefsGetGeoPermsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPrefsGetGeoPermsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPrefsGetGeoPermsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPrefsGetGeoPermsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.h ================================================ // // FKFlickrPrefsGetHidden.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPrefsGetHiddenError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPrefsGetHiddenError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPrefsGetHiddenError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPrefsGetHiddenError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPrefsGetHiddenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPrefsGetHiddenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPrefsGetHiddenError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPrefsGetHiddenError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPrefsGetHiddenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPrefsGetHiddenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPrefsGetHiddenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPrefsGetHiddenError; /* Returns the default hidden preference for the user. Response: */ @interface FKFlickrPrefsGetHidden : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.m ================================================ // // FKFlickrPrefsGetHidden.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPrefsGetHidden.h" @implementation FKFlickrPrefsGetHidden - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.prefs.getHidden"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPrefsGetHiddenError_InvalidSignature: return @"Invalid signature"; case FKFlickrPrefsGetHiddenError_MissingSignature: return @"Missing signature"; case FKFlickrPrefsGetHiddenError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPrefsGetHiddenError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPrefsGetHiddenError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPrefsGetHiddenError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPrefsGetHiddenError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPrefsGetHiddenError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPrefsGetHiddenError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPrefsGetHiddenError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPrefsGetHiddenError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.h ================================================ // // FKFlickrPrefsGetPrivacy.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPrefsGetPrivacyError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPrefsGetPrivacyError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPrefsGetPrivacyError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPrefsGetPrivacyError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPrefsGetPrivacyError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPrefsGetPrivacyError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPrefsGetPrivacyError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPrefsGetPrivacyError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPrefsGetPrivacyError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPrefsGetPrivacyError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPrefsGetPrivacyError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPrefsGetPrivacyError; /* Returns the default privacy level preference for the user. Possible values are:
  • 1 : Public
  • 2 : Friends only
  • 3 : Family only
  • 4 : Friends and Family
  • 5 : Private
Response: */ @interface FKFlickrPrefsGetPrivacy : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.m ================================================ // // FKFlickrPrefsGetPrivacy.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPrefsGetPrivacy.h" @implementation FKFlickrPrefsGetPrivacy - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.prefs.getPrivacy"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPrefsGetPrivacyError_InvalidSignature: return @"Invalid signature"; case FKFlickrPrefsGetPrivacyError_MissingSignature: return @"Missing signature"; case FKFlickrPrefsGetPrivacyError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPrefsGetPrivacyError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPrefsGetPrivacyError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPrefsGetPrivacyError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPrefsGetPrivacyError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPrefsGetPrivacyError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPrefsGetPrivacyError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPrefsGetPrivacyError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPrefsGetPrivacyError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.h ================================================ // // FKFlickrPrefsGetSafetyLevel.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPrefsGetSafetyLevelError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPrefsGetSafetyLevelError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPrefsGetSafetyLevelError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPrefsGetSafetyLevelError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPrefsGetSafetyLevelError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPrefsGetSafetyLevelError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPrefsGetSafetyLevelError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPrefsGetSafetyLevelError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPrefsGetSafetyLevelError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPrefsGetSafetyLevelError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPrefsGetSafetyLevelError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPrefsGetSafetyLevelError; /* Returns the default safety level preference for the user. Response: */ @interface FKFlickrPrefsGetSafetyLevel : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.m ================================================ // // FKFlickrPrefsGetSafetyLevel.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPrefsGetSafetyLevel.h" @implementation FKFlickrPrefsGetSafetyLevel - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.prefs.getSafetyLevel"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPrefsGetSafetyLevelError_InvalidSignature: return @"Invalid signature"; case FKFlickrPrefsGetSafetyLevelError_MissingSignature: return @"Missing signature"; case FKFlickrPrefsGetSafetyLevelError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPrefsGetSafetyLevelError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPrefsGetSafetyLevelError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPrefsGetSafetyLevelError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPrefsGetSafetyLevelError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPrefsGetSafetyLevelError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPrefsGetSafetyLevelError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPrefsGetSafetyLevelError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPrefsGetSafetyLevelError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.h ================================================ // // FKFlickrPushGetSubscriptions.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPushGetSubscriptionsError_ServiceCurrentlyAvailableOnlyToProAccounts = 5, /* PuSH subscriptions are currently restricted to Pro account holders. */ FKFlickrPushGetSubscriptionsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPushGetSubscriptionsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPushGetSubscriptionsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPushGetSubscriptionsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPushGetSubscriptionsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPushGetSubscriptionsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPushGetSubscriptionsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPushGetSubscriptionsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPushGetSubscriptionsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPushGetSubscriptionsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPushGetSubscriptionsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPushGetSubscriptionsError; /* Returns a list of the subscriptions for the logged-in user.

(this method is experimental and may change) Response: */ @interface FKFlickrPushGetSubscriptions : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.m ================================================ // // FKFlickrPushGetSubscriptions.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPushGetSubscriptions.h" @implementation FKFlickrPushGetSubscriptions - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.push.getSubscriptions"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPushGetSubscriptionsError_ServiceCurrentlyAvailableOnlyToProAccounts: return @"Service currently available only to pro accounts"; case FKFlickrPushGetSubscriptionsError_InvalidSignature: return @"Invalid signature"; case FKFlickrPushGetSubscriptionsError_MissingSignature: return @"Missing signature"; case FKFlickrPushGetSubscriptionsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPushGetSubscriptionsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPushGetSubscriptionsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPushGetSubscriptionsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPushGetSubscriptionsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPushGetSubscriptionsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPushGetSubscriptionsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPushGetSubscriptionsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPushGetSubscriptionsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.h ================================================ // // FKFlickrPushGetTopics.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPushGetTopicsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPushGetTopicsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPushGetTopicsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPushGetTopicsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPushGetTopicsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPushGetTopicsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPushGetTopicsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPushGetTopicsError; /* All the different flavours of anteater.

(this method is experimental and may change) Response: */ @interface FKFlickrPushGetTopics : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.m ================================================ // // FKFlickrPushGetTopics.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPushGetTopics.h" @implementation FKFlickrPushGetTopics - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.push.getTopics"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPushGetTopicsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPushGetTopicsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPushGetTopicsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPushGetTopicsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPushGetTopicsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPushGetTopicsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPushGetTopicsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.h ================================================ // // FKFlickrPushSubscribe.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPushSubscribeError_RequiredParameterMissing = 1, /* One of the required arguments for the method was not provided. */ FKFlickrPushSubscribeError_InvalidParameterValue = 2, /* One of the arguments was specified with an illegal value. */ FKFlickrPushSubscribeError_CallbackURLAlreadyInUseForADifferentSubscription = 3, /* A different subscription already exists that uses the same callback URL. */ FKFlickrPushSubscribeError_CallbackFailedOrInvalidResponse = 4, /* The verification callback failed, or failed to return the expected response to confirm the subscription. */ FKFlickrPushSubscribeError_ServiceCurrentlyAvailableOnlyToProAccounts = 5, /* PuSH subscriptions are currently restricted to Pro account holders. */ FKFlickrPushSubscribeError_SubscriptionAwaitingVerificationCallbackResponseTryAgainLater = 6, /* A subscription with those details exists already, but it is in a pending (non-verified) state. Please wait a bit for the verification callback to complete before attempting to update the subscription. */ FKFlickrPushSubscribeError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPushSubscribeError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPushSubscribeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPushSubscribeError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPushSubscribeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPushSubscribeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPushSubscribeError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPushSubscribeError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPushSubscribeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPushSubscribeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPushSubscribeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPushSubscribeError; /* In ur pandas, tickling ur unicorn

(this method is experimental and may change) */ @interface FKFlickrPushSubscribe : NSObject /* The type of subscription. See flickr.push.getTopics. */ @property (nonatomic, strong) NSString *topic; /* (Required) */ /* The url for the subscription endpoint. Limited to 255 bytes, and must be unique for this user, i.e. no two subscriptions for a given user may use the same callback url. */ @property (nonatomic, strong) NSString *callback; /* (Required) */ /* The verification mode, either sync or async. See the Google PubSubHubbub spec for details. */ @property (nonatomic, strong) NSString *verify; /* (Required) */ /* The verification token to be echoed back to the subscriber during the verification callback, as per the Google PubSubHubbub spec. Limited to 200 bytes. */ @property (nonatomic, strong) NSString *verify_token; /* Number of seconds for which the subscription will be valid. Legal values are 60 to 86400 (1 minute to 1 day). If not present, the subscription will be auto-renewing. */ @property (nonatomic, strong) NSString *lease_seconds; /* A 32-bit integer for a Where on Earth ID. Only valid if topic is geo.

The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */ @property (nonatomic, strong) NSString *woe_ids; /* A comma-separated list of Flickr place IDs. Only valid if topic is geo.

The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */ @property (nonatomic, strong) NSString *place_ids; /* A latitude value, in decimal format. Only valid if topic is geo. Defines the latitude for a radial query centered around (lat, lon).

The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */ @property (nonatomic, strong) NSString *lat; /* A longitude value, in decimal format. Only valid if topic is geo. Defines the longitude for a radial query centered around (lat, lon).

The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */ @property (nonatomic, strong) NSString *lon; /* A radius value, in the units defined by radius_units. Only valid if topic is geo. Defines the radius of a circle for a radial query centered around (lat, lon). Default is 5 km.

The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */ @property (nonatomic, strong) NSString *radius; /* Defines the units for the radius parameter. Only valid if topic is geo. Options are mi and km. Default is km.

The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */ @property (nonatomic, strong) NSString *radius_units; /* Defines the minimum accuracy required for photos to be included in a subscription. Only valid if topic is geo Legal values are 1-16, default is 1 (i.e. any accuracy level).
  • World level is 1
  • Country is ~3
  • Region is ~6
  • City is ~11
  • Street is ~16
*/ @property (nonatomic, strong) NSString *accuracy; /* A comma-separated list of nsids representing Flickr Commons institutions (see flickr.commons.getInstitutions). Only valid if topic is commons. If not present this argument defaults to all Flickr Commons institutions. */ @property (nonatomic, strong) NSString *nsids; /* A comma-separated list of strings to be used for tag subscriptions. Photos with one or more of the tags listed will be included in the subscription. Only valid if the topic is tags. */ @property (nonatomic, strong) NSString *tags; /* A comma-separated list of strings to be used for machine tag subscriptions. Photos with one or more of the machine tags listed will be included in the subscription. Currently the format must be namespace:tag_name=value Only valid if the topic is tags. */ @property (nonatomic, strong) NSString *machine_tags; /* */ @property (nonatomic, strong) NSString *update_type; /* */ @property (nonatomic, strong) NSString *output_format; /* */ @property (nonatomic, strong) NSString *mailto; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.m ================================================ // // FKFlickrPushSubscribe.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPushSubscribe.h" @implementation FKFlickrPushSubscribe - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.push.subscribe"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic) { valid = NO; [errorDescription appendString:@"'topic', "]; } if(!self.callback) { valid = NO; [errorDescription appendString:@"'callback', "]; } if(!self.verify) { valid = NO; [errorDescription appendString:@"'verify', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic) { [args setValue:self.topic forKey:@"topic"]; } if(self.callback) { [args setValue:self.callback forKey:@"callback"]; } if(self.verify) { [args setValue:self.verify forKey:@"verify"]; } if(self.verify_token) { [args setValue:self.verify_token forKey:@"verify_token"]; } if(self.lease_seconds) { [args setValue:self.lease_seconds forKey:@"lease_seconds"]; } if(self.woe_ids) { [args setValue:self.woe_ids forKey:@"woe_ids"]; } if(self.place_ids) { [args setValue:self.place_ids forKey:@"place_ids"]; } if(self.lat) { [args setValue:self.lat forKey:@"lat"]; } if(self.lon) { [args setValue:self.lon forKey:@"lon"]; } if(self.radius) { [args setValue:self.radius forKey:@"radius"]; } if(self.radius_units) { [args setValue:self.radius_units forKey:@"radius_units"]; } if(self.accuracy) { [args setValue:self.accuracy forKey:@"accuracy"]; } if(self.nsids) { [args setValue:self.nsids forKey:@"nsids"]; } if(self.tags) { [args setValue:self.tags forKey:@"tags"]; } if(self.machine_tags) { [args setValue:self.machine_tags forKey:@"machine_tags"]; } if(self.update_type) { [args setValue:self.update_type forKey:@"update_type"]; } if(self.output_format) { [args setValue:self.output_format forKey:@"output_format"]; } if(self.mailto) { [args setValue:self.mailto forKey:@"mailto"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPushSubscribeError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPushSubscribeError_InvalidParameterValue: return @"Invalid parameter value"; case FKFlickrPushSubscribeError_CallbackURLAlreadyInUseForADifferentSubscription: return @"Callback URL already in use for a different subscription"; case FKFlickrPushSubscribeError_CallbackFailedOrInvalidResponse: return @"Callback failed or invalid response"; case FKFlickrPushSubscribeError_ServiceCurrentlyAvailableOnlyToProAccounts: return @"Service currently available only to pro accounts"; case FKFlickrPushSubscribeError_SubscriptionAwaitingVerificationCallbackResponseTryAgainLater: return @"Subscription awaiting verification callback response - try again later"; case FKFlickrPushSubscribeError_InvalidSignature: return @"Invalid signature"; case FKFlickrPushSubscribeError_MissingSignature: return @"Missing signature"; case FKFlickrPushSubscribeError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPushSubscribeError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPushSubscribeError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPushSubscribeError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPushSubscribeError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPushSubscribeError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPushSubscribeError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPushSubscribeError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPushSubscribeError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h ================================================ // // FKFlickrPushUnsubscribe.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrPushUnsubscribeError_RequiredParameterMissing = 1, /* One of the required arguments for the method was not provided. */ FKFlickrPushUnsubscribeError_InvalidParameterValue = 2, /* One of the arguments was specified with an illegal value. */ FKFlickrPushUnsubscribeError_CallbackFailedOrInvalidResponse = 4, /* The verification callback failed, or failed to return the expected response to confirm the un-subscription. */ FKFlickrPushUnsubscribeError_SubscriptionAwaitingVerificationCallbackResponseTryAgainLater = 6, /* A subscription with those details exists already, but it is in a pending (non-verified) state. Please wait a bit for the verification callback to complete before attempting to update the subscription. */ FKFlickrPushUnsubscribeError_SubscriptionNotFound = 7, /* No subscription matching the provided details for this user could be found. */ FKFlickrPushUnsubscribeError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrPushUnsubscribeError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrPushUnsubscribeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrPushUnsubscribeError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrPushUnsubscribeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrPushUnsubscribeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrPushUnsubscribeError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrPushUnsubscribeError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrPushUnsubscribeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrPushUnsubscribeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrPushUnsubscribeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrPushUnsubscribeError; /* Why would you want to do this?

(this method is experimental and may change) */ @interface FKFlickrPushUnsubscribe : NSObject /* The type of subscription. See flickr.push.getTopics. */ @property (nonatomic, strong) NSString *topic; /* (Required) */ /* The url for the subscription endpoint (must be the same url as was used when creating the subscription). */ @property (nonatomic, strong) NSString *callback; /* (Required) */ /* The verification mode, either 'sync' or 'async'. See the Google PubSubHubbub spec for details. */ @property (nonatomic, strong) NSString *verify; /* (Required) */ /* The verification token to be echoed back to the subscriber during the verification callback, as per the Google PubSubHubbub spec. Limited to 200 bytes. */ @property (nonatomic, strong) NSString *verify_token; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.m ================================================ // // FKFlickrPushUnsubscribe.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrPushUnsubscribe.h" @implementation FKFlickrPushUnsubscribe - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.push.unsubscribe"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.topic) { valid = NO; [errorDescription appendString:@"'topic', "]; } if(!self.callback) { valid = NO; [errorDescription appendString:@"'callback', "]; } if(!self.verify) { valid = NO; [errorDescription appendString:@"'verify', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.topic) { [args setValue:self.topic forKey:@"topic"]; } if(self.callback) { [args setValue:self.callback forKey:@"callback"]; } if(self.verify) { [args setValue:self.verify forKey:@"verify"]; } if(self.verify_token) { [args setValue:self.verify_token forKey:@"verify_token"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrPushUnsubscribeError_RequiredParameterMissing: return @"Required parameter missing"; case FKFlickrPushUnsubscribeError_InvalidParameterValue: return @"Invalid parameter value"; case FKFlickrPushUnsubscribeError_CallbackFailedOrInvalidResponse: return @"Callback failed or invalid response"; case FKFlickrPushUnsubscribeError_SubscriptionAwaitingVerificationCallbackResponseTryAgainLater: return @"Subscription awaiting verification callback response - try again later"; case FKFlickrPushUnsubscribeError_SubscriptionNotFound: return @"Subscription not found"; case FKFlickrPushUnsubscribeError_InvalidSignature: return @"Invalid signature"; case FKFlickrPushUnsubscribeError_MissingSignature: return @"Missing signature"; case FKFlickrPushUnsubscribeError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrPushUnsubscribeError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrPushUnsubscribeError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrPushUnsubscribeError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrPushUnsubscribeError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrPushUnsubscribeError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrPushUnsubscribeError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrPushUnsubscribeError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrPushUnsubscribeError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.h ================================================ // // FKFlickrReflectionGetMethodInfo.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrReflectionGetMethodInfoError_MethodNotFound = 1, /* The requested method was not found. */ FKFlickrReflectionGetMethodInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrReflectionGetMethodInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrReflectionGetMethodInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrReflectionGetMethodInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrReflectionGetMethodInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrReflectionGetMethodInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrReflectionGetMethodInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrReflectionGetMethodInfoError; /* Returns information for a given flickr API method. Response: A fake method xml-response-example explanation of example response You API application key. Your favorite color. Full explanation... Full explanation... */ @interface FKFlickrReflectionGetMethodInfo : NSObject /* The name of the method to fetch information for. */ @property (nonatomic, strong) NSString *method_name; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.m ================================================ // // FKFlickrReflectionGetMethodInfo.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrReflectionGetMethodInfo.h" @implementation FKFlickrReflectionGetMethodInfo - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.reflection.getMethodInfo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.method_name) { valid = NO; [errorDescription appendString:@"'method_name', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.method_name) { [args setValue:self.method_name forKey:@"method_name"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrReflectionGetMethodInfoError_MethodNotFound: return @"Method not found"; case FKFlickrReflectionGetMethodInfoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrReflectionGetMethodInfoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrReflectionGetMethodInfoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrReflectionGetMethodInfoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrReflectionGetMethodInfoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrReflectionGetMethodInfoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrReflectionGetMethodInfoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.h ================================================ // // FKFlickrReflectionGetMethods.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrReflectionGetMethodsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrReflectionGetMethodsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrReflectionGetMethodsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrReflectionGetMethodsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrReflectionGetMethodsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrReflectionGetMethodsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrReflectionGetMethodsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrReflectionGetMethodsError; /* Returns a list of available flickr API methods. Response: flickr.blogs.getList flickr.blogs.postPhoto flickr.contacts.getList flickr.contacts.getPublicList */ @interface FKFlickrReflectionGetMethods : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.m ================================================ // // FKFlickrReflectionGetMethods.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrReflectionGetMethods.h" @implementation FKFlickrReflectionGetMethods - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.reflection.getMethods"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrReflectionGetMethodsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrReflectionGetMethodsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrReflectionGetMethodsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrReflectionGetMethodsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrReflectionGetMethodsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrReflectionGetMethodsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrReflectionGetMethodsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.h ================================================ // // FKFlickrStatsGetCSVFiles.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetCSVFilesError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetCSVFilesError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetCSVFilesError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetCSVFilesError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetCSVFilesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetCSVFilesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetCSVFilesError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetCSVFilesError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetCSVFilesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetCSVFilesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetCSVFilesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetCSVFilesError; /* Returns a list of URLs for text files containing all your stats data (from November 26th 2007 onwards) for the currently auth'd user. Please note, these files will only be available until June 1, 2010 Noon PDT. For more information please check out this FAQ, or just go download your files. Response: .... */ @interface FKFlickrStatsGetCSVFiles : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.m ================================================ // // FKFlickrStatsGetCSVFiles.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetCSVFiles.h" @implementation FKFlickrStatsGetCSVFiles - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getCSVFiles"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetCSVFilesError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetCSVFilesError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetCSVFilesError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetCSVFilesError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetCSVFilesError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetCSVFilesError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetCSVFilesError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetCSVFilesError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetCSVFilesError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetCSVFilesError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetCSVFilesError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.h ================================================ // // FKFlickrStatsGetCollectionDomains.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetCollectionDomainsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetCollectionDomainsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetCollectionDomainsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetCollectionDomainsError_CollectionNotFound = 4, /* The collection id was either invalid or was for a collection not owned by the calling user. */ FKFlickrStatsGetCollectionDomainsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetCollectionDomainsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetCollectionDomainsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetCollectionDomainsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetCollectionDomainsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetCollectionDomainsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetCollectionDomainsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetCollectionDomainsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetCollectionDomainsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetCollectionDomainsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetCollectionDomainsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetCollectionDomainsError; /* Get a list of referring domains for a collection

There is one <domain> element for each referring domain, with attributes for the domain name and the number of views.

For details on the referrers coming from each domain listed you can call flickr.stats.getCollectionReferrers

Response: */ @interface FKFlickrStatsGetCollectionDomains : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The id of the collection to get stats for. If not provided, stats for all collections will be returned. */ @property (nonatomic, strong) NSString *collection_id; /* Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.m ================================================ // // FKFlickrStatsGetCollectionDomains.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetCollectionDomains.h" @implementation FKFlickrStatsGetCollectionDomains - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getCollectionDomains"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.collection_id) { [args setValue:self.collection_id forKey:@"collection_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetCollectionDomainsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetCollectionDomainsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetCollectionDomainsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetCollectionDomainsError_CollectionNotFound: return @"Collection not found"; case FKFlickrStatsGetCollectionDomainsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetCollectionDomainsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetCollectionDomainsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetCollectionDomainsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetCollectionDomainsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetCollectionDomainsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetCollectionDomainsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetCollectionDomainsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetCollectionDomainsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetCollectionDomainsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetCollectionDomainsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.h ================================================ // // FKFlickrStatsGetCollectionReferrers.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetCollectionReferrersError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetCollectionReferrersError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetCollectionReferrersError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetCollectionReferrersError_CollectionNotFound = 4, /* The collection id was either invalid or was for a collection not owned by the calling user. */ FKFlickrStatsGetCollectionReferrersError_InvalidDomain = 5, /* The domain provided is not in the expected format. */ FKFlickrStatsGetCollectionReferrersError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetCollectionReferrersError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetCollectionReferrersError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetCollectionReferrersError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetCollectionReferrersError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetCollectionReferrersError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetCollectionReferrersError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetCollectionReferrersError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetCollectionReferrersError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetCollectionReferrersError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetCollectionReferrersError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetCollectionReferrersError; /* Get a list of referrers from a given domain to a collection

There is one <referrer> element for each referring page, with attributes for the url and the number of views.

Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.

Response: */ @interface FKFlickrStatsGetCollectionReferrers : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ @property (nonatomic, strong) NSString *domain; /* (Required) */ /* The id of the collection to get stats for. If not provided, stats for all collections will be returned. */ @property (nonatomic, strong) NSString *collection_id; /* Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.m ================================================ // // FKFlickrStatsGetCollectionReferrers.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetCollectionReferrers.h" @implementation FKFlickrStatsGetCollectionReferrers - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getCollectionReferrers"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.domain) { valid = NO; [errorDescription appendString:@"'domain', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.domain) { [args setValue:self.domain forKey:@"domain"]; } if(self.collection_id) { [args setValue:self.collection_id forKey:@"collection_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetCollectionReferrersError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetCollectionReferrersError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetCollectionReferrersError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetCollectionReferrersError_CollectionNotFound: return @"Collection not found"; case FKFlickrStatsGetCollectionReferrersError_InvalidDomain: return @"Invalid domain"; case FKFlickrStatsGetCollectionReferrersError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetCollectionReferrersError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetCollectionReferrersError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetCollectionReferrersError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetCollectionReferrersError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetCollectionReferrersError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetCollectionReferrersError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetCollectionReferrersError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetCollectionReferrersError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetCollectionReferrersError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetCollectionReferrersError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h ================================================ // // FKFlickrStatsGetCollectionStats.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetCollectionStatsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetCollectionStatsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetCollectionStatsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetCollectionStatsError_CollectionNotFound = 4, /* The collection id was either invalid or was for a collection not owned by the calling user. */ FKFlickrStatsGetCollectionStatsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetCollectionStatsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetCollectionStatsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetCollectionStatsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetCollectionStatsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetCollectionStatsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetCollectionStatsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetCollectionStatsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetCollectionStatsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetCollectionStatsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetCollectionStatsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetCollectionStatsError; /* Get the number of views on a collection for a given date. Response: */ @interface FKFlickrStatsGetCollectionStats : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The id of the collection to get stats for. */ @property (nonatomic, strong) NSString *collection_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.m ================================================ // // FKFlickrStatsGetCollectionStats.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetCollectionStats.h" @implementation FKFlickrStatsGetCollectionStats - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getCollectionStats"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.collection_id) { valid = NO; [errorDescription appendString:@"'collection_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.collection_id) { [args setValue:self.collection_id forKey:@"collection_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetCollectionStatsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetCollectionStatsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetCollectionStatsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetCollectionStatsError_CollectionNotFound: return @"Collection not found"; case FKFlickrStatsGetCollectionStatsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetCollectionStatsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetCollectionStatsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetCollectionStatsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetCollectionStatsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetCollectionStatsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetCollectionStatsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetCollectionStatsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetCollectionStatsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetCollectionStatsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetCollectionStatsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.h ================================================ // // FKFlickrStatsGetPhotoDomains.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotoDomainsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotoDomainsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotoDomainsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotoDomainsError_PhotoNotFound = 4, /* The photo id was either invalid or was for a photo not owned by the calling user. */ FKFlickrStatsGetPhotoDomainsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotoDomainsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotoDomainsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotoDomainsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotoDomainsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotoDomainsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotoDomainsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotoDomainsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotoDomainsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotoDomainsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotoDomainsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotoDomainsError; /* Get a list of referring domains for a photo

There is one <domain> element for each referring domain, with attributes for the domain name and the number of views.

For details on the referrers coming from each domain listed you can call flickr.stats.getPhotoReferrers

Response: */ @interface FKFlickrStatsGetPhotoDomains : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The id of the photo to get stats for. If not provided, stats for all photos will be returned. */ @property (nonatomic, strong) NSString *photo_id; /* Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.m ================================================ // // FKFlickrStatsGetPhotoDomains.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotoDomains.h" @implementation FKFlickrStatsGetPhotoDomains - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotoDomains"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotoDomainsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotoDomainsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotoDomainsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotoDomainsError_PhotoNotFound: return @"Photo not found"; case FKFlickrStatsGetPhotoDomainsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotoDomainsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotoDomainsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotoDomainsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotoDomainsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotoDomainsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotoDomainsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotoDomainsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotoDomainsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotoDomainsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotoDomainsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.h ================================================ // // FKFlickrStatsGetPhotoReferrers.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotoReferrersError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotoReferrersError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotoReferrersError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotoReferrersError_PhotoNotFound = 4, /* The photo id was either invalid or was for a photo not owned by the calling user. */ FKFlickrStatsGetPhotoReferrersError_InvalidDomain = 5, /* The domain provided is not in the expected format. */ FKFlickrStatsGetPhotoReferrersError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotoReferrersError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotoReferrersError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotoReferrersError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotoReferrersError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotoReferrersError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotoReferrersError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotoReferrersError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotoReferrersError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotoReferrersError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotoReferrersError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotoReferrersError; /* Get a list of referrers from a given domain to a photo

There is one <referrer> element for each referring page, with attributes for the url and the number of views.

Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.

Response: */ @interface FKFlickrStatsGetPhotoReferrers : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ @property (nonatomic, strong) NSString *domain; /* (Required) */ /* The id of the photo to get stats for. If not provided, stats for all photos will be returned. */ @property (nonatomic, strong) NSString *photo_id; /* Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.m ================================================ // // FKFlickrStatsGetPhotoReferrers.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotoReferrers.h" @implementation FKFlickrStatsGetPhotoReferrers - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotoReferrers"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.domain) { valid = NO; [errorDescription appendString:@"'domain', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.domain) { [args setValue:self.domain forKey:@"domain"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotoReferrersError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotoReferrersError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotoReferrersError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotoReferrersError_PhotoNotFound: return @"Photo not found"; case FKFlickrStatsGetPhotoReferrersError_InvalidDomain: return @"Invalid domain"; case FKFlickrStatsGetPhotoReferrersError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotoReferrersError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotoReferrersError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotoReferrersError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotoReferrersError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotoReferrersError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotoReferrersError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotoReferrersError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotoReferrersError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotoReferrersError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotoReferrersError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.h ================================================ // // FKFlickrStatsGetPhotoStats.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotoStatsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotoStatsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotoStatsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotoStatsError_PhotoNotFound = 4, /* The photo id was either invalid or was for a photo not owned by the calling user. */ FKFlickrStatsGetPhotoStatsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotoStatsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotoStatsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotoStatsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotoStatsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotoStatsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotoStatsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotoStatsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotoStatsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotoStatsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotoStatsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotoStatsError; /* Get the number of views, comments and favorites on a photo for a given date. Response: */ @interface FKFlickrStatsGetPhotoStats : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The id of the photo to get stats for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.m ================================================ // // FKFlickrStatsGetPhotoStats.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotoStats.h" @implementation FKFlickrStatsGetPhotoStats - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotoStats"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotoStatsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotoStatsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotoStatsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotoStatsError_PhotoNotFound: return @"Photo not found"; case FKFlickrStatsGetPhotoStatsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotoStatsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotoStatsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotoStatsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotoStatsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotoStatsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotoStatsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotoStatsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotoStatsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotoStatsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotoStatsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.h ================================================ // // FKFlickrStatsGetPhotosetDomains.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotosetDomainsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotosetDomainsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotosetDomainsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotosetDomainsError_PhotosetNotFound = 4, /* The photoset id was either invalid or was for a set not owned by the calling user. */ FKFlickrStatsGetPhotosetDomainsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotosetDomainsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotosetDomainsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotosetDomainsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotosetDomainsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotosetDomainsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotosetDomainsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotosetDomainsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotosetDomainsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotosetDomainsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotosetDomainsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotosetDomainsError; /* Get a list of referring domains for a photoset

There is one <domain> element for each referring domain, with attributes for the domain name and the number of views.

For details on the referrers coming from each domain listed you can call flickr.stats.getPhotosetReferrers

Response: */ @interface FKFlickrStatsGetPhotosetDomains : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The id of the photoset to get stats for. If not provided, stats for all sets will be returned. */ @property (nonatomic, strong) NSString *photoset_id; /* Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.m ================================================ // // FKFlickrStatsGetPhotosetDomains.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotosetDomains.h" @implementation FKFlickrStatsGetPhotosetDomains - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotosetDomains"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotosetDomainsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotosetDomainsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotosetDomainsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotosetDomainsError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrStatsGetPhotosetDomainsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotosetDomainsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotosetDomainsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotosetDomainsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotosetDomainsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotosetDomainsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotosetDomainsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotosetDomainsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotosetDomainsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotosetDomainsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotosetDomainsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.h ================================================ // // FKFlickrStatsGetPhotosetReferrers.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotosetReferrersError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotosetReferrersError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotosetReferrersError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotosetReferrersError_PhotosetNotFound = 4, /* The photoset id was either invalid or was for a set not owned by the calling user. */ FKFlickrStatsGetPhotosetReferrersError_InvalidDomain = 5, /* The domain provided is not in the expected format. */ FKFlickrStatsGetPhotosetReferrersError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotosetReferrersError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotosetReferrersError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotosetReferrersError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotosetReferrersError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotosetReferrersError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotosetReferrersError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotosetReferrersError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotosetReferrersError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotosetReferrersError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotosetReferrersError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotosetReferrersError; /* Get a list of referrers from a given domain to a photoset

There is one <referrer> element for each referring page, with attributes for the url and the number of views.

Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.

Response: */ @interface FKFlickrStatsGetPhotosetReferrers : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ @property (nonatomic, strong) NSString *domain; /* (Required) */ /* The id of the photoset to get stats for. If not provided, stats for all sets will be returned. */ @property (nonatomic, strong) NSString *photoset_id; /* Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.m ================================================ // // FKFlickrStatsGetPhotosetReferrers.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotosetReferrers.h" @implementation FKFlickrStatsGetPhotosetReferrers - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotosetReferrers"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.domain) { valid = NO; [errorDescription appendString:@"'domain', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.domain) { [args setValue:self.domain forKey:@"domain"]; } if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotosetReferrersError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotosetReferrersError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotosetReferrersError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotosetReferrersError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrStatsGetPhotosetReferrersError_InvalidDomain: return @"Invalid domain"; case FKFlickrStatsGetPhotosetReferrersError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotosetReferrersError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotosetReferrersError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotosetReferrersError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotosetReferrersError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotosetReferrersError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotosetReferrersError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotosetReferrersError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotosetReferrersError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotosetReferrersError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotosetReferrersError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.h ================================================ // // FKFlickrStatsGetPhotosetStats.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotosetStatsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotosetStatsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotosetStatsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotosetStatsError_PhotosetNotFound = 4, /* The photoset id was either invalid or was for a set not owned by the calling user. */ FKFlickrStatsGetPhotosetStatsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotosetStatsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotosetStatsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotosetStatsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotosetStatsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotosetStatsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotosetStatsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotosetStatsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotosetStatsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotosetStatsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotosetStatsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotosetStatsError; /* Get the number of views on a photoset for a given date. Response: */ @interface FKFlickrStatsGetPhotosetStats : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The id of the photoset to get stats for. */ @property (nonatomic, strong) NSString *photoset_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.m ================================================ // // FKFlickrStatsGetPhotosetStats.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotosetStats.h" @implementation FKFlickrStatsGetPhotosetStats - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotosetStats"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.photoset_id) { valid = NO; [errorDescription appendString:@"'photoset_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.photoset_id) { [args setValue:self.photoset_id forKey:@"photoset_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotosetStatsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotosetStatsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotosetStatsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotosetStatsError_PhotosetNotFound: return @"Photoset not found"; case FKFlickrStatsGetPhotosetStatsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotosetStatsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotosetStatsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotosetStatsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotosetStatsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotosetStatsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotosetStatsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotosetStatsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotosetStatsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotosetStatsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotosetStatsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.h ================================================ // // FKFlickrStatsGetPhotostreamDomains.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotostreamDomainsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotostreamDomainsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotostreamDomainsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotostreamDomainsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotostreamDomainsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotostreamDomainsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotostreamDomainsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotostreamDomainsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotostreamDomainsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotostreamDomainsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotostreamDomainsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotostreamDomainsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotostreamDomainsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotostreamDomainsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotostreamDomainsError; /* Get a list of referring domains for a photostream

There is one <domain> element for each referring domain, with attributes for the domain name and the number of views.

For details on the referrers coming from each domain listed you can call flickr.stats.getPhotostreamReferrers

Response: */ @interface FKFlickrStatsGetPhotostreamDomains : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100 */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.m ================================================ // // FKFlickrStatsGetPhotostreamDomains.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotostreamDomains.h" @implementation FKFlickrStatsGetPhotostreamDomains - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotostreamDomains"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotostreamDomainsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotostreamDomainsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotostreamDomainsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotostreamDomainsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotostreamDomainsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotostreamDomainsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotostreamDomainsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotostreamDomainsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotostreamDomainsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotostreamDomainsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotostreamDomainsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotostreamDomainsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotostreamDomainsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotostreamDomainsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.h ================================================ // // FKFlickrStatsGetPhotostreamReferrers.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotostreamReferrersError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotostreamReferrersError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotostreamReferrersError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotostreamReferrersError_InvalidDomain = 5, /* The domain provided is not in the expected format. */ FKFlickrStatsGetPhotostreamReferrersError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotostreamReferrersError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotostreamReferrersError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotostreamReferrersError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotostreamReferrersError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotostreamReferrersError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotostreamReferrersError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotostreamReferrersError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotostreamReferrersError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotostreamReferrersError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotostreamReferrersError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotostreamReferrersError; /* Get a list of referrers from a given domain to a user's photostream

There is one <referrer> element for each referring page, with attributes for the url and the number of views.

Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.

Response: */ @interface FKFlickrStatsGetPhotostreamReferrers : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ /* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ @property (nonatomic, strong) NSString *domain; /* (Required) */ /* Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.m ================================================ // // FKFlickrStatsGetPhotostreamReferrers.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotostreamReferrers.h" @implementation FKFlickrStatsGetPhotostreamReferrers - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotostreamReferrers"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(!self.domain) { valid = NO; [errorDescription appendString:@"'domain', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.domain) { [args setValue:self.domain forKey:@"domain"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotostreamReferrersError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotostreamReferrersError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotostreamReferrersError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotostreamReferrersError_InvalidDomain: return @"Invalid domain"; case FKFlickrStatsGetPhotostreamReferrersError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotostreamReferrersError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotostreamReferrersError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotostreamReferrersError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotostreamReferrersError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotostreamReferrersError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotostreamReferrersError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotostreamReferrersError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotostreamReferrersError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotostreamReferrersError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotostreamReferrersError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.h ================================================ // // FKFlickrStatsGetPhotostreamStats.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPhotostreamStatsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPhotostreamStatsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPhotostreamStatsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPhotostreamStatsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPhotostreamStatsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPhotostreamStatsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPhotostreamStatsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPhotostreamStatsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPhotostreamStatsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPhotostreamStatsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPhotostreamStatsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPhotostreamStatsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPhotostreamStatsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPhotostreamStatsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPhotostreamStatsError; /* Get the number of views on a user's photostream for a given date. Response: */ @interface FKFlickrStatsGetPhotostreamStats : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */ @property (nonatomic, strong) NSString *date; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.m ================================================ // // FKFlickrStatsGetPhotostreamStats.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPhotostreamStats.h" @implementation FKFlickrStatsGetPhotostreamStats - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPhotostreamStats"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.date) { valid = NO; [errorDescription appendString:@"'date', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPhotostreamStatsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPhotostreamStatsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPhotostreamStatsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPhotostreamStatsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPhotostreamStatsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPhotostreamStatsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPhotostreamStatsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPhotostreamStatsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPhotostreamStatsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPhotostreamStatsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPhotostreamStatsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPhotostreamStatsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPhotostreamStatsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPhotostreamStatsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.h ================================================ // // FKFlickrStatsGetPopularPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetPopularPhotosError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetPopularPhotosError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetPopularPhotosError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetPopularPhotosError_InvalidSort = 5, /* The sort provided is not valid */ FKFlickrStatsGetPopularPhotosError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetPopularPhotosError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetPopularPhotosError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetPopularPhotosError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetPopularPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetPopularPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetPopularPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetPopularPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetPopularPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetPopularPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetPopularPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetPopularPhotosError; /* List the photos with the most views, comments or favorites

This method returns the standard photo list xml.

In addition each photo element contains a <stats> element. This has attributes for the view, comment and favorite counts for the requested day.

To map <photo> elements to urls, please read the url documentation.

Response: */ @interface FKFlickrStatsGetPopularPhotos : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. If no date is provided, all time view counts will be returned. */ @property (nonatomic, strong) NSString *date; /* The order in which to sort returned photos. Defaults to views. The possible values are views, comments and favorites. Other sort options are available through flickr.photos.search. */ @property (nonatomic, strong) NSString *sort; /* Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100. */ @property (nonatomic, strong) NSString *per_page; /* The page of results to return. If this argument is omitted, it defaults to 1. */ @property (nonatomic, strong) NSString *page; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.m ================================================ // // FKFlickrStatsGetPopularPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetPopularPhotos.h" @implementation FKFlickrStatsGetPopularPhotos - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getPopularPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } if(self.sort) { [args setValue:self.sort forKey:@"sort"]; } if(self.per_page) { [args setValue:self.per_page forKey:@"per_page"]; } if(self.page) { [args setValue:self.page forKey:@"page"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetPopularPhotosError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetPopularPhotosError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetPopularPhotosError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetPopularPhotosError_InvalidSort: return @"Invalid sort"; case FKFlickrStatsGetPopularPhotosError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetPopularPhotosError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetPopularPhotosError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetPopularPhotosError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetPopularPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetPopularPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetPopularPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetPopularPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetPopularPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetPopularPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetPopularPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.h ================================================ // // FKFlickrStatsGetTotalViews.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrStatsGetTotalViewsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */ FKFlickrStatsGetTotalViewsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */ FKFlickrStatsGetTotalViewsError_InvalidDate = 3, /* The date provided could not be parsed */ FKFlickrStatsGetTotalViewsError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrStatsGetTotalViewsError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrStatsGetTotalViewsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrStatsGetTotalViewsError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrStatsGetTotalViewsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrStatsGetTotalViewsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrStatsGetTotalViewsError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrStatsGetTotalViewsError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrStatsGetTotalViewsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrStatsGetTotalViewsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrStatsGetTotalViewsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrStatsGetTotalViewsError; /* Get the overall view counts for an account Response: */ @interface FKFlickrStatsGetTotalViews : NSObject /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. If no date is provided, all time view counts will be returned. */ @property (nonatomic, strong) NSString *date; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.m ================================================ // // FKFlickrStatsGetTotalViews.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrStatsGetTotalViews.h" @implementation FKFlickrStatsGetTotalViews - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.stats.getTotalViews"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.date) { [args setValue:self.date forKey:@"date"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrStatsGetTotalViewsError_UserDoesNotHaveStats: return @"User does not have stats"; case FKFlickrStatsGetTotalViewsError_NoStatsForThatDate: return @"No stats for that date"; case FKFlickrStatsGetTotalViewsError_InvalidDate: return @"Invalid date"; case FKFlickrStatsGetTotalViewsError_InvalidSignature: return @"Invalid signature"; case FKFlickrStatsGetTotalViewsError_MissingSignature: return @"Missing signature"; case FKFlickrStatsGetTotalViewsError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrStatsGetTotalViewsError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrStatsGetTotalViewsError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrStatsGetTotalViewsError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrStatsGetTotalViewsError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrStatsGetTotalViewsError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrStatsGetTotalViewsError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrStatsGetTotalViewsError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrStatsGetTotalViewsError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.h ================================================ // // FKFlickrTagsGetClusterPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetClusterPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetClusterPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetClusterPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetClusterPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetClusterPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetClusterPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetClusterPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetClusterPhotosError; /* Returns the first 24 photos for a given tag cluster */ @interface FKFlickrTagsGetClusterPhotos : NSObject /* The tag that this cluster belongs to. */ @property (nonatomic, strong) NSString *tag; /* (Required) */ /* The top three tags for the cluster, separated by dashes (just like the url). */ @property (nonatomic, strong) NSString *cluster_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.m ================================================ // // FKFlickrTagsGetClusterPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetClusterPhotos.h" @implementation FKFlickrTagsGetClusterPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getClusterPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.tag) { valid = NO; [errorDescription appendString:@"'tag', "]; } if(!self.cluster_id) { valid = NO; [errorDescription appendString:@"'cluster_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.tag) { [args setValue:self.tag forKey:@"tag"]; } if(self.cluster_id) { [args setValue:self.cluster_id forKey:@"cluster_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetClusterPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetClusterPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetClusterPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetClusterPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetClusterPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetClusterPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetClusterPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.h ================================================ // // FKFlickrTagsGetClusters.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetClustersError_TagClusterNotFound = 1, /* The tag was invalid or no cluster exists for that tag. */ FKFlickrTagsGetClustersError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetClustersError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetClustersError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetClustersError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetClustersError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetClustersError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetClustersError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetClustersError; /* Gives you a list of tag clusters for the given tag. Response: farm animals cattle green landscape countryside */ @interface FKFlickrTagsGetClusters : NSObject /* The tag to fetch clusters for. */ @property (nonatomic, strong) NSString *tag; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.m ================================================ // // FKFlickrTagsGetClusters.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetClusters.h" @implementation FKFlickrTagsGetClusters - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getClusters"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.tag) { valid = NO; [errorDescription appendString:@"'tag', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.tag) { [args setValue:self.tag forKey:@"tag"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetClustersError_TagClusterNotFound: return @"Tag cluster not found"; case FKFlickrTagsGetClustersError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetClustersError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetClustersError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetClustersError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetClustersError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetClustersError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetClustersError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.h ================================================ // // FKFlickrTagsGetHotList.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetHotListError_InvalidPeriod = 1, /* The specified period was not understood. */ FKFlickrTagsGetHotListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetHotListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetHotListError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetHotListError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetHotListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetHotListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetHotListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetHotListError; /* Returns a list of hot tags for the given period. Response: northerncalifornia top20 keychain zb selfportraittuesday jan06 */ @interface FKFlickrTagsGetHotList : NSObject /* The period for which to fetch hot tags. Valid values are day and week (defaults to day). */ @property (nonatomic, strong) NSString *period; /* The number of tags to return. Defaults to 20. Maximum allowed value is 200. */ @property (nonatomic, strong) NSString *count; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.m ================================================ // // FKFlickrTagsGetHotList.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetHotList.h" @implementation FKFlickrTagsGetHotList - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getHotList"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.period) { [args setValue:self.period forKey:@"period"]; } if(self.count) { [args setValue:self.count forKey:@"count"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetHotListError_InvalidPeriod: return @"Invalid period"; case FKFlickrTagsGetHotListError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetHotListError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetHotListError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetHotListError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetHotListError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetHotListError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetHotListError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.h ================================================ // // FKFlickrTagsGetListPhoto.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetListPhotoError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id. */ FKFlickrTagsGetListPhotoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetListPhotoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetListPhotoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetListPhotoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetListPhotoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetListPhotoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetListPhotoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetListPhotoError; /* Get the tag list for a given photo.

For an explanation of the tag element, please read the tags documentation.

Response: tag1 tag2 */ @interface FKFlickrTagsGetListPhoto : NSObject /* The id of the photo to return tags for. */ @property (nonatomic, strong) NSString *photo_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.m ================================================ // // FKFlickrTagsGetListPhoto.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetListPhoto.h" @implementation FKFlickrTagsGetListPhoto - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getListPhoto"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.photo_id) { valid = NO; [errorDescription appendString:@"'photo_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.photo_id) { [args setValue:self.photo_id forKey:@"photo_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetListPhotoError_PhotoNotFound: return @"Photo not found"; case FKFlickrTagsGetListPhotoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetListPhotoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetListPhotoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetListPhotoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetListPhotoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetListPhotoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetListPhotoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.h ================================================ // // FKFlickrTagsGetListUser.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetListUserError_UserNotFound = 1, /* The user NSID passed was not a valid user NSID and the calling user was not logged in. */ FKFlickrTagsGetListUserError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetListUserError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetListUserError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetListUserError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetListUserError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetListUserError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetListUserError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetListUserError; /* Get the tag list for a given user (or the currently logged in user). Response: gull tag1 tag2 tags test */ @interface FKFlickrTagsGetListUser : NSObject /* The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed. */ @property (nonatomic, strong) NSString *user_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.m ================================================ // // FKFlickrTagsGetListUser.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetListUser.h" @implementation FKFlickrTagsGetListUser - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getListUser"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetListUserError_UserNotFound: return @"User not found"; case FKFlickrTagsGetListUserError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetListUserError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetListUserError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetListUserError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetListUserError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetListUserError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetListUserError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.h ================================================ // // FKFlickrTagsGetListUserPopular.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetListUserPopularError_UserNotFound = 1, /* The user NSID passed was not a valid user NSID and the calling user was not logged in. */ FKFlickrTagsGetListUserPopularError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetListUserPopularError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetListUserPopularError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetListUserPopularError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetListUserPopularError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetListUserPopularError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetListUserPopularError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetListUserPopularError; /* Get the popular tags for a given user (or the currently logged in user). Response: bar foo gull tags test */ @interface FKFlickrTagsGetListUserPopular : NSObject /* The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed. */ @property (nonatomic, strong) NSString *user_id; /* Number of popular tags to return. defaults to 10 when this argument is not present. */ @property (nonatomic, strong) NSString *count; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.m ================================================ // // FKFlickrTagsGetListUserPopular.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetListUserPopular.h" @implementation FKFlickrTagsGetListUserPopular - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getListUserPopular"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } if(self.count) { [args setValue:self.count forKey:@"count"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetListUserPopularError_UserNotFound: return @"User not found"; case FKFlickrTagsGetListUserPopularError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetListUserPopularError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetListUserPopularError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetListUserPopularError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetListUserPopularError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetListUserPopularError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetListUserPopularError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.h ================================================ // // FKFlickrTagsGetListUserRaw.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetListUserRawError_UserNotFound = 1, /* The calling user was not logged in. */ FKFlickrTagsGetListUserRawError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetListUserRawError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetListUserRawError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetListUserRawError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetListUserRawError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetListUserRawError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetListUserRawError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetListUserRawError; /* Get the raw versions of a given tag (or all tags) for the currently logged-in user. Response: foo Foo f:oo */ @interface FKFlickrTagsGetListUserRaw : NSObject /* The tag you want to retrieve all raw versions for. */ @property (nonatomic, strong) NSString *tag; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.m ================================================ // // FKFlickrTagsGetListUserRaw.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetListUserRaw.h" @implementation FKFlickrTagsGetListUserRaw - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getListUserRaw"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.tag) { [args setValue:self.tag forKey:@"tag"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetListUserRawError_UserNotFound: return @"User not found"; case FKFlickrTagsGetListUserRawError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetListUserRawError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetListUserRawError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetListUserRawError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetListUserRawError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetListUserRawError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetListUserRawError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.h ================================================ // // FKFlickrTagsGetMostFrequentlyUsed.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetMostFrequentlyUsedError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrTagsGetMostFrequentlyUsedError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrTagsGetMostFrequentlyUsedError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrTagsGetMostFrequentlyUsedError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrTagsGetMostFrequentlyUsedError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetMostFrequentlyUsedError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetMostFrequentlyUsedError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetMostFrequentlyUsedError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetMostFrequentlyUsedError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetMostFrequentlyUsedError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetMostFrequentlyUsedError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetMostFrequentlyUsedError; /* Returns a list of most frequently used tags for a user. Response: blah publicdomain */ @interface FKFlickrTagsGetMostFrequentlyUsed : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.m ================================================ // // FKFlickrTagsGetMostFrequentlyUsed.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetMostFrequentlyUsed.h" @implementation FKFlickrTagsGetMostFrequentlyUsed - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.tags.getMostFrequentlyUsed"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetMostFrequentlyUsedError_InvalidSignature: return @"Invalid signature"; case FKFlickrTagsGetMostFrequentlyUsedError_MissingSignature: return @"Missing signature"; case FKFlickrTagsGetMostFrequentlyUsedError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrTagsGetMostFrequentlyUsedError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrTagsGetMostFrequentlyUsedError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetMostFrequentlyUsedError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetMostFrequentlyUsedError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetMostFrequentlyUsedError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetMostFrequentlyUsedError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetMostFrequentlyUsedError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetMostFrequentlyUsedError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.h ================================================ // // FKFlickrTagsGetRelated.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTagsGetRelatedError_TagNotFound = 1, /* The tag argument was missing. */ FKFlickrTagsGetRelatedError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTagsGetRelatedError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTagsGetRelatedError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTagsGetRelatedError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTagsGetRelatedError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTagsGetRelatedError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTagsGetRelatedError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTagsGetRelatedError; /* Returns a list of tags 'related' to the given tag, based on clustered usage analysis. Response: england thames tube bigben uk */ @interface FKFlickrTagsGetRelated : NSObject /* The tag to fetch related tags for. */ @property (nonatomic, strong) NSString *tag; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.m ================================================ // // FKFlickrTagsGetRelated.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTagsGetRelated.h" @implementation FKFlickrTagsGetRelated - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.tags.getRelated"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.tag) { valid = NO; [errorDescription appendString:@"'tag', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.tag) { [args setValue:self.tag forKey:@"tag"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTagsGetRelatedError_TagNotFound: return @"Tag not found"; case FKFlickrTagsGetRelatedError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTagsGetRelatedError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTagsGetRelatedError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTagsGetRelatedError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTagsGetRelatedError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTagsGetRelatedError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTagsGetRelatedError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.h ================================================ // // FKFlickrTestEcho.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTestEchoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTestEchoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTestEchoError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTestEchoError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTestEchoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTestEchoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTestEchoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTestEchoError; /* A testing method which echo's all parameters back in the response. Response: echo bar */ @interface FKFlickrTestEcho : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.m ================================================ // // FKFlickrTestEcho.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTestEcho.h" @implementation FKFlickrTestEcho - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.test.echo"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTestEchoError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTestEchoError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTestEchoError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTestEchoError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTestEchoError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTestEchoError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTestEchoError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.h ================================================ // // FKFlickrTestLogin.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTestLoginError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrTestLoginError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrTestLoginError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrTestLoginError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrTestLoginError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTestLoginError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTestLoginError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTestLoginError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTestLoginError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTestLoginError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTestLoginError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTestLoginError; /* A testing method which checks if the caller is logged in then returns their username. Response: Bees */ @interface FKFlickrTestLogin : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.m ================================================ // // FKFlickrTestLogin.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTestLogin.h" @implementation FKFlickrTestLogin - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.test.login"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTestLoginError_InvalidSignature: return @"Invalid signature"; case FKFlickrTestLoginError_MissingSignature: return @"Missing signature"; case FKFlickrTestLoginError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrTestLoginError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrTestLoginError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTestLoginError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTestLoginError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTestLoginError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTestLoginError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTestLoginError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTestLoginError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.h ================================================ // // FKFlickrTestNull.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrTestNullError_InvalidSignature = 96, /* The passed signature was invalid. */ FKFlickrTestNullError_MissingSignature = 97, /* The call required signing but no signature was sent. */ FKFlickrTestNullError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */ FKFlickrTestNullError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */ FKFlickrTestNullError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrTestNullError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrTestNullError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrTestNullError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrTestNullError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrTestNullError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrTestNullError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrTestNullError; /* Null test */ @interface FKFlickrTestNull : NSObject @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.m ================================================ // // FKFlickrTestNull.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrTestNull.h" @implementation FKFlickrTestNull - (BOOL) needsLogin { return YES; } - (BOOL) needsSigning { return YES; } - (FKPermission) requiredPerms { return 0; } - (NSString *) name { return @"flickr.test.null"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrTestNullError_InvalidSignature: return @"Invalid signature"; case FKFlickrTestNullError_MissingSignature: return @"Missing signature"; case FKFlickrTestNullError_LoginFailedOrInvalidAuthToken: return @"Login failed / Invalid auth token"; case FKFlickrTestNullError_UserNotLoggedInOrInsufficientPermissions: return @"User not logged in / Insufficient permissions"; case FKFlickrTestNullError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrTestNullError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrTestNullError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrTestNullError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrTestNullError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrTestNullError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrTestNullError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.h ================================================ // // FKFlickrUrlsGetGroup.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrUrlsGetGroupError_GroupNotFound = 1, /* The NSID specified was not a valid group. */ FKFlickrUrlsGetGroupError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrUrlsGetGroupError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrUrlsGetGroupError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrUrlsGetGroupError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrUrlsGetGroupError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrUrlsGetGroupError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrUrlsGetGroupError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrUrlsGetGroupError; /* Returns the url to a group's page. Response: */ @interface FKFlickrUrlsGetGroup : NSObject /* The NSID of the group to fetch the url for. */ @property (nonatomic, strong) NSString *group_id; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.m ================================================ // // FKFlickrUrlsGetGroup.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrUrlsGetGroup.h" @implementation FKFlickrUrlsGetGroup - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.urls.getGroup"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.group_id) { valid = NO; [errorDescription appendString:@"'group_id', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.group_id) { [args setValue:self.group_id forKey:@"group_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrUrlsGetGroupError_GroupNotFound: return @"Group not found"; case FKFlickrUrlsGetGroupError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrUrlsGetGroupError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrUrlsGetGroupError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrUrlsGetGroupError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrUrlsGetGroupError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrUrlsGetGroupError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrUrlsGetGroupError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.h ================================================ // // FKFlickrUrlsGetUserPhotos.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrUrlsGetUserPhotosError_UserNotFound = 1, /* The NSID specified was not a valid user. */ FKFlickrUrlsGetUserPhotosError_NoUserSpecified = 2, /* No user_id was passed and the calling user was not logged in. */ FKFlickrUrlsGetUserPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrUrlsGetUserPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrUrlsGetUserPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrUrlsGetUserPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrUrlsGetUserPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrUrlsGetUserPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrUrlsGetUserPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrUrlsGetUserPhotosError; /* Returns the url to a user's photos. Response: */ @interface FKFlickrUrlsGetUserPhotos : NSObject /* The NSID of the user to fetch the url for. If omitted, the calling user is assumed. */ @property (nonatomic, strong) NSString *user_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.m ================================================ // // FKFlickrUrlsGetUserPhotos.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrUrlsGetUserPhotos.h" @implementation FKFlickrUrlsGetUserPhotos - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.urls.getUserPhotos"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrUrlsGetUserPhotosError_UserNotFound: return @"User not found"; case FKFlickrUrlsGetUserPhotosError_NoUserSpecified: return @"No user specified"; case FKFlickrUrlsGetUserPhotosError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrUrlsGetUserPhotosError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrUrlsGetUserPhotosError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrUrlsGetUserPhotosError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrUrlsGetUserPhotosError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrUrlsGetUserPhotosError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrUrlsGetUserPhotosError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.h ================================================ // // FKFlickrUrlsGetUserProfile.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrUrlsGetUserProfileError_UserNotFound = 1, /* The NSID specified was not a valid user. */ FKFlickrUrlsGetUserProfileError_NoUserSpecified = 2, /* No user_id was passed and the calling user was not logged in. */ FKFlickrUrlsGetUserProfileError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrUrlsGetUserProfileError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrUrlsGetUserProfileError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrUrlsGetUserProfileError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrUrlsGetUserProfileError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrUrlsGetUserProfileError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrUrlsGetUserProfileError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrUrlsGetUserProfileError; /* Returns the url to a user's profile. Response: */ @interface FKFlickrUrlsGetUserProfile : NSObject /* The NSID of the user to fetch the url for. If omitted, the calling user is assumed. */ @property (nonatomic, strong) NSString *user_id; @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.m ================================================ // // FKFlickrUrlsGetUserProfile.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrUrlsGetUserProfile.h" @implementation FKFlickrUrlsGetUserProfile - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.urls.getUserProfile"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.user_id) { [args setValue:self.user_id forKey:@"user_id"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrUrlsGetUserProfileError_UserNotFound: return @"User not found"; case FKFlickrUrlsGetUserProfileError_NoUserSpecified: return @"No user specified"; case FKFlickrUrlsGetUserProfileError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrUrlsGetUserProfileError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrUrlsGetUserProfileError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrUrlsGetUserProfileError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrUrlsGetUserProfileError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrUrlsGetUserProfileError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrUrlsGetUserProfileError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.h ================================================ // // FKFlickrUrlsLookupGallery.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrUrlsLookupGalleryError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrUrlsLookupGalleryError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrUrlsLookupGalleryError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrUrlsLookupGalleryError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrUrlsLookupGalleryError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrUrlsLookupGalleryError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrUrlsLookupGalleryError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrUrlsLookupGalleryError; /* Returns gallery info, by url. This is the same format returned by flickr.galleries.getInfo. Response: Cat Pictures I've Sent To Kevin Collins */ @interface FKFlickrUrlsLookupGallery : NSObject /* The gallery's URL. */ @property (nonatomic, strong) NSString *url; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.m ================================================ // // FKFlickrUrlsLookupGallery.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrUrlsLookupGallery.h" @implementation FKFlickrUrlsLookupGallery - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.urls.lookupGallery"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.url) { valid = NO; [errorDescription appendString:@"'url', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.url) { [args setValue:self.url forKey:@"url"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrUrlsLookupGalleryError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrUrlsLookupGalleryError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrUrlsLookupGalleryError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrUrlsLookupGalleryError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrUrlsLookupGalleryError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrUrlsLookupGalleryError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrUrlsLookupGalleryError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.h ================================================ // // FKFlickrUrlsLookupGroup.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrUrlsLookupGroupError_GroupNotFound = 1, /* The passed URL was not a valid group page or photo pool url. */ FKFlickrUrlsLookupGroupError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrUrlsLookupGroupError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrUrlsLookupGroupError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrUrlsLookupGroupError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrUrlsLookupGroupError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrUrlsLookupGroupError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrUrlsLookupGroupError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrUrlsLookupGroupError; /* Returns a group NSID, given the url to a group's page or photo pool. Response: FlickrCentral */ @interface FKFlickrUrlsLookupGroup : NSObject /* The url to the group's page or photo pool. */ @property (nonatomic, strong) NSString *url; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.m ================================================ // // FKFlickrUrlsLookupGroup.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrUrlsLookupGroup.h" @implementation FKFlickrUrlsLookupGroup - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.urls.lookupGroup"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.url) { valid = NO; [errorDescription appendString:@"'url', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.url) { [args setValue:self.url forKey:@"url"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrUrlsLookupGroupError_GroupNotFound: return @"Group not found"; case FKFlickrUrlsLookupGroupError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrUrlsLookupGroupError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrUrlsLookupGroupError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrUrlsLookupGroupError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrUrlsLookupGroupError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrUrlsLookupGroupError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrUrlsLookupGroupError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.h ================================================ // // FKFlickrUrlsLookupUser.h // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrUrlsLookupUserError_UserNotFound = 1, /* The passed URL was not a valid user profile or photos url. */ FKFlickrUrlsLookupUserError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ FKFlickrUrlsLookupUserError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ FKFlickrUrlsLookupUserError_FormatXXXNotFound = 111, /* The requested response format was not found. */ FKFlickrUrlsLookupUserError_MethodXXXNotFound = 112, /* The requested method was not found. */ FKFlickrUrlsLookupUserError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */ FKFlickrUrlsLookupUserError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */ FKFlickrUrlsLookupUserError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */ } FKFlickrUrlsLookupUserError; /* Returns a user NSID, given the url to a user's photos or profile. Response: Stewart */ @interface FKFlickrUrlsLookupUser : NSObject /* The url to the user's profile or photos page. */ @property (nonatomic, strong) NSString *url; /* (Required) */ @end ================================================ FILE: Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.m ================================================ // // FKFlickrUrlsLookupUser.m // FlickrKit // // Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrUrlsLookupUser.h" @implementation FKFlickrUrlsLookupUser - (BOOL) needsLogin { return NO; } - (BOOL) needsSigning { return NO; } - (FKPermission) requiredPerms { return -1; } - (NSString *) name { return @"flickr.urls.lookupUser"; } - (BOOL) isValid:(NSError **)error { BOOL valid = YES; NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "]; if(!self.url) { valid = NO; [errorDescription appendString:@"'url', "]; } if(error != NULL) { if(!valid) { NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo]; } } return valid; } - (NSDictionary *) args { NSMutableDictionary *args = [NSMutableDictionary dictionary]; if(self.url) { [args setValue:self.url forKey:@"url"]; } return [args copy]; } - (NSString *) descriptionForError:(NSInteger)error { switch(error) { case FKFlickrUrlsLookupUserError_UserNotFound: return @"User not found"; case FKFlickrUrlsLookupUserError_InvalidAPIKey: return @"Invalid API Key"; case FKFlickrUrlsLookupUserError_ServiceCurrentlyUnavailable: return @"Service currently unavailable"; case FKFlickrUrlsLookupUserError_FormatXXXNotFound: return @"Format \"xxx\" not found"; case FKFlickrUrlsLookupUserError_MethodXXXNotFound: return @"Method \"xxx\" not found"; case FKFlickrUrlsLookupUserError_InvalidSOAPEnvelope: return @"Invalid SOAP envelope"; case FKFlickrUrlsLookupUserError_InvalidXMLRPCMethodCall: return @"Invalid XML-RPC Method Call"; case FKFlickrUrlsLookupUserError_BadURLFound: return @"Bad URL found"; default: return @"Unknown error code"; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKDUReachability.h ================================================ // // FKDUReachability.h // FlickrKit // // Created by David Casserly on 30/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import @interface FKDUReachability : NSObject + (BOOL) isConnected; + (BOOL) isOffline; // just the inverse of isConnected + (NSError *) buildOfflineErrorMessage; @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKDUReachability.m ================================================ // // FKDUReachability.m // FlickrKit // // Created by David Casserly on 30/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDUReachability.h" #import #import #import #import "FlickrKit.h" @implementation FKDUReachability + (NSError *) buildOfflineErrorMessage { NSString *errorDescription = @"Your internet connection appears to be offline"; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorNoInternet userInfo:userInfo]; return error; } + (BOOL) isOffline { return ![self isConnected]; } + (BOOL) isConnected { struct sockaddr_in zeroAddress; bzero(&zeroAddress, sizeof(zeroAddress)); zeroAddress.sin_len = sizeof(zeroAddress); zeroAddress.sin_family = AF_INET; SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)&zeroAddress); if(reachability != NULL) { //NetworkStatus retVal = NotReachable; SCNetworkReachabilityFlags flags; if (SCNetworkReachabilityGetFlags(reachability, &flags)) { BOOL isConnected = NO; if (0 == (flags & kSCNetworkReachabilityFlagsReachable)) { // if target host is not reachable isConnected = NO; } else if (0 == (flags & kSCNetworkReachabilityFlagsConnectionRequired)) { // if target host is reachable and no connection is required // then we'll assume (for now) that your on Wi-Fi isConnected = YES; } else if ( (0 != (flags & kSCNetworkReachabilityFlagsConnectionOnDemand) ) || (0 != (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) ) ) { // ... and the connection is on-demand (or on-traffic) if the // calling application is using the CFSocketStream or higher APIs if ((flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0) { // ... and no [user] intervention is needed isConnected = YES; } } else if ((flags & kSCNetworkReachabilityFlagsIsWWAN) == kSCNetworkReachabilityFlagsIsWWAN) { // ... but WWAN connections are OK if the calling application // is using the CFNetwork (CFSocketStream?) APIs. isConnected = YES; } CFRelease(reachability); return isConnected; } } return NO; } @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.h ================================================ // // FKNetworkOperation.h // FlickrKit // // Created by David Casserly on 06/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDataTypes.h" #import "FKDUConcurrentOperation.h" #import "FKDUDiskCache.h" #import "FKDUnetworkOperation.h" #import "FKFlickrAPIMethod.h" @interface FKFlickrNetworkOperation : FKDUNetworkOperation - (id) initWithAPIMethod:(NSString *)api arguments:(NSDictionary *)args maxAgeMinutes:(FKDUMaxAge)maxAge diskCache:(id)diskCache completion:(FKAPIRequestCompletion)completion; - (id) initWithAPIMethod:(id)method maxAgeMinutes:(FKDUMaxAge)maxAge diskCache:(id)diskCache completion:(FKAPIRequestCompletion)completion; @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.m ================================================ // // FKNetworkOperation.m // FlickrKit // // Created by David Casserly on 06/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKFlickrNetworkOperation.h" #import "FKDUBlocks.h" #import "FlickrKit.h" #import "FKURLBuilder.h" #import "FKUtilities.h" #import "FKDUNetworkController.h" @interface FKFlickrNetworkOperation () @property (nonatomic, strong) NSString *apiMethod; @property (nonatomic, strong) NSDictionary *args; @property (nonatomic, copy) FKAPIRequestCompletion completion; @property (nonatomic, strong) id diskCache; @property (nonatomic, assign) NSInteger maxAgeMinutes; @property (nonatomic, strong) NSString *cacheKey; @property (nonatomic, retain) id method; @end @implementation FKFlickrNetworkOperation #pragma mark - Init - (id) initWithAPIMethod:(NSString *)api arguments:(NSDictionary *)args maxAgeMinutes:(FKDUMaxAge)maxAge diskCache:(id)diskCache completion:(FKAPIRequestCompletion)completion { self = [super init]; if (self) { self.maxAgeMinutes = maxAge; self.diskCache = diskCache; self.apiMethod = api; self.args = args; self.completion = completion; self.cacheKey = [self generateCacheKey]; NSAssert(completion, @"We must have a completion block"); } return self; } - (id) initWithAPIMethod:(id)method maxAgeMinutes:(FKDUMaxAge)maxAge diskCache:(id)diskCache completion:(FKAPIRequestCompletion)completion { NSString *api = [method name]; NSDictionary *args = [method args]; return [self initWithAPIMethod:api arguments:args maxAgeMinutes:maxAge diskCache:diskCache completion:completion]; } #pragma mark - DUOperation Methods - (void) cancel { self.completion = nil; [super cancel]; } - (void) finish { self.completion = nil; [super finish]; } - (BOOL) startRequest:(NSError **)error { if (self.method) { BOOL validArgs = [self.method isValid:error]; if (!validArgs) { return NO; } } NSData *cachedData = nil; if (0 == self.maxAgeMinutes) { [self.diskCache removeDataForKey:self.cacheKey]; } else { cachedData = [self.diskCache dataForKey:self.cacheKey maxAgeMinutes:self.maxAgeMinutes]; } if (cachedData) { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ [self processResponseData:cachedData]; }); return YES; } else { NSURLRequest *request = [self createRequest:error]; if (request) { [super connectWithRequest:request]; return YES; } else { return NO; } } } #pragma mark - Cache - (NSString *) generateCacheKey { NSMutableString *cacheString = [[NSMutableString alloc] initWithString:self.apiMethod]; for (NSString *key in [self.args allKeys]) { NSString *value = [self.args valueForKey:key]; [cacheString appendString:key]; [cacheString appendString:value]; } return [NSString stringWithString:cacheString]; } #pragma mark - NSURLConnection Delegate methods - (void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { if (self.completion) { self.completion(nil, error); } [self finish]; } - (void) connectionDidFinishLoading:(NSURLConnection *)connection { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSData *data = self.receivedData; static NSInteger prefixBytes = -1; static NSInteger suffixBytes = 1; if (-1 == prefixBytes) { NSString *responsePrefix = @"jsonFlickrApi("; prefixBytes = [responsePrefix length]; } NSData *subData = nil; if (data.length > prefixBytes) { subData =[data subdataWithRange:NSMakeRange(prefixBytes, data.length - prefixBytes - suffixBytes)]; } //Cache the response if (data && data.length > 0) { if (0 != self.maxAgeMinutes) { [self.diskCache storeData:subData forKey:self.cacheKey]; } [self processResponseData:subData]; } else { NSString *errorString = @"No data was returned from Flickr to process"; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorString}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorEmptyResponse userInfo:userInfo]; if (self.completion) { self.completion(nil, error); } } }); } #pragma mark - Request - (NSMutableURLRequest *) createRequest:(NSError **)error { NSMutableDictionary *newArgs = self.args ? [NSMutableDictionary dictionaryWithDictionary:self.args] : [NSMutableDictionary dictionary]; newArgs[@"method"] = self.apiMethod; newArgs[@"format"] = @"json"; FKURLBuilder *urlBuilder = [[FKURLBuilder alloc] init]; NSURL *url = nil; if ([FlickrKit sharedFlickrKit].isAuthorized) { url = [urlBuilder oauthURLFromBaseURL:[NSURL URLWithString:FKFlickrRESTAPI] method:FKHttpMethodGET params:newArgs]; } else { NSString *query = [urlBuilder signedQueryStringFromParameters:newArgs]; NSString *URLString = [NSString stringWithFormat:@"%@?%@", FKFlickrRESTAPI, query]; url = [NSURL URLWithString:URLString]; } //Create Request NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; request.cachePolicy = NSURLRequestReloadIgnoringLocalAndRemoteCacheData; //HTTP Method request.HTTPMethod = @"GET"; return request; } #pragma mark - Response - (void) processResponseData:(NSData *)data { NSAssert(data, @"Must have data"); #ifdef DEBUG //NSString *jsonString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; #endif NSError *error = nil; id jsonData = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:&error]; if (!jsonData) { if (self.completion) { self.completion(nil, error); } } else { NSString *status = [jsonData valueForKey:@"stat"]; if ([status isEqualToString:@"fail"]) { if (self.completion) { NSInteger errorCode = [[jsonData valueForKey:@"code"] integerValue]; NSString *errorDescription = [jsonData valueForKey:@"message"]; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; NSError *error = [NSError errorWithDomain:FKFlickrAPIErrorDomain code:errorCode userInfo:userInfo]; self.completion(nil, error); } } else { if (self.completion) { self.completion(jsonData, nil); } } } [self finish]; } @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.h ================================================ // // FKImageUploadNetworkOperation.h // FlickrKit // // Created by David Casserly on 06/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKDUNetworkOperation.h" #import #import "FKDataTypes.h" @interface FKImageUploadNetworkOperation : FKDUNetworkOperation @property (nonatomic, assign, readonly) CGFloat uploadProgress; - (id) initWithImage:(UIImage *)image arguments:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.m ================================================ // // FKImageUploadNetworkOperation.m // FlickrKit // // Created by David Casserly on 06/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKImageUploadNetworkOperation.h" #import "FlickrKit.h" #import "FKURLBuilder.h" #import "FKUtilities.h" #import "FKUploadRespone.h" #import "FKDUStreamUtil.h" @interface FKImageUploadNetworkOperation () @property (nonatomic, strong) UIImage *image; @property (nonatomic, retain) NSString *tempFile; @property (nonatomic, copy) FKAPIImageUploadCompletion completion; @property (nonatomic, retain) NSDictionary *args; @property (nonatomic, assign) CGFloat uploadProgress; @property (nonatomic, assign) NSUInteger fileSize; @end @implementation FKImageUploadNetworkOperation - (id) initWithImage:(UIImage *)image arguments:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; { self = [super init]; if (self) { self.image = image; self.args = args; self.completion = completion; } return self; } #pragma mark - DUOperation methods - (void) cancel { self.completion = nil; [self cleanupTempFile:self.tempFile]; [super cancel]; } - (void) finish { self.completion = nil; [self cleanupTempFile:self.tempFile]; [super finish]; } #pragma mark - Create the request - (void) cleanupTempFile:(NSString *)uploadTempFilename { if (uploadTempFilename) { NSFileManager *fileManager = [NSFileManager defaultManager]; if ([fileManager fileExistsAtPath:uploadTempFilename]) { BOOL __unused removeResult = NO; NSError *error = nil; removeResult = [fileManager removeItemAtPath:uploadTempFilename error:&error]; NSAssert(removeResult, @"Should be able to remove temp file"); } uploadTempFilename = nil; } } - (NSMutableURLRequest *) createRequest:(NSError **)error { // Setup args NSMutableDictionary *newArgs = self.args ? [NSMutableDictionary dictionaryWithDictionary:self.args] : [NSMutableDictionary dictionary]; newArgs[@"format"] = @"json"; //#ifdef DEBUG // [newArgs setObject:@"0" forKey:@"is_public"]; // [newArgs setObject:@"0" forKey:@"is_friend"]; // [newArgs setObject:@"0" forKey:@"is_family"]; // [newArgs setObject:@"2" forKey:@"hidden"]; //#endif // Build a URL to the upload service FKURLBuilder *urlBuilder = [[FKURLBuilder alloc] init]; NSDictionary *args = [urlBuilder signedArgsFromParameters:newArgs method:FKHttpMethodPOST url:[NSURL URLWithString:@"https://api.flickr.com/services/upload/"]]; // Form multipart needs a boundary NSString *multipartBoundary = FKGenerateUUID(); // File name NSString *inFilename = [self.args valueForKey:@"title"]; if (!inFilename) { inFilename = @" "; // Leave space so that the below still uploads a file } else { inFilename = [inFilename stringByReplacingOccurrencesOfString:@" " withString:@""]; } // The multipart opening string NSMutableString *multipartOpeningString = [NSMutableString string]; for (NSString *key in args.allKeys) { [multipartOpeningString appendFormat:@"--%@\r\nContent-Disposition: form-data; name=\"%@\"\r\n\r\n%@\r\n", multipartBoundary, key, [args valueForKey:key]]; } [multipartOpeningString appendFormat:@"--%@\r\nContent-Disposition: form-data; name=\"photo\"; filename=\"%@\"\r\n", multipartBoundary, inFilename]; [multipartOpeningString appendFormat:@"Content-Type: %@\r\n\r\n", @"image/jpeg"]; // The multipart closing string NSMutableString *multipartClosingString = [NSMutableString string]; [multipartClosingString appendFormat:@"\r\n--%@--", multipartBoundary]; // The temp file to write this multipart to NSString *tempFileName = [NSTemporaryDirectory() stringByAppendingFormat:@"%@.%@", @"FKFlickrTempFile", FKGenerateUUID()]; self.tempFile = tempFileName; // Output stream is the file... NSOutputStream *outputStream = [NSOutputStream outputStreamToFileAtPath:tempFileName append:NO]; [outputStream open]; // Input stream is the image NSData *imgData = UIImageJPEGRepresentation(self.image, 1.0); NSInputStream *inImageStream = [[NSInputStream alloc] initWithData:imgData]; // Write the contents to the streams... don't cross the streams ! [FKDUStreamUtil writeMultipartStartString:multipartOpeningString imageStream:inImageStream toOutputStream:outputStream closingString:multipartClosingString]; // Get the file size NSDictionary *fileInfo = [[NSFileManager defaultManager] attributesOfItemAtPath:tempFileName error:error]; NSNumber *fileSize = nil; if (fileInfo) { fileSize = [fileInfo objectForKey:NSFileSize]; self.fileSize = [fileSize integerValue]; } else { //we have the error populated return nil; } // Now the input stream for the request is the file just created NSInputStream *inputStream = [NSInputStream inputStreamWithFileAtPath:tempFileName]; NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://api.flickr.com/services/upload/"]]; [request setHTTPMethod:@"POST"]; [request setHTTPBodyStream:inputStream]; NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@", multipartBoundary]; [request setValue:contentType forHTTPHeaderField:@"Content-Type"]; [request setValue:[fileSize stringValue] forHTTPHeaderField:@"Content-Length"]; return request; } #pragma mark - NSURLConnection Delegate methods - (void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { if (self.completion) { self.completion(nil, error); } [self finish]; } - (void) connectionDidFinishLoading:(NSURLConnection *)connection { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ FKUploadRespone *response = [[FKUploadRespone alloc] initWithData:self.receivedData]; BOOL success = [response parse]; if (!success) { NSString *errorString = @"Cannot parse response data from image upload"; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorString}; NSError *error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorResponseParsing userInfo:userInfo]; if (self.completion) { self.completion(nil, error); } } else { if (self.completion) { self.completion(response.photoID, response.error); } } }); } - (void) connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite { // Calculate the progress self.uploadProgress = (CGFloat) totalBytesWritten / (CGFloat) self.fileSize; #ifdef DEBUG NSLog(@"file size is %i", self.fileSize); NSLog(@"Sent %i, total Sent %i, expected total %i", bytesWritten, totalBytesWritten, totalBytesExpectedToWrite); NSLog(@"Upload progress is %f", self.uploadProgress); #endif } @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKURLBuilder.h ================================================ // // FKURLBuilder.h // FlickrKit // // Created by David Casserly on 28/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // typedef enum { FKHttpMethodGET = 0, FKHttpMethodPOST } FKHttpMethod; @interface FKURLBuilder : NSObject #pragma mark - URL Encryption - (NSURL *) oauthURLFromBaseURL:(NSURL *)inURL method:(FKHttpMethod)method params:(NSDictionary *)params; #pragma mark - Create query string from args and sign it - (NSString *) signedQueryStringFromParameters:(NSDictionary *)params; #pragma mark - Args as array - (NSDictionary *) signedArgsFromParameters:(NSDictionary *)params method:(FKHttpMethod)method url:(NSURL *)url; @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKURLBuilder.m ================================================ // // FKURLBuilder.m // FlickrKit // // Created by David Casserly on 28/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKURLBuilder.h" #import "FKOFHMACSha1Base64.h" #import "FlickrKit.h" #import "FKUtilities.h" @implementation FKURLBuilder #pragma mark - URL Encryption - (NSURL *) oauthURLFromBaseURL:(NSURL *)inURL method:(FKHttpMethod)method params:(NSDictionary *)params { NSDictionary *newArgs = [self signedOAuthHTTPQueryParameters:params baseURL:inURL method:method]; NSMutableArray *queryArray = [NSMutableArray array]; for (NSString *key in newArgs) { [queryArray addObject:[NSString stringWithFormat:@"%@=%@", key, FKEscapedURLStringPlus(newArgs[key])]]; } NSString *newURLStringWithQuery = [NSString stringWithFormat:@"%@?%@", [inURL absoluteString], [queryArray componentsJoinedByString:@"&"]]; return [NSURL URLWithString:newURLStringWithQuery]; } //private - (NSDictionary *) signedOAuthHTTPQueryParameters:(NSDictionary *)params baseURL:(NSURL *)inURL method:(FKHttpMethod)method { NSString *httpMethod = nil; switch (method) { case FKHttpMethodGET: httpMethod = @"GET"; break; case FKHttpMethodPOST: httpMethod = @"POST"; break; default: break; } NSMutableDictionary *newArgs = params ? [params mutableCopy] : [NSMutableDictionary dictionary]; newArgs[@"oauth_nonce"] = [FKGenerateUUID() substringToIndex:8]; NSTimeInterval time = [[NSDate date] timeIntervalSince1970]; newArgs[@"oauth_timestamp"] = [NSString stringWithFormat:@"%f", time]; newArgs[@"oauth_version"] = @"1.0"; newArgs[@"oauth_signature_method"] = @"HMAC-SHA1"; newArgs[@"oauth_consumer_key"] = [FlickrKit sharedFlickrKit].apiKey; if (!params[@"oauth_token"] && [FlickrKit sharedFlickrKit].authToken) { newArgs[@"oauth_token"] = [FlickrKit sharedFlickrKit].authToken; } NSString *signatureKey = nil; if ([FlickrKit sharedFlickrKit].authSecret) { signatureKey = [NSString stringWithFormat:@"%@&%@", [FlickrKit sharedFlickrKit].secret, [FlickrKit sharedFlickrKit].authSecret]; } else { signatureKey = [NSString stringWithFormat:@"%@&", [FlickrKit sharedFlickrKit].secret]; } NSMutableString *baseString = [NSMutableString string]; [baseString appendString:httpMethod]; [baseString appendString:@"&"]; [baseString appendString:FKEscapedURLStringPlus([inURL absoluteString])]; NSArray *sortedKeys = [[newArgs allKeys] sortedArrayUsingSelector:@selector(compare:)]; [baseString appendString:@"&"]; NSMutableArray *baseStrArgs = [NSMutableArray array]; for (NSString *key in sortedKeys) { [baseStrArgs addObject:[NSString stringWithFormat:@"%@=%@", key, FKEscapedURLStringPlus(newArgs[key])]]; } [baseString appendString:FKEscapedURLStringPlus([baseStrArgs componentsJoinedByString:@"&"])]; NSString *signature = FKOFHMACSha1Base64(signatureKey, baseString); newArgs[@"oauth_signature"] = signature; return newArgs; } #pragma mark - Create query string from args and sign it - (NSString *) signedQueryStringFromParameters:(NSDictionary *)params { NSArray *signedParams = [self signedArgumentComponentsFromParameters:params]; NSMutableArray *args = [NSMutableArray array]; for (NSArray *param in signedParams) { [args addObject:[param componentsJoinedByString:@"="]]; } return [args componentsJoinedByString:@"&"]; } //private - (NSArray *) signedArgumentComponentsFromParameters:(NSDictionary *)params { NSMutableDictionary *args = params ? [params mutableCopy] : [NSMutableDictionary dictionary]; if ([FlickrKit sharedFlickrKit].apiKey) { args[@"api_key"] = [FlickrKit sharedFlickrKit].apiKey; } NSMutableArray *argArray = [NSMutableArray array]; NSMutableString *sigString = [NSMutableString stringWithString:[FlickrKit sharedFlickrKit].secret ? [FlickrKit sharedFlickrKit].secret : @""]; NSArray *sortedKeys = [[args allKeys] sortedArrayUsingSelector:@selector(compare:)]; for (NSString *key in sortedKeys) { NSString *value = args[key]; [sigString appendFormat:@"%@%@", key, value]; [argArray addObject:@[key, FKEscapedURLString(value)]]; } NSString *signature = FKMD5FromString(sigString); [argArray addObject:@[@"api_sig", signature]]; return argArray; } #pragma mark - Args as array - (NSDictionary *) signedArgsFromParameters:(NSDictionary *)params method:(FKHttpMethod)method url:(NSURL *)url { if ([FlickrKit sharedFlickrKit].isAuthorized) { return [self signedOAuthHTTPQueryParameters:params baseURL:url method:method]; } else { NSMutableDictionary *returnDict = [NSMutableDictionary dictionary]; NSArray *signedArgs = [self signedArgumentComponentsFromParameters:params]; for (NSArray *comp in signedArgs) { [returnDict setObject:comp[1] forKey:comp[0]]; } return [returnDict copy]; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKUploadRespone.h ================================================ // // FKUploadRespone.h // FlickrKit // // Created by David Casserly on 06/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // @interface FKUploadRespone : NSObject @property (nonatomic, strong, readonly) NSString *photoID; @property (nonatomic, strong, readonly) NSError *error; - (id) initWithData:(NSData *)data; - (BOOL) parse; @end ================================================ FILE: Pods/FlickrKit/Classes/Network/FKUploadRespone.m ================================================ // // FKUploadRespone.m // FlickrKit // // Created by David Casserly on 06/06/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKUploadRespone.h" #import "FKDataTypes.h" @interface FKUploadRespone () @property (nonatomic, strong) NSMutableString *currentElementContent; @property (nonatomic, strong) NSData *data; @property (nonatomic, strong) NSString *photoID; @property (nonatomic, strong) NSError *error; @end @implementation FKUploadRespone - (id) initWithData:(NSData *)data { self = [super init]; if (self) { self.data = data; #ifdef DEBUG NSString *dataString = [NSString.alloc initWithData:self.data encoding:NSUTF8StringEncoding]; NSLog(@"%@", dataString); #endif } return self; } - (BOOL) parse { NSXMLParser *xmlParser = [[NSXMLParser alloc] initWithData:self.data]; xmlParser.delegate = self; return [xmlParser parse]; } #pragma mark - Parser delegate methods - (void) parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict { self.currentElementContent = nil; BOOL success = NO; if ([elementName isEqualToString:@"rsp"]) { NSString *status = [attributeDict objectForKey:@"stat"]; if ([status isEqualToString:@"ok"]) { success = YES; } else if ([status isEqualToString:@"fail"]) { success = NO; } } if ([elementName isEqualToString:@"err"]) { NSString *errorCodeString = [attributeDict objectForKey:@"code"]; NSString *errorDescription = [attributeDict objectForKey:@"msg"]; NSInteger errorCode = [errorCodeString integerValue]; NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription}; NSError *error = [NSError errorWithDomain:FKFlickrAPIErrorDomain code:errorCode userInfo:userInfo]; self.error = error; } } - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string { if (!self.currentElementContent) { // currentStringValue is an NSMutableString instance variable self.currentElementContent = [[NSMutableString alloc] initWithCapacity:50]; } [self.currentElementContent appendString:string]; } - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName { if ([elementName isEqualToString:@"photoid"]) { self.photoID = [self.currentElementContent copy]; } } @end ================================================ FILE: Pods/FlickrKit/Classes/Network/Reachability/FKReachability.h ================================================ /* File: Reachability.h Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. Version: 2.2 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Apple software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this Apple software. In consideration of your agreement to abide by the following terms, and subject to these terms, Apple grants you a personal, non-exclusive license, under Apple's copyrights in this original Apple software (the "Apple Software"), to use, reproduce, modify and redistribute the Apple Software, with or without modifications, in source and/or binary forms; provided that if you redistribute the Apple Software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the Apple Software. Neither the name, trademarks, service marks or logos of Apple Inc. may be used to endorse or promote products derived from the Apple Software without specific prior written permission from Apple. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by Apple herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the Apple Software may be incorporated. The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Copyright (C) 2010 Apple Inc. All Rights Reserved. */ #import #import #import typedef enum { NotReachable = 0, ReachableViaWiFi, ReachableViaWWAN } NetworkStatus; #define kReachabilityChangedNotification @"kNetworkReachabilityChangedNotification" @interface FKReachability: NSObject { BOOL localWiFiRef; SCNetworkReachabilityRef reachabilityRef; } //reachabilityWithHostName- Use to check the reachability of a particular host name. + (FKReachability*) reachabilityWithHostName: (NSString*) hostName; //reachabilityWithAddress- Use to check the reachability of a particular IP address. + (FKReachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress; //reachabilityForInternetConnection- checks whether the default route is available. // Should be used by applications that do not connect to a particular host + (FKReachability*) reachabilityForInternetConnection; //reachabilityForLocalWiFi- checks whether a local wifi connection is available. + (FKReachability*) reachabilityForLocalWiFi; //Start listening for reachability notifications on the current run loop - (BOOL) startNotifier; - (void) stopNotifier; - (NetworkStatus) currentReachabilityStatus; //WWAN may be available, but not active until a connection has been established. //WiFi may require a connection for VPN on Demand. - (BOOL) connectionRequired; @end ================================================ FILE: Pods/FlickrKit/Classes/Network/Reachability/FKReachability.m ================================================ /* File: Reachability.m Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. Version: 2.2 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Apple software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this Apple software. In consideration of your agreement to abide by the following terms, and subject to these terms, Apple grants you a personal, non-exclusive license, under Apple's copyrights in this original Apple software (the "Apple Software"), to use, reproduce, modify and redistribute the Apple Software, with or without modifications, in source and/or binary forms; provided that if you redistribute the Apple Software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the Apple Software. Neither the name, trademarks, service marks or logos of Apple Inc. may be used to endorse or promote products derived from the Apple Software without specific prior written permission from Apple. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by Apple herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the Apple Software may be incorporated. The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Copyright (C) 2010 Apple Inc. All Rights Reserved. */ #import #import #import #import #import #import #import #import "FKReachability.h" #define kShouldPrintReachabilityFlags 0 static void PrintReachabilityFlags(SCNetworkReachabilityFlags flags, const char* comment) { #if kShouldPrintReachabilityFlags DULog(@"Reachability Flag Status: %c%c %c%c%c%c%c%c%c %s\n", (flags & kSCNetworkReachabilityFlagsIsWWAN) ? 'W' : '-', (flags & kSCNetworkReachabilityFlagsReachable) ? 'R' : '-', (flags & kSCNetworkReachabilityFlagsTransientConnection) ? 't' : '-', (flags & kSCNetworkReachabilityFlagsConnectionRequired) ? 'c' : '-', (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) ? 'C' : '-', (flags & kSCNetworkReachabilityFlagsInterventionRequired) ? 'i' : '-', (flags & kSCNetworkReachabilityFlagsConnectionOnDemand) ? 'D' : '-', (flags & kSCNetworkReachabilityFlagsIsLocalAddress) ? 'l' : '-', (flags & kSCNetworkReachabilityFlagsIsDirect) ? 'd' : '-', comment ); #endif } @implementation FKReachability static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void* info) { #pragma unused (target, flags) NSCAssert(info != NULL, @"info was NULL in ReachabilityCallback"); //NSCAssert([(NSObject*) info isKindOfClass: [Reachability class]], @"info was wrong class in ReachabilityCallback"); //We're on the main RunLoop, so an NSAutoreleasePool is not necessary, but is added defensively // in case someon uses the Reachablity object in a different thread. @autoreleasepool { FKReachability* noteObject = (__bridge FKReachability*) info; // Post a notification to notify the client that the network reachability changed. [[NSNotificationCenter defaultCenter] postNotificationName: kReachabilityChangedNotification object: noteObject]; } } - (BOOL) startNotifier { BOOL retVal = NO; SCNetworkReachabilityContext context = {0, (__bridge void *)(self), NULL, NULL, NULL}; if(SCNetworkReachabilitySetCallback(reachabilityRef, ReachabilityCallback, &context)) { if(SCNetworkReachabilityScheduleWithRunLoop(reachabilityRef, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode)) { retVal = YES; } } return retVal; } - (void) stopNotifier { if(reachabilityRef!= NULL) { SCNetworkReachabilityUnscheduleFromRunLoop(reachabilityRef, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode); } } - (void) dealloc { [self stopNotifier]; if(reachabilityRef!= NULL) { CFRelease(reachabilityRef); } } + (FKReachability*) reachabilityWithHostName: (NSString*) hostName; { FKReachability* retVal = NULL; SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(NULL, [hostName UTF8String]); if(reachability!= NULL) { retVal= [[self alloc] init]; if(retVal!= NULL) { retVal->reachabilityRef = reachability; retVal->localWiFiRef = NO; } } return retVal; } + (FKReachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress; { SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)hostAddress); FKReachability* retVal = NULL; if(reachability!= NULL) { retVal= [[self alloc] init]; if(retVal!= NULL) { retVal->reachabilityRef = reachability; retVal->localWiFiRef = NO; } } return retVal; } + (FKReachability*) reachabilityForInternetConnection; { struct sockaddr_in zeroAddress; bzero(&zeroAddress, sizeof(zeroAddress)); zeroAddress.sin_len = sizeof(zeroAddress); zeroAddress.sin_family = AF_INET; return [self reachabilityWithAddress: &zeroAddress]; } + (FKReachability*) reachabilityForLocalWiFi; { struct sockaddr_in localWifiAddress; bzero(&localWifiAddress, sizeof(localWifiAddress)); localWifiAddress.sin_len = sizeof(localWifiAddress); localWifiAddress.sin_family = AF_INET; // IN_LINKLOCALNETNUM is defined in as 169.254.0.0 localWifiAddress.sin_addr.s_addr = htonl(IN_LINKLOCALNETNUM); FKReachability* retVal = [self reachabilityWithAddress: &localWifiAddress]; if(retVal!= NULL) { retVal->localWiFiRef = YES; } return retVal; } #pragma mark Network Flag Handling - (NetworkStatus) localWiFiStatusForFlags: (SCNetworkReachabilityFlags) flags { PrintReachabilityFlags(flags, "localWiFiStatusForFlags"); BOOL retVal = NotReachable; if((flags & kSCNetworkReachabilityFlagsReachable) && (flags & kSCNetworkReachabilityFlagsIsDirect)) { retVal = ReachableViaWiFi; } return retVal; } - (NetworkStatus) networkStatusForFlags: (SCNetworkReachabilityFlags) flags { PrintReachabilityFlags(flags, "networkStatusForFlags"); if ((flags & kSCNetworkReachabilityFlagsReachable) == 0) { // if target host is not reachable return NotReachable; } BOOL retVal = NotReachable; if ((flags & kSCNetworkReachabilityFlagsConnectionRequired) == 0) { // if target host is reachable and no connection is required // then we'll assume (for now) that your on Wi-Fi retVal = ReachableViaWiFi; } if ((((flags & kSCNetworkReachabilityFlagsConnectionOnDemand ) != 0) || (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) != 0)) { // ... and the connection is on-demand (or on-traffic) if the // calling application is using the CFSocketStream or higher APIs if ((flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0) { // ... and no [user] intervention is needed retVal = ReachableViaWiFi; } } if ((flags & kSCNetworkReachabilityFlagsIsWWAN) == kSCNetworkReachabilityFlagsIsWWAN) { // ... but WWAN connections are OK if the calling application // is using the CFNetwork (CFSocketStream?) APIs. retVal = ReachableViaWWAN; } return retVal; } - (BOOL) connectionRequired; { NSAssert(reachabilityRef != NULL, @"connectionRequired called with NULL reachabilityRef"); SCNetworkReachabilityFlags flags; if (SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) { return (flags & kSCNetworkReachabilityFlagsConnectionRequired); } return NO; } - (NetworkStatus) currentReachabilityStatus { NSAssert(reachabilityRef != NULL, @"currentNetworkStatus called with NULL reachabilityRef"); NetworkStatus retVal = NotReachable; SCNetworkReachabilityFlags flags; if (SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) { if(localWiFiRef) { retVal = [self localWiFiStatusForFlags: flags]; } else { retVal = [self networkStatusForFlags: flags]; } } return retVal; } @end ================================================ FILE: Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.h ================================================ // // OFUtilities.h // // Copyright (c) 2009-2011 Lukhnos D. Liu (http://lukhnos.org) // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following // conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // #import NSString *FKOFHMACSha1Base64(NSString *inKey, NSString *inMessage); ================================================ FILE: Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.m ================================================ // // OFUtilities.m // // Copyright (c) 2009-2011 Lukhnos D. Liu (http://lukhnos.org) // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following // conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // #import "FKOFHMACSha1Base64.h" #import static NSData *FKOFSha1(NSData *inData) { NSMutableData *result = [NSMutableData dataWithLength:CC_SHA1_DIGEST_LENGTH]; CC_SHA1_CTX context; CC_SHA1_Init(&context); CC_SHA1_Update(&context, [inData bytes], (CC_LONG)[inData length]); CC_SHA1_Final([result mutableBytes], &context); return result; } static char *FKNewBase64Encode(const void *buffer, size_t length, bool separateLines, size_t *outputLength); // http://en.wikipedia.org/wiki/HMAC NSString *FKOFHMACSha1Base64(NSString *inKey, NSString *inMessage) { NSData *keyData = [inKey dataUsingEncoding:NSUTF8StringEncoding]; if ([keyData length] > CC_SHA1_BLOCK_BYTES) { keyData = FKOFSha1(keyData); } if ([keyData length] < CC_SHA1_BLOCK_BYTES) { NSUInteger padSize = CC_SHA1_BLOCK_BYTES - [keyData length]; NSMutableData *paddedData = [NSMutableData dataWithData:keyData]; [paddedData appendData:[NSMutableData dataWithLength:padSize]]; keyData = paddedData; } NSMutableData *oKeyPad = [NSMutableData dataWithLength:CC_SHA1_BLOCK_BYTES]; NSMutableData *iKeyPad = [NSMutableData dataWithLength:CC_SHA1_BLOCK_BYTES]; const uint8_t *kdPtr = [keyData bytes]; uint8_t *okpPtr = [oKeyPad mutableBytes]; uint8_t *ikpPtr = [iKeyPad mutableBytes]; memset(okpPtr, 0x5c, CC_SHA1_BLOCK_BYTES); memset(ikpPtr, 0x36, CC_SHA1_BLOCK_BYTES); NSUInteger i; for (i = 0; i < CC_SHA1_BLOCK_BYTES; i++) { okpPtr[i] = okpPtr[i] ^ kdPtr[i]; ikpPtr[i] = ikpPtr[i] ^ kdPtr[i]; } NSData *msgData = [inMessage dataUsingEncoding:NSUTF8StringEncoding]; NSMutableData *innerData = [NSMutableData dataWithData:iKeyPad]; [innerData appendData:msgData]; NSData *innerDataHashed = FKOFSha1(innerData); NSMutableData *outerData = [NSMutableData dataWithData:oKeyPad]; [outerData appendData:innerDataHashed]; NSData *outerHashedData = FKOFSha1(outerData); size_t outputLength; char *outputBuffer = FKNewBase64Encode([outerHashedData bytes], [outerHashedData length], true, &outputLength); NSString *result = [[NSString alloc] initWithBytes:outputBuffer length:outputLength encoding:NSASCIIStringEncoding]; free(outputBuffer); return result; } // From http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html // // License header: // // Created by Matt Gallagher on 2009/06/03. // Copyright 2009 Matt Gallagher. All rights reserved. // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. Permission is granted to anyone to // use this software for any purpose, including commercial applications, and to // alter it and redistribute it freely, subject to the following restrictions: // // 1. The origin of this software must not be misrepresented; you must not // claim that you wrote the original software. If you use this software // in a product, an acknowledgment in the product documentation would be // appreciated but is not required. // 2. Altered source versions must be plainly marked as such, and must not be // misrepresented as being the original software. // 3. This notice may not be removed or altered from any source // distribution. // // // Mapping from 6 bit pattern to ASCII character. // static unsigned char base64EncodeLookup[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; // // Fundamental sizes of the binary and base64 encode/decode units in bytes // #define BINARY_UNIT_SIZE 3 #define BASE64_UNIT_SIZE 4 // // NewBase64Encode // // Encodes the arbitrary data in the inputBuffer as base64 into a newly malloced // output buffer. // // inputBuffer - the source data for the encode // length - the length of the input in bytes // separateLines - if zero, no CR/LF characters will be added. Otherwise // a CR/LF pair will be added every 64 encoded chars. // outputLength - if not-NULL, on output will contain the encoded length // (not including terminating 0 char) // // returns the encoded buffer. Must be free'd by caller. Length is given by // outputLength. // static char *FKNewBase64Encode(const void *buffer, size_t length, bool separateLines, size_t *outputLength) { const unsigned char *inputBuffer = (const unsigned char *)buffer; #define MAX_NUM_PADDING_CHARS 2 #define OUTPUT_LINE_LENGTH 64 #define INPUT_LINE_LENGTH ((OUTPUT_LINE_LENGTH / BASE64_UNIT_SIZE) * BINARY_UNIT_SIZE) #define CR_LF_SIZE 2 // // Byte accurate calculation of final buffer size // size_t outputBufferSize = ((length / BINARY_UNIT_SIZE) + ((length % BINARY_UNIT_SIZE) ? 1 : 0)) * BASE64_UNIT_SIZE; if (separateLines) { outputBufferSize += (outputBufferSize / OUTPUT_LINE_LENGTH) * CR_LF_SIZE; } // // Include space for a terminating zero // outputBufferSize += 1; // // Allocate the output buffer // char *outputBuffer = (char *)malloc(outputBufferSize); if (!outputBuffer) { return NULL; } size_t i = 0; size_t j = 0; const size_t lineLength = separateLines ? INPUT_LINE_LENGTH : length; size_t lineEnd = lineLength; while (true) { if (lineEnd > length) { lineEnd = length; } for (; i + BINARY_UNIT_SIZE - 1 < lineEnd; i += BINARY_UNIT_SIZE) { // // Inner loop: turn 48 bytes into 64 base64 characters // outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0xFC) >> 2]; outputBuffer[j++] = base64EncodeLookup[((inputBuffer[i] & 0x03) << 4) | ((inputBuffer[i + 1] & 0xF0) >> 4)]; outputBuffer[j++] = base64EncodeLookup[((inputBuffer[i + 1] & 0x0F) << 2) | ((inputBuffer[i + 2] & 0xC0) >> 6)]; outputBuffer[j++] = base64EncodeLookup[inputBuffer[i + 2] & 0x3F]; } if (lineEnd == length) { break; } // // Add the newline // outputBuffer[j++] = '\r'; outputBuffer[j++] = '\n'; lineEnd += lineLength; } if (i + 1 < length) { // // Handle the single '=' case // outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0xFC) >> 2]; outputBuffer[j++] = base64EncodeLookup[((inputBuffer[i] & 0x03) << 4) | ((inputBuffer[i + 1] & 0xF0) >> 4)]; outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i + 1] & 0x0F) << 2]; outputBuffer[j++] = '='; } else if (i < length) { // // Handle the double '=' case // outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0xFC) >> 2]; outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0x03) << 4]; outputBuffer[j++] = '='; outputBuffer[j++] = '='; } outputBuffer[j] = 0; // // Set the output length and return the buffer // if (outputLength) { *outputLength = j; } return outputBuffer; } ================================================ FILE: Pods/FlickrKit/Classes/Utilities/FKUtilities.h ================================================ // // FKUtilitis.h // FlickrKit // // Created by David Casserly on 29/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import #pragma mark - MD5 NSString *FKMD5FromString(NSString *string); #pragma mark - URL Escaped Strings NSString *FKEscapedURLString(NSString *string); NSString *FKEscapedURLStringPlus(NSString *string); #pragma mark - Unique ID NSString *FKGenerateUUID(void); #pragma mark - Query Strings NSDictionary *FKQueryParamDictionaryFromQueryString(NSString *queryString); NSDictionary *FKQueryParamDictionaryFromURL(NSURL *url); ================================================ FILE: Pods/FlickrKit/Classes/Utilities/FKUtilities.m ================================================ // // FKUtilitis.m // FlickrKit // // Created by David Casserly on 29/05/2013. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // #import "FKUtilities.h" #import #import #pragma mark - MD5 NSString *FKMD5FromString(NSString *string) { const char *cStr = [string UTF8String]; unsigned char result[16]; CC_MD5(cStr, (CC_LONG)strlen(cStr), result); return [NSString stringWithFormat:@"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",result[0], result[1], result[2], result[3], result[4], result[5], result[6], result[7],result[8], result[9], result[10], result[11],result[12], result[13], result[14], result[15]]; } #pragma mark - URL Escaped Strings NSString *FKEscapedURLString(NSString *string) { return [string stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; } NSString *FKEscapedURLStringPlus(NSString *string) { CFStringRef escaped = CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)string, NULL, (CFStringRef)@"`~!@#$^&*()=+[]\\{}|;':\",/<>?", kCFStringEncodingUTF8); return (__bridge_transfer NSString *)escaped; } #pragma mark - Unique ID NSString *FKGenerateUUID(void) { CFUUIDRef uuid = CFUUIDCreate(NULL); CFStringRef uuidStr = CFUUIDCreateString(NULL, uuid); CFRelease(uuid); return (__bridge_transfer NSString *)uuidStr; } #pragma mark - OAuthExtraction NSDictionary *FKQueryParamDictionaryFromQueryString(NSString *queryString) { if (queryString.length < 1) { return nil; } NSArray *vars = [queryString componentsSeparatedByString:@"&"]; NSMutableDictionary *keyValues = [NSMutableDictionary dictionary]; for (NSString *var in vars) { NSArray *kv = [var componentsSeparatedByString:@"="]; if ([kv count] != 2) { continue; } keyValues[kv[0]] = kv[1]; } return [keyValues copy]; } NSDictionary *FKQueryParamDictionaryFromURL(NSURL *url) { NSString *urlString = url.query; NSDictionary *params = FKQueryParamDictionaryFromQueryString(urlString); return params; } ================================================ FILE: Pods/FlickrKit/README.md ================================================ # FlickrKit FlickrKit is an iOS Objective-C library for accessing the Flickr API written by David Casserly. It is used by [galleryr pro iPad app](https://itunes.apple.com/gb/app/flickr-gallery-pro/id525519823?mt=8). Features -------- Who needs FlickrKit when we have ObjectiveFlickr? Why not? I used ObjectiveFlickr for a long time, and a some of the methods in this libary were born from ObjectiveFlickr. However, I sometimes had problems debugging ObjectiveFlickr as the networking code was custom and not familiar to me - and I provide a little bit more too… * You have a few ways to call methods - using string method name/dictionary params - or using the Model classes that have been generated for every Flickr API call available! It's up to you - or mix it up! * All methods return an NSOperation subclass, so you have the ability to cancel requests easily, requests are put onto an operation queue. * FlickrKit uses latest iOS libraries where possible, and is built with ARC and uses block callbacks. So it's internals should be familiar. * Errors are packaged properly into NSError objects, again more familiarity. * There is a default disk caching of Flickr responses - you are allowed to cache up to 24 hrs. You can specify the cache time per request. * The code is (hopefully) easy to read and debug, as it uses standard iOS networking components in the simplest way possible. * It is (partially) unit tested. * There is a demo project to see it's usage. * There is a vastly simplified authentication mechanism, which is by far the most complicated part of using Flickr APi - even when using ObjectiveFlickr. * The model classes are auto generated and include all error codes, params, validation, documentation. The code generation project is also included in the source if you need to regenerate. * Maybe there are more features that i've neglected to mentions… give it a go! ###### Limitations I don't support Mac OS X (as i've never worked with that ..sorry! - ports welcome!). I don't support the old authentication method or migration - it only uses OAuth - which is almost a year old with Flickr now anyway. It only supports single user authentication - so doesn't support multiple flickr accounts Requirements ------------ FlickrKit requires iOS 6.0 and above and uses ARC. It may be compatible with older OS's, but I haven't tested this. If you are using FlickrKit in your non-arc project, you will need to set a `-fobjc-arc` compiler flag on all of the FlickrKit source files. To set a compiler flag in Xcode, go to your active target and select the "Build Phases" tab. Now select all FlickrKit source files, press Enter, insert `-fobjc-arc` and then "Done" to enable ARC for FlickrKit. Installation ------------- 1. Drag FlickrKit.xcodeproj into your project. 2. In your project target, build phases, target dependencies... add FlickrKit as a depenendency 3. In your project target, build phases, link binary with library... add libFlickrKit.a 4. In build settings > header search paths... point to FlickrKit classes directory, recursively 5. Include SystemConfiguration.framework Usage ------------- Inluded in the source is a demo project that shows you how to get started. It has a few example use cases. The UI isn't pretty! - but the important part is the usage of the API in the code. ##### API Notes * You need to start the library using initializeWithAPIKey:sharedSecret: which you will get from your flickr account * completion callbacks are not called on the main thread, so you must ensure you do any UI related work on the main thread * Flickr allow you to cache responses for up to 24 hrs, you can pass the maxCacheAge for the number of minutes you want to cache this for. * You can provide your own cache implementation if you want and plug it into FlickrKit. See [FlickrKit.h] * You can use either the string/dictionary call methods - or you can use the model api, where you use a model class. The advantage of the model classes are the clarity and the validation/error messaging built into them. They also contain all the flickr documentation. They are auto generated from the flickr API and can be regenerated with FKAPIBuilder class if the API updates. ##### Authentication * You start auth using beginAuthWithCallbackURL with the url that flickr will call back to your app - completion callback gives you a url that you can present in a webview. * Once the user has logged in and flickr calls back to your app, you can pass this to completeAuthWithURL. * We store the auth token in NSUserDefaults - so when you launch your app again, you can call checkAuthorizationOnSuccess to see if the user is already validated. * Calling logout will remove all stored tokens and the user will have to authenticate again. #### Startup You can get an API Key and Secret from your Flickr account. You need these to use the API. [[FlickrKit sharedFlickrKit] initializeWithAPIKey:@"YOUR_KEY" sharedSecret:@"YOUR_SECRET"]; #### Load Interesting Photos - Flickr Explore This example demonstrates using the generated Flickr API Model classes. FlickrKit *fk = [FlickrKit sharedFlickrKit]; FKFlickrInterestingnessGetList *interesting = [[FKFlickrInterestingnessGetList alloc] init]; [fk call:interesting completion:^(NSDictionary *response, NSError *error) { // Note this is not the main thread! if (response) { NSMutableArray *photoURLs = [NSMutableArray array]; for (NSDictionary *photoData in [response valueForKeyPath:@"photos.photo"]) { NSURL *url = [fk photoURLForSize:FKPhotoSizeSmall240 fromPhotoDictionary:photoData]; [photoURLs addObject:url]; } dispatch_async(dispatch_get_main_queue(), ^{ // Any GUI related operations here }); } }]; #### Your Photostream Photos This example uses the string/dictionary method of calling FlickrKit, and alternative to using the Model classes. It also demonstrates passing a cache time of one hour, meaning if you call this again withing the hour - it will hit the cache and not the network. Fast! [[FlickrKit sharedFlickrKit] call:@"flickr.photos.search" args:@{@"user_id": self.userID, @"per_page": @"15"} maxCacheAge:FKDUMaxAgeOneHour completion:^(NSDictionary *response, NSError *error) { dispatch_async(dispatch_get_main_queue(), ^{ if (response) { // extract images from the resonse dictionary } else { // show the error } }); }]; #### Uploading a Photo Uploading a photo and observing it's progress. imagePicked comes from the UIImagePickerControllerDelegate, but could be any UIImage. self.uploadOp = [[FlickrKit sharedFlickrKit] uploadImage:imagePicked args:uploadArgs completion:^(NSString *imageID, NSError *error) { dispatch_async(dispatch_get_main_queue(), ^{ if (error) { // oops! } else { // Image is now in flickr! } }); }]; [self.uploadOp addObserver:self forKeyPath:@"uploadProgress" options:NSKeyValueObservingOptionNew context:NULL]; Unit Tests ----------- Unit what? Just kidding. There are a few unit tests - but I'm still working on them - honest! License and Warranty -------------------- The license for the code is included with the project; it's basically a BSD license with attribution. You're welcome to use it in commercial, closed-source, open source, free or any other kind of software, as long as you credit me appropriately. The FlickrKit code comes with no warranty of any kind. I hope it'll be useful to you (it certainly is to me), but I make no guarantees regarding its functionality or otherwise. Contact ------- I can't answer any questions about how to use the code, but I always welcome emails telling me that you're using it, or just saying thanks. If you create an app which uses the code, I'd also love to hear about it. You can find my contact details on my web site, listed below. Likewise, if you want to submit a feature request or bug report, feel free to get in touch. Better yet, fork the code and implement the feature/fix yourself, then submit a pull request. Enjoy! Thanks, David Casserly Me: http://www.davidjc.com My Work: http://www.devedup.com Twitter: http://twitter.com/devedup Hire Me: http://linkedin.davidjc.com ================================================ FILE: Pods/FlickrKit/Source Code License.rtf ================================================ {\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390 {\fonttbl\f0\fnil\fcharset0 LucidaGrande;} {\colortbl;\red255\green255\blue255;\red51\green51\blue51;\red0\green180\blue128;\red255\green0\blue0; \red31\green105\blue199;\red119\green119\blue119;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1}} {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} \paperw12240\paperh15840\vieww18720\viewh10740\viewkind0 \deftab720 \pard\pardeftab720 \f0\b\fs24 \cf2 David Casserly / DevedUp Ltd Source Code License\ \b0\fs22 Last updated: 12th June 2013 \fs24 \ \ Firstly, thanks to Matt Legend Gemmel for producing this file.\ \ Thanks for downloading some of our source code!\ \ This is the license agreement for the source code which this document accompanies (don\'92t worry: you\'92re allowed to use it in your own products, commercial or otherwise).\ \ The full license text is further down this page, and you should only use the source code if you agree to the terms in that text. For convenience, though, we\'92ve put together a human-readable \b non-authoritative \b0 interpretation of the license which will hopefully answer any questions you have.\ \ \ \b \cf3 Green \b0 \cf2 text shows \b \cf3 what you can do with the code \b0 \cf2 .\ \b \cf4 Red \b0 \cf2 text means \b \cf4 restrictions you must abide by \b0 \cf2 .\ \ Basically, the license says that:\ \ \pard\tx220\tx720\pardeftab720\li720\fi-720 \ls1\ilvl0\cf2 {\listtext 1. }You can \b \cf3 use the code in your own products, including commercial and/or closed-source products \b0 \cf2 .\ {\listtext 2. }You can \b \cf3 modify the code \b0 \cf0 as you wish\cf2 , and \b \cf3 use the modified code in your products \b0 \cf2 .\ {\listtext 3. }You can \b \cf3 redistribute the original, unmodified code \b0 \cf2 , but you \b \cf4 have to include the full license text below \b0 \cf2 .\ {\listtext 4. }You can \b \cf3 redistribute the modified code \b0 \cf2 as you wish ( \b \cf4 without the full license text below \b0 \cf2 ).\ {\listtext 5. }In all cases, you \b \cf4 must include a credit mentioning David Casserly \b0 \cf2 as the original author of the source.\ {\listtext 6. }David Casserly is \cf0 not liable for anything you do with the code\cf2 , no matter what. So be sensible.\ {\listtext 7. }You \b \cf4 can\'92t use the name David Casserly, the name DevedUp Ltd, the DevedUp Ltd logo or any other related marks to promote your products \b0 \cf2 based on the code.\ {\listtext 8. }If you agree to all of that, go ahead and use the source. Otherwise, don\'92t!\ \pard\pardeftab720 \cf2 \ \b \ \ Suggested Attribution Format\ \b0 \ The license requires that you give credit to David Casserly, as the original author of any of our source that you use. The placement and format of the credit is up to you, but we prefer the credit to be in the software\'92s \'93About\'94 window. Alternatively, you could put the credit in a list of acknowledgements within the software, in the software\'92s documentation, or on the web page for the software. The suggested format for the attribution is:\ \ \pard\pardeftab720 \b \cf0 Includes code by {\field{\*\fldinst{HYPERLINK "http://www.devedup.com"}}{\fldrslt \cf5 David Casserly}}\cf6 , DevedUp Ltd. \b0 \ \pard\pardeftab720 \cf2 \ where would be replaced by the name of the specific source-code package you made use of. Where possible, please link the text \'93David Casserly\'94 to the following URL, or include the URL as plain text: {\field{\*\fldinst{HYPERLINK "http://mattgemmell.com/"}}{\fldrslt \cf5 http://www.devedup.com}}\ \ \ \b Full Source Code License Text\ \ \b0 Below you can find the actual text of the license agreement. \b \ \ \pard\pardeftab720 \cf6 \ License Agreement for Source Code provided by David Casserly \b0 \ \ This software is supplied to you by David Casserly in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this software.\ \ In consideration of your agreement to abide by the following terms, and subject to these terms, David Casserly grants you a personal, non-exclusive license, to use, reproduce, modify and redistribute the software, with or without modifications, in source and/or binary forms; provided that if you redistribute the software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the software, and that in all cases attribution of David Casserly as the original author of the source code shall be included in all such resulting software products or distributions.\uc0\u8232 \ Neither the name, trademarks, service marks or logos of David Casserly or DevedUp Ltd may be used to endorse or promote products derived from the software without specific prior written permission from David Casserly. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by David Casserly herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the software may be incorporated.\ \ The software is provided by David Casserly on an "AS IS" basis. DAVID CASSERLY AND DEVEDUP LTD MAKE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.\ \ IN NO EVENT SHALL DAVID CASSERLY OR DEVEDUP LTD BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF DAVID CASSERLY OR DEVEDUP LTD HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ } ================================================ FILE: Pods/Pods-FlickrKit-Private.xcconfig ================================================ #include "Pods-FlickrKit.xcconfig" GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/FlickrKit" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/FlickrKit" "${PODS_ROOT}/Headers/SDWebImage" OTHER_LDFLAGS = -ObjC ${PODS_FLICKRKIT_OTHER_LDFLAGS} PODS_ROOT = ${SRCROOT} ================================================ FILE: Pods/Pods-FlickrKit-dummy.m ================================================ #import @interface PodsDummy_Pods_FlickrKit : NSObject @end @implementation PodsDummy_Pods_FlickrKit @end ================================================ FILE: Pods/Pods-FlickrKit-prefix.pch ================================================ #ifdef __OBJC__ #import #endif #import "Pods-environment.h" ================================================ FILE: Pods/Pods-FlickrKit.xcconfig ================================================ PODS_FLICKRKIT_OTHER_LDFLAGS = -framework SystemConfiguration ================================================ FILE: Pods/Pods-SDWebImage-Private.xcconfig ================================================ #include "Pods-SDWebImage.xcconfig" GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/SDWebImage" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/FlickrKit" "${PODS_ROOT}/Headers/SDWebImage" OTHER_LDFLAGS = -ObjC ${PODS_SDWEBIMAGE_OTHER_LDFLAGS} PODS_ROOT = ${SRCROOT} ================================================ FILE: Pods/Pods-SDWebImage-dummy.m ================================================ #import @interface PodsDummy_Pods_SDWebImage : NSObject @end @implementation PodsDummy_Pods_SDWebImage @end ================================================ FILE: Pods/Pods-SDWebImage-prefix.pch ================================================ #ifdef __OBJC__ #import #endif #import "Pods-environment.h" ================================================ FILE: Pods/Pods-SDWebImage.xcconfig ================================================ PODS_SDWEBIMAGE_OTHER_LDFLAGS = -framework ImageIO ================================================ FILE: Pods/Pods-acknowledgements.markdown ================================================ # Acknowledgements This application makes use of the following third party libraries: ## FlickrKit {\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390 {\fonttbl\f0\fnil\fcharset0 LucidaGrande;} {\colortbl;\red255\green255\blue255;\red51\green51\blue51;\red0\green180\blue128;\red255\green0\blue0; \red31\green105\blue199;\red119\green119\blue119;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1}} {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} \paperw12240\paperh15840\vieww18720\viewh10740\viewkind0 \deftab720 \pard\pardeftab720 \f0\b\fs24 \cf2 David Casserly / DevedUp Ltd Source Code License\ \b0\fs22 Last updated: 12th June 2013 \fs24 \ \ Firstly, thanks to Matt Legend Gemmel for producing this file.\ \ Thanks for downloading some of our source code!\ \ This is the license agreement for the source code which this document accompanies (don\'92t worry: you\'92re allowed to use it in your own products, commercial or otherwise).\ \ The full license text is further down this page, and you should only use the source code if you agree to the terms in that text. For convenience, though, we\'92ve put together a human-readable \b non-authoritative \b0 interpretation of the license which will hopefully answer any questions you have.\ \ \ \b \cf3 Green \b0 \cf2 text shows \b \cf3 what you can do with the code \b0 \cf2 .\ \b \cf4 Red \b0 \cf2 text means \b \cf4 restrictions you must abide by \b0 \cf2 .\ \ Basically, the license says that:\ \ \pard\tx220\tx720\pardeftab720\li720\fi-720 \ls1\ilvl0\cf2 {\listtext 1. }You can \b \cf3 use the code in your own products, including commercial and/or closed-source products \b0 \cf2 .\ {\listtext 2. }You can \b \cf3 modify the code \b0 \cf0 as you wish\cf2 , and \b \cf3 use the modified code in your products \b0 \cf2 .\ {\listtext 3. }You can \b \cf3 redistribute the original, unmodified code \b0 \cf2 , but you \b \cf4 have to include the full license text below \b0 \cf2 .\ {\listtext 4. }You can \b \cf3 redistribute the modified code \b0 \cf2 as you wish ( \b \cf4 without the full license text below \b0 \cf2 ).\ {\listtext 5. }In all cases, you \b \cf4 must include a credit mentioning David Casserly \b0 \cf2 as the original author of the source.\ {\listtext 6. }David Casserly is \cf0 not liable for anything you do with the code\cf2 , no matter what. So be sensible.\ {\listtext 7. }You \b \cf4 can\'92t use the name David Casserly, the name DevedUp Ltd, the DevedUp Ltd logo or any other related marks to promote your products \b0 \cf2 based on the code.\ {\listtext 8. }If you agree to all of that, go ahead and use the source. Otherwise, don\'92t!\ \pard\pardeftab720 \cf2 \ \b \ \ Suggested Attribution Format\ \b0 \ The license requires that you give credit to David Casserly, as the original author of any of our source that you use. The placement and format of the credit is up to you, but we prefer the credit to be in the software\'92s \'93About\'94 window. Alternatively, you could put the credit in a list of acknowledgements within the software, in the software\'92s documentation, or on the web page for the software. The suggested format for the attribution is:\ \ \pard\pardeftab720 \b \cf0 Includes code by {\field{\*\fldinst{HYPERLINK "http://www.devedup.com"}}{\fldrslt \cf5 David Casserly}}\cf6 , DevedUp Ltd. \b0 \ \pard\pardeftab720 \cf2 \ where would be replaced by the name of the specific source-code package you made use of. Where possible, please link the text \'93David Casserly\'94 to the following URL, or include the URL as plain text: {\field{\*\fldinst{HYPERLINK "http://mattgemmell.com/"}}{\fldrslt \cf5 http://www.devedup.com}}\ \ \ \b Full Source Code License Text\ \ \b0 Below you can find the actual text of the license agreement. \b \ \ \pard\pardeftab720 \cf6 \ License Agreement for Source Code provided by David Casserly \b0 \ \ This software is supplied to you by David Casserly in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this software.\ \ In consideration of your agreement to abide by the following terms, and subject to these terms, David Casserly grants you a personal, non-exclusive license, to use, reproduce, modify and redistribute the software, with or without modifications, in source and/or binary forms; provided that if you redistribute the software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the software, and that in all cases attribution of David Casserly as the original author of the source code shall be included in all such resulting software products or distributions.\uc0\u8232 \ Neither the name, trademarks, service marks or logos of David Casserly or DevedUp Ltd may be used to endorse or promote products derived from the software without specific prior written permission from David Casserly. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by David Casserly herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the software may be incorporated.\ \ The software is provided by David Casserly on an "AS IS" basis. DAVID CASSERLY AND DEVEDUP LTD MAKE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.\ \ IN NO EVENT SHALL DAVID CASSERLY OR DEVEDUP LTD BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF DAVID CASSERLY OR DEVEDUP LTD HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ } ## SDWebImage Copyright (c) 2009 Olivier Poitrey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Generated by CocoaPods - http://cocoapods.org ================================================ FILE: Pods/Pods-acknowledgements.plist ================================================ PreferenceSpecifiers FooterText This application makes use of the following third party libraries: Title Acknowledgements Type PSGroupSpecifier FooterText {\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390 {\fonttbl\f0\fnil\fcharset0 LucidaGrande;} {\colortbl;\red255\green255\blue255;\red51\green51\blue51;\red0\green180\blue128;\red255\green0\blue0; \red31\green105\blue199;\red119\green119\blue119;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1}} {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} \paperw12240\paperh15840\vieww18720\viewh10740\viewkind0 \deftab720 \pard\pardeftab720 \f0\b\fs24 \cf2 David Casserly / DevedUp Ltd Source Code License\ \b0\fs22 Last updated: 12th June 2013 \fs24 \ \ Firstly, thanks to Matt Legend Gemmel for producing this file.\ \ Thanks for downloading some of our source code!\ \ This is the license agreement for the source code which this document accompanies (don\'92t worry: you\'92re allowed to use it in your own products, commercial or otherwise).\ \ The full license text is further down this page, and you should only use the source code if you agree to the terms in that text. For convenience, though, we\'92ve put together a human-readable \b non-authoritative \b0 interpretation of the license which will hopefully answer any questions you have.\ \ \ \b \cf3 Green \b0 \cf2 text shows \b \cf3 what you can do with the code \b0 \cf2 .\ \b \cf4 Red \b0 \cf2 text means \b \cf4 restrictions you must abide by \b0 \cf2 .\ \ Basically, the license says that:\ \ \pard\tx220\tx720\pardeftab720\li720\fi-720 \ls1\ilvl0\cf2 {\listtext 1. }You can \b \cf3 use the code in your own products, including commercial and/or closed-source products \b0 \cf2 .\ {\listtext 2. }You can \b \cf3 modify the code \b0 \cf0 as you wish\cf2 , and \b \cf3 use the modified code in your products \b0 \cf2 .\ {\listtext 3. }You can \b \cf3 redistribute the original, unmodified code \b0 \cf2 , but you \b \cf4 have to include the full license text below \b0 \cf2 .\ {\listtext 4. }You can \b \cf3 redistribute the modified code \b0 \cf2 as you wish ( \b \cf4 without the full license text below \b0 \cf2 ).\ {\listtext 5. }In all cases, you \b \cf4 must include a credit mentioning David Casserly \b0 \cf2 as the original author of the source.\ {\listtext 6. }David Casserly is \cf0 not liable for anything you do with the code\cf2 , no matter what. So be sensible.\ {\listtext 7. }You \b \cf4 can\'92t use the name David Casserly, the name DevedUp Ltd, the DevedUp Ltd logo or any other related marks to promote your products \b0 \cf2 based on the code.\ {\listtext 8. }If you agree to all of that, go ahead and use the source. Otherwise, don\'92t!\ \pard\pardeftab720 \cf2 \ \b \ \ Suggested Attribution Format\ \b0 \ The license requires that you give credit to David Casserly, as the original author of any of our source that you use. The placement and format of the credit is up to you, but we prefer the credit to be in the software\'92s \'93About\'94 window. Alternatively, you could put the credit in a list of acknowledgements within the software, in the software\'92s documentation, or on the web page for the software. The suggested format for the attribution is:\ \ \pard\pardeftab720 \b \cf0 Includes <Name of Code> code by {\field{\*\fldinst{HYPERLINK "http://www.devedup.com"}}{\fldrslt \cf5 David Casserly}}\cf6 , DevedUp Ltd. \b0 \ \pard\pardeftab720 \cf2 \ where <Name of Code> would be replaced by the name of the specific source-code package you made use of. Where possible, please link the text \'93David Casserly\'94 to the following URL, or include the URL as plain text: {\field{\*\fldinst{HYPERLINK "http://mattgemmell.com/"}}{\fldrslt \cf5 http://www.devedup.com}}\ \ \ \b Full Source Code License Text\ \ \b0 Below you can find the actual text of the license agreement. \b \ \ \pard\pardeftab720 \cf6 \ License Agreement for Source Code provided by David Casserly \b0 \ \ This software is supplied to you by David Casserly in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this software.\ \ In consideration of your agreement to abide by the following terms, and subject to these terms, David Casserly grants you a personal, non-exclusive license, to use, reproduce, modify and redistribute the software, with or without modifications, in source and/or binary forms; provided that if you redistribute the software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the software, and that in all cases attribution of David Casserly as the original author of the source code shall be included in all such resulting software products or distributions.\uc0\u8232 \ Neither the name, trademarks, service marks or logos of David Casserly or DevedUp Ltd may be used to endorse or promote products derived from the software without specific prior written permission from David Casserly. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by David Casserly herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the software may be incorporated.\ \ The software is provided by David Casserly on an "AS IS" basis. DAVID CASSERLY AND DEVEDUP LTD MAKE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.\ \ IN NO EVENT SHALL DAVID CASSERLY OR DEVEDUP LTD BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF DAVID CASSERLY OR DEVEDUP LTD HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ } Title FlickrKit Type PSGroupSpecifier FooterText Copyright (c) 2009 Olivier Poitrey <rs@dailymotion.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Title SDWebImage Type PSGroupSpecifier FooterText Generated by CocoaPods - http://cocoapods.org Title Type PSGroupSpecifier StringsTable Acknowledgements Title Acknowledgements ================================================ FILE: Pods/Pods-dummy.m ================================================ #import @interface PodsDummy_Pods : NSObject @end @implementation PodsDummy_Pods @end ================================================ FILE: Pods/Pods-environment.h ================================================ // To check if a library is compiled with CocoaPods you // can use the `COCOAPODS` macro definition which is // defined in the xcconfigs so it is available in // headers also when they are imported in the client // project. // FlickrKit #define COCOAPODS_POD_AVAILABLE_FlickrKit #define COCOAPODS_VERSION_MAJOR_FlickrKit 1 #define COCOAPODS_VERSION_MINOR_FlickrKit 0 #define COCOAPODS_VERSION_PATCH_FlickrKit 3 // SDWebImage #define COCOAPODS_POD_AVAILABLE_SDWebImage #define COCOAPODS_VERSION_MAJOR_SDWebImage 3 #define COCOAPODS_VERSION_MINOR_SDWebImage 6 #define COCOAPODS_VERSION_PATCH_SDWebImage 0 // SDWebImage/Core #define COCOAPODS_POD_AVAILABLE_SDWebImage_Core #define COCOAPODS_VERSION_MAJOR_SDWebImage_Core 3 #define COCOAPODS_VERSION_MINOR_SDWebImage_Core 6 #define COCOAPODS_VERSION_PATCH_SDWebImage_Core 0 ================================================ FILE: Pods/Pods-resources.sh ================================================ #!/bin/sh set -e RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" install_resource() { case $1 in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" ;; *.xib) echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" ;; *.framework) echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" ;; *.xcdatamodeld) echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" ;; *.xcassets) ;; /*) echo "$1" echo "$1" >> "$RESOURCES_TO_COPY" ;; *) echo "${PODS_ROOT}/$1" echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" ;; esac } rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]]; then rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ `xcrun --find actool` ] && [ `find . -name '*.xcassets' | wc -l` -ne 0 ] then case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) TARGET_DEVICE_ARGS="--target-device iphone" ;; 2) TARGET_DEVICE_ARGS="--target-device ipad" ;; *) TARGET_DEVICE_ARGS="--target-device mac" ;; esac find "${PWD}" -name "*.xcassets" -print0 | xargs -0 actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi ================================================ FILE: Pods/Pods.xcconfig ================================================ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/FlickrKit" "${PODS_ROOT}/Headers/SDWebImage" OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers" -isystem "${PODS_ROOT}/Headers/FlickrKit" -isystem "${PODS_ROOT}/Headers/SDWebImage" OTHER_LDFLAGS = -ObjC -framework ImageIO -framework SystemConfiguration PODS_ROOT = ${SRCROOT}/Pods ================================================ FILE: Pods/Pods.xcodeproj/project.pbxproj ================================================ archiveVersion 1 classes objectVersion 46 objects 0023BFDB4035479A8E59AB05 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPrefsGetGeoPerms.m path Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.m sourceTree <group> 00511A67DB8A458DBF3B2727 fileRef D8D8715E899C4A82A55192F0 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 006CF8BFDEE24A68AF105DB7 buildActionMask 2147483647 files 62B0A1C3947A46DE90F380FC 26CCD951072B407D8F517345 isa PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 00763197FCD245948942307C fileRef FF439064E1224C309D612E4E isa PBXBuildFile 00A50AE7B51C498D91F74681 fileRef CC2B9CFF84204F7CBA1DA781 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 00F972D6A74C414BA07D4B42 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesPlacesForContacts.m path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m sourceTree <group> 01001931EC71431B948C728F fileRef 2E55B3234FA44CACBECAF412 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 015073EFB3134A9BBC895EDD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSetSafetyLevel.m path Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.m sourceTree <group> 015BB74A58F84032AACF1296 fileRef 311F775899504D5695288C3B isa PBXBuildFile 016893B5C8CF4D0B9A807F2B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetCollectionDomains.h path Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.h sourceTree <group> 0171BA7255FF450885134551 fileRef EC6DF12CB58D4EF280B56FA4 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 01E0880BA9C0454484326E7D fileRef EC3229326DBD460E86FE743D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 0287B8F43796482DAFC29FA2 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetRecent.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.h sourceTree <group> 02AB19AC843343A997B971E7 fileRef 7BEAAE3BD01C4029A6D1CC00 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 02B1BE62CAD048C4A0BB7660 fileRef 456B9D66150842A4A731C713 isa PBXBuildFile 02E22595A783406295E1B383 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsEditMeta.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.m sourceTree <group> 031B4239EFFD48FCB21F5857 fileRef C488D580CBB548F7B3A16620 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 03E43C42F7CB4DA988AFD7F5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAuthCheckToken.h path Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h sourceTree <group> 0491FFE838234782BE300D4C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosLicensesGetInfo.h path Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.h sourceTree <group> 04BACAF3BFFD488F8BC65828 fileRef 8E37E1997FFD4C77B7883C04 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 04F3C7CB702E4716AACE3B9F fileRef 549B87A736FC4DAFA8439FA4 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 0576A2198911477BA9835994 includeInIndex 1 isa PBXFileReference lastKnownFileType text path Pods-acknowledgements.markdown sourceTree <group> 05830015C71E4FE98A3583C8 fileRef F045A4035DFE48118F1F672A isa PBXBuildFile 05C1FE9E7B454C7DA61333BD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrInterestingnessGetList.h path Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.h sourceTree <group> 05F721F2B0B94FE1B7523AFA fileRef 3D507807F9E94A828948B659 isa PBXBuildFile 0623CE26AA7A428CB3E929E0 fileRef C7D07CA594C145088F11CCF4 isa PBXBuildFile 0665C52D2E28470690CDD90A fileRef 62762FFD271C482FA8D281F2 isa PBXBuildFile 067C029F7DA94294815D6DCD fileRef F68779DB62B6483080D44132 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 06ABF5DEDC794731A760A223 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKURLBuilder.m path Classes/Network/FKURLBuilder.m sourceTree <group> 06C724B2546642438B804162 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name UIImageView+WebCache.m path SDWebImage/UIImageView+WebCache.m sourceTree <group> 06E7AB66B3EE4D2DB9780328 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsRemovePhotos.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.h sourceTree <group> 070D5A115A5143799F8A925A fileRef A54383A460DE465FBA1C80AF isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 0711990A68DF4EE991093375 fileRef E94610CFCD8341298E05AD6D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 0725D01EFBB24D09B1AED522 fileRef 5E76ABB4F6E247958C28ED83 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 073DF77A2B3344E8B6BB390E fileRef BBC91291A7E04B7D99E75A9F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 073F93627AC845808FF0F897 children 4DFBC39070324AD69EB67CEE isa PBXGroup name Targets Support Files sourceTree <group> 075C774F73F6441EAF58E704 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAuthOauthCheckToken.h path Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.h sourceTree <group> 079B0C41A2FC4C6F91996EF2 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUNetworkOperation.h path Classes/DevedUpKit/FKDUNetworkOperation.h sourceTree <group> 080C2D9C77A24F63A949E4D9 fileRef 5A28F9591CFF4914A3FED0C7 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 081D19269D6E4282BFE3913C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FlickrKit.m path Classes/FlickrKit/FlickrKit.m sourceTree <group> 08FE7A9DB33A4853A53F3D94 fileRef 792A697EB36B4680B0A1CDFF isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 096869160DCA45D3B7CF3B3A fileRef 150E0F5396E24C658BBD63E9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 0987510B098F41C8A5DE04E4 fileRef 783B50643FD640BDBABC8BB8 isa PBXBuildFile 0B09DDEAC952424BB31ECC84 fileRef 9BFD0FFC0CA24E1C9859C6A9 isa PBXBuildFile 0B9BE73C21F34C63A1FAB860 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetSizes.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.m sourceTree <group> 0BF519FD909247EDB64DABED fileRef BF4AEF185B5242AFBB5AC55F isa PBXBuildFile 0C058DB8496241B783371814 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosPeopleEditCoords.m path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.m sourceTree <group> 0C33DE85B16D47FCA566AD1D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetHotList.h path Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.h sourceTree <group> 0C69CC464A58414FBD627950 fileRef EC8D46604AFC40BCACD99712 isa PBXBuildFile 0D16F20674084D9093EF29C6 fileRef 8114BFC6DB03496287B1F29F isa PBXBuildFile 0DD1B4B5D0C64E059E987B29 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrBlogsGetServices.m path Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.m sourceTree <group> 0E01672B4FE34DC18E732E59 fileRef 88603D638A1C4883BF206C89 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 0F9E87275E0349CFBB81CB29 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetFavorites.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.h sourceTree <group> 1056691FAF364B059EA7C2C3 fileRef D2CF012BE4304817A9CBBD58 isa PBXBuildFile 106EA80CB03F4F089D6EA49D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetClusters.m path Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.m sourceTree <group> 10D3A390E8644E3F8FB3ED13 fileRef A7EAFC09DA5C41E6A8A6B82B isa PBXBuildFile 1182789CFE8A4E2DA968EB93 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrFavoritesRemove.m path Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.m sourceTree <group> 118EC0D327C9434ABD4C2F15 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetContext.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h sourceTree <group> 11D30614ADF94C0F83DE5320 fileRef 668D60D17B144480AED1084B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 11FAB7F6BC5B49518EB9DBDA fileRef 2F54FA286EC84745A1FA961A isa PBXBuildFile 12310D52F43A4912807CB420 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrCamerasGetBrandModels.m path Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.m sourceTree <group> 12A289770E6F45D490C9AB29 fileRef 68C76C6DA2AD40619EB14A50 isa PBXBuildFile 135EAEC9CA6D47F9A3B7FF8D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosAddTags.m path Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.m sourceTree <group> 13CC47FF9E6540C19D57BF65 fileRef A54C9B49951244B9A6F564DD isa PBXBuildFile 140A635C6513477EA911EC92 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSetContentType.h path Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h sourceTree <group> 141DFCC25B834C09A545CAC5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name NSData+ImageContentType.h path SDWebImage/NSData+ImageContentType.h sourceTree <group> 14446DAA8F5A48FC93090713 fileRef A27DD1D3525F425A8858CEA8 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 148D6565A2B84F90B28FA590 includeInIndex 1 isa PBXFileReference lastKnownFileType text.xcconfig path Pods-SDWebImage.xcconfig sourceTree <group> 14CAF3145E484B40BD35FDE0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsGetContext.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.m sourceTree <group> 14D6F185E13C423D9683A4B7 fileRef 60F3FFDD0E90431CB44694D9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 150E0F5396E24C658BBD63E9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsCommentsEditComment.m path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.m sourceTree <group> 15D5B221033341DE96ADBB31 fileRef F1ADBD034C064111AB216DA9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 16350892079943FD96DBA6CB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrReflectionGetMethods.m path Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.m sourceTree <group> 16BE4689B3044F3C911B806E fileRef 69A53C97DC6E4ACDA30B4BF1 isa PBXBuildFile 16C74A988DB74550B8340D6C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUDefaultDiskCache.m path Classes/DevedUpKit/FKDUDefaultDiskCache.m sourceTree <group> 16FD915707304001AB2E5BE7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKReachability.h path Classes/Network/Reachability/FKReachability.h sourceTree <group> 17BAA699E4514F34B9D82FA6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsCommentsGetList.h path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.h sourceTree <group> 17C8E9CC861841E98B7FCF7A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetClusterPhotos.m path Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.m sourceTree <group> 17E814FCE0EE4482A6C9C83E fileRef DE664F927AE640349C0EE40D isa PBXBuildFile 181432AFF08B4E88B42B7B8B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesGetTopPlacesList.h path Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.h sourceTree <group> 1860F3AF46464857A907E995 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotoStats.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.h sourceTree <group> 1893413E7E134E36A168A519 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsCommentsGetList.m path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.m sourceTree <group> 193B6A40344847C1B046C7D5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrFavoritesGetContext.m path Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.m sourceTree <group> 193E11F394DA401192A5781F fileRef 920756A0BCF94DBCAB50BA1F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 199B45DF76B6459D94F8B1DF fileRef 9BC66C11AD0B4C8EB5D5AB1F isa PBXBuildFile 19C66B9696324D20B9A73021 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPushUnsubscribe.h path Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h sourceTree <group> 1A0F33F81BF240BAB66C006A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsGetList.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.h sourceTree <group> 1A363C4175694029AEB9DB5D fileRef F350141803C242C0873448FD isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1A3AD330B14444C6B03C5C20 fileRef 90F9C6D583E041FAA0F4F31A isa PBXBuildFile 1A8C5D6DB91E46428BF38384 fileRef EA66E7D29F90490FA864CCF5 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1A98CD93B0D94E0D8BEBEDE4 fileRef 286548A248BA460DAFB6A878 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1AE12829D8474ED995345710 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosLicensesGetInfo.m path Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.m sourceTree <group> 1B76B9167CC9406D80E2080E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoPhotosForLocation.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.h sourceTree <group> 1B8232C5ADB34145BB299074 fileRef 03E43C42F7CB4DA988AFD7F5 isa PBXBuildFile 1B846E3E74E747678562B917 fileRef 591D8F6726BC4285985218CD isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1B84FD046DC44429B762C3F3 fileRef 6F948703444B4322A99546A7 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1B88674BFBC64CA5BFC1C9C8 fileRef 1B76B9167CC9406D80E2080E isa PBXBuildFile 1BD83A548CDC4070B7CEAC20 fileRef 2D098A1948724ADEB14147F6 isa PBXBuildFile 1C676A96D6A840F59182CF65 fileRef 529C8D82E72349CCB2D38A62 isa PBXBuildFile 1C8FF644B0A54F18A932DA9D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotoStats.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.m sourceTree <group> 1CA9D616C21142A3A7821FE5 fileRef C4B132CB7A0B4710BFB87DC9 isa PBXBuildFile 1CBEBE00D88A4C17BB3B19C0 fileRef 722B8569F8F348A98E7DC8D2 isa PBXBuildFile 1CFB26A3E3DD4189BE144A36 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosCommentsGetList.m path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.m sourceTree <group> 1DAAB03EFCCC4C11A876A6BA fileRef BCCEAD42F77F4643B30783DB isa PBXBuildFile 1DC38C8C89FB407E95CBE04C fileRef FD0C79EB8FB54BBD954CF551 isa PBXBuildFile 1DC9104DD7CA46D298BC6DF4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsRemovePhoto.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.h sourceTree <group> 1E263BBE3CED46C1AF812D40 fileRef 016893B5C8CF4D0B9A807F2B isa PBXBuildFile 1E33B0F9A5374080BF470ADE fileRef 49CB0CC7F0DF44BABAF46A89 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1EA26A9DC0A341AA9D6DA50C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoGetPerms.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.h sourceTree <group> 1EF2D785FE884243AD848EB4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrCollectionsGetInfo.m path Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.m sourceTree <group> 1F3208062E244475BCF28316 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoCorrectLocation.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.h sourceTree <group> 1F495DBBBAE642DB84956A6E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsCreate.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.m sourceTree <group> 1F7542BDB24C45E395F311ED fileRef 78E5E7C32445476E9F4DEB37 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1FC12B9D95CE452F8D03B141 fileRef 827BC0A99753488F89B1778B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 1FC25F7A02044D16A1A78A32 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetFavorites.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.m sourceTree <group> 1FE6249EC36D46B197B0AF23 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPrefsGetGeoPerms.h path Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.h sourceTree <group> 202614DE1C88494AA8EB46FC fileRef 340A5CE5F48B4747ACB59132 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 203592D7B80F4C3B99A29DAF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsJoinRequest.h path Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.h sourceTree <group> 208D13DBC18448DE90819D6E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotosetStats.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.m sourceTree <group> 20A4541B41224D4AA93AAE98 fileRef E3ECA24704204C3F884BCD4A isa PBXBuildFile 20BE0AB0B3F04932A731FBF2 fileRef 075C774F73F6441EAF58E704 isa PBXBuildFile 20DA8D8702AF42E3A6E99BD8 fileRef BEB3632DFBEA4833847DD869 isa PBXBuildFile 2108906C5EB842638DC38356 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDataTypes.h path Classes/FlickrKit/FKDataTypes.h sourceTree <group> 21139FF2180048D998DE0973 fileRef 422E46137A0A489CAA83173F isa PBXBuildFile 217183861A3C431D9F3D96F5 fileRef 948F4357ADCD4950A050E6A3 isa PBXBuildFile 2186F61B0BF34582B5879979 fileRef 1FC25F7A02044D16A1A78A32 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 222DC2789BE84BFD93979BBF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrUrlsGetUserProfile.h path Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.h sourceTree <group> 22350764CFA34229A6E4B6ED fileRef 1EF2D785FE884243AD848EB4 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 226892DF293B4323933BAD7D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotosetReferrers.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.m sourceTree <group> 22941B3464284BDD8FD21003 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosDelete.m path Classes/Model/Generated/Photos/FKFlickrPhotosDelete.m sourceTree <group> 22D6386BC60D4F79BA2A1322 fileRef CD56D5A50B9D47FB86524F17 isa PBXBuildFile 22FB0A5AE6F148188590D005 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesEditPhoto.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.m sourceTree <group> 23109BEF695F4F75A93E6388 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotoDomains.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.h sourceTree <group> 234479FFFF474F5DB72F0E9E fileRef A6523D9880EA40F589046C30 isa PBXBuildFile 238D975F0E9C4895AC9EF575 fileRef D9BF7ED735664A7FB2FF06CC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 2394179178714E1F99F291FE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FlickrKit.h path Classes/FlickrKit.h sourceTree <group> 23D4455061DE490FBBEDE2F8 includeInIndex 1 isa PBXFileReference lastKnownFileType text.plist.xml path Pods-acknowledgements.plist sourceTree <group> 2462C1A4B22140BEBF329B50 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTestLogin.m path Classes/Model/Generated/Test/FKFlickrTestLogin.m sourceTree <group> 24B00A73805D4742864F2432 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImageDecoder.h path SDWebImage/SDWebImageDecoder.h sourceTree <group> 24B3718D479349AEA7880BC7 fileRef 86E6BA214D624B6384A5330A isa PBXBuildFile 24C8C162F89E470F81ECD52F fileRef C284D611B50D48F38BF5C94E isa PBXBuildFile 24E7CED693DE414792068324 fileRef 784072104BE54D549C93E923 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 24F0585C991B47249A1F748A fileRef 46372376177E4D34AAAD76C6 isa PBXBuildFile 24F0F5E9E97A440CA2148DAD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrAuthCheckToken.m path Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.m sourceTree <group> 258A7293500C4746AEE5C945 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrUrlsGetUserPhotos.h path Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.h sourceTree <group> 25BD11EB09F24AA588E1BBAF fileRef E95AD4D2580A4F47A01F2872 isa PBXBuildFile 25F40E5BF9DE4A959C085B43 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosNotesEdit.m path Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.m sourceTree <group> 26CCD951072B407D8F517345 fileRef E09B3269E2B64D838F027519 isa PBXBuildFile 26DC28338B814C9E8A3AE1F3 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrFavoritesGetPublicList.h path Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h sourceTree <group> 27434A6A44B44CF096C2291A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrFavoritesRemove.h path Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h sourceTree <group> 276507719BD04B50AF4620E4 fileRef 9EDA43C94B164543B1C5095D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 28102025D19A4B79834C1BD6 fileRef 1893413E7E134E36A168A519 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 282DC9469F3F47C2BE78B251 fileRef 41D09CC93D324155B7E70CD0 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 282E3CCD12E448D1954C8DAD buildConfigurations 34C9DE1252D249ECA3987684 C868894FB0D948BAB9DAE0F3 defaultConfigurationIsVisible 0 defaultConfigurationName Release isa XCConfigurationList 282EF38A8F25447A82DEC54B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetAllContexts.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.h sourceTree <group> 283B3501BD93476D857AE99C fileRef 19C66B9696324D20B9A73021 isa PBXBuildFile 286548A248BA460DAFB6A878 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrInterestingnessGetList.m path Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m sourceTree <group> 28978EEC17644E8AB9A3B994 fileRef 3CC8899F7E9B468BBEA45661 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 28A4BB4B503C4A5CBEEE3B75 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesPlacesForBoundingBox.h path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h sourceTree <group> 28C97DCAC19D4E14A2723B7A fileRef C13B3FBE13E64045B1B60570 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 28DE638BC7884D32B5FCF746 fileRef 60EBF9F968C548F6A3CD956C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 2921EEE61801432C8DEBEEBE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsReorderPhotos.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.m sourceTree <group> 29326B5838494053AF74A554 fileRef 181432AFF08B4E88B42B7B8B isa PBXBuildFile 293B76CB125F4BA4A14BB6AA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name UIImage+MultiFormat.m path SDWebImage/UIImage+MultiFormat.m sourceTree <group> 29EA4DA87CC643D792DE11F7 fileRef 26DC28338B814C9E8A3AE1F3 isa PBXBuildFile 2A1B6CC5946540A6BA0DE821 fileRef 97CBCE7E3FA849C9A973C982 isa PBXBuildFile 2ACDE0F239EC490E9F96B7C0 fileRef 98BF8C902C654E308E85221C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 2ACED266598643FDB3A0689F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoSetContext.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.m sourceTree <group> 2B0C9B1007F349608D616BFC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesPlacesForUser.m path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m sourceTree <group> 2B6740C37E314DEB9EA7159F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosCommentsEditComment.m path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.m sourceTree <group> 2B864C6F4A5843A6B89F89E2 fileRef EA903FB4E7344FC1BFCF8A6F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 2C5FC6307850430799D2F2F8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesFindByLatLon.m path Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.m sourceTree <group> 2C9FBC7D1CF1460890D55CBC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussTopicsGetInfo.m path Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.m sourceTree <group> 2CEB58A4B4B1478894411811 buildActionMask 2147483647 files D5C4EBB737424EE5B9CA6FA1 BCED3310CE49427BA83CAFF9 11FAB7F6BC5B49518EB9DBDA 7F243213689D49D88FB7351D D21DD63A0CE74E7A8A1BAD0A 67667142D97F429AA10984D5 824C4357CC57406A817136BB 21139FF2180048D998DE0973 7E5B9C2121F74B6AA9DF9B4F 4898E7CAE310421B901B9836 775EE2117F954D67A35A6BB0 82984DE2631142AAB9F1E4FD 33E04F8928BA4FFE8F576D75 isa PBXHeadersBuildPhase runOnlyForDeploymentPostprocessing 0 2CFAEAEB18B04C45B27EC6B9 fileRef 3E043891E33447309075538F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 2D098A1948724ADEB14147F6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetWithoutGeoData.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h sourceTree <group> 2D3D21D200C749F5A5402D02 fileRef BAFFFD63DD2A4BB2BF93BCAF isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 2D747EBA4FD74DDDBB2ACF18 fileRef A04E8233154A4C69BBE984EB isa PBXBuildFile 2D9A736B1870430697E310AE fileRef 282EF38A8F25447A82DEC54B isa PBXBuildFile 2D9DD15D9A5545C98F916A54 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPandaGetList.h path Classes/Model/Generated/Panda/FKFlickrPandaGetList.h sourceTree <group> 2DF1D6D5D548464B8765073F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosPeopleAdd.m path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.m sourceTree <group> 2E55B3234FA44CACBECAF412 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrMachinetagsGetNamespaces.m path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.m sourceTree <group> 2EEDC7B939EF4396B6A2D6BB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesAddPhoto.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.h sourceTree <group> 2F54FA286EC84745A1FA961A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImageCompat.h path SDWebImage/SDWebImageCompat.h sourceTree <group> 2FB45BFEBCB040F4A5E348BA fileRef F11C88F1A4074397B7F9F2C9 isa PBXBuildFile 2FF4027FA0094C8B8ACFA494 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetWithGeoData.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m sourceTree <group> 3085479EDB1248158221BB1F fileRef C6F285D5958E44D4B17B2CFE isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 30D1CC93A3CC4F7B8DC914AF fileRef 2921EEE61801432C8DEBEEBE isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 310ABD23EE3D4FAE829E87CF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc path Pods-dummy.m sourceTree <group> 311F775899504D5695288C3B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosPeopleDelete.h path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.h sourceTree <group> 317D801D0B4C455FA3B2ED1C fileRef A89D8922E85D4CE4B034EF95 isa PBXBuildFile 31EB977B04F34B4A832A6B1E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPandaGetList.m path Classes/Model/Generated/Panda/FKFlickrPandaGetList.m sourceTree <group> 3212D795BBBB46C187F72086 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrFavoritesGetContext.h path Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.h sourceTree <group> 321E73B5A9654C6B8959491C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDWebImageCompat.m path SDWebImage/SDWebImageCompat.m sourceTree <group> 32E16CF710224042BDAE9C05 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesGetListForPhoto.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.h sourceTree <group> 3395C1E9753B4208AF62B128 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetPublicGroups.m path Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.m sourceTree <group> 33E04F8928BA4FFE8F576D75 fileRef AD8FED97D624427B9860AFE4 isa PBXBuildFile 340A5CE5F48B4747ACB59132 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesEditMeta.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.m sourceTree <group> 345A75A66F054315880BEA6C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsPoolsGetPhotos.m path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m sourceTree <group> 34ACF2C5AB414D80B5CF3CEA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSetMeta.h path Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.h sourceTree <group> 34C9DE1252D249ECA3987684 baseConfigurationReference E317344E6C4441969370DC54 buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP NO DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 GCC_DYNAMIC_NO_PIC NO GCC_OPTIMIZATION_LEVEL 0 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREPROCESSOR_DEFINITIONS DEBUG=1 $(inherited) GCC_SYMBOLS_PRIVATE_EXTERN NO GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 OTHER_LDFLAGS PRODUCT_NAME $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH $(TARGET_NAME) SDKROOT iphoneos SKIP_INSTALL YES isa XCBuildConfiguration name Debug 356A2AB8805D4FAF8C5AF353 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetInfo.h path Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h sourceTree <group> 366892869D8C4346AD0B807E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesGetInfoByUrl.m path Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.m sourceTree <group> 36932C0127D54EEBBB938565 fileRef E7554D0BE0C0454383673E6A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 36B62E72DD0942D186D50322 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUNetworkOperation.m path Classes/DevedUpKit/FKDUNetworkOperation.m sourceTree <group> 36CC155429124251A0FB82D8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussTopicsAdd.m path Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.m sourceTree <group> 36D82B7398A94A78BAEC16AD fileRef 65EF1C81A02646B18E3B37C5 isa PBXBuildFile 3790515AB4094AF187C6802E fileRef 5579DC12E18643C6AE322803 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 380C583C017847A88A7AF7BF fileRef D619605D1F824ECF965402B0 isa PBXBuildFile 38A28D917E8D47929AC0941D fileRef 8F0FEF03FBDA4A91A4D79B27 isa PBXBuildFile 38B6C7875B0749F4B6516C2A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussTopicsGetInfo.h path Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.h sourceTree <group> 38C43943BA964A2C8DEAB54A children 148D6565A2B84F90B28FA590 453EC530711B4B2EBED234BB B0ECC99CCCE043C98AC8D97D 602F1C9D93444397BCC4B63F isa PBXGroup name Support Files sourceTree SOURCE_ROOT 39143E3A7FDF4493B9A3068F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSearch.m path Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m sourceTree <group> 395B112DA1AD4851A9719042 children 6D99ACDEBB7D4A2E854CD6EA isa PBXGroup name Frameworks sourceTree <group> 3979022CC7F44D53B11DE71B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoSetPerms.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.h sourceTree <group> 3A65118365C04239BCCCADCC fileRef 5A86BF034E234C178907B8DA isa PBXBuildFile 3AA37D9A1E4145ED869536DF fileRef 1C8FF644B0A54F18A932DA9D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 3B68EB6EC95C4707B1CD8C1D fileRef 7ACBB1ECE2F04F508BE872F7 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 3BE6E45464354AF99BCD9AA7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrUrlsLookupUser.h path Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.h sourceTree <group> 3BFC776005EA49D3B4B284E8 fileRef 7F10B7A212254011B0370EA3 isa PBXBuildFile 3C2A879856C94000A4E289ED includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetPhotosOf.h path Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h sourceTree <group> 3CA210AF6D4545E0B6942747 fileRef 36B62E72DD0942D186D50322 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 3CAB0889C1254E4B8BF41927 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotosetReferrers.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.h sourceTree <group> 3CC8899F7E9B468BBEA45661 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoSetPerms.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.m sourceTree <group> 3CF88FB43D1347BE933C49C6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSuggestionsGetList.m path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.m sourceTree <group> 3D1A5F65ED2E4E598DE509E0 fileRef 16FD915707304001AB2E5BE7 isa PBXBuildFile 3D295D87A0684F6CA3A76730 explicitFileType archive.ar includeInIndex 0 isa PBXFileReference path libPods-FlickrKit.a sourceTree BUILT_PRODUCTS_DIR 3D507807F9E94A828948B659 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsEditPhotos.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.h sourceTree <group> 3D58C5D7F8774948A3500E10 isa PBXFileReference lastKnownFileType wrapper.framework name SystemConfiguration.framework path Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/SystemConfiguration.framework sourceTree DEVELOPER_DIR 3D5A9DC6EA044C49AD4789DA fileRef 140A635C6513477EA911EC92 isa PBXBuildFile 3D62AD33A0D243ECA4F4D870 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSuggestionsRemoveSuggestion.m path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.m sourceTree <group> 3D68FB5BF77C458A8081CEF1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesGetList.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.h sourceTree <group> 3D9515A723D642BFA2B9449E fileRef 8D620939FBB2411289CE3918 isa PBXBuildFile 3E043891E33447309075538F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetLimits.m path Classes/Model/Generated/People/FKFlickrPeopleGetLimits.m sourceTree <group> 3E1D65344AFB424E94A909AC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsBrowse.h path Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h sourceTree <group> 3E9BE264664B44E19BDD7139 fileRef 366892869D8C4346AD0B807E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 3EDAFDD4322646E1A63A59EB fileRef 16350892079943FD96DBA6CB isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 3EF9E7E64C2547C3A894BB8B fileRef A487AC782ED242ED96F84BFD isa PBXBuildFile 3F16D64AB85B460491BE68D4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussRepliesEdit.m path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.m sourceTree <group> 3F6C560D867A4706B683A513 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUBlocks.m path Classes/DevedUpKit/FKDUBlocks.m sourceTree <group> 3FC73A0353814E5AA4E29064 fileRef 942E2707036B47BE8E3B3451 isa PBXBuildFile 3FFFAC775ABA48358E7699FB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsGetPhotos.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.h sourceTree <group> 403E44828F274EDE94E7B4AC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosTransformRotate.m path Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.m sourceTree <group> 40884A027E3743B3A6555B4D fileRef 4B275A3A0B4F46D396DD9BFA isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 412169762F2B47F6873DD38E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsLeave.m path Classes/Model/Generated/Groups/FKFlickrGroupsLeave.m sourceTree <group> 41B5A034F48B4CB8B3235866 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetCSVFiles.m path Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.m sourceTree <group> 41B8A0A6A0B540DDBAB826E0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetListUser.h path Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.h sourceTree <group> 41D09CC93D324155B7E70CD0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrContactsGetListRecentlyUploaded.m path Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.m sourceTree <group> 421575C0274342D5BE0729DD fileRef 8240CFF41EB7473C8286BE2B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 422E46137A0A489CAA83173F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImageOperation.h path SDWebImage/SDWebImageOperation.h sourceTree <group> 424CECA920184B428EE9105F buildConfigurations AAD2F34CAFCD48B097430209 B78BF4B82F7A41F68FCDFFD6 defaultConfigurationIsVisible 0 defaultConfigurationName Release isa XCConfigurationList 428963C99C6F422A9986A6FD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetExif.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.m sourceTree <group> 431B30D30B3E481FB99830F6 fileRef 2ACED266598643FDB3A0689F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 432590842CC541BEA2C5F3B6 buildConfigurationList 282E3CCD12E448D1954C8DAD buildPhases B1C799C6543F4BFAA965B35A B3A2E56A504549BC9624E877 buildRules dependencies CF6F6F8A96224B9798458FBB B18D3F132D3348E99EA49F7F isa PBXNativeTarget name Pods productName Pods productReference BC2BD45BF0BE430787EE7963 productType com.apple.product-type.library.static 43AAD065A08647769B7B9700 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrFavoritesGetList.h path Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.h sourceTree <group> 43D6B01EA68142C8B8A0C874 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUReachability.m path Classes/Network/FKDUReachability.m sourceTree <group> 44BEFEC75D394236B85EA712 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrUrlsLookupGroup.h path Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.h sourceTree <group> 44D3A8AC84B5442FAC9737DF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDWebImagePrefetcher.m path SDWebImage/SDWebImagePrefetcher.m sourceTree <group> 453EC530711B4B2EBED234BB includeInIndex 1 isa PBXFileReference lastKnownFileType text.xcconfig path Pods-SDWebImage-Private.xcconfig sourceTree <group> 456B9D66150842A4A731C713 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrMachinetagsGetNamespaces.h path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h sourceTree <group> 45D316E561B64FF4BF01A70F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotosetDomains.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.m sourceTree <group> 462E6E31B0484339BDC2F79D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesPlacesForUser.h path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h sourceTree <group> 46372376177E4D34AAAD76C6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrUrlsLookupGallery.h path Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.h sourceTree <group> 465207EE319F438596EFEADD fileRef 5B65D20C77414CD08269AC98 isa PBXBuildFile 46A2AA9973044EA782C8C989 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesFindByLatLon.h path Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.h sourceTree <group> 46E898B7960247A2ACD3A01D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSetDates.m path Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.m sourceTree <group> 47BC3BECAFC64826A7092F18 fileRef B4E87E1973E5498AB0D5574E isa PBXBuildFile 4898E7CAE310421B901B9836 fileRef BBCDD58D6BE0431EA8A6B64A isa PBXBuildFile 48A55902957D45D1A162AB79 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesGetInfo.h path Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.h sourceTree <group> 4951BDEB7BBC44A78DB189DD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosPeopleDeleteCoords.h path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.h sourceTree <group> 49799B4C36A14656980430B1 fileRef 3979022CC7F44D53B11DE71B isa PBXBuildFile 49CB0CC7F0DF44BABAF46A89 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsDelete.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.m sourceTree <group> 4A6C655247EA4B4F93A4BD77 fileRef 5CCFEABB568C4A449B0411BC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4AA2B8CBFC7C416886A16BB9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesGetChildrenWithPhotosPublic.m path Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.m sourceTree <group> 4AA4588D56814EBAA7D3FFC0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsRemovePhotos.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.m sourceTree <group> 4B016E956D4E48D2AD6A13B0 fileRef 06C724B2546642438B804162 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 4B0446239D0A4B00AFDC7C76 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosPeopleGetList.h path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.h sourceTree <group> 4B0C017B3EFD48798CE25583 buildSettings ALWAYS_SEARCH_USER_PATHS NO CLANG_CXX_LANGUAGE_STANDARD gnu++0x CLANG_CXX_LIBRARY libc++ CLANG_ENABLE_MODULES YES CLANG_ENABLE_OBJC_ARC NO CLANG_WARN_BOOL_CONVERSION YES CLANG_WARN_CONSTANT_CONVERSION YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE YES CLANG_WARN_EMPTY_BODY YES CLANG_WARN_ENUM_CONVERSION YES CLANG_WARN_INT_CONVERSION YES CLANG_WARN_OBJC_ROOT_CLASS YES COPY_PHASE_STRIP NO ENABLE_NS_ASSERTIONS NO GCC_C_LANGUAGE_STANDARD gnu99 GCC_WARN_64_TO_32_BIT_CONVERSION YES GCC_WARN_ABOUT_RETURN_TYPE YES GCC_WARN_UNDECLARED_SELECTOR YES GCC_WARN_UNINITIALIZED_AUTOS YES GCC_WARN_UNUSED_FUNCTION YES GCC_WARN_UNUSED_VARIABLE YES IPHONEOS_DEPLOYMENT_TARGET 7.0 STRIP_INSTALLED_PRODUCT NO VALIDATE_PRODUCT YES isa XCBuildConfiguration name Release 4B1B09E86C6144169B96FEBF fileRef 22941B3464284BDD8FD21003 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4B275A3A0B4F46D396DD9BFA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSetContentType.m path Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.m sourceTree <group> 4BE2730EF3934A35A5131590 fileRef 9309D4C7B022413E9865DC68 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 4BE3FC84E4D440F5A5ACC401 fileRef 7875462DC31A419294E9E190 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4BF88FBAF0084CA283FC2F6E fileRef D73D1D291964407787F3FC33 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4BFDFDF12EA14AEE95FBBA28 fileRef 693A31E7A89748D8AE78D4E5 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4C4E5BA4DC6546408477093B fileRef 0491FFE838234782BE300D4C isa PBXBuildFile 4C6F5FD66B164771BD7282F2 fileRef 9611D817E76A4FBAB66CC1FC isa PBXBuildFile 4CACAE98D0F94459B6313B07 fileRef 98A30DF46FCE4E62B0D21EA4 isa PBXBuildFile 4CDC9561DFFA44C8A49B6FC3 fileRef 412169762F2B47F6873DD38E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4CF64AB9B7644036A45D63EF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetContext.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m sourceTree <group> 4CF83B49EDB34B6DA85C3DE1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsEditMeta.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.h sourceTree <group> 4D21E7256A3F47D6A109A6CA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoRemoveLocation.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h sourceTree <group> 4D6ABF98AE5647B08DECF775 fileRef E146BADD4B0643A9A2E02589 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4DFBC39070324AD69EB67CEE children E317344E6C4441969370DC54 0576A2198911477BA9835994 23D4455061DE490FBBEDE2F8 310ABD23EE3D4FAE829E87CF 9236A45CF58A4C7C83B35F88 B702CC35169843DCB8F1F688 isa PBXGroup name Pods sourceTree <group> 4E010C876F1242CDBF76B401 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosRecentlyUpdated.h path Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h sourceTree <group> 4E0164C690804F61A6530BA9 fileRef 5DF1D0F4E14748D1AF7BE684 isa PBXBuildFile 4E0EF9040BDC4F5D9FD02A7F fileRef 96FC1FFA6F3F47E287D43E6F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 4E8ED6E88FA641878D1A3D64 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPrefsGetHidden.h path Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.h sourceTree <group> 4EE9224C24C3455A9DC0F5E2 fileRef DCE14BA969FB45A78A677C8C isa PBXBuildFile 4EF6EE3F4B7B4EABA093A391 fileRef D6B04E2D4F234E06BEA771D9 isa PBXBuildFile 4F6C9C425BEB45FE8C8BC5A9 fileRef 258A7293500C4746AEE5C945 isa PBXBuildFile 4F8CD6C2CC394649BBF6E2EB explicitFileType archive.ar includeInIndex 0 isa PBXFileReference path libPods-SDWebImage.a sourceTree BUILT_PRODUCTS_DIR 4F9290195D714CD69B1202EC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosNotesDelete.h path Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.h sourceTree <group> 4F9AE7F50DCE4F1CA5C3DBCE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetPublicPhotos.m path Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m sourceTree <group> 5005C2769E4A4908A9FA2EE9 fileRef E3DEE4E9229841D5B5698116 isa PBXBuildFile 5045C35CA15949CA861C79BE children 141DFCC25B834C09A545CAC5 DCB6E1367DA74FCBBC005788 C5FA4CD56C964838BAE34AD9 9309D4C7B022413E9865DC68 2F54FA286EC84745A1FA961A 321E73B5A9654C6B8959491C 24B00A73805D4742864F2432 FE7165626B404377BDF3A1C1 8F39838F762B4AD29FB1478A 94A75C82ED5D4AF5AA025883 D2F274B4B6BB423C81707A81 B92B997140EB4F199F1A67CB A89695ACD71C4A4A8B0E7E7A DB9B995EB93042AFA8478D6C 422E46137A0A489CAA83173F 8A3CFF983AE94739B8BE3A19 44D3A8AC84B5442FAC9737DF BBCDD58D6BE0431EA8A6B64A D04E87861E0F4E4B8D551C0E BE6DBA67D7EA476E88BC4A4C B9C7939D9EF34F33AEFFF7D8 74901FF0FA3A4F66B950455E 293B76CB125F4BA4A14BB6AA AD8FED97D624427B9860AFE4 06C724B2546642438B804162 isa PBXGroup name Core sourceTree <group> 5080A9D805FB4DD5A7AEB2D5 fileRef 983138AC6C6043AA91A88B10 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 51E548B51191407B8F99ACBE fileRef F228A0EC035D460CA2438F8B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 51E8C87629D54A72A29E8D26 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSuggestionsGetList.h path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.h sourceTree <group> 523FCDD2ACDF4180B36AFFDC fileRef A89792CC0D55466CA2FFD78E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 525C8CFF188643F58F36ABEC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrAuthOauthCheckToken.m path Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.m sourceTree <group> 529C8D82E72349CCB2D38A62 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsReorderPhotos.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.h sourceTree <group> 531875970E2440D48CD42A9C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosCommentsGetRecentForContacts.h path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.h sourceTree <group> 531D6A96E2384378936EEEB1 fileRef 8A0571E60E0641C0A20466BF isa PBXBuildFile 53442ABE5EA04F1B92B93511 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPushGetTopics.h path Classes/Model/Generated/Push/FKFlickrPushGetTopics.h sourceTree <group> 53780B0862BD446C9D450657 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetSizes.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h sourceTree <group> 5379E07B46C04DF989F97814 fileRef 9AA71C20E03F43D2A205072F isa PBXBuildFile 5380BCA74E9A45B18FD796CE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPrefsGetContentType.h path Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h sourceTree <group> 53BB2AFB6AF64E06B9A0EC33 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetLimits.h path Classes/Model/Generated/People/FKFlickrPeopleGetLimits.h sourceTree <group> 53E7C0D3D91648B2BDF6F8D2 fileRef 5380BCA74E9A45B18FD796CE isa PBXBuildFile 543E974527E94408A8DA0380 fileRef 953A67ACB4454B4DA3F5BFE5 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 5488E478BB0A436892222645 fileRef 39143E3A7FDF4493B9A3068F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 549B87A736FC4DAFA8439FA4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotostreamReferrers.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.m sourceTree <group> 54B10DA7A76D47BBBD78CA53 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosPeopleDelete.m path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.m sourceTree <group> 54BB0E46EB924EFC9B7E1098 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKUploadRespone.m path Classes/Network/FKUploadRespone.m sourceTree <group> 5511304EEE534FFBBF82BD66 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetWithoutGeoData.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m sourceTree <group> 553491C72464461294C3425A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotostreamDomains.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.m sourceTree <group> 5579DC12E18643C6AE322803 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDataTypes.m path Classes/FlickrKit/FKDataTypes.m sourceTree <group> 55BCD988B22C426CBD4BC28F fileRef D7E6B90BB2BB47028BA18DDA isa PBXBuildFile 55D76C6B9AB84C548A541E84 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetNotInSet.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.h sourceTree <group> 563F8F363FE4492B997FBD8E fileRef 3212D795BBBB46C187F72086 isa PBXBuildFile 569DF1820E04416AA97E9458 fileRef 2B6740C37E314DEB9EA7159F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 56B0B38A0B9E4B79B5696BA7 fileRef D7E6B90BB2BB47028BA18DDA isa PBXBuildFile 574295462535481E9DB2F0B6 fileRef E86DE05331E2459B9281B0F9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 57623FDE899A4A8998F11139 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetListPhoto.m path Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.m sourceTree <group> 579AD35504174CC581C4A037 fileRef 79D478A468704B3EB8E5BAD4 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 57DC17020CA64CD6ABE6F0F2 fileRef F4D5FD2AAB554BC89C9F818C isa PBXBuildFile 580FE294DA174FC4AA2CCDE7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrCamerasGetBrands.h path Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.h sourceTree <group> 582576D9E5A84634AE7F04AE fileRef B716C6F025274582BBEE196D isa PBXBuildFile 58399F4D95FA45BDB108EEAB children BB851C0B9707406DA4319A91 395B112DA1AD4851A9719042 95FB06FE97EF4101937FDE54 6CDE68A4C0AE400FA51EFF50 073F93627AC845808FF0F897 isa PBXGroup sourceTree <group> 584A687F1E4D43C69231951A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussRepliesAdd.m path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.m sourceTree <group> 58D0A1FBC0CF4C2B905824D1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleFindByEmail.m path Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.m sourceTree <group> 591D8F6726BC4285985218CD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosCommentsDeleteComment.m path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.m sourceTree <group> 5934B4A5359F4F17A5A7361C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetMostFrequentlyUsed.h path Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.h sourceTree <group> 59DD590E2773479E971DA531 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKAPIMethods.h path Classes/Model/FKAPIMethods.h sourceTree <group> 59DEF03186164B198E013C5F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotoReferrers.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.m sourceTree <group> 5A28F9591CFF4914A3FED0C7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSuggestionsApproveSuggestion.m path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.m sourceTree <group> 5A410ECF26BF4A8F84D8797E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetTotalViews.m path Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.m sourceTree <group> 5A42D9C987404659AB132862 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsCommentsDeleteComment.h path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.h sourceTree <group> 5A48572F17EC4AF78305750E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrUrlsLookupGroup.m path Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.m sourceTree <group> 5A501257F9A24B50851EDA73 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetClusters.h path Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.h sourceTree <group> 5A86BF034E234C178907B8DA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosTransformRotate.h path Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.h sourceTree <group> 5A8C0162D5C84BF2908D9526 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrReflectionGetMethodInfo.m path Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.m sourceTree <group> 5ADF38EFBB0348DAB7A5CCDD fileRef 892F2122C71F42918FF12B38 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 5B65D20C77414CD08269AC98 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetContactsPhotos.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.h sourceTree <group> 5B94EE4B5B974412A8421FEB fileRef D5AE769F0055414295C71EF4 isa PBXBuildFile 5C3BBA7F72E9479F9D1F1E0F fileRef 6263590EDB2845CFA58657A9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 5CA52C2F3F5C4DBFBDCA243C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPopularPhotos.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.m sourceTree <group> 5CCDE52CF9B549EEB9739C5E fileRef C45F3165A229404280713B6E isa PBXBuildFile 5CCFEABB568C4A449B0411BC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetPhotosOf.m path Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m sourceTree <group> 5D7ACD788D7F426BB90BA7DB fileRef 17C8E9CC861841E98B7FCF7A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 5DE5F45BE7A74D93AFE950EF fileRef B9C7939D9EF34F33AEFFF7D8 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 5DF1D0F4E14748D1AF7BE684 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSuggestionsApproveSuggestion.h path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.h sourceTree <group> 5E052698215B41498BAF5177 buildConfigurationList 424CECA920184B428EE9105F buildPhases E9FC6D2933CA4B49896C07EE 006CF8BFDEE24A68AF105DB7 2CEB58A4B4B1478894411811 buildRules dependencies isa PBXNativeTarget name Pods-SDWebImage productName Pods-SDWebImage productReference 4F8CD6C2CC394649BBF6E2EB productType com.apple.product-type.library.static 5E38D5B4399C4610AFCE744D fileRef 3D58C5D7F8774948A3500E10 isa PBXBuildFile 5E73E97DEE324FCCA81C14BA fileRef B92B997140EB4F199F1A67CB isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 5E76ABB4F6E247958C28ED83 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsMembersGetList.m path Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.m sourceTree <group> 5F266E9910694B5E8A24C97D fileRef 106EA80CB03F4F089D6EA49D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 5F32548896844B6CAC43A870 fileRef F51EA909120640E09244D40D isa PBXBuildFile 5F9C333BD5A94B59AA8B2F2A includeInIndex 1 isa PBXFileReference lastKnownFileType text.xcconfig path Pods-FlickrKit.xcconfig sourceTree <group> 5FA29D0DE9FC48B188287442 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPrefsGetPrivacy.m path Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.m sourceTree <group> 5FB3F4F8AE5C41349EBF275C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetNotInSet.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m sourceTree <group> 5FD7C16393C54312B64EF166 fileRef CE5C33B7B56A44DBBB9E6D70 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 5FDC05BFF00645F8BCB750B8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrCommonsGetInstitutions.h path Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.h sourceTree <group> 6013737EAFE04F3D960D379E fileRef 43D6B01EA68142C8B8A0C874 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 601AE00C9F1747CA85F6984E fileRef 6BE6EA1534494D67B573C5FD isa PBXBuildFile 601EB55CFF714E5483C0FCCE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetListUserPopular.m path Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.m sourceTree <group> 602F1C9D93444397BCC4B63F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h path Pods-SDWebImage-prefix.pch sourceTree <group> 60B82F25EB7C443B815549A5 fileRef E20CCE8E0C774B30A611AC0F isa PBXBuildFile 60EBF9F968C548F6A3CD956C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrMachinetagsGetRecentValues.m path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.m sourceTree <group> 60F18A9151744D248A04CB4A fileRef D5428A1636234D038478B03C isa PBXBuildFile 60F3FFDD0E90431CB44694D9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotostreamStats.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.m sourceTree <group> 61760C88F0CB484FA066CBF9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSetDates.h path Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.h sourceTree <group> 6204E8AED88346F3A3C05471 fileRef 34ACF2C5AB414D80B5CF3CEA isa PBXBuildFile 6263590EDB2845CFA58657A9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSetMeta.m path Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.m sourceTree <group> 62762FFD271C482FA8D281F2 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesGetShapeHistory.h path Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.h sourceTree <group> 627B61C4CC734C61A26F6952 fileRef 4CF83B49EDB34B6DA85C3DE1 isa PBXBuildFile 62B0A1C3947A46DE90F380FC fileRef D7E6B90BB2BB47028BA18DDA isa PBXBuildFile 6396D20AAEF849A99041F624 fileRef 553491C72464461294C3425A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 639AF5839C77402FB2F905F8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrContactsGetPublicList.m path Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.m sourceTree <group> 63C3279D77C9400E9613AD8A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsPoolsGetGroups.m path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.m sourceTree <group> 6499A3DE4F8142BBA47CBCFD fileRef E70E2576321149F0A8743C5A isa PBXBuildFile 64BC184AB21D4E48A5D65BB6 fileRef 96F3202504E9455DB1CC1FE6 isa PBXBuildFile 651C0C6E3A5A47EBBB60A31E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrMachinetagsGetPairs.h path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.h sourceTree <group> 65676DC5B7204A0F8CBD6792 fileRef 00F972D6A74C414BA07D4B42 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6589A0FE66614E119426557F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussRepliesGetList.h path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.h sourceTree <group> 65EE4B83D63F4188BA882307 fileRef 4CF64AB9B7644036A45D63EF isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 65EF1C81A02646B18E3B37C5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrBlogsGetServices.h path Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.h sourceTree <group> 663E3884D7E146F284DE48A4 fileRef 531875970E2440D48CD42A9C isa PBXBuildFile 668D60D17B144480AED1084B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesPlacesForTags.m path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m sourceTree <group> 66A312E481E14F6AA98E863F fileRef 53BB2AFB6AF64E06B9A0EC33 isa PBXBuildFile 67667142D97F429AA10984D5 fileRef D2F274B4B6BB423C81707A81 isa PBXBuildFile 677C2843A88141669E989CDC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesResolvePlaceURL.h path Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.h sourceTree <group> 67B766F7786141D6857DE637 fileRef 16C74A988DB74550B8340D6C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 67BE6F1D66C04EC3BA40A123 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetListUserPopular.h path Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.h sourceTree <group> 67C1196EEBCF495D8BED1412 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetCollectionStats.h path Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h sourceTree <group> 681D9E3BADDB4B7DA08A7216 children 5045C35CA15949CA861C79BE 38C43943BA964A2C8DEAB54A isa PBXGroup name SDWebImage path SDWebImage sourceTree <group> 68C76C6DA2AD40619EB14A50 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsSetPrimaryPhoto.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.h sourceTree <group> 68C83AA977CC48D795B22465 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKUtilities.m path Classes/Utilities/FKUtilities.m sourceTree <group> 68CCEC95FCD849C1BD9D35AD fileRef 57623FDE899A4A8998F11139 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 691C7C857D1E4C8F8014549F fileRef 356A2AB8805D4FAF8C5AF353 isa PBXBuildFile 693A31E7A89748D8AE78D4E5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesPlacesForBoundingBox.m path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m sourceTree <group> 693AB0745464428586323F94 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetCollectionReferrers.m path Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.m sourceTree <group> 69655F74FFC24D89926E1885 fileRef 0023BFDB4035479A8E59AB05 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 69A53C97DC6E4ACDA30B4BF1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussTopicsAdd.h path Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.h sourceTree <group> 69E8764C9929402B9918EDCF fileRef 462E6E31B0484339BDC2F79D isa PBXBuildFile 6A545CC47B314C29A8E36055 fileRef FE7165626B404377BDF3A1C1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 6A688907D0B0429292CCEF01 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotosetStats.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.h sourceTree <group> 6A905EF531284CD1AB37C6F3 fileRef BA9ABCDD7D474A858061E91D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6AA39923EB2D4198A84A75D0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetListUserRaw.m path Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.m sourceTree <group> 6BC31297430347C5BE52EBAF fileRef 3F16D64AB85B460491BE68D4 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6BE6EA1534494D67B573C5FD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesEditMeta.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.h sourceTree <group> 6C0597CA4C77422B8EC8E7D3 fileRef 4D21E7256A3F47D6A109A6CA isa PBXBuildFile 6C9112DEFD134736A1791FC2 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetPerms.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h sourceTree <group> 6CDE68A4C0AE400FA51EFF50 children BC2BD45BF0BE430787EE7963 3D295D87A0684F6CA3A76730 4F8CD6C2CC394649BBF6E2EB isa PBXGroup name Products sourceTree <group> 6CEB68DB38B049D59099E7A5 fileRef 55D76C6B9AB84C548A541E84 isa PBXBuildFile 6D01DCEB92DD46958BF760B4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h path Pods-FlickrKit-prefix.pch sourceTree <group> 6D402D1A3AB347759194B690 fileRef 4951BDEB7BBC44A78DB189DD isa PBXBuildFile 6D7E995B7A824783B2165E68 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoGetLocation.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.m sourceTree <group> 6D99ACDEBB7D4A2E854CD6EA children D7E6B90BB2BB47028BA18DDA E09B3269E2B64D838F027519 3D58C5D7F8774948A3500E10 isa PBXGroup name iOS sourceTree <group> 6E29346D2BE84BC1B8B2A543 fileRef F742554A80FB4B4CAE1A8F86 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6F4B5CA79A4D4946AAA96717 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesGetListForPhoto.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.m sourceTree <group> 6F77CE28E67D4BBDA5D70416 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetCollectionReferrers.h path Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.h sourceTree <group> 6F852550DC8D4D038FEDF974 fileRef A9250FDC898042778B9309AC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6F948703444B4322A99546A7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesGetTopPlacesList.m path Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m sourceTree <group> 6F962C18904F471189AF5747 fileRef 5A8C0162D5C84BF2908D9526 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6FA3D8D23922444B82DD21C3 fileRef AA562481DE344EE2AE999F2E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6FCD606F26244ECDBA89CAA9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSetSafetyLevel.h path Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h sourceTree <group> 6FD6F52334214358BF19F52E fileRef EDFE1007B6834D2CAA660C94 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 6FE7E61FBFD04333BE81C965 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetExif.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.h sourceTree <group> 7015DBDCCCC54810A899A34B fileRef EF6C10C700454301A44F7F3A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7035FDA41A6C4AAFB7250205 fileRef 3CAB0889C1254E4B8BF41927 isa PBXBuildFile 70428A943753462F946DC68C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsAddPhoto.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.h sourceTree <group> 70EA19FE9C0F4043BB17FE04 fileRef 68C83AA977CC48D795B22465 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 712C73DC70894B358391F043 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosNotesDelete.m path Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.m sourceTree <group> 717547EAA3094EC38E4B3D44 fileRef 5A501257F9A24B50851EDA73 isa PBXBuildFile 71E498BDBA794B47828BE54A fileRef 677C2843A88141669E989CDC isa PBXBuildFile 722B8569F8F348A98E7DC8D2 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsSearch.h path Classes/Model/Generated/Groups/FKFlickrGroupsSearch.h sourceTree <group> 72AF061BB3D24023ADDFA1DA fileRef FB3EB5BB8C28479FA4BB340E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 737D71D54F2D474CAE4C5A45 fileRef 9DBAAF216F2B453FB47C2FFD isa PBXBuildFile 7397A4B5386742168526ABC5 fileRef 203592D7B80F4C3B99A29DAF isa PBXBuildFile 73C5D558A68540908F86E70F fileRef B6EC37897308495B9E4B4D2C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7453A67E8E5B45B4923DE2A9 fileRef F92AFFA88CE5479EA320067F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 746A42C4172A4362B5558C98 buildActionMask 2147483647 files 55BCD988B22C426CBD4BC28F 5E38D5B4399C4610AFCE744D isa PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 74901FF0FA3A4F66B950455E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name UIImage+MultiFormat.h path SDWebImage/UIImage+MultiFormat.h sourceTree <group> 74A2B6CEFC054F12A05A87E4 fileRef 0287B8F43796482DAFC29FA2 isa PBXBuildFile 751BAFD1666A4BBE8258D350 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetRelated.m path Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.m sourceTree <group> 753AF0425B944D42AFF5D6C4 fileRef 081D19269D6E4282BFE3913C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 757DD225B01A482AA3BFDB05 fileRef 5511304EEE534FFBBF82BD66 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 759397DE03B448819F35EB50 fileRef A10F157328574874BBF7C7C1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 75FB9E292215415F91020130 fileRef DCB6E1367DA74FCBBC005788 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 764A260129DB4B919CD0D290 fileRef 9A8602CF871345F6BD5FE89A isa PBXBuildFile 7668C15E66FF40BCAC6C6521 fileRef B9237E6DECBC45109391F7F0 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 768AC02064B54887992718DF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrAuthGetToken.m path Classes/Model/Generated/Auth/FKFlickrAuthGetToken.m sourceTree <group> 77103D15318347FB8A0F6410 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrMachinetagsGetValues.h path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.h sourceTree <group> 775EE2117F954D67A35A6BB0 fileRef BE6DBA67D7EA476E88BC4A4C isa PBXBuildFile 77AA5D5D2E8A4F998A8343C5 fileRef 7FD2B43028E04597A2C76FD4 isa PBXBuildFile 77BAD8F9F3864A068CF55DC5 fileRef 5934B4A5359F4F17A5A7361C isa PBXBuildFile 77F968FDE5254436A704525E fileRef C700FB6CB60745828D1A4217 isa PBXBuildFile 77FFE29B8152497F975E5D0C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrMachinetagsGetPairs.m path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.m sourceTree <group> 7809DCC0055947BA84221EDC fileRef CB9AE49E9AF84591B28991D8 isa PBXBuildFile 78163CDB18BA4981897AF822 fileRef 6AA39923EB2D4198A84A75D0 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 78287707997C4B898C56035D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsCommentsDeleteComment.m path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.m sourceTree <group> 783B50643FD640BDBABC8BB8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosPeopleEditCoords.h path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.h sourceTree <group> 784072104BE54D549C93E923 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrActivityUserComments.m path Classes/Model/Generated/Activity/FKFlickrActivityUserComments.m sourceTree <group> 7875462DC31A419294E9E190 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetMostFrequentlyUsed.m path Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.m sourceTree <group> 78E5E7C32445476E9F4DEB37 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsBrowse.m path Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.m sourceTree <group> 792A697EB36B4680B0A1CDFF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrActivityUserPhotos.m path Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m sourceTree <group> 7934D67D64394B6482ED1A76 fileRef 6FE7E61FBFD04333BE81C965 isa PBXBuildFile 79A5353DF214448A96A7AF17 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsMembersGetList.h path Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.h sourceTree <group> 79D478A468704B3EB8E5BAD4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrAuthGetFrob.m path Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.m sourceTree <group> 79F1C1E798E740ACACC873E6 fileRef AC3862CAB265493B982FE3C1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7AC4A458AC10406082AEAACC fileRef 77103D15318347FB8A0F6410 isa PBXBuildFile 7ACBB1ECE2F04F508BE872F7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsJoinRequest.m path Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.m sourceTree <group> 7AF43B9C7A634ABE970D606E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsGetList.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.m sourceTree <group> 7AF762EC917645C7A0A19EF5 fileRef 8AB97D90DD894AD8B9280736 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7B04B93C41F84D8A8C22AE79 fileRef 345A75A66F054315880BEA6C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7B70EE12BEC7402FBC514743 includeInIndex 1 isa PBXFileReference lastKnownFileType text.xcconfig path Pods-FlickrKit-Private.xcconfig sourceTree <group> 7B7F2418C513441890640E7F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosPeopleAdd.h path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.h sourceTree <group> 7B8C6EB26D3C4684B4D67CFD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetPublicGroups.h path Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h sourceTree <group> 7BAF726AD3B749A3A9E4E2CC fileRef 53780B0862BD446C9D450657 isa PBXBuildFile 7BC04F5CB3FB4AE494C12988 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosNotesEdit.h path Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.h sourceTree <group> 7BC7AD3CA75A4C2BBA185E32 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetClusterPhotos.h path Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.h sourceTree <group> 7BEAAE3BD01C4029A6D1CC00 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPushUnsubscribe.m path Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.m sourceTree <group> 7CBB3FEF03E14F029B2115B3 fileRef 67BE6F1D66C04EC3BA40A123 isa PBXBuildFile 7D5EDD1E7FE34675BE5ADFE2 fileRef 015073EFB3134A9BBC895EDD isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7D61F79A3C12494F91A84C2A fileRef E5CBE9236C9C477096AE395E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7D6D30FE764E4944B7519AE7 fileRef D1A5BE63D1E547E7B4A7E7F6 isa PBXBuildFile 7E21C0260E45480FBCA8E43C fileRef 6C9112DEFD134736A1791FC2 isa PBXBuildFile 7E2AA3430EDB4736A52DEFD1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPrefsGetSafetyLevel.m path Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.m sourceTree <group> 7E5B9C2121F74B6AA9DF9B4F fileRef 8A3CFF983AE94739B8BE3A19 isa PBXBuildFile 7E6A508FB3F748EFB3A62703 fileRef 4AA4588D56814EBAA7D3FFC0 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7E71D89CF36E45F097C97B44 fileRef 23109BEF695F4F75A93E6388 isa PBXBuildFile 7EBBC0AE749949E68A46CE2A fileRef 51E8C87629D54A72A29E8D26 isa PBXBuildFile 7ECA61B0DECE4A09B28BB507 fileRef 44D3A8AC84B5442FAC9737DF isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 7F10B7A212254011B0370EA3 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAuthGetToken.h path Classes/Model/Generated/Auth/FKFlickrAuthGetToken.h sourceTree <group> 7F243213689D49D88FB7351D fileRef 24B00A73805D4742864F2432 isa PBXBuildFile 7F6415A59CE348DC9C6BE453 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUBlocks.h path Classes/DevedUpKit/FKDUBlocks.h sourceTree <group> 7F6E67DB6019463D81625325 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosCommentsEditComment.h path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.h sourceTree <group> 7F7B4A9FE9734327B3297EA3 buildSettings ALWAYS_SEARCH_USER_PATHS NO CLANG_CXX_LANGUAGE_STANDARD gnu++0x CLANG_CXX_LIBRARY libc++ CLANG_ENABLE_MODULES YES CLANG_ENABLE_OBJC_ARC NO CLANG_WARN_BOOL_CONVERSION YES CLANG_WARN_CONSTANT_CONVERSION YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE YES CLANG_WARN_EMPTY_BODY YES CLANG_WARN_ENUM_CONVERSION YES CLANG_WARN_INT_CONVERSION YES CLANG_WARN_OBJC_ROOT_CLASS YES COPY_PHASE_STRIP YES GCC_C_LANGUAGE_STANDARD gnu99 GCC_DYNAMIC_NO_PIC NO GCC_OPTIMIZATION_LEVEL 0 GCC_PREPROCESSOR_DEFINITIONS DEBUG=1 $(inherited) GCC_SYMBOLS_PRIVATE_EXTERN NO GCC_WARN_64_TO_32_BIT_CONVERSION YES GCC_WARN_ABOUT_RETURN_TYPE YES GCC_WARN_UNDECLARED_SELECTOR YES GCC_WARN_UNINITIALIZED_AUTOS YES GCC_WARN_UNUSED_FUNCTION YES GCC_WARN_UNUSED_VARIABLE YES IPHONEOS_DEPLOYMENT_TARGET 7.0 ONLY_ACTIVE_ARCH YES STRIP_INSTALLED_PRODUCT NO isa XCBuildConfiguration name Debug 7FC9166522F84521A3E18BA2 fileRef 54B10DA7A76D47BBBD78CA53 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 7FD2B43028E04597A2C76FD4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPushSubscribe.h path Classes/Model/Generated/Push/FKFlickrPushSubscribe.h sourceTree <group> 807C2F77BB624BD4BA28DFAE fileRef B243E12EAF3B4A7DB6C329FA isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 809555DA2AD4408EBF859781 fileRef 4B0446239D0A4B00AFDC7C76 isa PBXBuildFile 80DFFF281D434FA291731807 fileRef 4F9290195D714CD69B1202EC isa PBXBuildFile 810EC858F1D64532B95E1136 fileRef 8D8FC1F5A0B14D6487DAE894 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8114BFC6DB03496287B1F29F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsCommentsAddComment.h path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.h sourceTree <group> 812B9F80A0B947E096260F24 fileRef 2394179178714E1F99F291FE isa PBXBuildFile 81831F980C1848A7AF693D40 fileRef 36CC155429124251A0FB82D8 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 81B832D1599F403B9EE72437 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesTagsForPlace.h path Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h sourceTree <group> 8240CFF41EB7473C8286BE2B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetListUser.m path Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.m sourceTree <group> 824C4357CC57406A817136BB fileRef A89695ACD71C4A4A8B0E7E7A isa PBXBuildFile 824FAACEFE5A469286D45AA4 fileRef 2FF4027FA0094C8B8ACFA494 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 827BC0A99753488F89B1778B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPandaGetPhotos.m path Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m sourceTree <group> 82984DE2631142AAB9F1E4FD fileRef 74901FF0FA3A4F66B950455E isa PBXBuildFile 8298E9777C5844FCB021004B fileRef F7F6D8FC36524D288E809791 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8311DFEE8BCB4CB4A77511E1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleFindByUsername.m path Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.m sourceTree <group> 83991EF75B814F078B361938 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrMachinetagsGetRecentValues.h path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.h sourceTree <group> 847D2D79B91D4EC4B355A40A fileRef 4E010C876F1242CDBF76B401 isa PBXBuildFile 848059774C5B4B11971C3C75 fileRef 9654A1B5D245490E93E6F69B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 85DD764E1A72417D83F43881 fileRef ADFED37C4B084CD4B2745246 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 85F6BA63303E4474B3C8C9A2 fileRef 06ABF5DEDC794731A760A223 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8697101858574283A3B185D4 fileRef 7BC04F5CB3FB4AE494C12988 isa PBXBuildFile 86E6BA214D624B6384A5330A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSetTags.h path Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.h sourceTree <group> 8709AF6AF90941B782066DAB fileRef 914BEF1CAE6145B08C3FED55 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 870AB18D7FDF46D7AB509CA3 fileRef E5411A2E037541658452082B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 875348AA52D0482184255CA6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrContactsGetPublicList.h path Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.h sourceTree <group> 87AA9DAB2E87402E9E6394D5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrContactsGetTaggingSuggestions.h path Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.h sourceTree <group> 87FBBD588842447B84541A2D fileRef DA6E6FAF05794F249EB7631C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 87FF8290596A4FE484B1DB44 fileRef B747A38D41C54A10AE1DD5DC isa PBXBuildFile 8825AB1864C34CEFB20CE523 fileRef 7F6E67DB6019463D81625325 isa PBXBuildFile 88534736D4DD4BB3BAC5239B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKOFHMACSha1Base64.h path Classes/Utilities/FKOFHMACSha1Base64.h sourceTree <group> 88603D638A1C4883BF206C89 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesGetInfo.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.m sourceTree <group> 88637C7C4EF449F6AEAE518B fileRef EF54C54BABBB4C2FBB1011E0 isa PBXBuildFile 8880B3A42E3846FEB1565649 fileRef 955F125580A34419AB5A1824 isa PBXBuildFile 8880C515CC1046BAB0C424C5 fileRef 321E73B5A9654C6B8959491C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 891A96CF457A44B2BEB430B6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosPeopleGetList.m path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.m sourceTree <group> 892F2122C71F42918FF12B38 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrContactsGetList.m path Classes/Model/Generated/Contacts/FKFlickrContactsGetList.m sourceTree <group> 89A170BD0C6C420F83ABA67A fileRef 9851ABEC4708483DB6F41269 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 89D8207AE22E4AA4A88A94D5 fileRef 9C07964EB3FE49678A278016 isa PBXBuildFile 8A0571E60E0641C0A20466BF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsCommentsEditComment.h path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.h sourceTree <group> 8A2E9F96EBA547E9BAB54737 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSuggestionsRemoveSuggestion.h path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.h sourceTree <group> 8A3CFF983AE94739B8BE3A19 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImagePrefetcher.h path SDWebImage/SDWebImagePrefetcher.h sourceTree <group> 8A7FD72AAB884A069469D78F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsPoolsAdd.h path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.h sourceTree <group> 8A9A431DDE0743B29C3389C8 fileRef D1F10C0E55BA454E94EBA8C3 isa PBXBuildFile 8AB97D90DD894AD8B9280736 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesTagsForPlace.m path Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m sourceTree <group> 8C40E912505947E3A539DBA0 fileRef 584A687F1E4D43C69231951A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8CC51171E6F2426BA7ACD30F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussRepliesGetInfo.h path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h sourceTree <group> 8D1DF923EB7D4664BF0EF8A2 fileRef F40E0D29B69E467898A2EB54 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8D21EC17B91346DB8256C7CD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosCommentsDeleteComment.h path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.h sourceTree <group> 8D3789C456CF497A8C004041 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetUntagged.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m sourceTree <group> 8D4BD0D5E4F543209F631641 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosDelete.h path Classes/Model/Generated/Photos/FKFlickrPhotosDelete.h sourceTree <group> 8D620939FBB2411289CE3918 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetInfo.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.h sourceTree <group> 8D8FC1F5A0B14D6487DAE894 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussRepliesGetInfo.m path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.m sourceTree <group> 8D9D8F0DCA9A47C6B0EC8E76 fileRef A3CEF35C3DAE4520A109FAB9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8DDBA291A9B9418D87AD1BF6 fileRef 77FFE29B8152497F975E5D0C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8DF0B48E478246809F687F37 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetTotalViews.h path Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.h sourceTree <group> 8E37E1997FFD4C77B7883C04 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsJoin.m path Classes/Model/Generated/Groups/FKFlickrGroupsJoin.m sourceTree <group> 8E3C7892552E4C499A3E1ABB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoPhotosForLocation.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m sourceTree <group> 8EAAF19D9C4844B8BED63824 fileRef 2EEDC7B939EF4396B6A2D6BB isa PBXBuildFile 8F0FEF03FBDA4A91A4D79B27 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrFavoritesAdd.h path Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.h sourceTree <group> 8F39838F762B4AD29FB1478A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImageDownloader.h path SDWebImage/SDWebImageDownloader.h sourceTree <group> 8FCD609F09F44236A90F78DF fileRef 02E22595A783406295E1B383 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 8FF95552ECD94922A0A7CDC5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrBlogsPostPhoto.h path Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.h sourceTree <group> 90137953560349D880E3C03C fileRef 63C3279D77C9400E9613AD8A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 90A5468EE3B045FDA4EEDBBF fileRef 639AF5839C77402FB2F905F8 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 90F9C6D583E041FAA0F4F31A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSetPerms.h path Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.h sourceTree <group> 914BEF1CAE6145B08C3FED55 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrUrlsLookupUser.m path Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.m sourceTree <group> 91A39B0890F44BC5BE395611 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrContactsGetTaggingSuggestions.m path Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.m sourceTree <group> 91CDF7ACD3504BDF9EF5AA6A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAuthOauthGetAccessToken.h path Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.h sourceTree <group> 920756A0BCF94DBCAB50BA1F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPushSubscribe.m path Classes/Model/Generated/Push/FKFlickrPushSubscribe.m sourceTree <group> 9236A45CF58A4C7C83B35F88 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h path Pods-environment.h sourceTree <group> 92396708BD384C7FB84A5196 fileRef 3E1D65344AFB424E94A909AC isa PBXBuildFile 925B603C8DEC40F180AB76E5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetCollectionDomains.m path Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.m sourceTree <group> 92E7D79316794CF9A8F896DC fileRef 05C1FE9E7B454C7DA61333BD isa PBXBuildFile 9309D4C7B022413E9865DC68 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDImageCache.m path SDWebImage/SDImageCache.m sourceTree <group> 932A56F56F4348E0B4527CA3 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrMachinetagsGetPredicates.m path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.m sourceTree <group> 93DB55C365384C609D6D0E8E fileRef E840138ED7EC49C08DBA1481 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 942120411A63410E8F91FBC8 children 59DD590E2773479E971DA531 7F6415A59CE348DC9C6BE453 3F6C560D867A4706B683A513 97CBCE7E3FA849C9A973C982 BA9ABCDD7D474A858061E91D B716C6F025274582BBEE196D 16C74A988DB74550B8340D6C 9C07964EB3FE49678A278016 E20CCE8E0C774B30A611AC0F E397017EAE004484A46FD8AC 079B0C41A2FC4C6F91996EF2 36B62E72DD0942D186D50322 D599B20D2D7C4A63B9FC0553 43D6B01EA68142C8B8A0C874 E3ECA24704204C3F884BCD4A AA562481DE344EE2AE999F2E 2108906C5EB842638DC38356 5579DC12E18643C6AE322803 C700FB6CB60745828D1A4217 D6CAB0FB01014174B714F78B 784072104BE54D549C93E923 BF4AEF185B5242AFBB5AC55F 792A697EB36B4680B0A1CDFF 03E43C42F7CB4DA988AFD7F5 24F0F5E9E97A440CA2148DAD C7D07CA594C145088F11CCF4 79D478A468704B3EB8E5BAD4 E70E2576321149F0A8743C5A C488D580CBB548F7B3A16620 7F10B7A212254011B0370EA3 768AC02064B54887992718DF 075C774F73F6441EAF58E704 525C8CFF188643F58F36ABEC 91CDF7ACD3504BDF9EF5AA6A E94610CFCD8341298E05AD6D 9A719A024E594773AE120053 A9250FDC898042778B9309AC 65EF1C81A02646B18E3B37C5 0DD1B4B5D0C64E059E987B29 8FF95552ECD94922A0A7CDC5 BBC91291A7E04B7D99E75A9F C284D611B50D48F38BF5C94E 12310D52F43A4912807CB420 580FE294DA174FC4AA2CCDE7 F92AFFA88CE5479EA320067F C351E382AEAA46B9AADAA757 1EF2D785FE884243AD848EB4 EC8D46604AFC40BCACD99712 B67AB4AB69324CD0AF1397CB 5FDC05BFF00645F8BCB750B8 ECDB0222266B41849DD00B2B 955F125580A34419AB5A1824 892F2122C71F42918FF12B38 ECBFCBB4BAE1479F9480EB01 41D09CC93D324155B7E70CD0 875348AA52D0482184255CA6 639AF5839C77402FB2F905F8 87AA9DAB2E87402E9E6394D5 91A39B0890F44BC5BE395611 8F0FEF03FBDA4A91A4D79B27 A89792CC0D55466CA2FFD78E 3212D795BBBB46C187F72086 193B6A40344847C1B046C7D5 43AAD065A08647769B7B9700 F7F6D8FC36524D288E809791 26DC28338B814C9E8A3AE1F3 EBD7F3B52BF241F88A516D3F 27434A6A44B44CF096C2291A 1182789CFE8A4E2DA968EB93 2EEDC7B939EF4396B6A2D6BB D9BF7ED735664A7FB2FF06CC D590EEA745444C21BE017FAC B243E12EAF3B4A7DB6C329FA 6BE6EA1534494D67B573C5FD 340A5CE5F48B4747ACB59132 C45F3165A229404280713B6E 22FB0A5AE6F148188590D005 D1F10C0E55BA454E94EBA8C3 96FC1FFA6F3F47E287D43E6F A8259279C7404291ABA58B3A 88603D638A1C4883BF206C89 3D68FB5BF77C458A8081CEF1 98BF8C902C654E308E85221C 32E16CF710224042BDAE9C05 6F4B5CA79A4D4946AAA96717 E8884AA807584AAC83F7C83F BB27BABC79304D78B790022E 3E1D65344AFB424E94A909AC 78E5E7C32445476E9F4DEB37 DA36C0B1C0394BF9A7C94199 584A687F1E4D43C69231951A 967136712E024604A71339EB F350141803C242C0873448FD 9A8602CF871345F6BD5FE89A 3F16D64AB85B460491BE68D4 8CC51171E6F2426BA7ACD30F 8D8FC1F5A0B14D6487DAE894 6589A0FE66614E119426557F F87E306400EF485B903194BC 69A53C97DC6E4ACDA30B4BF1 36CC155429124251A0FB82D8 38B6C7875B0749F4B6516C2A 2C9FBC7D1CF1460890D55CBC B6A016112BC140109193DA0C F1ADBD034C064111AB216DA9 9BFD0FFC0CA24E1C9859C6A9 EDFE1007B6834D2CAA660C94 DF1E4724C3A144D99E1F298D 8E37E1997FFD4C77B7883C04 203592D7B80F4C3B99A29DAF 7ACBB1ECE2F04F508BE872F7 A0C82015CD714F8DABE894B7 412169762F2B47F6873DD38E 79A5353DF214448A96A7AF17 5E76ABB4F6E247958C28ED83 8A7FD72AAB884A069469D78F E146BADD4B0643A9A2E02589 FA95F9C403D04CA495ECEF94 A98B9683B2594A32AF2C19C1 F11C88F1A4074397B7F9F2C9 63C3279D77C9400E9613AD8A 942E2707036B47BE8E3B3451 345A75A66F054315880BEA6C AB9059B826E34792BD177EDA 953A67ACB4454B4DA3F5BFE5 722B8569F8F348A98E7DC8D2 A10F157328574874BBF7C7C1 05C1FE9E7B454C7DA61333BD 286548A248BA460DAFB6A878 456B9D66150842A4A731C713 2E55B3234FA44CACBECAF412 651C0C6E3A5A47EBBB60A31E 77FFE29B8152497F975E5D0C A6523D9880EA40F589046C30 932A56F56F4348E0B4527CA3 83991EF75B814F078B361938 60EBF9F968C548F6A3CD956C 77103D15318347FB8A0F6410 FB3EB5BB8C28479FA4BB340E 94D6A4769F234E8AAAA94341 D73D1D291964407787F3FC33 2D9DD15D9A5545C98F916A54 31EB977B04F34B4A832A6B1E FF3214D87A134EF59636936A 827BC0A99753488F89B1778B A68E27DB4B5F4FDB9DB65958 58D0A1FBC0CF4C2B905824D1 D5428A1636234D038478B03C 8311DFEE8BCB4CB4A77511E1 A487AC782ED242ED96F84BFD D25C416548054E928D632B9A 356A2AB8805D4FAF8C5AF353 E5411A2E037541658452082B 53BB2AFB6AF64E06B9A0EC33 3E043891E33447309075538F B4E87E1973E5498AB0D5574E F02FDB1CCD7D4D9A84AD2E5F 3C2A879856C94000A4E289ED 5CCFEABB568C4A449B0411BC 7B8C6EB26D3C4684B4D67CFD 3395C1E9753B4208AF62B128 B71E5CB7DFC44E4B8EBAD033 4F9AE7F50DCE4F1CA5C3DBCE C8E2BCEDA0EC47A49B87906E A27DD1D3525F425A8858CEA8 96F3202504E9455DB1CC1FE6 135EAEC9CA6D47F9A3B7FF8D 948F4357ADCD4950A050E6A3 9EDA43C94B164543B1C5095D 8D21EC17B91346DB8256C7CD 591D8F6726BC4285985218CD 7F6E67DB6019463D81625325 2B6740C37E314DEB9EA7159F B747A38D41C54A10AE1DD5DC 1CFB26A3E3DD4189BE144A36 531875970E2440D48CD42A9C CBAEE555B49646A48629AC8A 8D4BD0D5E4F543209F631641 22941B3464284BDD8FD21003 C5C1E940AA9642429132039F F256F4D471AC41239BA60F0A 1F3208062E244475BCF28316 B9237E6DECBC45109391F7F0 D10F83FC8E274AFC81721114 6D7E995B7A824783B2165E68 1EA26A9DC0A341AA9D6DA50C E840138ED7EC49C08DBA1481 1B76B9167CC9406D80E2080E 8E3C7892552E4C499A3E1ABB 4D21E7256A3F47D6A109A6CA BAFFFD63DD2A4BB2BF93BCAF E1E3A81EA7914A58BA6F63CB 2ACED266598643FDB3A0689F B4B93EDA01BB4CE5BFEAEF30 E86DE05331E2459B9281B0F9 3979022CC7F44D53B11DE71B 3CC8899F7E9B468BBEA45661 282EF38A8F25447A82DEC54B D8D8715E899C4A82A55192F0 5B65D20C77414CD08269AC98 97639969B68B460682E492EE FF564090F91343AE9BE0D42D EA66E7D29F90490FA864CCF5 118EC0D327C9434ABD4C2F15 4CF64AB9B7644036A45D63EF E12B0B4B7D40480DAD1CD546 C13B3FBE13E64045B1B60570 6FE7E61FBFD04333BE81C965 428963C99C6F422A9986A6FD 0F9E87275E0349CFBB81CB29 1FC25F7A02044D16A1A78A32 8D620939FBB2411289CE3918 CD5629049B174F1599B309C4 55D76C6B9AB84C548A541E84 5FB3F4F8AE5C41349EBF275C 6C9112DEFD134736A1791FC2 C6F285D5958E44D4B17B2CFE 0287B8F43796482DAFC29FA2 F742554A80FB4B4CAE1A8F86 53780B0862BD446C9D450657 0B9BE73C21F34C63A1FAB860 FF439064E1224C309D612E4E 8D3789C456CF497A8C004041 F2CC02AF2E384B87BE543EDF 2FF4027FA0094C8B8ACFA494 2D098A1948724ADEB14147F6 5511304EEE534FFBBF82BD66 0491FFE838234782BE300D4C 1AE12829D8474ED995345710 D6B04E2D4F234E06BEA771D9 CD3118E6AC754994A11872EE F51EA909120640E09244D40D E107F11DDBA441D88B2FAF1F 4F9290195D714CD69B1202EC 712C73DC70894B358391F043 7BC04F5CB3FB4AE494C12988 25F40E5BF9DE4A959C085B43 7B7F2418C513441890640E7F 2DF1D6D5D548464B8765073F 311F775899504D5695288C3B 54B10DA7A76D47BBBD78CA53 4951BDEB7BBC44A78DB189DD 9851ABEC4708483DB6F41269 783B50643FD640BDBABC8BB8 0C058DB8496241B783371814 4B0446239D0A4B00AFDC7C76 891A96CF457A44B2BEB430B6 4E010C876F1242CDBF76B401 C7CB18D53D1D4ECF957EB741 F4D5FD2AAB554BC89C9F818C A54383A460DE465FBA1C80AF CC48CFEDB0994057B8A82C90 39143E3A7FDF4493B9A3068F 140A635C6513477EA911EC92 4B275A3A0B4F46D396DD9BFA 61760C88F0CB484FA066CBF9 46E898B7960247A2ACD3A01D 34ACF2C5AB414D80B5CF3CEA 6263590EDB2845CFA58657A9 90F9C6D583E041FAA0F4F31A B48C3C8BD3BD4EC591A517F3 6FCD606F26244ECDBA89CAA9 015073EFB3134A9BBC895EDD 86E6BA214D624B6384A5330A C1B99B077F164E87B4214D2E 5DF1D0F4E14748D1AF7BE684 5A28F9591CFF4914A3FED0C7 51E8C87629D54A72A29E8D26 3CF88FB43D1347BE933C49C6 D2CF012BE4304817A9CBBD58 F58A5E4A6D2F403F814D4632 8A2E9F96EBA547E9BAB54737 3D62AD33A0D243ECA4F4D870 A7EAFC09DA5C41E6A8A6B82B BA70CBE630C6414DAA5DA102 5A86BF034E234C178907B8DA 403E44828F274EDE94E7B4AC A04E8233154A4C69BBE984EB EA903FB4E7344FC1BFCF8A6F 70428A943753462F946DC68C F79540022307471AB761F580 8114BFC6DB03496287B1F29F A3CEF35C3DAE4520A109FAB9 5A42D9C987404659AB132862 78287707997C4B898C56035D 8A0571E60E0641C0A20466BF 150E0F5396E24C658BBD63E9 17BAA699E4514F34B9D82FA6 1893413E7E134E36A168A519 E34D648E9494420EAB19D78B 1F495DBBBAE642DB84956A6E 94D58C5A98004794B23A8625 49CB0CC7F0DF44BABAF46A89 4CF83B49EDB34B6DA85C3DE1 02E22595A783406295E1B383 3D507807F9E94A828948B659 95134B018CE44E9F880AF6BC CB9AE49E9AF84591B28991D8 14CAF3145E484B40BD35FDE0 EF54C54BABBB4C2FBB1011E0 EF6C10C700454301A44F7F3A 1A0F33F81BF240BAB66C006A 7AF43B9C7A634ABE970D606E 3FFFAC775ABA48358E7699FB DD1B03A24F60448FB923970E 9699180D60BF41479D014B83 EC6DF12CB58D4EF280B56FA4 1DC9104DD7CA46D298BC6DF4 983138AC6C6043AA91A88B10 06E7AB66B3EE4D2DB9780328 4AA4588D56814EBAA7D3FFC0 529C8D82E72349CCB2D38A62 2921EEE61801432C8DEBEEBE 68C76C6DA2AD40619EB14A50 E5CBE9236C9C477096AE395E F045A4035DFE48118F1F672A CAA59717A7EB485DAD509B18 46A2AA9973044EA782C8C989 2C5FC6307850430799D2F2F8 A54C9B49951244B9A6F564DD 4AA2B8CBFC7C416886A16BB9 48A55902957D45D1A162AB79 F68779DB62B6483080D44132 CD56D5A50B9D47FB86524F17 366892869D8C4346AD0B807E D619605D1F824ECF965402B0 D479826A132C4B5592617F18 62762FFD271C482FA8D281F2 EC3229326DBD460E86FE743D 181432AFF08B4E88B42B7B8B 6F948703444B4322A99546A7 28A4BB4B503C4A5CBEEE3B75 693A31E7A89748D8AE78D4E5 DCE14BA969FB45A78A677C8C 00F972D6A74C414BA07D4B42 9BC66C11AD0B4C8EB5D5AB1F 668D60D17B144480AED1084B 462E6E31B0484339BDC2F79D 2B0C9B1007F349608D616BFC D5AE769F0055414295C71EF4 9DE31A3545C940BBAC17316D 677C2843A88141669E989CDC 97DDEFDF99144D059A746B35 81B832D1599F403B9EE72437 8AB97D90DD894AD8B9280736 5380BCA74E9A45B18FD796CE F40E0D29B69E467898A2EB54 1FE6249EC36D46B197B0AF23 0023BFDB4035479A8E59AB05 4E8ED6E88FA641878D1A3D64 DA6E6FAF05794F249EB7631C B1C0EFE96F364B46A12D05C1 5FA29D0DE9FC48B188287442 C880C31660604EE48D6DDC10 7E2AA3430EDB4736A52DEFD1 9AA71C20E03F43D2A205072F CC2B9CFF84204F7CBA1DA781 53442ABE5EA04F1B92B93511 AC3862CAB265493B982FE3C1 7FD2B43028E04597A2C76FD4 920756A0BCF94DBCAB50BA1F 19C66B9696324D20B9A73021 7BEAAE3BD01C4029A6D1CC00 9DBAAF216F2B453FB47C2FFD 5A8C0162D5C84BF2908D9526 D1A5BE63D1E547E7B4A7E7F6 16350892079943FD96DBA6CB DCB309B2ADBF43E08C71CBFC 41B5A034F48B4CB8B3235866 016893B5C8CF4D0B9A807F2B 925B603C8DEC40F180AB76E5 6F77CE28E67D4BBDA5D70416 693AB0745464428586323F94 67C1196EEBCF495D8BED1412 F228A0EC035D460CA2438F8B 23109BEF695F4F75A93E6388 D4C45D373C5048A9A0B7EBEB 98A30DF46FCE4E62B0D21EA4 59DEF03186164B198E013C5F 1860F3AF46464857A907E995 1C8FF644B0A54F18A932DA9D 9F221E03B59A413B9F011A98 45D316E561B64FF4BF01A70F 3CAB0889C1254E4B8BF41927 226892DF293B4323933BAD7D 6A688907D0B0429292CCEF01 208D13DBC18448DE90819D6E E95AD4D2580A4F47A01F2872 553491C72464461294C3425A B07B5E48845140369C47C854 549B87A736FC4DAFA8439FA4 A89D8922E85D4CE4B034EF95 60F3FFDD0E90431CB44694D9 DE664F927AE640349C0EE40D 5CA52C2F3F5C4DBFBDCA243C 8DF0B48E478246809F687F37 5A410ECF26BF4A8F84D8797E 7BC7AD3CA75A4C2BBA185E32 17C8E9CC861841E98B7FCF7A 5A501257F9A24B50851EDA73 106EA80CB03F4F089D6EA49D 0C33DE85B16D47FCA566AD1D 9654A1B5D245490E93E6F69B FD0C79EB8FB54BBD954CF551 57623FDE899A4A8998F11139 41B8A0A6A0B540DDBAB826E0 8240CFF41EB7473C8286BE2B 67BE6F1D66C04EC3BA40A123 601EB55CFF714E5483C0FCCE 9611D817E76A4FBAB66CC1FC 6AA39923EB2D4198A84A75D0 5934B4A5359F4F17A5A7361C 7875462DC31A419294E9E190 E3DEE4E9229841D5B5698116 751BAFD1666A4BBE8258D350 BCCEAD42F77F4643B30783DB B6EC37897308495B9E4B4D2C C4B132CB7A0B4710BFB87DC9 2462C1A4B22140BEBF329B50 F9295B6E7718410EAB07F520 ADFED37C4B084CD4B2745246 CD9078DA9741445E859C4F68 CE5C33B7B56A44DBBB9E6D70 258A7293500C4746AEE5C945 E7554D0BE0C0454383673E6A 222DC2789BE84BFD93979BBF B1CAB8CE783C41119E177196 46372376177E4D34AAAD76C6 F13595933E2E46DA9A5A2130 44BEFEC75D394236B85EA712 5A48572F17EC4AF78305750E 3BE6E45464354AF99BCD9AA7 914BEF1CAE6145B08C3FED55 A14668206AF744AA91DF4EC1 EA92CF0461404981B595ED9C 88534736D4DD4BB3BAC5239B F98E996BC12241978C2B8E1E 16FD915707304001AB2E5BE7 CDD11CBDB5854B469B83DF1F 9C5907133DA24374A07852AD 06ABF5DEDC794731A760A223 AAD2E5975776470A9C154BDF 54BB0E46EB924EFC9B7E1098 DD92F7ADCF2C40289DF284F7 68C83AA977CC48D795B22465 2394179178714E1F99F291FE 081D19269D6E4282BFE3913C B04BBF003ED1431CA1E17B9E isa PBXGroup name FlickrKit path FlickrKit sourceTree <group> 942E2707036B47BE8E3B3451 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsPoolsGetPhotos.h path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.h sourceTree <group> 9439EFFA5B59451C932739B5 fileRef C8E2BCEDA0EC47A49B87906E isa PBXBuildFile 948F4357ADCD4950A050E6A3 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosCommentsAddComment.h path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.h sourceTree <group> 94A75C82ED5D4AF5AA025883 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDWebImageDownloader.m path SDWebImage/SDWebImageDownloader.m sourceTree <group> 94D58C5A98004794B23A8625 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsDelete.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.h sourceTree <group> 94D6A4769F234E8AAAA94341 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrNetworkOperation.h path Classes/Network/FKFlickrNetworkOperation.h sourceTree <group> 95134B018CE44E9F880AF6BC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsEditPhotos.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.m sourceTree <group> 953A67ACB4454B4DA3F5BFE5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsPoolsRemove.m path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.m sourceTree <group> 955F125580A34419AB5A1824 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrContactsGetList.h path Classes/Model/Generated/Contacts/FKFlickrContactsGetList.h sourceTree <group> 95FB06FE97EF4101937FDE54 children 942120411A63410E8F91FBC8 681D9E3BADDB4B7DA08A7216 isa PBXGroup name Pods sourceTree <group> 9611D817E76A4FBAB66CC1FC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetListUserRaw.h path Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.h sourceTree <group> 96394F9A599B449FAF122BC7 fileRef B1C0EFE96F364B46A12D05C1 isa PBXBuildFile 9654A1B5D245490E93E6F69B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTagsGetHotList.m path Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.m sourceTree <group> 967136712E024604A71339EB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussRepliesDelete.h path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.h sourceTree <group> 9699180D60BF41479D014B83 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsOrderSets.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h sourceTree <group> 96AC0CA0122E46CFB5CEC9A5 fileRef 9DE31A3545C940BBAC17316D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 96F3202504E9455DB1CC1FE6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosAddTags.h path Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h sourceTree <group> 96FC1FFA6F3F47E287D43E6F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesEditPhotos.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.m sourceTree <group> 975E3E50BD4D4F5EABEC030C fileRef D6CAB0FB01014174B714F78B isa PBXBuildFile 97639969B68B460682E492EE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetContactsPhotos.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m sourceTree <group> 97CBCE7E3FA849C9A973C982 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUConcurrentOperation.h path Classes/DevedUpKit/FKDUConcurrentOperation.h sourceTree <group> 97DDEFDF99144D059A746B35 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesResolvePlaceURL.m path Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m sourceTree <group> 983138AC6C6043AA91A88B10 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsRemovePhoto.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.m sourceTree <group> 9851ABEC4708483DB6F41269 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosPeopleDeleteCoords.m path Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.m sourceTree <group> 98A30DF46FCE4E62B0D21EA4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotoReferrers.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.h sourceTree <group> 98BF8C902C654E308E85221C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesGetList.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.m sourceTree <group> 995C594F88BD47E891F25994 fileRef 31EB977B04F34B4A832A6B1E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 997861159A584CCAB4BE4C34 fileRef A68E27DB4B5F4FDB9DB65958 isa PBXBuildFile 99CC26E6CED84878A17279B8 attributes LastUpgradeCheck 0510 buildConfigurationList F9D634D1465D4DF4AEEC5697 compatibilityVersion Xcode 3.2 developmentRegion English hasScannedForEncodings 0 isa PBXProject knownRegions en mainGroup 58399F4D95FA45BDB108EEAB productRefGroup 6CDE68A4C0AE400FA51EFF50 projectDirPath projectReferences projectRoot targets 432590842CC541BEA2C5F3B6 BCD5DF8710C248BBA0378911 5E052698215B41498BAF5177 99DDB538947E44A782BDA1DC fileRef F87E306400EF485B903194BC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 9A44BD82B9DF43A090CC973F fileRef ECBFCBB4BAE1479F9480EB01 isa PBXBuildFile 9A719A024E594773AE120053 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrBlogsGetList.h path Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.h sourceTree <group> 9A8602CF871345F6BD5FE89A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussRepliesEdit.h path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.h sourceTree <group> 9AA71C20E03F43D2A205072F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPushGetSubscriptions.h path Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.h sourceTree <group> 9AC576FCBB6E4CB9BEF9A3B0 fileRef 5A42D9C987404659AB132862 isa PBXBuildFile 9AD2B366A8DC4A8C91D7AFA0 fileRef 58D0A1FBC0CF4C2B905824D1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 9BACADBC35204AFFAB604C79 fileRef 0DD1B4B5D0C64E059E987B29 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 9BBD3E0D7A814CDABE31712E fileRef 8A7FD72AAB884A069469D78F isa PBXBuildFile 9BC66C11AD0B4C8EB5D5AB1F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesPlacesForTags.h path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h sourceTree <group> 9BFD0FFC0CA24E1C9859C6A9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsGetInfo.h path Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.h sourceTree <group> 9C06BF9CA400466AAF9075CE fileRef F9295B6E7718410EAB07F520 isa PBXBuildFile 9C07964EB3FE49678A278016 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUDiskCache.h path Classes/DevedUpKit/FKDUDiskCache.h sourceTree <group> 9C5907133DA24374A07852AD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKURLBuilder.h path Classes/Network/FKURLBuilder.h sourceTree <group> 9D49C20F46D548889827D29A fileRef CD9078DA9741445E859C4F68 isa PBXBuildFile 9DBAAF216F2B453FB47C2FFD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrReflectionGetMethodInfo.h path Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.h sourceTree <group> 9DE31A3545C940BBAC17316D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesResolvePlaceId.m path Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.m sourceTree <group> 9DE5AC5A42C8453D8FFE52E8 fileRef B6A016112BC140109193DA0C isa PBXBuildFile 9E134840251343AFB896D76A fileRef 1182789CFE8A4E2DA968EB93 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 9EBB2803525A42A09357BC64 fileRef A98B9683B2594A32AF2C19C1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc 9EDA43C94B164543B1C5095D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosCommentsAddComment.m path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.m sourceTree <group> 9F221E03B59A413B9F011A98 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotosetDomains.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.h sourceTree <group> 9F42BFAC88BE4659803D6EB5 fileRef 81B832D1599F403B9EE72437 isa PBXBuildFile 9FCCBF155A8E488D8E3F2ED4 fileRef 1A0F33F81BF240BAB66C006A isa PBXBuildFile 9FFCB5823BBC4E5B8117B7BA fileRef 24F0F5E9E97A440CA2148DAD isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A04E8233154A4C69BBE984EB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosUploadCheckTickets.h path Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.h sourceTree <group> A0C82015CD714F8DABE894B7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsLeave.h path Classes/Model/Generated/Groups/FKFlickrGroupsLeave.h sourceTree <group> A10467CE68C34ED88C8B675B fileRef D04E87861E0F4E4B8D551C0E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 A106D662FC2647D4ADBB13A9 fileRef 8E3C7892552E4C499A3E1ABB isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A10F157328574874BBF7C7C1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsSearch.m path Classes/Model/Generated/Groups/FKFlickrGroupsSearch.m sourceTree <group> A1120952DD4544D8A776A16F fileRef 222DC2789BE84BFD93979BBF isa PBXBuildFile A14668206AF744AA91DF4EC1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKImageUploadNetworkOperation.h path Classes/Network/FKImageUploadNetworkOperation.h sourceTree <group> A1F9F6BE977741DAA5C94BD2 fileRef 1EA26A9DC0A341AA9D6DA50C isa PBXBuildFile A27DD1D3525F425A8858CEA8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetUploadStatus.m path Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.m sourceTree <group> A2972A9C6F4B453BB5489567 fileRef A8259279C7404291ABA58B3A isa PBXBuildFile A2AEDC2F167C4EBCB627ACD3 containerPortal 99CC26E6CED84878A17279B8 isa PBXContainerItemProxy proxyType 1 remoteGlobalIDString 5E052698215B41498BAF5177 remoteInfo Pods-SDWebImage A349D7B09B2445519359B1C1 fileRef 3BE6E45464354AF99BCD9AA7 isa PBXBuildFile A3547A688E5D4688A5FFB190 fileRef 4AA2B8CBFC7C416886A16BB9 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A3A3860D4ED1429DA22F496D fileRef 59DEF03186164B198E013C5F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A3CEF35C3DAE4520A109FAB9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsCommentsAddComment.m path Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.m sourceTree <group> A487AC782ED242ED96F84BFD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetGroups.h path Classes/Model/Generated/People/FKFlickrPeopleGetGroups.h sourceTree <group> A54383A460DE465FBA1C80AF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosRemoveTag.m path Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.m sourceTree <group> A54C9B49951244B9A6F564DD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesGetChildrenWithPhotosPublic.h path Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.h sourceTree <group> A5F30428A46046A1AE04CC6A fileRef 2C9FBC7D1CF1460890D55CBC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A61470DD1ECD4D23A1459F5A fileRef 2108906C5EB842638DC38356 isa PBXBuildFile A61CDF763FE54D9190877E79 fileRef CDD11CBDB5854B469B83DF1F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A6501D70C5CE47A9B491B843 fileRef 293B76CB125F4BA4A14BB6AA isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 A6523D9880EA40F589046C30 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrMachinetagsGetPredicates.h path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.h sourceTree <group> A68E27DB4B5F4FDB9DB65958 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleFindByEmail.h path Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h sourceTree <group> A71E711D749641CEA49B8AE9 fileRef 208D13DBC18448DE90819D6E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A76928A1FF8D4C4A960E7371 fileRef 3C2A879856C94000A4E289ED isa PBXBuildFile A7EAFC09DA5C41E6A8A6B82B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSuggestionsSuggestLocation.h path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.h sourceTree <group> A8259279C7404291ABA58B3A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesGetInfo.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.h sourceTree <group> A89695ACD71C4A4A8B0E7E7A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImageManager.h path SDWebImage/SDWebImageManager.h sourceTree <group> A89792CC0D55466CA2FFD78E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrFavoritesAdd.m path Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.m sourceTree <group> A89D8922E85D4CE4B034EF95 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotostreamStats.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.h sourceTree <group> A9250FDC898042778B9309AC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrBlogsGetList.m path Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.m sourceTree <group> A978E31AB54B4F9C8C7B4C6A fileRef 5FA29D0DE9FC48B188287442 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc A98A1FBE957D4805A9393D74 fileRef 94D6A4769F234E8AAAA94341 isa PBXBuildFile A98B9683B2594A32AF2C19C1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsPoolsGetContext.m path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.m sourceTree <group> A9D3F43ACB364472A3891833 fileRef 079B0C41A2FC4C6F91996EF2 isa PBXBuildFile AA2737166D854852838F36AE fileRef 46E898B7960247A2ACD3A01D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AA4A63042BA54318ABF164E3 fileRef 43AAD065A08647769B7B9700 isa PBXBuildFile AA562481DE344EE2AE999F2E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUStreamUtil.m path Classes/DevedUpKit/FKDUStreamUtil.m sourceTree <group> AA833D3AA94447EAA620D717 fileRef 6589A0FE66614E119426557F isa PBXBuildFile AAD2E5975776470A9C154BDF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKUploadRespone.h path Classes/Network/FKUploadRespone.h sourceTree <group> AAD2F34CAFCD48B097430209 baseConfigurationReference 453EC530711B4B2EBED234BB buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP NO DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 GCC_DYNAMIC_NO_PIC NO GCC_OPTIMIZATION_LEVEL 0 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER Pods-SDWebImage-prefix.pch GCC_PREPROCESSOR_DEFINITIONS DEBUG=1 $(inherited) GCC_SYMBOLS_PRIVATE_EXTERN NO GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 OTHER_LDFLAGS PRODUCT_NAME $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH $(TARGET_NAME) SDKROOT iphoneos SKIP_INSTALL YES isa XCBuildConfiguration name Debug AAD34CA21F994071B2E75E23 fileRef 5A48572F17EC4AF78305750E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AB0295409A8C4B749E3B6821 fileRef 8D4BD0D5E4F543209F631641 isa PBXBuildFile AB9059B826E34792BD177EDA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsPoolsRemove.h path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h sourceTree <group> ABB546C3B18C46E78E2D3FB7 fileRef 1CFB26A3E3DD4189BE144A36 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AC3862CAB265493B982FE3C1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPushGetTopics.m path Classes/Model/Generated/Push/FKFlickrPushGetTopics.m sourceTree <group> ACF2DEA11A4D4A569A3C7B0A fileRef 768AC02064B54887992718DF isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AD465702CE014CDF8ECD2FB7 fileRef DD92F7ADCF2C40289DF284F7 isa PBXBuildFile AD532CA76EA54739B4E44453 fileRef 6F4B5CA79A4D4946AAA96717 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AD684329D2BE48C899E577CB fileRef B1CAB8CE783C41119E177196 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AD81D9F20A304E01889B4B5A fileRef 4F8CD6C2CC394649BBF6E2EB isa PBXBuildFile AD8FED97D624427B9860AFE4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name UIImageView+WebCache.h path SDWebImage/UIImageView+WebCache.h sourceTree <group> ADB00E62A58A42FF92B433A5 fileRef 88534736D4DD4BB3BAC5239B isa PBXBuildFile ADBD3FEAA1A141ADB0939671 fileRef 5FB3F4F8AE5C41349EBF275C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc ADFED37C4B084CD4B2745246 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTestNull.m path Classes/Model/Generated/Test/FKFlickrTestNull.m sourceTree <group> AE6481D2C3694980B7070DDF fileRef 12310D52F43A4912807CB420 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AE8E4FA7820F43938B0A16D1 fileRef B07B5E48845140369C47C854 isa PBXBuildFile AEB4842B063D441791184953 fileRef EBD7F3B52BF241F88A516D3F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc AF8E5C5E7893434399ED575A fileRef 193B6A40344847C1B046C7D5 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc B047761B6705422CBC88CA64 fileRef 693AB0745464428586323F94 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc B04BBF003ED1431CA1E17B9E children 5F9C333BD5A94B59AA8B2F2A 7B70EE12BEC7402FBC514743 BEB3632DFBEA4833847DD869 6D01DCEB92DD46958BF760B4 isa PBXGroup name Support Files sourceTree SOURCE_ROOT B07B5E48845140369C47C854 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotostreamReferrers.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.h sourceTree <group> B099771FE2424DE4AAABEA8B fileRef 135EAEC9CA6D47F9A3B7FF8D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc B0A8604E3E83488CA17D2AEF fileRef CD5629049B174F1599B309C4 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc B0ECC99CCCE043C98AC8D97D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc path Pods-SDWebImage-dummy.m sourceTree <group> B0F05E5764B746248A14ADBE fileRef 27434A6A44B44CF096C2291A isa PBXBuildFile B0F30A0D36174A4E9658604D fileRef 7B7F2418C513441890640E7F isa PBXBuildFile B135B24391C54E7F836EC77B fileRef 9A719A024E594773AE120053 isa PBXBuildFile B18D3F132D3348E99EA49F7F isa PBXTargetDependency target 5E052698215B41498BAF5177 targetProxy A2AEDC2F167C4EBCB627ACD3 B1C0EFE96F364B46A12D05C1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPrefsGetPrivacy.h path Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.h sourceTree <group> B1C799C6543F4BFAA965B35A buildActionMask 2147483647 files F01A47E2DE1B480DBA1C4B45 isa PBXSourcesBuildPhase runOnlyForDeploymentPostprocessing 0 B1CAB8CE783C41119E177196 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrUrlsGetUserProfile.m path Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.m sourceTree <group> B243E12EAF3B4A7DB6C329FA includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesCreate.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.m sourceTree <group> B25609F786994C6A83BCC2EB fileRef 28A4BB4B503C4A5CBEEE3B75 isa PBXBuildFile B275F31C2BD54A38B57B21F2 fileRef 1FE6249EC36D46B197B0AF23 isa PBXBuildFile B2E2044D905E472E9A3FF3D6 fileRef 6FCD606F26244ECDBA89CAA9 isa PBXBuildFile B2F2D6DE2643451E8CE7512E buildActionMask 2147483647 files F47DB750D86B4A8284365551 C97D77463E8E4FB8B3092E84 2A1B6CC5946540A6BA0DE821 582576D9E5A84634AE7F04AE 89D8207AE22E4AA4A88A94D5 60B82F25EB7C443B815549A5 A9D3F43ACB364472A3891833 E766CBBA1B0242B4AEA40BF9 20A4541B41224D4AA93AAE98 A61470DD1ECD4D23A1459F5A 77F968FDE5254436A704525E 975E3E50BD4D4F5EABEC030C 0BF519FD909247EDB64DABED 1B8232C5ADB34145BB299074 0623CE26AA7A428CB3E929E0 6499A3DE4F8142BBA47CBCFD 3BFC776005EA49D3B4B284E8 20BE0AB0B3F04932A731FBF2 E9E0BC335E4848028637702C B135B24391C54E7F836EC77B 36D82B7398A94A78BAEC16AD F237DA4ABDA54E2BB8C957D9 24C8C162F89E470F81ECD52F C4C09F80AB5A440A87C92C27 CF8330656C7C4E17888AE665 0C69CC464A58414FBD627950 EA581E99EF94497EA8985296 8880B3A42E3846FEB1565649 9A44BD82B9DF43A090CC973F B3D555C9F5FC42F9804A3201 C140C3F20D844D758E726C68 38A28D917E8D47929AC0941D 563F8F363FE4492B997FBD8E AA4A63042BA54318ABF164E3 29EA4DA87CC643D792DE11F7 B0F05E5764B746248A14ADBE 8EAAF19D9C4844B8BED63824 FE2A456EAF064DB4A1E0999D 601AE00C9F1747CA85F6984E 5CCDE52CF9B549EEB9739C5E 8A9A431DDE0743B29C3389C8 A2972A9C6F4B453BB5489567 D4C9557188C34C3AA2581FBC DAFEBF3E44A94661B4B9B920 EE83A34647B34F24B021F712 92396708BD384C7FB84A5196 C3DFF847C09D4AB38F568E59 D349DC8E7E724DD386139DD0 764A260129DB4B919CD0D290 F6D5A85D5CD4465FAADD619E AA833D3AA94447EAA620D717 16BE4689B3044F3C911B806E FF6610AFBF0B4221968EC450 9DE5AC5A42C8453D8FFE52E8 0B09DDEAC952424BB31ECC84 D4A8AD090CCC42EC949C1193 7397A4B5386742168526ABC5 E2F1B021C61E443C951C587E B944F5AD3974412ABDE67C1D 9BBD3E0D7A814CDABE31712E C2B1521EFECA4069BC607DFC 2FB45BFEBCB040F4A5E348BA 3FC73A0353814E5AA4E29064 D50EBB25DDF646819BCA6ECA 1CBEBE00D88A4C17BB3B19C0 92E7D79316794CF9A8F896DC 02B1BE62CAD048C4A0BB7660 F19C6B93483049068F4427EE 234479FFFF474F5DB72F0E9E D151CF13B1B848BD82D0A619 7AC4A458AC10406082AEAACC A98A1FBE957D4805A9393D74 D9734F5F28D74BA0830F0C95 CB28E1238DBE451192037250 997861159A584CCAB4BE4C34 60F18A9151744D248A04CB4A 3EF9E7E64C2547C3A894BB8B 691C7C857D1E4C8F8014549F 66A312E481E14F6AA98E863F 47BC3BECAFC64826A7092F18 A76928A1FF8D4C4A960E7371 EAC0FF9D904D46ED8CE1819E BE56D946CE9149FB8EF9F777 9439EFFA5B59451C932739B5 64BC184AB21D4E48A5D65BB6 217183861A3C431D9F3D96F5 C4D50B5FC40644CD9F77CCD4 8825AB1864C34CEFB20CE523 87FF8290596A4FE484B1DB44 663E3884D7E146F284DE48A4 AB0295409A8C4B749E3B6821 FB9CD78FCFEC41579EE99EC5 D859C018485347B09F075371 EC83E0FE241E4603B0D64700 A1F9F6BE977741DAA5C94BD2 1B88674BFBC64CA5BFC1C9C8 6C0597CA4C77422B8EC8E7D3 F71A447BC60746E887A713E2 C1C05F04324B451E8814604A 49799B4C36A14656980430B1 2D9A736B1870430697E310AE 465207EE319F438596EFEADD CC6CD1BB0A7640E5B1F24550 E4ACF5ACD1104CB0993854A8 C7B0BF04F3BF498AA61C5FDA 7934D67D64394B6482ED1A76 E1F1E648ECBE41228AFBE05B 3D9515A723D642BFA2B9449E 6CEB68DB38B049D59099E7A5 7E21C0260E45480FBCA8E43C 74A2B6CEFC054F12A05A87E4 7BAF726AD3B749A3A9E4E2CC 00763197FCD245948942307C F2B9EB0A4037481DA38E16F8 1BD83A548CDC4070B7CEAC20 4C4E5BA4DC6546408477093B 4EF6EE3F4B7B4EABA093A391 5F32548896844B6CAC43A870 80DFFF281D434FA291731807 8697101858574283A3B185D4 B0F30A0D36174A4E9658604D 015BB74A58F84032AACF1296 6D402D1A3AB347759194B690 0987510B098F41C8A5DE04E4 809555DA2AD4408EBF859781 847D2D79B91D4EC4B355A40A 57DC17020CA64CD6ABE6F0F2 D9BDFE4A15C7416B878A622E 3D5A9DC6EA044C49AD4789DA BBB96B8D0403404986DA71D2 6204E8AED88346F3A3C05471 1A3AD330B14444C6B03C5C20 B2E2044D905E472E9A3FF3D6 24B3718D479349AEA7880BC7 4E0164C690804F61A6530BA9 7EBBC0AE749949E68A46CE2A 1056691FAF364B059EA7C2C3 E72842BAE1224DBD8C853FEB 10D3A390E8644E3F8FB3ED13 3A65118365C04239BCCCADCC 2D747EBA4FD74DDDBB2ACF18 EACD3780EB614DC2B824A153 0D16F20674084D9093EF29C6 9AC576FCBB6E4CB9BEF9A3B0 531D6A96E2384378936EEEB1 EDE518C906804E3BABB54AD4 B655B34B35DF43BA9F890542 BE38470A226A43B49CD04178 627B61C4CC734C61A26F6952 05F721F2B0B94FE1B7523AFA 7809DCC0055947BA84221EDC 88637C7C4EF449F6AEAE518B 9FCCBF155A8E488D8E3F2ED4 E7A14A00A09B428B8B37E6DA D589D9ABF82C4936A49C1742 F5D2AFD288D544C08F3244D1 C187736CADE04AEC9D13552B 1C676A96D6A840F59182CF65 12A289770E6F45D490C9AB29 05830015C71E4FE98A3583C8 DA70A0196FC34489AF889279 13CC47FF9E6540C19D57BF65 E0C30DEF7B824B6EBCF73111 22D6386BC60D4F79BA2A1322 380C583C017847A88A7AF7BF 0665C52D2E28470690CDD90A 29326B5838494053AF74A554 B25609F786994C6A83BCC2EB 4EE9224C24C3455A9DC0F5E2 199B45DF76B6459D94F8B1DF 69E8764C9929402B9918EDCF 5B94EE4B5B974412A8421FEB 71E498BDBA794B47828BE54A 9F42BFAC88BE4659803D6EB5 53E7C0D3D91648B2BDF6F8D2 B275F31C2BD54A38B57B21F2 D1B1EB59FFBB491FB733F90C 96394F9A599B449FAF122BC7 E354D22C261F44D1A8C3E1DA 5379E07B46C04DF989F97814 F4881975CA2F45C8AB04D382 77AA5D5D2E8A4F998A8343C5 283B3501BD93476D857AE99C 737D71D54F2D474CAE4C5A45 7D6D30FE764E4944B7519AE7 B48A366617344323A1EAFF59 1E263BBE3CED46C1AF812D40 EA21E69DFC8B4791A53FDA65 B449642BF1544E9792268E4A 7E71D89CF36E45F097C97B44 4CACAE98D0F94459B6313B07 F75D3522318E4643A87F69D3 F6981DFD98A74D25B8A838D3 7035FDA41A6C4AAFB7250205 CC72DA79D6CC4D3D9C685F8C 25BD11EB09F24AA588E1BBAF AE8E4FA7820F43938B0A16D1 317D801D0B4C455FA3B2ED1C 17E814FCE0EE4482A6C9C83E CA36DAB508E9443A8B9375D2 C76ADFDF36814987BB21D2EE 717547EAA3094EC38E4B3D44 F51F0BC63B6D4EBC838F69DD 1DC38C8C89FB407E95CBE04C D12F81D1E78E4923BD5F940F 7CBB3FEF03E14F029B2115B3 4C6F5FD66B164771BD7282F2 77BAD8F9F3864A068CF55DC5 5005C2769E4A4908A9FA2EE9 1DAAB03EFCCC4C11A876A6BA 1CA9D616C21142A3A7821FE5 9C06BF9CA400466AAF9075CE 9D49C20F46D548889827D29A 4F6C9C425BEB45FE8C8BC5A9 A1120952DD4544D8A776A16F 24F0585C991B47249A1F748A C8E7FACE48A64EBEA89AFF65 A349D7B09B2445519359B1C1 D4D9E190B5AC4AA4A240B533 ADB00E62A58A42FF92B433A5 3D1A5F65ED2E4E598DE509E0 CCAAD27CC2B1480C9DF94818 CBE7AC8B2B1A4CB2B696B805 AD465702CE014CDF8ECD2FB7 812B9F80A0B947E096260F24 isa PBXHeadersBuildPhase runOnlyForDeploymentPostprocessing 0 B3A2E56A504549BC9624E877 buildActionMask 2147483647 files 56B0B38A0B9E4B79B5696BA7 BD5AED58E8474B5DB0785F69 AD81D9F20A304E01889B4B5A isa PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 B3D555C9F5FC42F9804A3201 fileRef 875348AA52D0482184255CA6 isa PBXBuildFile B449642BF1544E9792268E4A fileRef 67C1196EEBCF495D8BED1412 isa PBXBuildFile B48A366617344323A1EAFF59 fileRef DCB309B2ADBF43E08C71CBFC isa PBXBuildFile B48C3C8BD3BD4EC591A517F3 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSetPerms.m path Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m sourceTree <group> B4A43AE15D3049FCB5D6C617 baseConfigurationReference 7B70EE12BEC7402FBC514743 buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP NO DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 GCC_DYNAMIC_NO_PIC NO GCC_OPTIMIZATION_LEVEL 0 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER Pods-FlickrKit-prefix.pch GCC_PREPROCESSOR_DEFINITIONS DEBUG=1 $(inherited) GCC_SYMBOLS_PRIVATE_EXTERN NO GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 OTHER_LDFLAGS PRODUCT_NAME $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH $(TARGET_NAME) SDKROOT iphoneos SKIP_INSTALL YES isa XCBuildConfiguration name Debug B4B93EDA01BB4CE5BFEAEF30 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoSetLocation.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.h sourceTree <group> B4E87E1973E5498AB0D5574E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetPhotos.h path Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.h sourceTree <group> B5D344FED5634EB9896DE887 fileRef ECDB0222266B41849DD00B2B isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc B655B34B35DF43BA9F890542 fileRef E34D648E9494420EAB19D78B isa PBXBuildFile B67AB4AB69324CD0AF1397CB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrCollectionsGetTree.m path Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.m sourceTree <group> B6A016112BC140109193DA0C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussTopicsGetList.h path Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.h sourceTree <group> B6EC37897308495B9E4B4D2C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrTestEcho.m path Classes/Model/Generated/Test/FKFlickrTestEcho.m sourceTree <group> B702CC35169843DCB8F1F688 includeInIndex 1 isa PBXFileReference lastKnownFileType text.script.sh path Pods-resources.sh sourceTree <group> B716C6F025274582BBEE196D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUDefaultDiskCache.h path Classes/DevedUpKit/FKDUDefaultDiskCache.h sourceTree <group> B71E5CB7DFC44E4B8EBAD033 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetPublicPhotos.h path Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.h sourceTree <group> B747A38D41C54A10AE1DD5DC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosCommentsGetList.h path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.h sourceTree <group> B78BF4B82F7A41F68FCDFFD6 baseConfigurationReference 453EC530711B4B2EBED234BB buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP YES DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER Pods-SDWebImage-prefix.pch GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 OTHER_CFLAGS -DNS_BLOCK_ASSERTIONS=1 $(inherited) OTHER_CPLUSPLUSFLAGS -DNS_BLOCK_ASSERTIONS=1 $(inherited) OTHER_LDFLAGS PRODUCT_NAME $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH $(TARGET_NAME) SDKROOT iphoneos SKIP_INSTALL YES VALIDATE_PRODUCT YES isa XCBuildConfiguration name Release B86BF6D6340E4C8CBA47335B fileRef 2C5FC6307850430799D2F2F8 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc B8789EFAABF74A9F9EDE6F7F baseConfigurationReference 7B70EE12BEC7402FBC514743 buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP YES DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER Pods-FlickrKit-prefix.pch GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 OTHER_CFLAGS -DNS_BLOCK_ASSERTIONS=1 $(inherited) OTHER_CPLUSPLUSFLAGS -DNS_BLOCK_ASSERTIONS=1 $(inherited) OTHER_LDFLAGS PRODUCT_NAME $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH $(TARGET_NAME) SDKROOT iphoneos SKIP_INSTALL YES VALIDATE_PRODUCT YES isa XCBuildConfiguration name Release B9237E6DECBC45109391F7F0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoCorrectLocation.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.m sourceTree <group> B92B997140EB4F199F1A67CB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDWebImageDownloaderOperation.m path SDWebImage/SDWebImageDownloaderOperation.m sourceTree <group> B944F5AD3974412ABDE67C1D fileRef 79A5353DF214448A96A7AF17 isa PBXBuildFile B9C7939D9EF34F33AEFFF7D8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name UIImage+GIF.m path SDWebImage/UIImage+GIF.m sourceTree <group> BA70CBE630C6414DAA5DA102 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSuggestionsSuggestLocation.m path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.m sourceTree <group> BA9ABCDD7D474A858061E91D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUConcurrentOperation.m path Classes/DevedUpKit/FKDUConcurrentOperation.m sourceTree <group> BAFFFD63DD2A4BB2BF93BCAF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoRemoveLocation.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.m sourceTree <group> BB27BABC79304D78B790022E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesGetPhotos.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m sourceTree <group> BB6870B32B064852BAFE1C9B fileRef B48C3C8BD3BD4EC591A517F3 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BB851C0B9707406DA4319A91 includeInIndex 1 isa PBXFileReference lastKnownFileType text name Podfile path ../Podfile sourceTree SOURCE_ROOT xcLanguageSpecificationIdentifier xcode.lang.ruby BBADCB3137044170AFF2BEA0 fileRef E107F11DDBA441D88B2FAF1F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BBB96B8D0403404986DA71D2 fileRef 61760C88F0CB484FA066CBF9 isa PBXBuildFile BBC91291A7E04B7D99E75A9F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrBlogsPostPhoto.m path Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.m sourceTree <group> BBCDD58D6BE0431EA8A6B64A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name UIButton+WebCache.h path SDWebImage/UIButton+WebCache.h sourceTree <group> BC2BD45BF0BE430787EE7963 explicitFileType archive.ar includeInIndex 0 isa PBXFileReference path libPods.a sourceTree BUILT_PRODUCTS_DIR BC386C940AE04D08AD2DC9D5 fileRef 2B0C9B1007F349608D616BFC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BC6763C414D8475DB9150FF0 fileRef F256F4D471AC41239BA60F0A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BCCEAD42F77F4643B30783DB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTestEcho.h path Classes/Model/Generated/Test/FKFlickrTestEcho.h sourceTree <group> BCD5DF8710C248BBA0378911 buildConfigurationList FF245B0A5CF447478FDDF756 buildPhases E5AAC3AB7EF14A5383A095D4 746A42C4172A4362B5558C98 B2F2D6DE2643451E8CE7512E buildRules dependencies isa PBXNativeTarget name Pods-FlickrKit productName Pods-FlickrKit productReference 3D295D87A0684F6CA3A76730 productType com.apple.product-type.library.static BCED3310CE49427BA83CAFF9 fileRef C5FA4CD56C964838BAE34AD9 isa PBXBuildFile BD5AED58E8474B5DB0785F69 fileRef 3D295D87A0684F6CA3A76730 isa PBXBuildFile BE38470A226A43B49CD04178 fileRef 94D58C5A98004794B23A8625 isa PBXBuildFile BE56D946CE9149FB8EF9F777 fileRef B71E5CB7DFC44E4B8EBAD033 isa PBXBuildFile BE6DBA67D7EA476E88BC4A4C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name UIImage+GIF.h path SDWebImage/UIImage+GIF.h sourceTree <group> BEB3632DFBEA4833847DD869 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc path Pods-FlickrKit-dummy.m sourceTree <group> BF38E4FB4B8541CE835A3DA6 fileRef 8311DFEE8BCB4CB4A77511E1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BF3A106D1D7A447EA2AE8B14 fileRef 0B9BE73C21F34C63A1FAB860 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BF4AEF185B5242AFBB5AC55F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrActivityUserPhotos.h path Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.h sourceTree <group> BF5B0931A50C4EF89DE9C4F3 fileRef 5CA52C2F3F5C4DBFBDCA243C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc BFF369C8415548568BCACBE0 fileRef 94A75C82ED5D4AF5AA025883 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 C13B3FBE13E64045B1B60570 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetCounts.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.m sourceTree <group> C140C3F20D844D758E726C68 fileRef 87AA9DAB2E87402E9E6394D5 isa PBXBuildFile C187736CADE04AEC9D13552B fileRef 06E7AB66B3EE4D2DB9780328 isa PBXBuildFile C1B99B077F164E87B4214D2E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSetTags.m path Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.m sourceTree <group> C1C05F04324B451E8814604A fileRef B4B93EDA01BB4CE5BFEAEF30 isa PBXBuildFile C1E100D86B7A4915846D28AB fileRef 8D3789C456CF497A8C004041 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc C284D611B50D48F38BF5C94E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrCamerasGetBrandModels.h path Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.h sourceTree <group> C2A6D33B17A64CB4BAAA21F7 fileRef B0ECC99CCCE043C98AC8D97D isa PBXBuildFile C2B1521EFECA4069BC607DFC fileRef FA95F9C403D04CA495ECEF94 isa PBXBuildFile C2B31F02E2BC4126ACD2ABF3 fileRef 6D7E995B7A824783B2165E68 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc C351E382AEAA46B9AADAA757 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrCollectionsGetInfo.h path Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.h sourceTree <group> C3573570FDAD47318B4F4EC7 fileRef 4F9AE7F50DCE4F1CA5C3DBCE isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc C3DFF847C09D4AB38F568E59 fileRef DA36C0B1C0394BF9A7C94199 isa PBXBuildFile C45F3165A229404280713B6E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesEditPhoto.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.h sourceTree <group> C488D580CBB548F7B3A16620 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrAuthGetFullToken.m path Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.m sourceTree <group> C4B132CB7A0B4710BFB87DC9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTestLogin.h path Classes/Model/Generated/Test/FKFlickrTestLogin.h sourceTree <group> C4C09F80AB5A440A87C92C27 fileRef 580FE294DA174FC4AA2CCDE7 isa PBXBuildFile C4D50B5FC40644CD9F77CCD4 fileRef 8D21EC17B91346DB8256C7CD isa PBXBuildFile C4F8163A27494986B13928DD fileRef BA70CBE630C6414DAA5DA102 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc C5C1E940AA9642429132039F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoBatchCorrectLocation.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.h sourceTree <group> C5F77816003D49A48AAC01F2 fileRef F79540022307471AB761F580 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc C5FA4CD56C964838BAE34AD9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDImageCache.h path SDWebImage/SDImageCache.h sourceTree <group> C63F1A1F423F4C6197E344D1 fileRef EA92CF0461404981B595ED9C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc C6F285D5958E44D4B17B2CFE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetPerms.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.m sourceTree <group> C700FB6CB60745828D1A4217 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAPIMethod.h path Classes/Model/FKFlickrAPIMethod.h sourceTree <group> C76ADFDF36814987BB21D2EE fileRef 7BC7AD3CA75A4C2BBA185E32 isa PBXBuildFile C7B0BF04F3BF498AA61C5FDA fileRef E12B0B4B7D40480DAD1CD546 isa PBXBuildFile C7CB18D53D1D4ECF957EB741 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosRecentlyUpdated.m path Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m sourceTree <group> C7D07CA594C145088F11CCF4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAuthGetFrob.h path Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.h sourceTree <group> C868894FB0D948BAB9DAE0F3 baseConfigurationReference E317344E6C4441969370DC54 buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP YES DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 OTHER_CFLAGS -DNS_BLOCK_ASSERTIONS=1 $(inherited) OTHER_CPLUSPLUSFLAGS -DNS_BLOCK_ASSERTIONS=1 $(inherited) OTHER_LDFLAGS PRODUCT_NAME $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH $(TARGET_NAME) SDKROOT iphoneos SKIP_INSTALL YES VALIDATE_PRODUCT YES isa XCBuildConfiguration name Release C880C31660604EE48D6DDC10 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPrefsGetSafetyLevel.h path Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.h sourceTree <group> C8E2BCEDA0EC47A49B87906E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleGetUploadStatus.h path Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h sourceTree <group> C8E7FACE48A64EBEA89AFF65 fileRef 44BEFEC75D394236B85EA712 isa PBXBuildFile C97D77463E8E4FB8B3092E84 fileRef 7F6415A59CE348DC9C6BE453 isa PBXBuildFile CA36DAB508E9443A8B9375D2 fileRef 8DF0B48E478246809F687F37 isa PBXBuildFile CAA59717A7EB485DAD509B18 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesFind.m path Classes/Model/Generated/Places/FKFlickrPlacesFind.m sourceTree <group> CB28E1238DBE451192037250 fileRef FF3214D87A134EF59636936A isa PBXBuildFile CB9AE49E9AF84591B28991D8 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsGetContext.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.h sourceTree <group> CBAB125716EF4CE6A549779D fileRef 0C058DB8496241B783371814 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc CBAEE555B49646A48629AC8A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosCommentsGetRecentForContacts.m path Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m sourceTree <group> CBB0C96C4C014C0ABE38E6A8 fileRef 925B603C8DEC40F180AB76E5 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc CBE7AC8B2B1A4CB2B696B805 fileRef AAD2E5975776470A9C154BDF isa PBXBuildFile CC274ECE3DA94FB2A21013D8 fileRef D25C416548054E928D632B9A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc CC2B9CFF84204F7CBA1DA781 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPushGetSubscriptions.m path Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.m sourceTree <group> CC48CFEDB0994057B8A82C90 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSearch.h path Classes/Model/Generated/Photos/FKFlickrPhotosSearch.h sourceTree <group> CC6CD1BB0A7640E5B1F24550 fileRef FF564090F91343AE9BE0D42D isa PBXBuildFile CC72DA79D6CC4D3D9C685F8C fileRef 6A688907D0B0429292CCEF01 isa PBXBuildFile CCAAD27CC2B1480C9DF94818 fileRef 9C5907133DA24374A07852AD isa PBXBuildFile CD3118E6AC754994A11872EE includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosLicensesSetLicense.m path Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.m sourceTree <group> CD4C09E5CB3B4FC181022618 containerPortal 99CC26E6CED84878A17279B8 isa PBXContainerItemProxy proxyType 1 remoteGlobalIDString BCD5DF8710C248BBA0378911 remoteInfo Pods-FlickrKit CD5629049B174F1599B309C4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetInfo.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.m sourceTree <group> CD56D5A50B9D47FB86524F17 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesGetInfoByUrl.h path Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.h sourceTree <group> CD9078DA9741445E859C4F68 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrUrlsGetGroup.h path Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.h sourceTree <group> CDD11CBDB5854B469B83DF1F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKReachability.m path Classes/Network/Reachability/FKReachability.m sourceTree <group> CDD3B07FB0114BF8A96110B0 fileRef 403E44828F274EDE94E7B4AC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc CDFD1C2766A647EFB08A642E fileRef 3D62AD33A0D243ECA4F4D870 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc CE5C33B7B56A44DBBB9E6D70 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrUrlsGetGroup.m path Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.m sourceTree <group> CF6F6F8A96224B9798458FBB isa PBXTargetDependency target BCD5DF8710C248BBA0378911 targetProxy CD4C09E5CB3B4FC181022618 CF8330656C7C4E17888AE665 fileRef C351E382AEAA46B9AADAA757 isa PBXBuildFile CF85E4181F4E4B6E92CBF2F3 fileRef F02FDB1CCD7D4D9A84AD2E5F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc CFA0C70D7B8F43AE899B0210 fileRef 54BB0E46EB924EFC9B7E1098 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D04E87861E0F4E4B8D551C0E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name UIButton+WebCache.m path SDWebImage/UIButton+WebCache.m sourceTree <group> D106FCECF15944198B6E5764 fileRef DB9B995EB93042AFA8478D6C isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc -DOS_OBJECT_USE_OBJC=0 D10F83FC8E274AFC81721114 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoGetLocation.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.h sourceTree <group> D12F81D1E78E4923BD5F940F fileRef 41B8A0A6A0B540DDBAB826E0 isa PBXBuildFile D151CF13B1B848BD82D0A619 fileRef 83991EF75B814F078B361938 isa PBXBuildFile D16892F3A76547F9A88B38B6 fileRef 2462C1A4B22140BEBF329B50 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D16E805A7B9B4358BADBC86F fileRef 891A96CF457A44B2BEB430B6 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D1A5BE63D1E547E7B4A7E7F6 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrReflectionGetMethods.h path Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.h sourceTree <group> D1B1EB59FFBB491FB733F90C fileRef 4E8ED6E88FA641878D1A3D64 isa PBXBuildFile D1F10C0E55BA454E94EBA8C3 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesEditPhotos.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.h sourceTree <group> D21DD63A0CE74E7A8A1BAD0A fileRef 8F39838F762B4AD29FB1478A isa PBXBuildFile D25C416548054E928D632B9A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetGroups.m path Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m sourceTree <group> D2CF012BE4304817A9CBBD58 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosSuggestionsRejectSuggestion.h path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.h sourceTree <group> D2F274B4B6BB423C81707A81 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name SDWebImageDownloaderOperation.h path SDWebImage/SDWebImageDownloaderOperation.h sourceTree <group> D2FA7911318B441D99D5A8CF fileRef 97639969B68B460682E492EE isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D349DC8E7E724DD386139DD0 fileRef 967136712E024604A71339EB isa PBXBuildFile D37428218DD7472FB6D0E161 fileRef 932A56F56F4348E0B4527CA3 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D3FA790192214E829005FEF7 fileRef 22FB0A5AE6F148188590D005 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D479826A132C4B5592617F18 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesGetPlaceTypes.m path Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.m sourceTree <group> D4A8AD090CCC42EC949C1193 fileRef DF1E4724C3A144D99E1F298D isa PBXBuildFile D4C11307AF154A6089AF4F1B fileRef 3CF88FB43D1347BE933C49C6 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D4C45D373C5048A9A0B7EBEB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetPhotoDomains.m path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.m sourceTree <group> D4C9557188C34C3AA2581FBC fileRef 3D68FB5BF77C458A8081CEF1 isa PBXBuildFile D4D9E190B5AC4AA4A240B533 fileRef A14668206AF744AA91DF4EC1 isa PBXBuildFile D50EBB25DDF646819BCA6ECA fileRef AB9059B826E34792BD177EDA isa PBXBuildFile D5428A1636234D038478B03C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPeopleFindByUsername.h path Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.h sourceTree <group> D589D9ABF82C4936A49C1742 fileRef 9699180D60BF41479D014B83 isa PBXBuildFile D590EEA745444C21BE017FAC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesCreate.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.h sourceTree <group> D599B20D2D7C4A63B9FC0553 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUReachability.h path Classes/Network/FKDUReachability.h sourceTree <group> D5AE769F0055414295C71EF4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesResolvePlaceId.h path Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h sourceTree <group> D5C4EBB737424EE5B9CA6FA1 fileRef 141DFCC25B834C09A545CAC5 isa PBXBuildFile D619605D1F824ECF965402B0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesGetPlaceTypes.h path Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.h sourceTree <group> D68A6578AB164DDCBFB9E974 fileRef D4C45D373C5048A9A0B7EBEB isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D6B04E2D4F234E06BEA771D9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosLicensesSetLicense.h path Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.h sourceTree <group> D6CAB0FB01014174B714F78B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrActivityUserComments.h path Classes/Model/Generated/Activity/FKFlickrActivityUserComments.h sourceTree <group> D73D1D291964407787F3FC33 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrNetworkOperation.m path Classes/Network/FKFlickrNetworkOperation.m sourceTree <group> D7AA4F56EE7545ACB1DAD157 fileRef 1F495DBBBAE642DB84956A6E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc D7E6B90BB2BB47028BA18DDA isa PBXFileReference lastKnownFileType wrapper.framework name Foundation.framework path Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Foundation.framework sourceTree DEVELOPER_DIR D859C018485347B09F075371 fileRef 1F3208062E244475BCF28316 isa PBXBuildFile D8D8715E899C4A82A55192F0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetAllContexts.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.m sourceTree <group> D9734F5F28D74BA0830F0C95 fileRef 2D9DD15D9A5545C98F916A54 isa PBXBuildFile D9BDFE4A15C7416B878A622E fileRef CC48CFEDB0994057B8A82C90 isa PBXBuildFile D9BF7ED735664A7FB2FF06CC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGalleriesAddPhoto.m path Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.m sourceTree <group> DA36C0B1C0394BF9A7C94199 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsDiscussRepliesAdd.h path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h sourceTree <group> DA6E6FAF05794F249EB7631C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPrefsGetHidden.m path Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.m sourceTree <group> DA70A0196FC34489AF889279 fileRef 46A2AA9973044EA782C8C989 isa PBXBuildFile DAFEBF3E44A94661B4B9B920 fileRef 32E16CF710224042BDAE9C05 isa PBXBuildFile DB9B995EB93042AFA8478D6C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDWebImageManager.m path SDWebImage/SDWebImageManager.m sourceTree <group> DBC1EA57872F409AB4C86990 fileRef B67AB4AB69324CD0AF1397CB isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc DBCA52C3B69445109F659891 fileRef 712C73DC70894B358391F043 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc DCB309B2ADBF43E08C71CBFC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetCSVFiles.h path Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.h sourceTree <group> DCB6E1367DA74FCBBC005788 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name NSData+ImageContentType.m path SDWebImage/NSData+ImageContentType.m sourceTree <group> DCD8290208BF404F9D60E6C7 fileRef 5A410ECF26BF4A8F84D8797E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc DCE14BA969FB45A78A677C8C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesPlacesForContacts.h path Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h sourceTree <group> DD1B03A24F60448FB923970E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsGetPhotos.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m sourceTree <group> DD408E81DAA5432AAEFF3624 fileRef D479826A132C4B5592617F18 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc DD92F7ADCF2C40289DF284F7 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKUtilities.h path Classes/Utilities/FKUtilities.h sourceTree <group> DE664F927AE640349C0EE40D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPopularPhotos.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.h sourceTree <group> DF1E4724C3A144D99E1F298D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsJoin.h path Classes/Model/Generated/Groups/FKFlickrGroupsJoin.h sourceTree <group> DF4EA1001DC1404A9B279AB3 fileRef 41B5A034F48B4CB8B3235866 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E09B3269E2B64D838F027519 isa PBXFileReference lastKnownFileType wrapper.framework name ImageIO.framework path Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/ImageIO.framework sourceTree DEVELOPER_DIR E0C30DEF7B824B6EBCF73111 fileRef 48A55902957D45D1A162AB79 isa PBXBuildFile E107F11DDBA441D88B2FAF1F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosNotesAdd.m path Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.m sourceTree <group> E12B0B4B7D40480DAD1CD546 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetCounts.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h sourceTree <group> E146BADD4B0643A9A2E02589 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsPoolsAdd.m path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.m sourceTree <group> E16FA621247740D690DFBC3C fileRef F58A5E4A6D2F403F814D4632 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E1E3A81EA7914A58BA6F63CB includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGeoSetContext.h path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.h sourceTree <group> E1F1E648ECBE41228AFBE05B fileRef 0F9E87275E0349CFBB81CB29 isa PBXBuildFile E20CCE8E0C774B30A611AC0F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUNetworkController.h path Classes/DevedUpKit/FKDUNetworkController.h sourceTree <group> E2E52D80112441AA928D1677 fileRef C1B99B077F164E87B4214D2E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E2F1B021C61E443C951C587E fileRef A0C82015CD714F8DABE894B7 isa PBXBuildFile E317344E6C4441969370DC54 includeInIndex 1 isa PBXFileReference lastKnownFileType text.xcconfig path Pods.xcconfig sourceTree <group> E34D648E9494420EAB19D78B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsCreate.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.h sourceTree <group> E354D22C261F44D1A8C3E1DA fileRef C880C31660604EE48D6DDC10 isa PBXBuildFile E397017EAE004484A46FD8AC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKDUNetworkController.m path Classes/DevedUpKit/FKDUNetworkController.m sourceTree <group> E3BC448DD7D64182B0E4D850 fileRef 525C8CFF188643F58F36ABEC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E3DEE4E9229841D5B5698116 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetRelated.h path Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.h sourceTree <group> E3ECA24704204C3F884BCD4A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKDUStreamUtil.h path Classes/DevedUpKit/FKDUStreamUtil.h sourceTree <group> E4ACF5ACD1104CB0993854A8 fileRef 118EC0D327C9434ABD4C2F15 isa PBXBuildFile E5411A2E037541658452082B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetInfo.m path Classes/Model/Generated/People/FKFlickrPeopleGetInfo.m sourceTree <group> E5A535AD3850471D8D2D6F25 fileRef 14CAF3145E484B40BD35FDE0 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E5AAC3AB7EF14A5383A095D4 buildActionMask 2147483647 files EA80DE9FFC5A42F99DB4CA94 6A905EF531284CD1AB37C6F3 67B766F7786141D6857DE637 F30439AC33B44289819FEE85 3CA210AF6D4545E0B6942747 6013737EAFE04F3D960D379E 6FA3D8D23922444B82DD21C3 3790515AB4094AF187C6802E 24E7CED693DE414792068324 08FE7A9DB33A4853A53F3D94 9FFCB5823BBC4E5B8117B7BA 579AD35504174CC581C4A037 031B4239EFFD48FCB21F5857 ACF2DEA11A4D4A569A3C7B0A E3BC448DD7D64182B0E4D850 0711990A68DF4EE991093375 6F852550DC8D4D038FEDF974 9BACADBC35204AFFAB604C79 073DF77A2B3344E8B6BB390E AE6481D2C3694980B7070DDF 7453A67E8E5B45B4923DE2A9 22350764CFA34229A6E4B6ED DBC1EA57872F409AB4C86990 B5D344FED5634EB9896DE887 5ADF38EFBB0348DAB7A5CCDD 282DC9469F3F47C2BE78B251 90A5468EE3B045FDA4EEDBBF F941CA9EE5F84F6A939F1639 523FCDD2ACDF4180B36AFFDC AF8E5C5E7893434399ED575A 8298E9777C5844FCB021004B AEB4842B063D441791184953 9E134840251343AFB896D76A 238D975F0E9C4895AC9EF575 807C2F77BB624BD4BA28DFAE 202614DE1C88494AA8EB46FC D3FA790192214E829005FEF7 4E0EF9040BDC4F5D9FD02A7F 0E01672B4FE34DC18E732E59 2ACDE0F239EC490E9F96B7C0 AD532CA76EA54739B4E44453 F8ACB4DC14E64C25BBB957AF 1F7542BDB24C45E395F311ED 8C40E912505947E3A539DBA0 1A363C4175694029AEB9DB5D 6BC31297430347C5BE52EBAF 810EC858F1D64532B95E1136 99DDB538947E44A782BDA1DC 81831F980C1848A7AF693D40 A5F30428A46046A1AE04CC6A 15D5B221033341DE96ADBB31 6FD6F52334214358BF19F52E 04BACAF3BFFD488F8BC65828 3B68EB6EC95C4707B1CD8C1D 4CDC9561DFFA44C8A49B6FC3 0725D01EFBB24D09B1AED522 4D6ABF98AE5647B08DECF775 9EBB2803525A42A09357BC64 90137953560349D880E3C03C 7B04B93C41F84D8A8C22AE79 543E974527E94408A8DA0380 759397DE03B448819F35EB50 1A98CD93B0D94E0D8BEBEDE4 01001931EC71431B948C728F 8DDBA291A9B9418D87AD1BF6 D37428218DD7472FB6D0E161 28DE638BC7884D32B5FCF746 72AF061BB3D24023ADDFA1DA 4BF88FBAF0084CA283FC2F6E 995C594F88BD47E891F25994 1FC12B9D95CE452F8D03B141 9AD2B366A8DC4A8C91D7AFA0 BF38E4FB4B8541CE835A3DA6 CC274ECE3DA94FB2A21013D8 870AB18D7FDF46D7AB509CA3 2CFAEAEB18B04C45B27EC6B9 CF85E4181F4E4B6E92CBF2F3 4A6C655247EA4B4F93A4BD77 FA2D61C63E19470891873FF8 C3573570FDAD47318B4F4EC7 14446DAA8F5A48FC93090713 B099771FE2424DE4AAABEA8B 276507719BD04B50AF4620E4 1B846E3E74E747678562B917 569DF1820E04416AA97E9458 ABB546C3B18C46E78E2D3FB7 E9C6C501345445D98F6B7419 4B1B09E86C6144169B96FEBF BC6763C414D8475DB9150FF0 7668C15E66FF40BCAC6C6521 C2B31F02E2BC4126ACD2ABF3 93DB55C365384C609D6D0E8E A106D662FC2647D4ADBB13A9 2D3D21D200C749F5A5402D02 431B30D30B3E481FB99830F6 574295462535481E9DB2F0B6 28978EEC17644E8AB9A3B994 00511A67DB8A458DBF3B2727 D2FA7911318B441D99D5A8CF 1A8C5D6DB91E46428BF38384 65EE4B83D63F4188BA882307 28C97DCAC19D4E14A2723B7A EE6C097EB64E4740BED5D130 2186F61B0BF34582B5879979 B0A8604E3E83488CA17D2AEF ADBD3FEAA1A141ADB0939671 3085479EDB1248158221BB1F 6E29346D2BE84BC1B8B2A543 BF3A106D1D7A447EA2AE8B14 C1E100D86B7A4915846D28AB 824FAACEFE5A469286D45AA4 757DD225B01A482AA3BFDB05 F2173B68D1FF4CB68DDC47DC F164E9C758B14CB499B03C4E BBADCB3137044170AFF2BEA0 DBCA52C3B69445109F659891 FAB0F61BB29A4FFA90C79766 F5FD0D8468BA49D487C72FF1 7FC9166522F84521A3E18BA2 89A170BD0C6C420F83ABA67A CBAB125716EF4CE6A549779D D16E805A7B9B4358BADBC86F F3685F8D9D244057987BFC8D 070D5A115A5143799F8A925A 5488E478BB0A436892222645 40884A027E3743B3A6555B4D AA2737166D854852838F36AE 5C3BBA7F72E9479F9D1F1E0F BB6870B32B064852BAFE1C9B 7D5EDD1E7FE34675BE5ADFE2 E2E52D80112441AA928D1677 080C2D9C77A24F63A949E4D9 D4C11307AF154A6089AF4F1B E16FA621247740D690DFBC3C CDFD1C2766A647EFB08A642E C4F8163A27494986B13928DD CDD3B07FB0114BF8A96110B0 2B864C6F4A5843A6B89F89E2 C5F77816003D49A48AAC01F2 8D9D8F0DCA9A47C6B0EC8E76 FB25C956FF4B4741BFE10745 096869160DCA45D3B7CF3B3A 28102025D19A4B79834C1BD6 D7AA4F56EE7545ACB1DAD157 1E33B0F9A5374080BF470ADE 8FCD609F09F44236A90F78DF E6333553CFE64A8FA4E1AA1A E5A535AD3850471D8D2D6F25 7015DBDCCCC54810A899A34B F408DAB694804EC6B191A674 F9D136D67247402F9AAB2CCA 0171BA7255FF450885134551 5080A9D805FB4DD5A7AEB2D5 7E6A508FB3F748EFB3A62703 30D1CC93A3CC4F7B8DC914AF 7D61F79A3C12494F91A84C2A FA70350165E94DF2BCAC7B17 B86BF6D6340E4C8CBA47335B A3547A688E5D4688A5FFB190 067C029F7DA94294815D6DCD 3E9BE264664B44E19BDD7139 DD408E81DAA5432AAEFF3624 01E0880BA9C0454484326E7D 1B84FD046DC44429B762C3F3 4BFDFDF12EA14AEE95FBBA28 65676DC5B7204A0F8CBD6792 11D30614ADF94C0F83DE5320 BC386C940AE04D08AD2DC9D5 96AC0CA0122E46CFB5CEC9A5 F9574211B34C457CBCDF3286 7AF762EC917645C7A0A19EF5 8D1DF923EB7D4664BF0EF8A2 69655F74FFC24D89926E1885 87FBBD588842447B84541A2D A978E31AB54B4F9C8C7B4C6A F3ECE809578F4C0BB184BBBF 00A50AE7B51C498D91F74681 79F1C1E798E740ACACC873E6 193E11F394DA401192A5781F 02AB19AC843343A997B971E7 6F962C18904F471189AF5747 3EDAFDD4322646E1A63A59EB DF4EA1001DC1404A9B279AB3 CBB0C96C4C014C0ABE38E6A8 B047761B6705422CBC88CA64 51E548B51191407B8F99ACBE D68A6578AB164DDCBFB9E974 A3A3860D4ED1429DA22F496D 3AA37D9A1E4145ED869536DF EC4B35F3B0F2470DB9951144 EA9810132E454B9DA164F3D3 A71E711D749641CEA49B8AE9 6396D20AAEF849A99041F624 04F3C7CB702E4716AACE3B9F 14D6F185E13C423D9683A4B7 BF5B0931A50C4EF89DE9C4F3 DCD8290208BF404F9D60E6C7 5D7ACD788D7F426BB90BA7DB 5F266E9910694B5E8A24C97D 848059774C5B4B11971C3C75 68CCEC95FCD849C1BD9D35AD 421575C0274342D5BE0729DD E7BC029D615F4862938C5803 78163CDB18BA4981897AF822 4BE3FC84E4D440F5A5ACC401 F30F48DC969546CA9B1C55DB 73C5D558A68540908F86E70F D16892F3A76547F9A88B38B6 85DD764E1A72417D83F43881 5FD7C16393C54312B64EF166 36932C0127D54EEBBB938565 AD684329D2BE48C899E577CB EB0E9427251E4108BB729ED8 AAD34CA21F994071B2E75E23 8709AF6AF90941B782066DAB C63F1A1F423F4C6197E344D1 E9D7A1E927994DF3A407B10F A61CDF763FE54D9190877E79 85F6BA63303E4474B3C8C9A2 CFA0C70D7B8F43AE899B0210 70EA19FE9C0F4043BB17FE04 753AF0425B944D42AFF5D6C4 20DA8D8702AF42E3A6E99BD8 isa PBXSourcesBuildPhase runOnlyForDeploymentPostprocessing 0 E5CBE9236C9C477096AE395E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsSetPrimaryPhoto.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.m sourceTree <group> E6333553CFE64A8FA4E1AA1A fileRef 95134B018CE44E9F880AF6BC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E70E2576321149F0A8743C5A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrAuthGetFullToken.h path Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.h sourceTree <group> E72842BAE1224DBD8C853FEB fileRef 8A2E9F96EBA547E9BAB54737 isa PBXBuildFile E7554D0BE0C0454383673E6A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrUrlsGetUserPhotos.m path Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.m sourceTree <group> E766CBBA1B0242B4AEA40BF9 fileRef D599B20D2D7C4A63B9FC0553 isa PBXBuildFile E7A14A00A09B428B8B37E6DA fileRef 3FFFAC775ABA48358E7699FB isa PBXBuildFile E7BC029D615F4862938C5803 fileRef 601EB55CFF714E5483C0FCCE isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E840138ED7EC49C08DBA1481 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoGetPerms.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.m sourceTree <group> E86DE05331E2459B9281B0F9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoSetLocation.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.m sourceTree <group> E8884AA807584AAC83F7C83F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGalleriesGetPhotos.h path Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.h sourceTree <group> E94610CFCD8341298E05AD6D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrAuthOauthGetAccessToken.m path Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.m sourceTree <group> E95AD4D2580A4F47A01F2872 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrStatsGetPhotostreamDomains.h path Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.h sourceTree <group> E9C6C501345445D98F6B7419 fileRef CBAEE555B49646A48629AC8A isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E9D7A1E927994DF3A407B10F fileRef F98E996BC12241978C2B8E1E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc E9E0BC335E4848028637702C fileRef 91CDF7ACD3504BDF9EF5AA6A isa PBXBuildFile E9FC6D2933CA4B49896C07EE buildActionMask 2147483647 files 75FB9E292215415F91020130 C2A6D33B17A64CB4BAAA21F7 4BE2730EF3934A35A5131590 8880C515CC1046BAB0C424C5 6A545CC47B314C29A8E36055 BFF369C8415548568BCACBE0 5E73E97DEE324FCCA81C14BA D106FCECF15944198B6E5764 7ECA61B0DECE4A09B28BB507 A10467CE68C34ED88C8B675B 5DE5F45BE7A74D93AFE950EF A6501D70C5CE47A9B491B843 4B016E956D4E48D2AD6A13B0 isa PBXSourcesBuildPhase runOnlyForDeploymentPostprocessing 0 EA21E69DFC8B4791A53FDA65 fileRef 6F77CE28E67D4BBDA5D70416 isa PBXBuildFile EA581E99EF94497EA8985296 fileRef 5FDC05BFF00645F8BCB750B8 isa PBXBuildFile EA66E7D29F90490FA864CCF5 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetContactsPublicPhotos.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m sourceTree <group> EA80DE9FFC5A42F99DB4CA94 fileRef 3F6C560D867A4706B683A513 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc EA903FB4E7344FC1BFCF8A6F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosUploadCheckTickets.m path Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.m sourceTree <group> EA92CF0461404981B595ED9C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKImageUploadNetworkOperation.m path Classes/Network/FKImageUploadNetworkOperation.m sourceTree <group> EA9810132E454B9DA164F3D3 fileRef 226892DF293B4323933BAD7D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc EAC0FF9D904D46ED8CE1819E fileRef 7B8C6EB26D3C4684B4D67CFD isa PBXBuildFile EACD3780EB614DC2B824A153 fileRef 70428A943753462F946DC68C isa PBXBuildFile EB0E9427251E4108BB729ED8 fileRef F13595933E2E46DA9A5A2130 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc EBD7F3B52BF241F88A516D3F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrFavoritesGetPublicList.m path Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m sourceTree <group> EC3229326DBD460E86FE743D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesGetShapeHistory.m path Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.m sourceTree <group> EC4B35F3B0F2470DB9951144 fileRef 45D316E561B64FF4BF01A70F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc EC6DF12CB58D4EF280B56FA4 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsOrderSets.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.m sourceTree <group> EC83E0FE241E4603B0D64700 fileRef D10F83FC8E274AFC81721114 isa PBXBuildFile EC8D46604AFC40BCACD99712 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrCollectionsGetTree.h path Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.h sourceTree <group> ECBFCBB4BAE1479F9480EB01 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrContactsGetListRecentlyUploaded.h path Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.h sourceTree <group> ECDB0222266B41849DD00B2B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrCommonsGetInstitutions.m path Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.m sourceTree <group> EDE518C906804E3BABB54AD4 fileRef 17BAA699E4514F34B9D82FA6 isa PBXBuildFile EDFE1007B6834D2CAA660C94 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsGetInfo.m path Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.m sourceTree <group> EE6C097EB64E4740BED5D130 fileRef 428963C99C6F422A9986A6FD isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc EE83A34647B34F24B021F712 fileRef E8884AA807584AAC83F7C83F isa PBXBuildFile EF54C54BABBB4C2FBB1011E0 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosetsGetInfo.h path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.h sourceTree <group> EF6C10C700454301A44F7F3A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsGetInfo.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.m sourceTree <group> F01A47E2DE1B480DBA1C4B45 fileRef 310ABD23EE3D4FAE829E87CF isa PBXBuildFile F02FDB1CCD7D4D9A84AD2E5F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPeopleGetPhotos.m path Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m sourceTree <group> F045A4035DFE48118F1F672A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPlacesFind.h path Classes/Model/Generated/Places/FKFlickrPlacesFind.h sourceTree <group> F11C88F1A4074397B7F9F2C9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsPoolsGetGroups.h path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.h sourceTree <group> F13595933E2E46DA9A5A2130 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrUrlsLookupGallery.m path Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.m sourceTree <group> F164E9C758B14CB499B03C4E fileRef CD3118E6AC754994A11872EE isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F19C6B93483049068F4427EE fileRef 651C0C6E3A5A47EBBB60A31E isa PBXBuildFile F1ADBD034C064111AB216DA9 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussTopicsGetList.m path Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.m sourceTree <group> F2173B68D1FF4CB68DDC47DC fileRef 1AE12829D8474ED995345710 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F228A0EC035D460CA2438F8B includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrStatsGetCollectionStats.m path Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.m sourceTree <group> F237DA4ABDA54E2BB8C957D9 fileRef 8FF95552ECD94922A0A7CDC5 isa PBXBuildFile F256F4D471AC41239BA60F0A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGeoBatchCorrectLocation.m path Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.m sourceTree <group> F2B9EB0A4037481DA38E16F8 fileRef F2CC02AF2E384B87BE543EDF isa PBXBuildFile F2CC02AF2E384B87BE543EDF includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetWithGeoData.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h sourceTree <group> F30439AC33B44289819FEE85 fileRef E397017EAE004484A46FD8AC isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F30F48DC969546CA9B1C55DB fileRef 751BAFD1666A4BBE8258D350 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F350141803C242C0873448FD includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussRepliesDelete.m path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.m sourceTree <group> F3685F8D9D244057987BFC8D fileRef C7CB18D53D1D4ECF957EB741 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F3ECE809578F4C0BB184BBBF fileRef 7E2AA3430EDB4736A52DEFD1 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F408DAB694804EC6B191A674 fileRef 7AF43B9C7A634ABE970D606E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F40E0D29B69E467898A2EB54 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPrefsGetContentType.m path Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.m sourceTree <group> F47DB750D86B4A8284365551 fileRef 59DD590E2773479E971DA531 isa PBXBuildFile F4881975CA2F45C8AB04D382 fileRef 53442ABE5EA04F1B92B93511 isa PBXBuildFile F4D5FD2AAB554BC89C9F818C includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosRemoveTag.h path Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h sourceTree <group> F51EA909120640E09244D40D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosNotesAdd.h path Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.h sourceTree <group> F51F0BC63B6D4EBC838F69DD fileRef 0C33DE85B16D47FCA566AD1D isa PBXBuildFile F58A5E4A6D2F403F814D4632 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosSuggestionsRejectSuggestion.m path Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.m sourceTree <group> F5D2AFD288D544C08F3244D1 fileRef 1DC9104DD7CA46D298BC6DF4 isa PBXBuildFile F5FD0D8468BA49D487C72FF1 fileRef 2DF1D6D5D548464B8765073F isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F68779DB62B6483080D44132 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPlacesGetInfo.m path Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.m sourceTree <group> F6981DFD98A74D25B8A838D3 fileRef 9F221E03B59A413B9F011A98 isa PBXBuildFile F6D5A85D5CD4465FAADD619E fileRef 8CC51171E6F2426BA7ACD30F isa PBXBuildFile F71A447BC60746E887A713E2 fileRef E1E3A81EA7914A58BA6F63CB isa PBXBuildFile F742554A80FB4B4CAE1A8F86 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosGetRecent.m path Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m sourceTree <group> F75D3522318E4643A87F69D3 fileRef 1860F3AF46464857A907E995 isa PBXBuildFile F79540022307471AB761F580 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrPhotosetsAddPhoto.m path Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.m sourceTree <group> F7F6D8FC36524D288E809791 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrFavoritesGetList.m path Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m sourceTree <group> F87E306400EF485B903194BC includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrGroupsDiscussRepliesGetList.m path Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.m sourceTree <group> F8ACB4DC14E64C25BBB957AF fileRef BB27BABC79304D78B790022E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F9295B6E7718410EAB07F520 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTestNull.h path Classes/Model/Generated/Test/FKFlickrTestNull.h sourceTree <group> F92AFFA88CE5479EA320067F includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrCamerasGetBrands.m path Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.m sourceTree <group> F941CA9EE5F84F6A939F1639 fileRef 91A39B0890F44BC5BE395611 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F9574211B34C457CBCDF3286 fileRef 97DDEFDF99144D059A746B35 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F98E996BC12241978C2B8E1E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKOFHMACSha1Base64.m path Classes/Utilities/FKOFHMACSha1Base64.m sourceTree <group> F9D136D67247402F9AAB2CCA fileRef DD1B03A24F60448FB923970E isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc F9D634D1465D4DF4AEEC5697 buildConfigurations 7F7B4A9FE9734327B3297EA3 4B0C017B3EFD48798CE25583 defaultConfigurationIsVisible 0 defaultConfigurationName Release isa XCConfigurationList FA2D61C63E19470891873FF8 fileRef 3395C1E9753B4208AF62B128 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc FA70350165E94DF2BCAC7B17 fileRef CAA59717A7EB485DAD509B18 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc FA95F9C403D04CA495ECEF94 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrGroupsPoolsGetContext.h path Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.h sourceTree <group> FAB0F61BB29A4FFA90C79766 fileRef 25F40E5BF9DE4A959C085B43 isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc FB25C956FF4B4741BFE10745 fileRef 78287707997C4B898C56035D isa PBXBuildFile settings COMPILER_FLAGS -fobjc-arc FB3EB5BB8C28479FA4BB340E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name FKFlickrMachinetagsGetValues.m path Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.m sourceTree <group> FB9CD78FCFEC41579EE99EC5 fileRef C5C1E940AA9642429132039F isa PBXBuildFile FD0C79EB8FB54BBD954CF551 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrTagsGetListPhoto.h path Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.h sourceTree <group> FE2A456EAF064DB4A1E0999D fileRef D590EEA745444C21BE017FAC isa PBXBuildFile FE7165626B404377BDF3A1C1 includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.objc name SDWebImageDecoder.m path SDWebImage/SDWebImageDecoder.m sourceTree <group> FF245B0A5CF447478FDDF756 buildConfigurations B4A43AE15D3049FCB5D6C617 B8789EFAABF74A9F9EDE6F7F defaultConfigurationIsVisible 0 defaultConfigurationName Release isa XCConfigurationList FF3214D87A134EF59636936A includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPandaGetPhotos.h path Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.h sourceTree <group> FF439064E1224C309D612E4E includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetUntagged.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.h sourceTree <group> FF564090F91343AE9BE0D42D includeInIndex 1 isa PBXFileReference lastKnownFileType sourcecode.c.h name FKFlickrPhotosGetContactsPublicPhotos.h path Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h sourceTree <group> FF6610AFBF0B4221968EC450 fileRef 38B6C7875B0749F4B6516C2A isa PBXBuildFile rootObject 99CC26E6CED84878A17279B8 ================================================ FILE: Pods/Pods.xcodeproj/xcuserdata/andrewhulsizer.xcuserdatad/xcschemes/Pods-FlickrKit.xcscheme ================================================ ================================================ FILE: Pods/Pods.xcodeproj/xcuserdata/andrewhulsizer.xcuserdatad/xcschemes/Pods-SDWebImage.xcscheme ================================================ ================================================ FILE: Pods/Pods.xcodeproj/xcuserdata/andrewhulsizer.xcuserdatad/xcschemes/Pods.xcscheme ================================================ ================================================ FILE: Pods/Pods.xcodeproj/xcuserdata/andrewhulsizer.xcuserdatad/xcschemes/xcschememanagement.plist ================================================ SchemeUserState Pods-FlickrKit.xcscheme isShown Pods-SDWebImage.xcscheme isShown Pods.xcscheme isShown SuppressBuildableAutocreation 432590842CC541BEA2C5F3B6 primary 5E052698215B41498BAF5177 primary BCD5DF8710C248BBA0378911 primary ================================================ FILE: Pods/SDWebImage/LICENSE ================================================ Copyright (c) 2009 Olivier Poitrey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: Pods/SDWebImage/README.md ================================================ Web Image ========= This library provides a category for UIImageView with support for remote images coming from the web. It provides: - An UIImageView category adding web image and cache management to the Cocoa Touch framework - An asynchronous image downloader - An asynchronous memory + disk image caching with automatic cache expiration handling - Animated GIF support - WebP format support - A background image decompression - A guarantee that the same URL won't be downloaded several times - A guarantee that bogus URLs won't be retried again and again - A guarantee that main thread will never be blocked - Performances! - Use GCD and ARC - Arm64 support NOTE: The version 3.0 of SDWebImage isn't fully backward compatible with 2.0 and requires iOS 5.1.1 minimum deployement version. If you need iOS < 5.0 support, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat). [How is SDWebImage better than X?](https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F) Who Use It ---------- Find out [who uses SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Uses-SDWebImage) and add your app to the list. How To Use ---------- API documentation is available at [http://hackemist.com/SDWebImage/doc/](http://hackemist.com/SDWebImage/doc/) ### Using UIImageView+WebCache category with UITableView Just #import the UIImageView+WebCache.h header, and call the setImageWithURL:placeholderImage: method from the tableView:cellForRowAtIndexPath: UITableViewDataSource method. Everything will be handled for you, from async downloads to caching management. ```objective-c #import ... - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *MyIdentifier = @"MyIdentifier"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier] autorelease]; } // Here we use the new provided setImageWithURL: method to load the web image [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] placeholderImage:[UIImage imageNamed:@"placeholder.png"]]; cell.textLabel.text = @"My Text"; return cell; } ``` ### Using blocks With blocks, you can be notified about the image download progress and whenever the image retrival has completed with success or not: ```objective-c // Here we use the new provided setImageWithURL: method to load the web image [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] placeholderImage:[UIImage imageNamed:@"placeholder.png"] completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) {... completion code here ...}]; ``` Note: neither your success nor failure block will be call if your image request is canceled before completion. ### Using SDWebImageManager The SDWebImageManager is the class behind the UIImageView+WebCache category. It ties the asynchronous downloader with the image cache store. You can use this class directly to benefit from web image downloading with caching in another context than a UIView (ie: with Cocoa). Here is a simple example of how to use SDWebImageManager: ```objective-c SDWebImageManager *manager = [SDWebImageManager sharedManager]; [manager downloadWithURL:imageURL options:0 progress:^(NSUInteger receivedSize, long long expectedSize) { // progression tracking code } completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (image) { // do something with image } }]; ``` ### Using Asynchronous Image Downloader Independently It's also possible to use the async image downloader independently: ```objective-c [SDWebImageDownloader.sharedDownloader downloadImageWithURL:imageURL options:0 progress:^(NSUInteger receivedSize, long long expectedSize) { // progression tracking code } completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) { if (image && finished) { // do something with image } }]; ``` ### Using Asynchronous Image Caching Independently It is also possible to use the aync based image cache store independently. SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed asynchronous so it doesn't add unnecessary latency to the UI. The SDImageCache class provides a singleton instance for convenience but you can create your own instance if you want to create separated cache namespace. To lookup the cache, you use the imageForKey: method. If the method returns nil, it means the cache doesn't currently own the image. You are thus responsible for generating and caching it. The cache key is an application unique identifier for the image to cache. It is generally the absolute URL of the image. ```objective-c SDImageCache *imageCache = [[SDImageCache alloc] initWithNamespace:@"myNamespace"]; [imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage *image) { // image is not nil if image was found }]; ``` By default SDImageCache will lookup the disk cache if an image can't be found in the memory cache. You can prevent this from happening by calling the alternative method `imageFromMemoryCacheForKey:`. To store an image into the cache, you use the storeImage:forKey: method: ```objective-c [[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey]; ``` By default, the image will be stored in memory cache as well as on disk cache (asynchronously). If you want only the memory cache, use the alternative method storeImage:forKey:toDisk: with a negative third argument. ### Using cache key filter Sometime, you may not want to use the image URL as cache key because part of the URL is dynamic (i.e.: for access control purpose). SDWebImageManager provides a way to set a cache key filter that takes the NSURL as input, and output a cache key NSString. The following example sets a filter in the application delegate that will remove any query-string from the URL before to use it as a cache key: ```objective-c - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { SDWebImageManager.sharedManager.cacheKeyFilter:^(NSURL *url) { url = [[[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path] autorelease]; return [url absoluteString]; }; // Your app init code... return YES; } ``` Common Problems --------------- ### Using dynamic image size with UITableViewCell UITableView determins the size of the image by the first image set for a cell. If your remote images don't have the same size as your placeholder image, you may experience strange anamorphic scaling issue. The following article gives a way to workaround this issue: [http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/](http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/) ### Handle image refresh SDWebImage does very aggressive caching by default. It ignores all kind of caching control header returned by the HTTP server and cache the returned images with no time restriction. It implies your images URLs are static URLs pointing to images that never change. If the pointed image happen to change, some parts of the URL should change accordingly. If you don't control the image server you're using, you may not be able to change the URL when its content is updated. This is the case for Facebook avatar URLs for instance. In such case, you may use the `SDWebImageRefreshCached` flag. This will slightly degrade the performance but will respect the HTTP caching control headers: ``` objective-c [imageView setImageWithURL:[NSURL URLWithString:@"https://graph.facebook.com/olivier.poitrey/picture"] placeholderImage:[UIImage imageNamed:@"avatar-placeholder.png"] options:SDWebImageRefreshCached]; ``` ### Add a progress indicator See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage Installation ------------ There are two ways to use this in your project: copy all the files into your project, or import the project as a static library. ### Add the SDWebImage project to your project - Download and unzip the last version of the framework from the [download page](https://github.com/rs/SDWebImage/releases) - Right-click on the project navigator and select "Add Files to "Your Project": - In the dialog, select SDWebImage.framework: - Check the "Copy items into destination group's folder (if needed)" checkbox ### Add dependencies - In you application project app’s target settings, find the "Build Phases" section and open the "Link Binary With Libraries" block: - Click the "+" button again and select the "ImageIO.framework", this is needed by the progressive download feature: ### Add Linker Flag Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linker Flags" setting and add the "-ObjC" flag: ![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg) ### Import headers in your source files In the source files where you need to use the library, import the header file: ```objective-c #import ``` ### Build Project At this point your workspace should build without error. If you are having problem, post to the Issue and the community can help you solve it. Future Enhancements ------------------- - LRU memory cache cleanup instead of reset on memory warning ## Licenses All source code is licensed under the [MIT License](https://raw.github.com/rs/SDWebImage/master/LICENSE). ================================================ FILE: Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h ================================================ // // Created by Fabrice Aneche on 06/01/14. // Copyright (c) 2014 Dailymotion. All rights reserved. // #import @interface NSData (ImageContentType) + (NSString *)contentTypeForImageData:(NSData *)data; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m ================================================ // // Created by Fabrice Aneche on 06/01/14. // Copyright (c) 2014 Dailymotion. All rights reserved. // #import "NSData+ImageContentType.h" @implementation NSData (ImageContentType) + (NSString *)contentTypeForImageData:(NSData *)data { uint8_t c; [data getBytes:&c length:1]; switch (c) { case 0xFF: return @"image/jpeg"; case 0x89: return @"image/png"; case 0x47: return @"image/gif"; case 0x49: case 0x4D: return @"image/tiff"; case 0x52: // R as RIFF for WEBP if ([data length] < 12) { return nil; } NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding]; if ([testString hasPrefix:@"RIFF"] && [testString hasSuffix:@"WEBP"]) { return @"image/webp"; } return nil; } return nil; } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDImageCache.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #import "SDWebImageCompat.h" typedef NS_ENUM(NSInteger, SDImageCacheType) { /** * The image wasn't available the SDWebImage caches, but was downloaded from the web. */ SDImageCacheTypeNone, /** * The image was obtained from the disk cache. */ SDImageCacheTypeDisk, /** * The image was obtained from the memory cache. */ SDImageCacheTypeMemory }; typedef void(^SDWebImageQueryCompletedBlock)(UIImage *image, SDImageCacheType cacheType); /** * SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed * asynchronous so it doesn’t add unnecessary latency to the UI. */ @interface SDImageCache : NSObject /** * The maximum "total cost" of the in-memory image cache. The cost function is the number of pixels held in memory. */ @property (assign, nonatomic) NSUInteger maxMemoryCost; /** * The maximum length of time to keep an image in the cache, in seconds */ @property (assign, nonatomic) NSInteger maxCacheAge; /** * The maximum size of the cache, in bytes. */ @property (assign, nonatomic) NSUInteger maxCacheSize; /** * Returns global shared cache instance * * @return SDImageCache global instance */ + (SDImageCache *)sharedImageCache; /** * Init a new cache store with a specific namespace * * @param ns The namespace to use for this cache store */ - (id)initWithNamespace:(NSString *)ns; /** * Add a read-only cache path to search for images pre-cached by SDImageCache * Useful if you want to bundle pre-loaded images with your app * * @param path The path to use for this read-only cache path */ - (void)addReadOnlyCachePath:(NSString *)path; /** * Store an image into memory and disk cache at the given key. * * @param image The image to store * @param key The unique image cache key, usually it's image absolute URL */ - (void)storeImage:(UIImage *)image forKey:(NSString *)key; /** * Store an image into memory and optionally disk cache at the given key. * * @param image The image to store * @param key The unique image cache key, usually it's image absolute URL * @param toDisk Store the image to disk cache if YES */ - (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk; /** * Store an image into memory and optionally disk cache at the given key. * * @param image The image to store * @param recalculate BOOL indicates if imageData can be used or a new data should be constructed from the UIImage * @param imageData The image data as returned by the server, this representation will be used for disk storage * instead of converting the given image object into a storable/compressed image format in order * to save quality and CPU * @param key The unique image cache key, usually it's image absolute URL * @param toDisk Store the image to disk cache if YES */ - (void)storeImage:(UIImage *)image recalculateFromImage:(BOOL)recalculate imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk; /** * Query the disk cache asynchronously. * * @param key The unique key used to store the wanted image */ - (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(SDWebImageQueryCompletedBlock)doneBlock; /** * Query the memory cache synchronously. * * @param key The unique key used to store the wanted image */ - (UIImage *)imageFromMemoryCacheForKey:(NSString *)key; /** * Query the disk cache synchronously after checking the memory cache. * * @param key The unique key used to store the wanted image */ - (UIImage *)imageFromDiskCacheForKey:(NSString *)key; /** * Remove the image from memory and disk cache synchronously * * @param key The unique image cache key */ - (void)removeImageForKey:(NSString *)key; /** * Remove the image from memory and optionally disk cache synchronously * * @param key The unique image cache key * @param fromDisk Also remove cache entry from disk if YES */ - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk; /** * Clear all memory cached images */ - (void)clearMemory; /** * Clear all disk cached images. Non-blocking method - returns immediately. * @param completionBlock An block that should be executed after cache expiration completes (optional) */ - (void)clearDiskOnCompletion:(void (^)())completion; /** * Clear all disk cached images * @see clearDiskOnCompletion: */ - (void)clearDisk; /** * Remove all expired cached image from disk. Non-blocking method - returns immediately. * @param completionBlock An block that should be executed after cache expiration completes (optional) */ - (void)cleanDiskWithCompletionBlock:(void (^)())completionBlock; /** * Remove all expired cached image from disk * @see cleanDiskWithCompletionBlock: */ - (void)cleanDisk; /** * Get the size used by the disk cache */ - (NSUInteger)getSize; /** * Get the number of images in the disk cache */ - (int)getDiskCount; /** * Asynchronously calculate the disk cache's size. */ - (void)calculateSizeWithCompletionBlock:(void (^)(NSUInteger fileCount, NSUInteger totalSize))completionBlock; /** * Check if image exists in cache already */ - (BOOL)diskImageExistsWithKey:(NSString *)key; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDImageCache.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDImageCache.h" #import "SDWebImageDecoder.h" #import "UIImage+MultiFormat.h" #import static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week // PNG signature bytes and data (below) static unsigned char kPNGSignatureBytes[8] = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A}; static NSData *kPNGSignatureData = nil; BOOL ImageDataHasPNGPreffix(NSData *data); BOOL ImageDataHasPNGPreffix(NSData *data) { NSUInteger pngSignatureLength = [kPNGSignatureData length]; if ([data length] >= pngSignatureLength) { if ([[data subdataWithRange:NSMakeRange(0, pngSignatureLength)] isEqualToData:kPNGSignatureData]) { return YES; } } return NO; } @interface SDImageCache () @property (strong, nonatomic) NSCache *memCache; @property (strong, nonatomic) NSString *diskCachePath; @property (strong, nonatomic) NSMutableArray *customPaths; @property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t ioQueue; @end @implementation SDImageCache { NSFileManager *_fileManager; } + (SDImageCache *)sharedImageCache { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ instance = [self new]; kPNGSignatureData = [NSData dataWithBytes:kPNGSignatureBytes length:8]; }); return instance; } - (id)init { return [self initWithNamespace:@"default"]; } - (id)initWithNamespace:(NSString *)ns { if ((self = [super init])) { NSString *fullNamespace = [@"com.hackemist.SDWebImageCache." stringByAppendingString:ns]; // Create IO serial queue _ioQueue = dispatch_queue_create("com.hackemist.SDWebImageCache", DISPATCH_QUEUE_SERIAL); // Init default values _maxCacheAge = kDefaultCacheMaxCacheAge; // Init the memory cache _memCache = [[NSCache alloc] init]; _memCache.name = fullNamespace; // Init the disk cache NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); _diskCachePath = [paths[0] stringByAppendingPathComponent:fullNamespace]; dispatch_sync(_ioQueue, ^{ _fileManager = [NSFileManager new]; }); #if TARGET_OS_IPHONE // Subscribe to app events [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(clearMemory) name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cleanDisk) name:UIApplicationWillTerminateNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(backgroundCleanDisk) name:UIApplicationDidEnterBackgroundNotification object:nil]; #endif } return self; } - (void)dealloc { [[NSNotificationCenter defaultCenter] removeObserver:self]; SDDispatchQueueRelease(_ioQueue); } - (void)addReadOnlyCachePath:(NSString *)path { if (!self.customPaths) { self.customPaths = [NSMutableArray new]; } if (![self.customPaths containsObject:path]) { [self.customPaths addObject:path]; } } #pragma mark SDImageCache (private) - (NSString *)cachePathForKey:(NSString *)key inPath:(NSString *)path { NSString *filename = [self cachedFileNameForKey:key]; return [path stringByAppendingPathComponent:filename]; } - (NSString *)defaultCachePathForKey:(NSString *)key { return [self cachePathForKey:key inPath:self.diskCachePath]; } - (NSString *)cachedFileNameForKey:(NSString *)key { const char *str = [key UTF8String]; if (str == NULL) { str = ""; } unsigned char r[CC_MD5_DIGEST_LENGTH]; CC_MD5(str, (CC_LONG)strlen(str), r); NSString *filename = [NSString stringWithFormat:@"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10], r[11], r[12], r[13], r[14], r[15]]; return filename; } #pragma mark ImageCache - (void)storeImage:(UIImage *)image recalculateFromImage:(BOOL)recalculate imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk { if (!image || !key) { return; } [self.memCache setObject:image forKey:key cost:image.size.height * image.size.width * image.scale]; if (toDisk) { dispatch_async(self.ioQueue, ^{ NSData *data = imageData; if (image && (recalculate || !data)) { #if TARGET_OS_IPHONE // We need to determine if the image is a PNG or a JPEG // PNGs are easier to detect because they have a unique signature (http://www.w3.org/TR/PNG-Structure.html) // The first eight bytes of a PNG file always contain the following (decimal) values: // 137 80 78 71 13 10 26 10 // We assume the image is PNG, in case the imageData is nil (i.e. if trying to save a UIImage directly), // we will consider it PNG to avoid loosing the transparency BOOL imageIsPng = YES; // But if we have an image data, we will look at the preffix if ([imageData length] >= [kPNGSignatureData length]) { imageIsPng = ImageDataHasPNGPreffix(imageData); } if (imageIsPng) { data = UIImagePNGRepresentation(image); } else { data = UIImageJPEGRepresentation(image, (CGFloat)1.0); } #else data = [NSBitmapImageRep representationOfImageRepsInArray:image.representations usingType: NSJPEGFileType properties:nil]; #endif } if (data) { if (![_fileManager fileExistsAtPath:_diskCachePath]) { [_fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL]; } [_fileManager createFileAtPath:[self defaultCachePathForKey:key] contents:data attributes:nil]; } }); } } - (void)storeImage:(UIImage *)image forKey:(NSString *)key { [self storeImage:image recalculateFromImage:YES imageData:nil forKey:key toDisk:YES]; } - (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk { [self storeImage:image recalculateFromImage:YES imageData:nil forKey:key toDisk:toDisk]; } - (BOOL)diskImageExistsWithKey:(NSString *)key { __block BOOL exists = NO; dispatch_sync(_ioQueue, ^{ exists = [_fileManager fileExistsAtPath:[self defaultCachePathForKey:key]]; }); return exists; } - (UIImage *)imageFromMemoryCacheForKey:(NSString *)key { return [self.memCache objectForKey:key]; } - (UIImage *)imageFromDiskCacheForKey:(NSString *)key { // First check the in-memory cache... UIImage *image = [self imageFromMemoryCacheForKey:key]; if (image) { return image; } // Second check the disk cache... UIImage *diskImage = [self diskImageForKey:key]; if (diskImage) { CGFloat cost = diskImage.size.height * diskImage.size.width * diskImage.scale; [self.memCache setObject:diskImage forKey:key cost:cost]; } return diskImage; } - (NSData *)diskImageDataBySearchingAllPathsForKey:(NSString *)key { NSString *defaultPath = [self defaultCachePathForKey:key]; NSData *data = [NSData dataWithContentsOfFile:defaultPath]; if (data) { return data; } for (NSString *path in self.customPaths) { NSString *filePath = [self cachePathForKey:key inPath:path]; NSData *imageData = [NSData dataWithContentsOfFile:filePath]; if (imageData) { return imageData; } } return nil; } - (UIImage *)diskImageForKey:(NSString *)key { NSData *data = [self diskImageDataBySearchingAllPathsForKey:key]; if (data) { UIImage *image = [UIImage sd_imageWithData:data]; image = [self scaledImageForKey:key image:image]; image = [UIImage decodedImageWithImage:image]; return image; } else { return nil; } } - (UIImage *)scaledImageForKey:(NSString *)key image:(UIImage *)image { return SDScaledImageForKey(key, image); } - (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(void (^)(UIImage *image, SDImageCacheType cacheType))doneBlock { NSOperation *operation = [NSOperation new]; if (!doneBlock) return nil; if (!key) { doneBlock(nil, SDImageCacheTypeNone); return nil; } // First check the in-memory cache... UIImage *image = [self imageFromMemoryCacheForKey:key]; if (image) { doneBlock(image, SDImageCacheTypeMemory); return nil; } dispatch_async(self.ioQueue, ^{ if (operation.isCancelled) { return; } @autoreleasepool { UIImage *diskImage = [self diskImageForKey:key]; if (diskImage) { CGFloat cost = diskImage.size.height * diskImage.size.width * diskImage.scale; [self.memCache setObject:diskImage forKey:key cost:cost]; } dispatch_async(dispatch_get_main_queue(), ^{ doneBlock(diskImage, SDImageCacheTypeDisk); }); } }); return operation; } - (void)removeImageForKey:(NSString *)key { [self removeImageForKey:key fromDisk:YES]; } - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk { if (key == nil) { return; } [self.memCache removeObjectForKey:key]; if (fromDisk) { dispatch_async(self.ioQueue, ^{ [_fileManager removeItemAtPath:[self defaultCachePathForKey:key] error:nil]; }); } } - (void)setMaxMemoryCost:(NSUInteger)maxMemoryCost { self.memCache.totalCostLimit = maxMemoryCost; } - (NSUInteger)maxMemoryCost { return self.memCache.totalCostLimit; } - (void)clearMemory { [self.memCache removeAllObjects]; } - (void)clearDisk { [self clearDiskOnCompletion:nil]; } - (void)clearDiskOnCompletion:(void (^)())completion { dispatch_async(self.ioQueue, ^{ [_fileManager removeItemAtPath:self.diskCachePath error:nil]; [_fileManager createDirectoryAtPath:self.diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL]; if (completion) { dispatch_async(dispatch_get_main_queue(), ^{ completion(); }); } }); } - (void)cleanDisk { [self cleanDiskWithCompletionBlock:nil]; } - (void)cleanDiskWithCompletionBlock:(void (^)())completionBlock { dispatch_async(self.ioQueue, ^{ NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES]; NSArray *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentModificationDateKey, NSURLTotalFileAllocatedSizeKey]; // This enumerator prefetches useful properties for our cache files. NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL includingPropertiesForKeys:resourceKeys options:NSDirectoryEnumerationSkipsHiddenFiles errorHandler:NULL]; NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.maxCacheAge]; NSMutableDictionary *cacheFiles = [NSMutableDictionary dictionary]; NSUInteger currentCacheSize = 0; // Enumerate all of the files in the cache directory. This loop has two purposes: // // 1. Removing files that are older than the expiration date. // 2. Storing file attributes for the size-based cleanup pass. for (NSURL *fileURL in fileEnumerator) { NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:NULL]; // Skip directories. if ([resourceValues[NSURLIsDirectoryKey] boolValue]) { continue; } // Remove files that are older than the expiration date; NSDate *modificationDate = resourceValues[NSURLContentModificationDateKey]; if ([[modificationDate laterDate:expirationDate] isEqualToDate:expirationDate]) { [_fileManager removeItemAtURL:fileURL error:nil]; continue; } // Store a reference to this file and account for its total size. NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey]; currentCacheSize += [totalAllocatedSize unsignedIntegerValue]; [cacheFiles setObject:resourceValues forKey:fileURL]; } // If our remaining disk cache exceeds a configured maximum size, perform a second // size-based cleanup pass. We delete the oldest files first. if (self.maxCacheSize > 0 && currentCacheSize > self.maxCacheSize) { // Target half of our maximum cache size for this cleanup pass. const NSUInteger desiredCacheSize = self.maxCacheSize / 2; // Sort the remaining cache files by their last modification time (oldest first). NSArray *sortedFiles = [cacheFiles keysSortedByValueWithOptions:NSSortConcurrent usingComparator:^NSComparisonResult(id obj1, id obj2) { return [obj1[NSURLContentModificationDateKey] compare:obj2[NSURLContentModificationDateKey]]; }]; // Delete files until we fall below our desired cache size. for (NSURL *fileURL in sortedFiles) { if ([_fileManager removeItemAtURL:fileURL error:nil]) { NSDictionary *resourceValues = cacheFiles[fileURL]; NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey]; currentCacheSize -= [totalAllocatedSize unsignedIntegerValue]; if (currentCacheSize < desiredCacheSize) { break; } } } } if (completionBlock) { dispatch_async(dispatch_get_main_queue(), ^{ completionBlock(); }); } }); } - (void)backgroundCleanDisk { UIApplication *application = [UIApplication sharedApplication]; __block UIBackgroundTaskIdentifier bgTask = [application beginBackgroundTaskWithExpirationHandler:^{ // Clean up any unfinished task business by marking where you // stopped or ending the task outright. [application endBackgroundTask:bgTask]; bgTask = UIBackgroundTaskInvalid; }]; // Start the long-running task and return immediately. [self cleanDiskWithCompletionBlock:^{ [application endBackgroundTask:bgTask]; bgTask = UIBackgroundTaskInvalid; }]; } - (NSUInteger)getSize { __block NSUInteger size = 0; dispatch_sync(self.ioQueue, ^{ NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath]; for (NSString *fileName in fileEnumerator) { NSString *filePath = [self.diskCachePath stringByAppendingPathComponent:fileName]; NSDictionary *attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil]; size += [attrs fileSize]; } }); return size; } - (int)getDiskCount { __block int count = 0; dispatch_sync(self.ioQueue, ^{ NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath]; for (__unused NSString *fileName in fileEnumerator) { count += 1; } }); return count; } - (void)calculateSizeWithCompletionBlock:(void (^)(NSUInteger fileCount, NSUInteger totalSize))completionBlock { NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES]; dispatch_async(self.ioQueue, ^{ NSUInteger fileCount = 0; NSUInteger totalSize = 0; NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL includingPropertiesForKeys:@[NSFileSize] options:NSDirectoryEnumerationSkipsHiddenFiles errorHandler:NULL]; for (NSURL *fileURL in fileEnumerator) { NSNumber *fileSize; [fileURL getResourceValue:&fileSize forKey:NSURLFileSizeKey error:NULL]; totalSize += [fileSize unsignedIntegerValue]; fileCount += 1; } if (completionBlock) { dispatch_async(dispatch_get_main_queue(), ^{ completionBlock(fileCount, totalSize); }); } }); } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageCompat.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * (c) Jamie Pinkham * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #ifdef __OBJC_GC__ #error SDWebImage does not support Objective-C Garbage Collection #endif #if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0 #error SDWebImage doesn't support Deployement Target version < 5.0 #endif #if !TARGET_OS_IPHONE #import #ifndef UIImage #define UIImage NSImage #endif #ifndef UIImageView #define UIImageView NSImageView #endif #else #import #endif #ifndef NS_ENUM #define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type #endif #ifndef NS_OPTIONS #define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type #endif #if OS_OBJECT_USE_OBJC #undef SDDispatchQueueRelease #undef SDDispatchQueueSetterSementics #define SDDispatchQueueRelease(q) #define SDDispatchQueueSetterSementics strong #else #undef SDDispatchQueueRelease #undef SDDispatchQueueSetterSementics #define SDDispatchQueueRelease(q) (dispatch_release(q)) #define SDDispatchQueueSetterSementics assign #endif extern UIImage *SDScaledImageForKey(NSString *key, UIImage *image); #define dispatch_main_sync_safe(block)\ if ([NSThread isMainThread]) {\ block();\ }\ else {\ dispatch_sync(dispatch_get_main_queue(), block);\ } ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageCompat.m ================================================ // // SDWebImageCompat.m // SDWebImage // // Created by Olivier Poitrey on 11/12/12. // Copyright (c) 2012 Dailymotion. All rights reserved. // #import "SDWebImageCompat.h" #if !__has_feature(objc_arc) #error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag #endif inline UIImage *SDScaledImageForKey(NSString *key, UIImage *image) { if ([image.images count] > 0) { NSMutableArray *scaledImages = [NSMutableArray array]; for (UIImage *tempImage in image.images) { [scaledImages addObject:SDScaledImageForKey(key, tempImage)]; } return [UIImage animatedImageWithImages:scaledImages duration:image.duration]; } else { if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) { CGFloat scale = 1.0; if (key.length >= 8) { // Search @2x. at the end of the string, before a 3 to 4 extension length (only if key len is 8 or more @2x. + 4 len ext) NSRange range = [key rangeOfString:@"@2x." options:0 range:NSMakeRange(key.length - 8, 5)]; if (range.location != NSNotFound) { scale = 2.0; } } UIImage *scaledImage = [[UIImage alloc] initWithCGImage:image.CGImage scale:scale orientation:image.imageOrientation]; image = scaledImage; } return image; } } ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * Created by james on 9/28/11. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #import "SDWebImageCompat.h" @interface UIImage (ForceDecode) + (UIImage *)decodedImageWithImage:(UIImage *)image; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * Created by james on 9/28/11. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageDecoder.h" @implementation UIImage (ForceDecode) + (UIImage *)decodedImageWithImage:(UIImage *)image { if (image.images) { // Do not decode animated images return image; } CGImageRef imageRef = image.CGImage; CGSize imageSize = CGSizeMake(CGImageGetWidth(imageRef), CGImageGetHeight(imageRef)); CGRect imageRect = (CGRect){.origin = CGPointZero, .size = imageSize}; CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef); int infoMask = (bitmapInfo & kCGBitmapAlphaInfoMask); BOOL anyNonAlpha = (infoMask == kCGImageAlphaNone || infoMask == kCGImageAlphaNoneSkipFirst || infoMask == kCGImageAlphaNoneSkipLast); // CGBitmapContextCreate doesn't support kCGImageAlphaNone with RGB. // https://developer.apple.com/library/mac/#qa/qa1037/_index.html if (infoMask == kCGImageAlphaNone && CGColorSpaceGetNumberOfComponents(colorSpace) > 1) { // Unset the old alpha info. bitmapInfo &= ~kCGBitmapAlphaInfoMask; // Set noneSkipFirst. bitmapInfo |= kCGImageAlphaNoneSkipFirst; } // Some PNGs tell us they have alpha but only 3 components. Odd. else if (!anyNonAlpha && CGColorSpaceGetNumberOfComponents(colorSpace) == 3) { // Unset the old alpha info. bitmapInfo &= ~kCGBitmapAlphaInfoMask; bitmapInfo |= kCGImageAlphaPremultipliedFirst; } // It calculates the bytes-per-row based on the bitsPerComponent and width arguments. CGContextRef context = CGBitmapContextCreate(NULL, imageSize.width, imageSize.height, CGImageGetBitsPerComponent(imageRef), 0, colorSpace, bitmapInfo); CGColorSpaceRelease(colorSpace); // If failed, return undecompressed image if (!context) return image; CGContextDrawImage(context, imageRect, imageRef); CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context); CGContextRelease(context); UIImage *decompressedImage = [UIImage imageWithCGImage:decompressedImageRef scale:image.scale orientation:image.imageOrientation]; CGImageRelease(decompressedImageRef); return decompressedImage; } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #import "SDWebImageCompat.h" #import "SDWebImageOperation.h" typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) { SDWebImageDownloaderLowPriority = 1 << 0, SDWebImageDownloaderProgressiveDownload = 1 << 1, /** * By default, request prevent the of NSURLCache. With this flag, NSURLCache * is used with default policies. */ SDWebImageDownloaderUseNSURLCache = 1 << 2, /** * Call completion block with nil image/imageData if the image was read from NSURLCache * (to be combined with `SDWebImageDownloaderUseNSURLCache`). */ SDWebImageDownloaderIgnoreCachedResponse = 1 << 3, /** * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for * extra time in background to let the request finish. If the background task expires the operation will be cancelled. */ SDWebImageDownloaderContinueInBackground = 1 << 4, /** * Handles cookies stored in NSHTTPCookieStore by setting * NSMutableURLRequest.HTTPShouldHandleCookies = YES; */ SDWebImageDownloaderHandleCookies = 1 << 5, /** * Enable to allow untrusted SSL ceriticates. * Useful for testing purposes. Use with caution in production. */ SDWebImageDownloaderAllowInvalidSSLCertificates = 1 << 6, /** * Put the image in the high priority queue. */ SDWebImageDownloaderHighPriority = 1 << 7, }; typedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) { /** * Default value. All download operations will execute in queue style (first-in-first-out). */ SDWebImageDownloaderFIFOExecutionOrder, /** * All download operations will execute in stack style (last-in-first-out). */ SDWebImageDownloaderLIFOExecutionOrder }; extern NSString *const SDWebImageDownloadStartNotification; extern NSString *const SDWebImageDownloadStopNotification; typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize); typedef void(^SDWebImageDownloaderCompletedBlock)(UIImage *image, NSData *data, NSError *error, BOOL finished); /** * Asynchronous downloader dedicated and optimized for image loading. */ @interface SDWebImageDownloader : NSObject @property (assign, nonatomic) NSInteger maxConcurrentDownloads; /** * Shows the current amount of downloads that still need to be downloaded */ @property (readonly, nonatomic) NSUInteger currentDownloadCount; /** * The timeout value (in seconds) for the download operation. Default: 15.0. */ @property (assign, nonatomic) NSTimeInterval downloadTimeout; /** * Changes download operations execution order. Default value is `SDWebImageDownloaderFIFOExecutionOrder`. */ @property (assign, nonatomic) SDWebImageDownloaderExecutionOrder executionOrder; + (SDWebImageDownloader *)sharedDownloader; /** * Set filter to pick headers for downloading image HTTP request. * * This block will be invoked for each downloading image request, returned * NSDictionary will be used as headers in corresponding HTTP request. */ @property (nonatomic, strong) NSDictionary *(^headersFilter)(NSURL *url, NSDictionary *headers); /** * Set a value for a HTTP header to be appended to each download HTTP request. * * @param value The value for the header field. Use `nil` value to remove the header. * @param field The name of the header field to set. */ - (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field; /** * Returns the value of the specified HTTP header field. * * @return The value associated with the header field field, or `nil` if there is no corresponding header field. */ - (NSString *)valueForHTTPHeaderField:(NSString *)field; /** * Creates a SDWebImageDownloader async downloader instance with a given URL * * The delegate will be informed when the image is finish downloaded or an error has happen. * * @see SDWebImageDownloaderDelegate * * @param url The URL to the image to download * @param options The options to be used for this download * @param progressBlock A block called repeatedly while the image is downloading * @param completedBlock A block called once the download is completed. * If the download succeeded, the image parameter is set, in case of error, * error parameter is set with the error. The last parameter is always YES * if SDWebImageDownloaderProgressiveDownload isn't use. With the * SDWebImageDownloaderProgressiveDownload option, this block is called * repeatedly with the partial image object and the finished argument set to NO * before to be called a last time with the full image and finished argument * set to YES. In case of error, the finished argument is always YES. * * @return A cancellable SDWebImageOperation */ - (id )downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageDownloader.h" #import "SDWebImageDownloaderOperation.h" #import NSString *const SDWebImageDownloadStartNotification = @"SDWebImageDownloadStartNotification"; NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNotification"; static NSString *const kProgressCallbackKey = @"progress"; static NSString *const kCompletedCallbackKey = @"completed"; @interface SDWebImageDownloader () @property (strong, nonatomic) NSOperationQueue *downloadQueue; @property (weak, nonatomic) NSOperation *lastAddedOperation; @property (strong, nonatomic) NSMutableDictionary *URLCallbacks; @property (strong, nonatomic) NSMutableDictionary *HTTPHeaders; // This queue is used to serialize the handling of the network responses of all the download operation in a single queue @property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t barrierQueue; @end @implementation SDWebImageDownloader + (void)initialize { // Bind SDNetworkActivityIndicator if available (download it here: http://github.com/rs/SDNetworkActivityIndicator ) // To use it, just add #import "SDNetworkActivityIndicator.h" in addition to the SDWebImage import if (NSClassFromString(@"SDNetworkActivityIndicator")) { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Warc-performSelector-leaks" id activityIndicator = [NSClassFromString(@"SDNetworkActivityIndicator") performSelector:NSSelectorFromString(@"sharedActivityIndicator")]; #pragma clang diagnostic pop // Remove observer in case it was previously added. [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStartNotification object:nil]; [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStopNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:activityIndicator selector:NSSelectorFromString(@"startActivity") name:SDWebImageDownloadStartNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:activityIndicator selector:NSSelectorFromString(@"stopActivity") name:SDWebImageDownloadStopNotification object:nil]; } } + (SDWebImageDownloader *)sharedDownloader { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ instance = [self new]; }); return instance; } - (id)init { if ((self = [super init])) { _executionOrder = SDWebImageDownloaderFIFOExecutionOrder; _downloadQueue = [NSOperationQueue new]; _downloadQueue.maxConcurrentOperationCount = 2; _URLCallbacks = [NSMutableDictionary new]; _HTTPHeaders = [NSMutableDictionary dictionaryWithObject:@"image/webp,image/*;q=0.8" forKey:@"Accept"]; _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderBarrierQueue", DISPATCH_QUEUE_CONCURRENT); _downloadTimeout = 15.0; } return self; } - (void)dealloc { [self.downloadQueue cancelAllOperations]; SDDispatchQueueRelease(_barrierQueue); } - (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field { if (value) { self.HTTPHeaders[field] = value; } else { [self.HTTPHeaders removeObjectForKey:field]; } } - (NSString *)valueForHTTPHeaderField:(NSString *)field { return self.HTTPHeaders[field]; } - (void)setMaxConcurrentDownloads:(NSInteger)maxConcurrentDownloads { _downloadQueue.maxConcurrentOperationCount = maxConcurrentDownloads; } - (NSUInteger)currentDownloadCount { return _downloadQueue.operationCount; } - (NSInteger)maxConcurrentDownloads { return _downloadQueue.maxConcurrentOperationCount; } - (id )downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(void (^)(NSInteger, NSInteger))progressBlock completed:(void (^)(UIImage *, NSData *, NSError *, BOOL))completedBlock { __block SDWebImageDownloaderOperation *operation; __weak SDWebImageDownloader *wself = self; [self addProgressCallback:progressBlock andCompletedBlock:completedBlock forURL:url createCallback:^{ NSTimeInterval timeoutInterval = wself.downloadTimeout; if (timeoutInterval == 0.0) { timeoutInterval = 15.0; } // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url cachePolicy:(options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData) timeoutInterval:timeoutInterval]; request.HTTPShouldHandleCookies = (options & SDWebImageDownloaderHandleCookies); request.HTTPShouldUsePipelining = YES; if (wself.headersFilter) { request.allHTTPHeaderFields = wself.headersFilter(url, [wself.HTTPHeaders copy]); } else { request.allHTTPHeaderFields = wself.HTTPHeaders; } operation = [[SDWebImageDownloaderOperation alloc] initWithRequest:request options:options progress:^(NSInteger receivedSize, NSInteger expectedSize) { if (!wself) return; SDWebImageDownloader *sself = wself; NSArray *callbacksForURL = [sself callbacksForURL:url]; for (NSDictionary *callbacks in callbacksForURL) { SDWebImageDownloaderProgressBlock callback = callbacks[kProgressCallbackKey]; if (callback) callback(receivedSize, expectedSize); } } completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) { if (!wself) return; SDWebImageDownloader *sself = wself; NSArray *callbacksForURL = [sself callbacksForURL:url]; if (finished) { [sself removeCallbacksForURL:url]; } for (NSDictionary *callbacks in callbacksForURL) { SDWebImageDownloaderCompletedBlock callback = callbacks[kCompletedCallbackKey]; if (callback) callback(image, data, error, finished); } } cancelled:^{ if (!wself) return; SDWebImageDownloader *sself = wself; [sself removeCallbacksForURL:url]; }]; if (options & SDWebImageDownloaderHighPriority) { operation.queuePriority = NSOperationQueuePriorityHigh; } [wself.downloadQueue addOperation:operation]; if (wself.executionOrder == SDWebImageDownloaderLIFOExecutionOrder) { // Emulate LIFO execution order by systematically adding new operations as last operation's dependency [wself.lastAddedOperation addDependency:operation]; wself.lastAddedOperation = operation; } }]; return operation; } - (void)addProgressCallback:(void (^)(NSInteger, NSInteger))progressBlock andCompletedBlock:(void (^)(UIImage *, NSData *data, NSError *, BOOL))completedBlock forURL:(NSURL *)url createCallback:(void (^)())createCallback { // The URL will be used as the key to the callbacks dictionary so it cannot be nil. If it is nil immediately call the completed block with no image or data. if (url == nil) { if (completedBlock != nil) { completedBlock(nil, nil, nil, NO); } return; } dispatch_barrier_sync(self.barrierQueue, ^{ BOOL first = NO; if (!self.URLCallbacks[url]) { self.URLCallbacks[url] = [NSMutableArray new]; first = YES; } // Handle single download of simultaneous download request for the same URL NSMutableArray *callbacksForURL = self.URLCallbacks[url]; NSMutableDictionary *callbacks = [NSMutableDictionary new]; if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy]; if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy]; [callbacksForURL addObject:callbacks]; self.URLCallbacks[url] = callbacksForURL; if (first) { createCallback(); } }); } - (NSArray *)callbacksForURL:(NSURL *)url { __block NSArray *callbacksForURL; dispatch_sync(self.barrierQueue, ^{ callbacksForURL = self.URLCallbacks[url]; }); return [callbacksForURL copy]; } - (void)removeCallbacksForURL:(NSURL *)url { dispatch_barrier_async(self.barrierQueue, ^{ [self.URLCallbacks removeObjectForKey:url]; }); } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #import "SDWebImageDownloader.h" #import "SDWebImageOperation.h" @interface SDWebImageDownloaderOperation : NSOperation @property (strong, nonatomic, readonly) NSURLRequest *request; @property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options; - (id)initWithRequest:(NSURLRequest *)request options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock cancelled:(void (^)())cancelBlock; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageDownloaderOperation.h" #import "SDWebImageDecoder.h" #import "UIImage+MultiFormat.h" #import @interface SDWebImageDownloaderOperation () @property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock; @property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock; @property (copy, nonatomic) void (^cancelBlock)(); @property (assign, nonatomic, getter = isExecuting) BOOL executing; @property (assign, nonatomic, getter = isFinished) BOOL finished; @property (assign, nonatomic) NSInteger expectedSize; @property (strong, nonatomic) NSMutableData *imageData; @property (strong, nonatomic) NSURLConnection *connection; @property (strong, atomic) NSThread *thread; #if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 @property (assign, nonatomic) UIBackgroundTaskIdentifier backgroundTaskId; #endif @end @implementation SDWebImageDownloaderOperation { size_t width, height; UIImageOrientation orientation; BOOL responseFromCached; } @synthesize executing = _executing; @synthesize finished = _finished; - (id)initWithRequest:(NSURLRequest *)request options:(SDWebImageDownloaderOptions)options progress:(void (^)(NSInteger, NSInteger))progressBlock completed:(void (^)(UIImage *, NSData *, NSError *, BOOL))completedBlock cancelled:(void (^)())cancelBlock { if ((self = [super init])) { _request = request; _options = options; _progressBlock = [progressBlock copy]; _completedBlock = [completedBlock copy]; _cancelBlock = [cancelBlock copy]; _executing = NO; _finished = NO; _expectedSize = 0; responseFromCached = YES; // Initially wrong until `connection:willCacheResponse:` is called or not called } return self; } - (void)start { @synchronized (self) { if (self.isCancelled) { self.finished = YES; [self reset]; return; } #if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 if ([self shouldContinueWhenAppEntersBackground]) { __weak __typeof__ (self) wself = self; self.backgroundTaskId = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{ __strong __typeof (wself) sself = wself; if (sself) { [sself cancel]; [[UIApplication sharedApplication] endBackgroundTask:sself.backgroundTaskId]; sself.backgroundTaskId = UIBackgroundTaskInvalid; } }]; } #endif self.executing = YES; self.connection = [[NSURLConnection alloc] initWithRequest:self.request delegate:self startImmediately:NO]; self.thread = [NSThread currentThread]; } [self.connection start]; if (self.connection) { if (self.progressBlock) { self.progressBlock(0, NSURLResponseUnknownLength); } [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self]; if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_5_1) { // Make sure to run the runloop in our background thread so it can process downloaded data // Note: we use a timeout to work around an issue with NSURLConnection cancel under iOS 5 // not waking up the runloop, leading to dead threads (see https://github.com/rs/SDWebImage/issues/466) CFRunLoopRunInMode(kCFRunLoopDefaultMode, 10, false); } else { CFRunLoopRun(); } if (!self.isFinished) { [self.connection cancel]; [self connection:self.connection didFailWithError:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorTimedOut userInfo:@{NSURLErrorFailingURLErrorKey : self.request.URL}]]; } } else { if (self.completedBlock) { self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Connection can't be initialized"}], YES); } } #if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 if (self.backgroundTaskId != UIBackgroundTaskInvalid) { [[UIApplication sharedApplication] endBackgroundTask:self.backgroundTaskId]; self.backgroundTaskId = UIBackgroundTaskInvalid; } #endif } - (void)cancel { @synchronized (self) { if (self.thread) { [self performSelector:@selector(cancelInternalAndStop) onThread:self.thread withObject:nil waitUntilDone:NO]; } else { [self cancelInternal]; } } } - (void)cancelInternalAndStop { [self cancelInternal]; CFRunLoopStop(CFRunLoopGetCurrent()); } - (void)cancelInternal { if (self.isFinished) return; [super cancel]; if (self.cancelBlock) self.cancelBlock(); if (self.connection) { [self.connection cancel]; [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; // As we cancelled the connection, its callback won't be called and thus won't // maintain the isFinished and isExecuting flags. if (self.isExecuting) self.executing = NO; if (!self.isFinished) self.finished = YES; } [self reset]; } - (void)done { self.finished = YES; self.executing = NO; [self reset]; } - (void)reset { self.cancelBlock = nil; self.completedBlock = nil; self.progressBlock = nil; self.connection = nil; self.imageData = nil; self.thread = nil; } - (void)setFinished:(BOOL)finished { [self willChangeValueForKey:@"isFinished"]; _finished = finished; [self didChangeValueForKey:@"isFinished"]; } - (void)setExecuting:(BOOL)executing { [self willChangeValueForKey:@"isExecuting"]; _executing = executing; [self didChangeValueForKey:@"isExecuting"]; } - (BOOL)isConcurrent { return YES; } #pragma mark NSURLConnection (delegate) - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response { if (![response respondsToSelector:@selector(statusCode)] || [((NSHTTPURLResponse *)response) statusCode] < 400) { NSInteger expected = response.expectedContentLength > 0 ? (NSInteger)response.expectedContentLength : 0; self.expectedSize = expected; if (self.progressBlock) { self.progressBlock(0, expected); } self.imageData = [[NSMutableData alloc] initWithCapacity:expected]; } else { [self.connection cancel]; [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; if (self.completedBlock) { self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES); } [self done]; } } - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { [self.imageData appendData:data]; if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0 && self.completedBlock) { // The following code is from http://www.cocoaintheshell.com/2011/05/progressive-images-download-imageio/ // Thanks to the author @Nyx0uf // Get the total bytes downloaded const NSInteger totalSize = self.imageData.length; // Update the data source, we must pass ALL the data, not just the new bytes CGImageSourceRef imageSource = CGImageSourceCreateIncremental(NULL); CGImageSourceUpdateData(imageSource, (__bridge CFDataRef)self.imageData, totalSize == self.expectedSize); if (width + height == 0) { CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL); if (properties) { NSInteger orientationValue = -1; CFTypeRef val = CFDictionaryGetValue(properties, kCGImagePropertyPixelHeight); if (val) CFNumberGetValue(val, kCFNumberLongType, &height); val = CFDictionaryGetValue(properties, kCGImagePropertyPixelWidth); if (val) CFNumberGetValue(val, kCFNumberLongType, &width); val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation); if (val) CFNumberGetValue(val, kCFNumberNSIntegerType, &orientationValue); CFRelease(properties); // When we draw to Core Graphics, we lose orientation information, // which means the image below born of initWithCGIImage will be // oriented incorrectly sometimes. (Unlike the image born of initWithData // in connectionDidFinishLoading.) So save it here and pass it on later. orientation = [[self class] orientationFromPropertyValue:(orientationValue == -1 ? 1 : orientationValue)]; } } if (width + height > 0 && totalSize < self.expectedSize) { // Create the image CGImageRef partialImageRef = CGImageSourceCreateImageAtIndex(imageSource, 0, NULL); #ifdef TARGET_OS_IPHONE // Workaround for iOS anamorphic image if (partialImageRef) { const size_t partialHeight = CGImageGetHeight(partialImageRef); CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); CGContextRef bmContext = CGBitmapContextCreate(NULL, width, height, 8, width * 4, colorSpace, kCGBitmapByteOrderDefault | kCGImageAlphaPremultipliedFirst); CGColorSpaceRelease(colorSpace); if (bmContext) { CGContextDrawImage(bmContext, (CGRect){.origin.x = 0.0f, .origin.y = 0.0f, .size.width = width, .size.height = partialHeight}, partialImageRef); CGImageRelease(partialImageRef); partialImageRef = CGBitmapContextCreateImage(bmContext); CGContextRelease(bmContext); } else { CGImageRelease(partialImageRef); partialImageRef = nil; } } #endif if (partialImageRef) { UIImage *image = [UIImage imageWithCGImage:partialImageRef scale:1 orientation:orientation]; UIImage *scaledImage = [self scaledImageForKey:self.request.URL.absoluteString image:image]; image = [UIImage decodedImageWithImage:scaledImage]; CGImageRelease(partialImageRef); dispatch_main_sync_safe(^{ if (self.completedBlock) { self.completedBlock(image, nil, nil, NO); } }); } } CFRelease(imageSource); } if (self.progressBlock) { self.progressBlock(self.imageData.length, self.expectedSize); } } + (UIImageOrientation)orientationFromPropertyValue:(NSInteger)value { switch (value) { case 1: return UIImageOrientationUp; case 3: return UIImageOrientationDown; case 8: return UIImageOrientationLeft; case 6: return UIImageOrientationRight; case 2: return UIImageOrientationUpMirrored; case 4: return UIImageOrientationDownMirrored; case 5: return UIImageOrientationLeftMirrored; case 7: return UIImageOrientationRightMirrored; default: return UIImageOrientationUp; } } - (UIImage *)scaledImageForKey:(NSString *)key image:(UIImage *)image { return SDScaledImageForKey(key, image); } - (void)connectionDidFinishLoading:(NSURLConnection *)aConnection { CFRunLoopStop(CFRunLoopGetCurrent()); self.connection = nil; [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; SDWebImageDownloaderCompletedBlock completionBlock = self.completedBlock; if (completionBlock) { if (self.options & SDWebImageDownloaderIgnoreCachedResponse && responseFromCached) { completionBlock(nil, nil, nil, YES); self.completionBlock = nil; [self done]; } else { UIImage *image = [UIImage sd_imageWithData:self.imageData]; image = [self scaledImageForKey:self.request.URL.absoluteString image:image]; if (!image.images) // Do not force decod animated GIFs { image = [UIImage decodedImageWithImage:image]; } if (CGSizeEqualToSize(image.size, CGSizeZero)) { completionBlock(nil, nil, [NSError errorWithDomain:@"SDWebImageErrorDomain" code:0 userInfo:@{NSLocalizedDescriptionKey : @"Downloaded image has 0 pixels"}], YES); } else { completionBlock(image, self.imageData, nil, YES); } self.completionBlock = nil; [self done]; } } else { [self done]; } } - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { CFRunLoopStop(CFRunLoopGetCurrent()); [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; if (self.completedBlock) { self.completedBlock(nil, nil, error, YES); } [self done]; } - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse { responseFromCached = NO; // If this method is called, it means the response wasn't read from cache if (self.request.cachePolicy == NSURLRequestReloadIgnoringLocalCacheData) { // Prevents caching of responses return nil; } else { return cachedResponse; } } - (BOOL)shouldContinueWhenAppEntersBackground { return self.options & SDWebImageDownloaderContinueInBackground; } - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace { return [protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]; } - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { BOOL trustAllCertificates = (self.options & SDWebImageDownloaderAllowInvalidSSLCertificates); if (trustAllCertificates && [challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) { [challenge.sender useCredential:[NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust] forAuthenticationChallenge:challenge]; } [challenge.sender continueWithoutCredentialForAuthenticationChallenge:challenge]; } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageManager.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageCompat.h" #import "SDWebImageOperation.h" #import "SDWebImageDownloader.h" #import "SDImageCache.h" typedef NS_OPTIONS(NSUInteger, SDWebImageOptions) { /** * By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying. * This flag disable this blacklisting. */ SDWebImageRetryFailed = 1 << 0, /** * By default, image downloads are started during UI interactions, this flags disable this feature, * leading to delayed download on UIScrollView deceleration for instance. */ SDWebImageLowPriority = 1 << 1, /** * This flag disables on-disk caching */ SDWebImageCacheMemoryOnly = 1 << 2, /** * This flag enables progressive download, the image is displayed progressively during download as a browser would do. * By default, the image is only displayed once completely downloaded. */ SDWebImageProgressiveDownload = 1 << 3, /** * Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed. * The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation. * This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics. * If a cached image is refreshed, the completion block is called once with the cached image and again with the final image. * * Use this flag only if you can't make your URLs static with embeded cache busting parameter. */ SDWebImageRefreshCached = 1 << 4, /** * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for * extra time in background to let the request finish. If the background task expires the operation will be cancelled. */ SDWebImageContinueInBackground = 1 << 5, /** * Handles cookies stored in NSHTTPCookieStore by setting * NSMutableURLRequest.HTTPShouldHandleCookies = YES; */ SDWebImageHandleCookies = 1 << 6, /** * Enable to allow untrusted SSL ceriticates. * Useful for testing purposes. Use with caution in production. */ SDWebImageAllowInvalidSSLCertificates = 1 << 7, /** * By default, image are loaded in the order they were queued. This flag move them to * the front of the queue and is loaded immediately instead of waiting for the current queue to be loaded (which * could take a while). */ SDWebImageHighPriority = 1 << 8 }; typedef void(^SDWebImageCompletedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType); typedef void(^SDWebImageCompletedWithFinishedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished); @class SDWebImageManager; @protocol SDWebImageManagerDelegate @optional /** * Controls which image should be downloaded when the image is not found in the cache. * * @param imageManager The current `SDWebImageManager` * @param imageURL The url of the image to be downloaded * * @return Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied. */ - (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL; /** * Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. * NOTE: This method is called from a global queue in order to not to block the main thread. * * @param imageManager The current `SDWebImageManager` * @param image The image to transform * @param imageURL The url of the image to transform * * @return The transformed image object. */ - (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL; @end /** * The SDWebImageManager is the class behind the UIImageView+WebCache category and likes. * It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache). * You can use this class directly to benefit from web image downloading with caching in another context than * a UIView. * * Here is a simple example of how to use SDWebImageManager: * * @code SDWebImageManager *manager = [SDWebImageManager sharedManager]; [manager downloadWithURL:imageURL options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (image) { // do something with image } }]; * @endcode */ @interface SDWebImageManager : NSObject @property (weak, nonatomic) id delegate; @property (strong, nonatomic, readonly) SDImageCache *imageCache; @property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader; /** * The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can * be used to remove dynamic part of an image URL. * * The following example sets a filter in the application delegate that will remove any query-string from the * URL before to use it as a cache key: * * @code [[SDWebImageManager sharedManager] setCacheKeyFilter:^(NSURL *url) { url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path]; return [url absoluteString]; }]; * @endcode */ @property (strong) NSString *(^cacheKeyFilter)(NSURL *url); /** * Returns global SDWebImageManager instance. * * @return SDWebImageManager shared instance */ + (SDWebImageManager *)sharedManager; /** * Downloads the image at the given URL if not present in cache or return the cached version otherwise. * * @param url The URL to the image * @param options A mask to specify options to use for this request * @param progressBlock A block called while image is downloading * @param completedBlock A block called when operation has been completed. * * This parameter is required. * * This block has no return value and takes the requested UIImage as first parameter. * In case of error the image parameter is nil and the second parameter may contain an NSError. * * The third parameter is an `SDImageCacheType` enum indicating if the image was retrived from the local cache * or from the memory cache or from the network. * * The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and the image is * downloading. This block is thus called repetidly with a partial image. When image is fully downloaded, the * block is called a last time with the full image and the last parameter set to YES. * * @return Returns a cancellable NSOperation */ - (id )downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock; /** * Cancel all current opreations */ - (void)cancelAll; /** * Check one or more operations running */ - (BOOL)isRunning; /** * Check if image has already been cached */ - (BOOL)diskImageExistsForURL:(NSURL *)url; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageManager.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageManager.h" #import @interface SDWebImageCombinedOperation : NSObject @property (assign, nonatomic, getter = isCancelled) BOOL cancelled; @property (copy, nonatomic) void (^cancelBlock)(); @property (strong, nonatomic) NSOperation *cacheOperation; @end @interface SDWebImageManager () @property (strong, nonatomic, readwrite) SDImageCache *imageCache; @property (strong, nonatomic, readwrite) SDWebImageDownloader *imageDownloader; @property (strong, nonatomic) NSMutableArray *failedURLs; @property (strong, nonatomic) NSMutableArray *runningOperations; @end @implementation SDWebImageManager + (id)sharedManager { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ instance = [self new]; }); return instance; } - (id)init { if ((self = [super init])) { _imageCache = [self createCache]; _imageDownloader = [SDWebImageDownloader new]; _failedURLs = [NSMutableArray new]; _runningOperations = [NSMutableArray new]; } return self; } - (SDImageCache *)createCache { return [SDImageCache sharedImageCache]; } - (NSString *)cacheKeyForURL:(NSURL *)url { if (self.cacheKeyFilter) { return self.cacheKeyFilter(url); } else { return [url absoluteString]; } } - (BOOL)diskImageExistsForURL:(NSURL *)url { NSString *key = [self cacheKeyForURL:url]; return [self.imageCache diskImageExistsWithKey:key]; } - (id )downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock { // Invoking this method without a completedBlock is pointless NSParameterAssert(completedBlock); // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, XCode won't // throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString. if ([url isKindOfClass:NSString.class]) { url = [NSURL URLWithString:(NSString *)url]; } // Prevents app crashing on argument type error like sending NSNull instead of NSURL if (![url isKindOfClass:NSURL.class]) { url = nil; } __block SDWebImageCombinedOperation *operation = [SDWebImageCombinedOperation new]; __weak SDWebImageCombinedOperation *weakOperation = operation; BOOL isFailedUrl = NO; @synchronized (self.failedURLs) { isFailedUrl = [self.failedURLs containsObject:url]; } if (!url || (!(options & SDWebImageRetryFailed) && isFailedUrl)) { dispatch_main_sync_safe(^{ NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorFileDoesNotExist userInfo:nil]; completedBlock(nil, error, SDImageCacheTypeNone, YES); }); return operation; } @synchronized (self.runningOperations) { [self.runningOperations addObject:operation]; } NSString *key = [self cacheKeyForURL:url]; operation.cacheOperation = [self.imageCache queryDiskCacheForKey:key done:^(UIImage *image, SDImageCacheType cacheType) { if (operation.isCancelled) { @synchronized (self.runningOperations) { [self.runningOperations removeObject:operation]; } return; } if ((!image || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) { if (image && options & SDWebImageRefreshCached) { dispatch_main_sync_safe(^{ // If image was found in the cache bug SDWebImageRefreshCached is provided, notify about the cached image // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server. completedBlock(image, nil, cacheType, YES); }); } // download if no image or requested to refresh anyway, and download allowed by delegate SDWebImageDownloaderOptions downloaderOptions = 0; if (options & SDWebImageLowPriority) downloaderOptions |= SDWebImageDownloaderLowPriority; if (options & SDWebImageProgressiveDownload) downloaderOptions |= SDWebImageDownloaderProgressiveDownload; if (options & SDWebImageRefreshCached) downloaderOptions |= SDWebImageDownloaderUseNSURLCache; if (options & SDWebImageContinueInBackground) downloaderOptions |= SDWebImageDownloaderContinueInBackground; if (options & SDWebImageHandleCookies) downloaderOptions |= SDWebImageDownloaderHandleCookies; if (options & SDWebImageAllowInvalidSSLCertificates) downloaderOptions |= SDWebImageDownloaderAllowInvalidSSLCertificates; if (options & SDWebImageHighPriority) downloaderOptions |= SDWebImageDownloaderHighPriority; if (image && options & SDWebImageRefreshCached) { // force progressive off if image already cached but forced refreshing downloaderOptions &= ~SDWebImageDownloaderProgressiveDownload; // ignore image read from NSURLCache if image if cached but force refreshing downloaderOptions |= SDWebImageDownloaderIgnoreCachedResponse; } id subOperation = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *data, NSError *error, BOOL finished) { if (weakOperation.isCancelled) { dispatch_main_sync_safe(^{ completedBlock(nil, nil, SDImageCacheTypeNone, finished); }); } else if (error) { dispatch_main_sync_safe(^{ completedBlock(nil, error, SDImageCacheTypeNone, finished); }); if (error.code != NSURLErrorNotConnectedToInternet) { @synchronized (self.failedURLs) { [self.failedURLs addObject:url]; } } } else { BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly); if (options & SDWebImageRefreshCached && image && !downloadedImage) { // Image refresh hit the NSURLCache cache, do not call the completion block } // NOTE: We don't call transformDownloadedImage delegate method on animated images as most transformation code would mangle it else if (downloadedImage && !downloadedImage.images && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ UIImage *transformedImage = [self.delegate imageManager:self transformDownloadedImage:downloadedImage withURL:url]; dispatch_main_sync_safe(^{ completedBlock(transformedImage, nil, SDImageCacheTypeNone, finished); }); if (transformedImage && finished) { BOOL imageWasTransformed = ![transformedImage isEqual:downloadedImage]; [self.imageCache storeImage:transformedImage recalculateFromImage:imageWasTransformed imageData:data forKey:key toDisk:cacheOnDisk]; } }); } else { dispatch_main_sync_safe(^{ completedBlock(downloadedImage, nil, SDImageCacheTypeNone, finished); }); if (downloadedImage && finished) { [self.imageCache storeImage:downloadedImage recalculateFromImage:NO imageData:data forKey:key toDisk:cacheOnDisk]; } } } if (finished) { @synchronized (self.runningOperations) { [self.runningOperations removeObject:operation]; } } }]; operation.cancelBlock = ^{ [subOperation cancel]; }; } else if (image) { dispatch_main_sync_safe(^{ completedBlock(image, nil, cacheType, YES); }); @synchronized (self.runningOperations) { [self.runningOperations removeObject:operation]; } } else { // Image not in cache and download disallowed by delegate dispatch_main_sync_safe(^{ completedBlock(nil, nil, SDImageCacheTypeNone, YES); }); @synchronized (self.runningOperations) { [self.runningOperations removeObject:operation]; } } }]; return operation; } - (void)cancelAll { @synchronized (self.runningOperations) { [self.runningOperations makeObjectsPerformSelector:@selector(cancel)]; [self.runningOperations removeAllObjects]; } } - (BOOL)isRunning { return self.runningOperations.count > 0; } @end @implementation SDWebImageCombinedOperation - (void)setCancelBlock:(void (^)())cancelBlock { if (self.isCancelled) { if (cancelBlock) cancelBlock(); } else { _cancelBlock = [cancelBlock copy]; } } - (void)cancel { self.cancelled = YES; if (self.cacheOperation) { [self.cacheOperation cancel]; self.cacheOperation = nil; } if (self.cancelBlock) { self.cancelBlock(); self.cancelBlock = nil; } } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImageOperation.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import @protocol SDWebImageOperation - (void)cancel; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #import "SDWebImageManager.h" @class SDWebImagePrefetcher; @protocol SDWebImagePrefetcherDelegate @optional /** * Called when an image was prefetched. * * @param imagePrefetcher The current image prefetcher * @param imageURL The image url that was prefetched * @param finishedCount The total number of images that were prefetched * @param totalCount The total number of images that need to be prefetched */ - (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount; /** * Called when all images are prefetched. * @param imagePrefetcher The current image prefetcher * @param totalCount The total number of images that need to be prefetched * @param skippedCount The total number of images that were skipped */ - (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount; @end /** * Prefetch some URLs in the cache for future use. Images are downloaded in low priority. */ @interface SDWebImagePrefetcher : NSObject /** * Maximum number of URLs to prefetch at the same time. Defaults to 3. */ @property (nonatomic, assign) NSUInteger maxConcurrentDownloads; /** * SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority. */ @property (nonatomic, assign) SDWebImageOptions options; @property (weak, nonatomic) id delegate; /** * Return the global image prefetcher instance. */ + (SDWebImagePrefetcher *)sharedImagePrefetcher; /** * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, * currently one image is downloaded at a time, * and skips images for failed downloads and proceed to the next image in the list * * @param urls list of URLs to prefetch */ - (void)prefetchURLs:(NSArray *)urls; /** * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, * currently one image is downloaded at a time, * and skips images for failed downloads and proceed to the next image in the list * * @param urls list of URLs to prefetch * @param progressBlock block to be called when progress updates * @param completionBlock block to be called when prefetching is completed */ - (void)prefetchURLs:(NSArray *)urls progress:(void (^)(NSUInteger, NSUInteger))progressBlock completed:(void (^)(NSUInteger, NSUInteger))completionBlock; /** * Remove and cancel queued list */ - (void)cancelPrefetching; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImagePrefetcher.h" @interface SDWebImagePrefetcher () @property (strong, nonatomic) SDWebImageManager *manager; @property (strong, nonatomic) NSArray *prefetchURLs; @property (assign, nonatomic) NSUInteger requestedCount; @property (assign, nonatomic) NSUInteger skippedCount; @property (assign, nonatomic) NSUInteger finishedCount; @property (assign, nonatomic) NSTimeInterval startedTime; @property (copy, nonatomic) void (^completionBlock)(NSUInteger, NSUInteger); @property (copy, nonatomic) void (^progressBlock)(NSUInteger, NSUInteger); @end @implementation SDWebImagePrefetcher + (SDWebImagePrefetcher *)sharedImagePrefetcher { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ instance = [self new]; }); return instance; } - (id)init { if ((self = [super init])) { _manager = [SDWebImageManager new]; _options = SDWebImageLowPriority; self.maxConcurrentDownloads = 3; } return self; } - (void)setMaxConcurrentDownloads:(NSUInteger)maxConcurrentDownloads { self.manager.imageDownloader.maxConcurrentDownloads = maxConcurrentDownloads; } - (NSUInteger)maxConcurrentDownloads { return self.manager.imageDownloader.maxConcurrentDownloads; } - (void)startPrefetchingAtIndex:(NSUInteger)index { if (index >= self.prefetchURLs.count) return; self.requestedCount++; [self.manager downloadWithURL:self.prefetchURLs[index] options:self.options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (!finished) return; self.finishedCount++; if (image) { if (self.progressBlock) { self.progressBlock(self.finishedCount,[self.prefetchURLs count]); } #ifdef SD_VERBOSE NSLog(@"Prefetched %d out of %d", self.finishedCount, self.prefetchURLs.count); #endif } else { if (self.progressBlock) { self.progressBlock(self.finishedCount,[self.prefetchURLs count]); } #ifdef SD_VERBOSE NSLog(@"Prefetched %d out of %d (Failed)", self.finishedCount, [self.prefetchURLs count]); #endif // Add last failed self.skippedCount++; } if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didPrefetchURL:finishedCount:totalCount:)]) { [self.delegate imagePrefetcher:self didPrefetchURL:self.prefetchURLs[index] finishedCount:self.finishedCount totalCount:self.prefetchURLs.count ]; } if (self.prefetchURLs.count > self.requestedCount) { [self startPrefetchingAtIndex:self.requestedCount]; } else if (self.finishedCount + self.skippedCount == self.requestedCount) { [self reportStatus]; if (self.completionBlock) { self.completionBlock(self.finishedCount, self.skippedCount); self.completionBlock = nil; } } }]; } - (void)reportStatus { NSUInteger total = [self.prefetchURLs count]; #ifdef SD_VERBOSE NSLog(@"Finished prefetching (%d successful, %d skipped, timeElasped %.2f)", total - self.skippedCount, self.skippedCount, CFAbsoluteTimeGetCurrent() - self.startedTime); #endif if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didFinishWithTotalCount:skippedCount:)]) { [self.delegate imagePrefetcher:self didFinishWithTotalCount:(total - self.skippedCount) skippedCount:self.skippedCount ]; } } - (void)prefetchURLs:(NSArray *)urls { [self prefetchURLs:urls progress:nil completed:nil]; } - (void)prefetchURLs:(NSArray *)urls progress:(void (^)(NSUInteger, NSUInteger))progressBlock completed:(void (^)(NSUInteger, NSUInteger))completionBlock { [self cancelPrefetching]; // Prevent duplicate prefetch request self.startedTime = CFAbsoluteTimeGetCurrent(); self.prefetchURLs = urls; self.completionBlock = completionBlock; self.progressBlock = progressBlock; // Starts prefetching from the very first image on the list with the max allowed concurrency NSUInteger listCount = self.prefetchURLs.count; for (NSUInteger i = 0; i < self.maxConcurrentDownloads && self.requestedCount < listCount; i++) { [self startPrefetchingAtIndex:i]; } } - (void)cancelPrefetching { self.prefetchURLs = nil; self.skippedCount = 0; self.requestedCount = 0; self.finishedCount = 0; [self.manager cancelAll]; } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIButton+WebCache.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageCompat.h" #import "SDWebImageManager.h" /** * Integrates SDWebImage async downloading and caching of remote images with UIButtonView. */ @interface UIButton (WebCache) /** * Set the imageView `image` with an `url`. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. */ - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state; /** * Set the imageView `image` with an `url` and a placeholder. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @see setImageWithURL:placeholderImage:options: */ - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder; /** * Set the imageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; /** * Set the imageView `image` with an `url`. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the backgroundImageView `image` with an `url`. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. */ - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state; /** * Set the backgroundImageView `image` with an `url` and a placeholder. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @see setImageWithURL:placeholderImage:options: */ - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder; /** * Set the backgroundImageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; /** * Set the backgroundImageView `image` with an `url`. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param completedBlock A block object to be executed after the request operation * completed. This block has no return value and takes three argument: the requested * `UIImage` object, the `NSError` object describing error that occurred, and an * `SDImageCacheType` enum describing the source of the image obtained from. */ - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the backgroundImageView `image` with an `url`, placeholder. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. * @param placeholder The image to be set initially, until the image request finishes. * @param completedBlock A block object to be executed after the request operation * completed. This block has no return value and takes three argument: the requested * `UIImage` object, the `NSError` object describing error that occurred, and an * `SDImageCacheType` enum describing the source of the image obtained from. */ - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the backgroundImageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param completedBlock A block object to be executed after the request operation * completed. This block has no return value and takes three argument: the requested * `UIImage` object, the `NSError` object describing error that occurred, and an * `SDImageCacheType` enum describing the source of the image obtained from. */ - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; /** * Cancel the current download */ - (void)cancelCurrentImageLoad; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIButton+WebCache.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "UIButton+WebCache.h" #import "objc/runtime.h" static char operationKey; @implementation UIButton (WebCache) - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state { [self setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; } - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder { [self setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; } - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { [self setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; } - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock { [self setImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock]; } - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock { [self setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock]; } - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { [self cancelCurrentImageLoad]; [self setImage:placeholder forState:state]; if (url) { __weak UIButton *wself = self; id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (!wself) return; dispatch_main_sync_safe(^{ __strong UIButton *sself = wself; if (!sself) return; if (image) { [sself setImage:image forState:state]; } if (completedBlock && finished) { completedBlock(image, error, cacheType); } }); }]; objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } } - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state { [self setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; } - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder { [self setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; } - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { [self setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; } - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock { [self setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock]; } - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock { [self setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock]; } - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { [self cancelCurrentImageLoad]; [self setBackgroundImage:placeholder forState:state]; if (url) { __weak UIButton *wself = self; id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (!wself) return; dispatch_main_sync_safe(^{ __strong UIButton *sself = wself; if (!sself) return; if (image) { [sself setBackgroundImage:image forState:state]; } if (completedBlock && finished) { completedBlock(image, error, cacheType); } }); }]; objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } } - (void)cancelCurrentImageLoad { // Cancel in progress downloader from queue id operation = objc_getAssociatedObject(self, &operationKey); if (operation) { [operation cancel]; objc_setAssociatedObject(self, &operationKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIImage+GIF.h ================================================ // // UIImage+GIF.h // LBGIFImage // // Created by Laurin Brandner on 06.01.12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #import @interface UIImage (GIF) + (UIImage *)sd_animatedGIFNamed:(NSString *)name; + (UIImage *)sd_animatedGIFWithData:(NSData *)data; - (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIImage+GIF.m ================================================ // // UIImage+GIF.m // LBGIFImage // // Created by Laurin Brandner on 06.01.12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #import "UIImage+GIF.h" #import @implementation UIImage (GIF) + (UIImage *)sd_animatedGIFWithData:(NSData *)data { if (!data) { return nil; } CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL); size_t count = CGImageSourceGetCount(source); UIImage *animatedImage; if (count <= 1) { animatedImage = [[UIImage alloc] initWithData:data]; } else { NSMutableArray *images = [NSMutableArray array]; NSTimeInterval duration = 0.0f; for (size_t i = 0; i < count; i++) { CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL); duration += [self frameDurationAtIndex:i source:source]; [images addObject:[UIImage imageWithCGImage:image scale:[UIScreen mainScreen].scale orientation:UIImageOrientationUp]]; CGImageRelease(image); } if (!duration) { duration = (1.0f / 10.0f) * count; } animatedImage = [UIImage animatedImageWithImages:images duration:duration]; } CFRelease(source); return animatedImage; } + (float)frameDurationAtIndex:(NSUInteger)index source:(CGImageSourceRef)source { float frameDuration = 0.1f; CFDictionaryRef cfFrameProperties = CGImageSourceCopyPropertiesAtIndex(source, index, nil); NSDictionary *frameProperties = (__bridge NSDictionary *)cfFrameProperties; NSDictionary *gifProperties = frameProperties[(NSString *)kCGImagePropertyGIFDictionary]; NSNumber *delayTimeUnclampedProp = gifProperties[(NSString *)kCGImagePropertyGIFUnclampedDelayTime]; if (delayTimeUnclampedProp) { frameDuration = [delayTimeUnclampedProp floatValue]; } else { NSNumber *delayTimeProp = gifProperties[(NSString *)kCGImagePropertyGIFDelayTime]; if (delayTimeProp) { frameDuration = [delayTimeProp floatValue]; } } // Many annoying ads specify a 0 duration to make an image flash as quickly as possible. // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify // a duration of <= 10 ms. See and // for more information. if (frameDuration < 0.011f) { frameDuration = 0.100f; } CFRelease(cfFrameProperties); return frameDuration; } + (UIImage *)sd_animatedGIFNamed:(NSString *)name { CGFloat scale = [UIScreen mainScreen].scale; if (scale > 1.0f) { NSString *retinaPath = [[NSBundle mainBundle] pathForResource:[name stringByAppendingString:@"@2x"] ofType:@"gif"]; NSData *data = [NSData dataWithContentsOfFile:retinaPath]; if (data) { return [UIImage sd_animatedGIFWithData:data]; } NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@"gif"]; data = [NSData dataWithContentsOfFile:path]; if (data) { return [UIImage sd_animatedGIFWithData:data]; } return [UIImage imageNamed:name]; } else { NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@"gif"]; NSData *data = [NSData dataWithContentsOfFile:path]; if (data) { return [UIImage sd_animatedGIFWithData:data]; } return [UIImage imageNamed:name]; } } - (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size { if (CGSizeEqualToSize(self.size, size) || CGSizeEqualToSize(size, CGSizeZero)) { return self; } CGSize scaledSize = size; CGPoint thumbnailPoint = CGPointZero; CGFloat widthFactor = size.width / self.size.width; CGFloat heightFactor = size.height / self.size.height; CGFloat scaleFactor = (widthFactor > heightFactor) ? widthFactor : heightFactor; scaledSize.width = self.size.width * scaleFactor; scaledSize.height = self.size.height * scaleFactor; if (widthFactor > heightFactor) { thumbnailPoint.y = (size.height - scaledSize.height) * 0.5; } else if (widthFactor < heightFactor) { thumbnailPoint.x = (size.width - scaledSize.width) * 0.5; } NSMutableArray *scaledImages = [NSMutableArray array]; UIGraphicsBeginImageContextWithOptions(size, NO, 0.0); for (UIImage *image in self.images) { [image drawInRect:CGRectMake(thumbnailPoint.x, thumbnailPoint.y, scaledSize.width, scaledSize.height)]; UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext(); [scaledImages addObject:newImage]; } UIGraphicsEndImageContext(); return [UIImage animatedImageWithImages:scaledImages duration:self.duration]; } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h ================================================ // // UIImage+MultiFormat.h // SDWebImage // // Created by Olivier Poitrey on 07/06/13. // Copyright (c) 2013 Dailymotion. All rights reserved. // #import @interface UIImage (MultiFormat) + (UIImage *)sd_imageWithData:(NSData *)data; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m ================================================ // // UIImage+MultiFormat.m // SDWebImage // // Created by Olivier Poitrey on 07/06/13. // Copyright (c) 2013 Dailymotion. All rights reserved. // #import "UIImage+MultiFormat.h" #import "UIImage+GIF.h" #import "NSData+ImageContentType.h" #ifdef SD_WEBP #import "UIImage+WebP.h" #endif @implementation UIImage (MultiFormat) + (UIImage *)sd_imageWithData:(NSData *)data { UIImage *image; NSString *imageContentType = [NSData contentTypeForImageData:data]; if ([imageContentType isEqualToString:@"image/gif"]) { image = [UIImage sd_animatedGIFWithData:data]; } #ifdef SD_WEBP else if ([imageContentType isEqualToString:@"image/webp"]) { image = [UIImage sd_imageWithWebPData:data]; } #endif else { image = [[UIImage alloc] initWithData:data]; } return image; } @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "SDWebImageCompat.h" #import "SDWebImageManager.h" /** * Integrates SDWebImage async downloading and caching of remote images with UIImageView. * * Usage with a UITableViewCell sub-class: * * @code #import ... - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *MyIdentifier = @"MyIdentifier"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier] autorelease]; } // Here we use the provided setImageWithURL: method to load the web image // Ensure you use a placeholder image otherwise cells will be initialized with no image [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://example.com/image.jpg"] placeholderImage:[UIImage imageNamed:@"placeholder"]]; cell.textLabel.text = @"My Text"; return cell; } * @endcode */ @interface UIImageView (WebCache) /** * Set the imageView `image` with an `url`. * * The downloand is asynchronous and cached. * * @param url The url for the image. */ - (void)setImageWithURL:(NSURL *)url; /** * Set the imageView `image` with an `url` and a placeholder. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param placeholder The image to be set initially, until the image request finishes. * @see setImageWithURL:placeholderImage:options: */ - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder; /** * Set the imageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; /** * Set the imageView `image` with an `url`. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param placeholder The image to be set initially, until the image request finishes. * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder and custom options. * * The downloand is asynchronous and cached. * * @param url The url for the image. * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param progressBlock A block called while image is downloading * @param completedBlock A block called when operation has been completed. This block as no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrived from the local cache of from the network. */ - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock; /** * Download an array of images and starts them in an animation loop * *@param arrayOfURLs An array of NSURL */ - (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs; /** * Cancel the current download */ - (void)cancelCurrentImageLoad; - (void)cancelCurrentArrayLoad; @end ================================================ FILE: Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m ================================================ /* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import "UIImageView+WebCache.h" #import "objc/runtime.h" static char operationKey; static char operationArrayKey; @implementation UIImageView (WebCache) - (void)setImageWithURL:(NSURL *)url { [self setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil]; } - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder { [self setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil]; } - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { [self setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil]; } - (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock { [self setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock]; } - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock { [self setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock]; } - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { [self setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock]; } - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock { [self cancelCurrentImageLoad]; self.image = placeholder; if (url) { __weak UIImageView *wself = self; id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (!wself) return; dispatch_main_sync_safe(^{ if (!wself) return; if (image) { wself.image = image; [wself setNeedsLayout]; } if (completedBlock && finished) { completedBlock(image, error, cacheType); } }); }]; objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } } - (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs { [self cancelCurrentArrayLoad]; __weak UIImageView *wself = self; NSMutableArray *operationsArray = [[NSMutableArray alloc] init]; for (NSURL *logoImageURL in arrayOfURLs) { id operation = [SDWebImageManager.sharedManager downloadWithURL:logoImageURL options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) { if (!wself) return; dispatch_main_sync_safe(^{ __strong UIImageView *sself = wself; [sself stopAnimating]; if (sself && image) { NSMutableArray *currentImages = [[sself animationImages] mutableCopy]; if (!currentImages) { currentImages = [[NSMutableArray alloc] init]; } [currentImages addObject:image]; sself.animationImages = currentImages; [sself setNeedsLayout]; } [sself startAnimating]; }); }]; [operationsArray addObject:operation]; } objc_setAssociatedObject(self, &operationArrayKey, [NSArray arrayWithArray:operationsArray], OBJC_ASSOCIATION_RETAIN_NONATOMIC); } - (void)cancelCurrentImageLoad { // Cancel in progress downloader from queue id operation = objc_getAssociatedObject(self, &operationKey); if (operation) { [operation cancel]; objc_setAssociatedObject(self, &operationKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } } - (void)cancelCurrentArrayLoad { // Cancel in progress downloader from queue NSArray *operations = objc_getAssociatedObject(self, &operationArrayKey); for (id operation in operations) { if (operation) { [operation cancel]; } } objc_setAssociatedObject(self, &operationArrayKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } @end ================================================ FILE: README.md ================================================ CharacterText ========================= **UILabel subclass to perform text effects** Blog Post: https://swiftyeti.com/texteffects-with-nslayoutmanager CharacterText uses NSLayoutManager to position CATextLayers for each glyph in your string. This gives you the power to create some neat text effect using all the attributes of CATextLayer. CharacterText is inspired from Secret & the new iOS8 autocomplete effect. ## Usage CharacterLabel can be used in place of UILabel. You can subclass CharacterLabel to then create your own animations. Three examples are provided: FallingLabel, FadingLabel, and MotionLabel. FallingLabel: [![FallingLabel](http://i.imgur.com/0R2iMOp.gif)](https://swiftyeti.com/texteffects-with-nslayoutmanager) FadingLabel: [![FadingLabel](http://i.imgur.com/fzUTN4E.gif)](https://swiftyeti.com/texteffects-with-nslayoutmanager) MotionLabel: [![MotionLabel](http://i.imgur.com/jGR7PsR.gif)](https://swiftyeti.com/texteffects-with-nslayoutmanager) Objective-C Version: https://github.com/android1989/YetiCharacterLabelExample