diff --git a/PrettyWeatherApp/.gitignore b/PrettyWeatherApp/.gitignore new file mode 100644 index 0000000..c28da20 --- /dev/null +++ b/PrettyWeatherApp/.gitignore @@ -0,0 +1,66 @@ +# Created by https://www.gitignore.io + +### Xcode ### +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata +*.xccheckout +*.moved-aside +DerivedData +*.xcuserstate + + +### AppCode ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm + +*.iml + +## Directory-based project format: +.idea/ +# if you remove the above rule, at least ignore the following: + +# User-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# .idea/dictionaries + +# Sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml +# .idea/uiDesigner.xml + +# Gradle: +# .idea/gradle.xml +# .idea/libraries + +# Mongo Explorer plugin: +# .idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties diff --git a/PrettyWeatherApp/Podfile b/PrettyWeatherApp/Podfile new file mode 100644 index 0000000..9529284 --- /dev/null +++ b/PrettyWeatherApp/Podfile @@ -0,0 +1,15 @@ +# Uncomment this line to define a global platform for your project +# platform :ios, '6.0' +use_frameworks! +inhibit_all_warnings! + +target 'PrettyWeatherApp' do + pod 'Cartography', :git => "https://github.com/robb/Cartography.git", :tag => '0.6.0' + pod 'Alamofire', '~> 2.0' + pod 'SwiftyJSON', '~> 2.3.0' + pod 'WeatherIconsKit', :git => 'git@github.com:gscalzo/WeatherIconsKit.git' + pod 'FlickrKit', '~> 1.0.5' + pod 'FXBlurView', '~> 1.6.4' + pod 'LatoFont', :git => "https://github.com/gscalzo/LatoFont.git" +end + diff --git a/PrettyWeatherApp/Podfile.lock b/PrettyWeatherApp/Podfile.lock new file mode 100644 index 0000000..de1933d --- /dev/null +++ b/PrettyWeatherApp/Podfile.lock @@ -0,0 +1,48 @@ +PODS: + - Alamofire (2.0.2) + - Cartography (0.5.0) + - FlickrKit (1.0.5) + - FXBlurView (1.6.4) + - LatoFont (1.0.1) + - SwiftyJSON (2.3.0) + - WeatherIconsKit (1.0.0) + +DEPENDENCIES: + - Alamofire (~> 2.0) + - Cartography (from `https://github.com/robb/Cartography.git`, tag `0.6.0`) + - FlickrKit (~> 1.0.5) + - FXBlurView (~> 1.6.4) + - LatoFont (from `https://github.com/gscalzo/LatoFont.git`) + - SwiftyJSON (~> 2.3.0) + - WeatherIconsKit (from `git@github.com:gscalzo/WeatherIconsKit.git`) + +EXTERNAL SOURCES: + Cartography: + :git: https://github.com/robb/Cartography.git + :tag: 0.6.0 + LatoFont: + :git: https://github.com/gscalzo/LatoFont.git + WeatherIconsKit: + :git: git@github.com:gscalzo/WeatherIconsKit.git + +CHECKOUT OPTIONS: + Cartography: + :git: https://github.com/robb/Cartography.git + :tag: 0.6.0 + LatoFont: + :commit: 2739e4c28c92c82ca2c7daf289a238d62af01c42 + :git: https://github.com/gscalzo/LatoFont.git + WeatherIconsKit: + :commit: effa8476b88010a5ea6d3cfcf5fb81db87ff5bfa + :git: git@github.com:gscalzo/WeatherIconsKit.git + +SPEC CHECKSUMS: + Alamofire: 8edbab00802a752bb5240cc2abe70e7e881488ad + Cartography: 314f5ed1495995760487161eeb7a8a0940d88ad3 + FlickrKit: fc0ed009c5cb69db4d82e68f7acb02002ebe1a42 + FXBlurView: db786c2561cb49a09ae98407f52460096ab8a44f + LatoFont: 0bfeace154ee2da6080123d0e80560f6e22b187d + SwiftyJSON: 8d6b61a70277ef2a5d710d372e06e7e2d87fb9e4 + WeatherIconsKit: 84526a4cdf9da972c2866f24e40360420b1d40bf + +COCOAPODS: 0.39.0.beta.4 diff --git a/PrettyWeatherApp/Pods/Alamofire/LICENSE b/PrettyWeatherApp/Pods/Alamofire/LICENSE new file mode 100644 index 0000000..5b7934d --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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. diff --git a/PrettyWeatherApp/Pods/Alamofire/README.md b/PrettyWeatherApp/Pods/Alamofire/README.md new file mode 100644 index 0000000..0f8612d --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/README.md @@ -0,0 +1,1078 @@ +![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png) + +[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg)](https://travis-ci.org/Alamofire/Alamofire) +[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg) +[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) +[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](http://cocoadocs.org/docsets/Alamofire) +[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF) + +Alamofire is an HTTP networking library written in Swift. + +## Features + +- [x] Chainable Request / Response methods +- [x] URL / JSON / plist Parameter Encoding +- [x] Upload File / Data / Stream / MultipartFormData +- [x] Download using Request or Resume data +- [x] Authentication with NSURLCredential +- [x] HTTP Response Validation +- [x] TLS Certificate and Public Key Pinning +- [x] Progress Closure & NSProgress +- [x] cURL Debug Output +- [x] Comprehensive Unit Test Coverage +- [x] [Complete Documentation](http://cocoadocs.org/docsets/Alamofire) + +## Requirements + +- iOS 8.0+ / Mac OS X 10.9+ / watchOS 2 +- Xcode 7.0+ + +## Migration Guides + +- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md) + +## Communication + +- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire') +- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). +- If you **found a bug**, open an issue. +- If you **have a feature request**, open an issue. +- If you **want to contribute**, submit a pull request. + +## Installation + +> **Embedded frameworks require a minimum deployment target of iOS 8 or OS X Mavericks (10.9).** +> +> Alamofire is no longer supported on iOS 7 due to the lack of support for frameworks. Without frameworks, running Travis-CI against iOS 7 would require a second duplicated test target. The separate test suite would need to import all the Swift files and the tests would need to be duplicated and re-written. This split would be too difficult to maintain to ensure the highest possible quality of the Alamofire ecosystem. + +### CocoaPods + +[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. + +CocoaPods 0.38.2 is required to build Alamofire on the `swift-2.0` branch. It adds support for Xcode 7, Swift 2.0 and embedded frameworks. You can install it with the following command: + +```bash +$ gem install cocoapods +``` + +To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '8.0' +use_frameworks! + +pod 'Alamofire', '~> 2.0' +``` + +Then, run the following command: + +```bash +$ pod install +``` + +### Carthage + +[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application. + +You can install Carthage with [Homebrew](http://brew.sh/) using the following command: + +```bash +$ brew update +$ brew install carthage +``` + +To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`: + +```ogdl +github "Alamofire/Alamofire" ~> 2.0 +``` + +### Manually + +If you prefer not to use either of the aforementioned dependency managers, you can integrate Alamofire into your project manually. + +#### Embedded Framework + +- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository: + +```bash +$ git init +``` + +- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command: + +```bash +$ git submodule add https://github.com/Alamofire/Alamofire.git +``` + +- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project. + + > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter. + +- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target. +- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar. +- In the tab bar at the top of that window, open the "General" panel. +- Click on the `+` button under the "Embedded Binaries" section. +- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder. + + > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`. + +- Select the top `Alamofire.framework` for iOS and the bottom one for OS X. + + > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS` or `Alamofire OSX`. + +- And that's it! + +> The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device. + +--- + +## Usage + +### Making a Request + +```swift +import Alamofire + +Alamofire.request(.GET, "http://httpbin.org/get") +``` + +### Response Handling + +```swift +Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"]) + .response { request, response, data, error in + print(request) + print(response) + print(error) + } +``` + +> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way. + +> Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) is specified to handle the response once it's received. The result of a request is only available inside the scope of a response handler. Any execution contingent on the response or data received from the server must be done within a handler. + +### Response Serialization + +**Built-in Response Methods** + +- `response()` +- `responseString(encoding: NSStringEncoding)` +- `responseJSON(options: NSJSONReadingOptions)` +- `responsePropertyList(options: NSPropertyListReadOptions)` + +#### Response String Handler + +```swift +Alamofire.request(.GET, "http://httpbin.org/get") + .responseString { _, _, result in + print("Success: \(result.isSuccess)") + print("Response String: \(result.value)") + } +``` + +#### Response JSON Handler + +```swift +Alamofire.request(.GET, "http://httpbin.org/get") + .responseJSON { _, _, result in + print(result) + debugPrint(result) + } +``` + +#### Chained Response Handlers + +Response handlers can even be chained: + +```swift +Alamofire.request(.GET, "http://httpbin.org/get") + .responseString { _, _, result in + print("Response String: \(result.value)") + } + .responseJSON { _, _, result in + print("Response JSON: \(result.value)") + } +``` + +### HTTP Methods + +`Alamofire.Method` lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3): + +```swift +public enum Method: String { + case OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE, CONNECT +} +``` + +These values can be passed as the first argument of the `Alamofire.request` method: + +```swift +Alamofire.request(.POST, "http://httpbin.org/post") + +Alamofire.request(.PUT, "http://httpbin.org/put") + +Alamofire.request(.DELETE, "http://httpbin.org/delete") +``` + +### Parameters + +#### GET Request With URL-Encoded Parameters + +```swift +Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"]) +// http://httpbin.org/get?foo=bar +``` + +#### POST Request With URL-Encoded Parameters + +```swift +let parameters = [ + "foo": "bar", + "baz": ["a", 1], + "qux": [ + "x": 1, + "y": 2, + "z": 3 + ] +] + +Alamofire.request(.POST, "http://httpbin.org/post", parameters: parameters) +// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3 +``` + +### Parameter Encoding + +Parameters can also be encoded as JSON, Property List, or any custom format, using the `ParameterEncoding` enum: + +```swift +enum ParameterEncoding { + case URL + case URLEncodedInURL + case JSON + case PropertyList(format: NSPropertyListFormat, options: NSPropertyListWriteOptions) + case Custom((URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?)) + + func encode(request: NSURLRequest, parameters: [String: AnyObject]?) -> (NSURLRequest, NSError?) + { ... } +} +``` + +- `URL`: A query string to be set as or appended to any existing URL query for `GET`, `HEAD`, and `DELETE` requests, or set as the body for requests with any other HTTP method. The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded`. _Since there is no published specification for how to encode collection types, Alamofire follows the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`)._ +- `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same implementation as the `.URL` case, but always applies the encoded result to the URL. +- `JSON`: Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`. +- `PropertyList`: Uses `NSPropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`. +- `Custom`: Uses the associated closure value to construct a new request given an existing request and parameters. + +#### Manual Parameter Encoding of an NSURLRequest + +```swift +let URL = NSURL(string: "http://httpbin.org/get")! +var request = NSURLRequest(URL: URL) + +let parameters = ["foo": "bar"] +let encoding = Alamofire.ParameterEncoding.URL +(request, _) = encoding.encode(request, parameters: parameters) +``` + +#### POST Request with JSON-encoded Parameters + +```swift +let parameters = [ + "foo": [1,2,3], + "bar": [ + "baz": "qux" + ] +] + +Alamofire.request(.POST, "http://httpbin.org/post", parameters: parameters, encoding: .JSON) +// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}} +``` + +### HTTP Headers + +Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing. + +> For HTTP headers that do not change, it is recommended to set them on the `NSURLSessionConfiguration` so they are automatically applied to any `NSURLSessionTask` created by the underlying `NSURLSession`. + +```swift +let headers = [ + "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==", + "Content-Type": "application/x-www-form-urlencoded" +] + +Alamofire.request(.GET, "http://httpbin.org/get", headers: headers) + .responseJSON { _, _, result in + debugPrint(result) + } +``` + +### Caching + +Caching is handled on the system framework level by [`NSURLCache`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/cl/NSURLCache). + +### Uploading + +**Supported Upload Types** + +- File +- Data +- Stream +- MultipartFormData + +#### Uploading a File + +```swift +let fileURL = NSBundle.mainBundle().URLForResource("Default", withExtension: "png") +Alamofire.upload(.POST, "http://httpbin.org/post", file: fileURL) +``` + +#### Uploading with Progress + +```swift +Alamofire.upload(.POST, "http://httpbin.org/post", file: fileURL) + .progress { bytesWritten, totalBytesWritten, totalBytesExpectedToWrite in + print(totalBytesWritten) + + // This closure is NOT called on the main queue for performance + // reasons. To update your ui, dispatch to the main queue. + dispatch_async(dispatch_get_main_queue) { + print("Total bytes written on main queue: \(totalBytesWritten)") + } + } + .responseJSON { request, response, result in + debugPrint(result) + } +``` + +#### Uploading MultipartFormData + +```swift +Alamofire.upload( + .POST, + URLString: "http://httpbin.org/post", + multipartFormData: { multipartFormData in + multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn") + multipartFormData.appendBodyPart(fileURL: rainbowImageURL, name: "rainbow") + }, + encodingCompletion: { encodingResult in + switch encodingResult { + case .Success(let upload, _, _): + upload.responseJSON { request, response, result in + debugPrint(result) + } + case .Failure(let encodingError): + print(encodingError) + } + } +) +``` + +### Downloading + +**Supported Download Types** + +- Request +- Resume Data + +#### Downloading a File + +```swift +Alamofire.download(.GET, "http://httpbin.org/stream/100") { temporaryURL, response in + let fileManager = NSFileManager.defaultManager() + if let directoryURL = fileManager.URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)[0] as? NSURL { + let pathComponent = response.suggestedFilename + return directoryURL.URLByAppendingPathComponent(pathComponent!) + } + + return temporaryURL +} +``` + +#### Using the Default Download Destination + +```swift +let destination = Alamofire.Request.suggestedDownloadDestination(directory: .DocumentDirectory, domain: .UserDomainMask) +Alamofire.download(.GET, "http://httpbin.org/stream/100", destination: destination) +``` + +#### Downloading a File w/Progress + +```swift +Alamofire.download(.GET, "http://httpbin.org/stream/100", destination: destination) + .progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in + print(totalBytesRead) + + // This closure is NOT called on the main queue for performance + // reasons. To update your ui, dispatch to the main queue. + dispatch_async(dispatch_get_main_queue) { + print("Total bytes read on main queue: \(totalBytesRead)") + } + } + .response { request, response, _, error in + print(response) + } +``` + +#### Accessing Resume Data for Failed Downloads + +```swift +Alamofire.download(.GET, "http://httpbin.org/stream/100", destination: destination) + .response { request, response, data, error in + if let + data = data, + resumeDataString = NSString(data: data, encoding: NSUTF8StringEncoding) + { + print("Resume Data: \(resumeDataString)") + } else { + print("Resume Data was empty") + } + } +``` + +> The `data` parameter is automatically populated with the `resumeData` if available. + +```swift +let download = Alamofire.download(.GET, "http://httpbin.org/stream/100", destination: destination) +download.response { request, response, data, error in + if let + resumeData = download.resumeData, + resumeDataString = NSString(data: data, encoding: NSUTF8StringEncoding) + { + print("Resume Data: \(resumeDataString)") + } else { + print("Resume Data was empty") + } +} +``` + +### Authentication + +Authentication is handled on the system framework level by [`NSURLCredential` and `NSURLAuthenticationChallenge`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLAuthenticationChallenge_Class/Reference/Reference.html). + +**Supported Authentication Schemes** + +- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication) +- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication) +- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29) +- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager) + +#### HTTP Basic Authentication + +The `authenticate` method on a `Request` will automatically provide an `NSURLCredential` to an `NSURLAuthenticationChallenge` when appropriate: + +```swift +let user = "user" +let password = "password" + +Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)") + .authenticate(user: user, password: password) + .response { request, response, _, error in + print(response) + } +``` + +Depending upon your server implementation, an `Authorization` header may also be appropriate: + +```swift +let user = "user" +let password = "password" + +let credentialData = "\(user):\(password)".dataUsingEncoding(NSUTF8StringEncoding)! +let base64Credentials = credentialData.base64EncodedStringWithOptions(nil) + +let headers = ["Authorization": "Basic \(base64Credentials)"] + +Alamofire.request(.GET, "http://httpbin.org/basic-auth/user/password", headers: headers) + .responseJSON { _, _, result in + print(result) + } +``` + +#### Authentication with NSURLCredential + +```swift +let user = "user" +let password = "password" + +let credential = NSURLCredential(user: user, password: password, persistence: .ForSession) + +Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)") + .authenticate(usingCredential: credential) + .response { request, response, _, error in + print(response) + } +``` + +### Validation + +By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type. + +#### Manual Validation + +```swift +Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"]) + .validate(statusCode: 200..<300) + .validate(contentType: ["application/json"]) + .response { _, _, _, error in + print(error) + } +``` + +#### Automatic Validation + +Automatically validates status code within `200...299` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided. + +```swift +Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"]) + .validate() + .responseJSON { _, _, result in + switch result { + case .Success: + print("Validation Successful") + case .Failure(_, let error): + print(error) + } + } +``` + +### Printable + +```swift +let request = Alamofire.request(.GET, "http://httpbin.org/ip") + +print(request) +// GET http://httpbin.org/ip (200) +``` + +### DebugPrintable + +```swift +let request = Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"]) + +debugPrint(request) +``` + +#### Output (cURL) + +```bash +$ curl -i \ + -H "User-Agent: Alamofire" \ + -H "Accept-Encoding: Accept-Encoding: gzip;q=1.0,compress;q=0.5" \ + -H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \ + "http://httpbin.org/get?foo=bar" +``` + +--- + +## Advanced Usage + +> Alamofire is built on `NSURLSession` and the Foundation URL Loading System. To make the most of +this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack. + +**Recommended Reading** + +- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html) +- [NSURLSession Class Reference](https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/Introduction/Introduction.html#//apple_ref/occ/cl/NSURLSession) +- [NSURLCache Class Reference](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/cl/NSURLCache) +- [NSURLAuthenticationChallenge Class Reference](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLAuthenticationChallenge_Class/Reference/Reference.html) + +### Manager + +Top-level convenience methods like `Alamofire.request` use a shared instance of `Alamofire.Manager`, which is configured with the default `NSURLSessionConfiguration`. + +As such, the following two statements are equivalent: + +```swift +Alamofire.request(.GET, "http://httpbin.org/get") +``` + +```swift +let manager = Alamofire.Manager.sharedInstance +manager.request(NSURLRequest(URL: NSURL(string: "http://httpbin.org/get"))) +``` + +Applications can create managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`HTTPAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`). + +#### Creating a Manager with Default Configuration + +```swift +let configuration = NSURLSessionConfiguration.defaultSessionConfiguration() +let manager = Alamofire.Manager(configuration: configuration) +``` + +#### Creating a Manager with Background Configuration + +```swift +let configuration = NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier("com.example.app.background") +let manager = Alamofire.Manager(configuration: configuration) +``` + +#### Creating a Manager with Ephemeral Configuration + +```swift +let configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration() +let manager = Alamofire.Manager(configuration: configuration) +``` + +#### Modifying Session Configuration + +```swift +var defaultHeaders = Alamofire.Manager.sharedInstance.session.configuration.HTTPAdditionalHeaders ?? [:] +defaultHeaders["DNT"] = "1 (Do Not Track Enabled)" + +let configuration = NSURLSessionConfiguration.defaultSessionConfiguration() +configuration.HTTPAdditionalHeaders = defaultHeaders + +let manager = Alamofire.Manager(configuration: configuration) +``` + +> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use `URLRequestConvertible` and `ParameterEncoding`, respectively. + +### Request + +The result of a `request`, `upload`, or `download` method is an instance of `Alamofire.Request`. A request is always created using a constructor method from an owning manager, and never initialized directly. + +Methods like `authenticate`, `validate`, and `response` return the caller in order to facilitate chaining. + +Requests can be suspended, resumed, and cancelled: + +- `suspend()`: Suspends the underlying task and dispatch queue +- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start. +- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers. + +### Response Serialization + +#### Creating a Custom Response Serializer + +Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.Request`. + +For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented: + +```swift +extension Request { + public static func XMLResponseSerializer() -> GenericResponseSerializer { + return GenericResponseSerializer { request, response, data in + guard let validData = data else { + let failureReason = "Data could not be serialized. Input data was nil." + let error = Error.errorWithCode(.DataSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + + do { + let XML = try ONOXMLDocument(data: validData) + return .Success(XML) + } catch { + return .Failure(data, error as NSError) + } + } + } + + public func responseXMLDocument(completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) -> Self { + return response(responseSerializer: Request.XMLResponseSerializer(), completionHandler: completionHandler) + } +} +``` + +#### Generic Response Object Serialization + +Generics can be used to provide automatic, type-safe response object serialization. + +```swift +public protocol ResponseObjectSerializable { + init?(response: NSHTTPURLResponse, representation: AnyObject) +} + +extension Request { + public func responseObject(completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) -> Self { + let responseSerializer = GenericResponseSerializer { request, response, data in + let JSONResponseSerializer = Request.JSONResponseSerializer(options: .AllowFragments) + let result = JSONResponseSerializer.serializeResponse(request, response, data) + + switch result { + case .Success(let value): + if let + response = response, + responseObject = T(response: response, representation: value) + { + return .Success(responseObject) + } else { + let failureReason = "JSON could not be serialized into response object: \(value)" + let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + case .Failure(let data, let error): + return .Failure(data, error) + } + } + + return response(responseSerializer: responseSerializer, completionHandler: completionHandler) + } +} +``` + +```swift +final class User: ResponseObjectSerializable { + let username: String + let name: String + + init?(response: NSHTTPURLResponse, representation: AnyObject) { + self.username = response.URL!.lastPathComponent! + self.name = representation.valueForKeyPath("name") as! String + } +} +``` + +```swift +Alamofire.request(.GET, "http://example.com/users/mattt") + .responseObject { (_, _, result: Result) in + debugPrint(result) + } +``` + +The same approach can also be used to handle endpoints that return a representation of a collection of objects: + +```swift +public protocol ResponseCollectionSerializable { + static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [Self] +} + +extension Alamofire.Request { + public func responseCollection(completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result<[T]>) -> Void) -> Self { + let responseSerializer = GenericResponseSerializer<[T]> { request, response, data in + let JSONSerializer = Request.JSONResponseSerializer(options: .AllowFragments) + let result = JSONSerializer.serializeResponse(request, response, data) + + switch result { + case .Success(let value): + if let response = response { + return .Success(T.collection(response: response, representation: value)) + } else { + let failureReason = "Response collection could not be serialized due to nil response" + let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + case .Failure(let data, let error): + return .Failure(data, error) + } + } + + return response(responseSerializer: responseSerializer, completionHandler: completionHandler) + } +} +``` + +```swift +final class User: ResponseObjectSerializable, ResponseCollectionSerializable { + let username: String + let name: String + + init?(response: NSHTTPURLResponse, representation: AnyObject) { + self.username = response.URL!.lastPathComponent! + self.name = representation.valueForKeyPath("name") as! String + } + + static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [User] { + var users: [User] = [] + + if let representation = representation as? [[String: AnyObject]] { + for userRepresentation in representation { + if let user = User(response: response, representation: userRepresentation) { + users.append(user) + } + } + } + + return users + } +} +``` + +```swift +Alamofire.request(.GET, "http://example.com/users") + .responseCollection { (_, _, result: Result<[User]>) in + debugPrint(result) + } +``` + +### URLStringConvertible + +Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to construct URL requests. `NSString`, `NSURL`, `NSURLComponents`, and `NSURLRequest` conform to `URLStringConvertible` by default, allowing any of them to be passed as `URLString` parameters to the `request`, `upload`, and `download` methods: + +```swift +let string = NSString(string: "http://httpbin.org/post") +Alamofire.request(.POST, string) + +let URL = NSURL(string: string)! +Alamofire.request(.POST, URL) + +let URLRequest = NSURLRequest(URL: URL) +Alamofire.request(.POST, URLRequest) // overrides `HTTPMethod` of `URLRequest` + +let URLComponents = NSURLComponents(URL: URL, resolvingAgainstBaseURL: true) +Alamofire.request(.POST, URLComponents) +``` + +Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLStringConvertible` as a convenient way to map domain-specific models to server resources. + +#### Type-Safe Routing + +```swift +extension User: URLStringConvertible { + static let baseURLString = "http://example.com" + + var URLString: String { + return User.baseURLString + "/users/\(username)/" + } +} +``` + +```swift +let user = User(username: "mattt") +Alamofire.request(.GET, user) // http://example.com/users/mattt +``` + +### URLRequestConvertible + +Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `NSURLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests): + +```swift +let URL = NSURL(string: "http://httpbin.org/post")! +let mutableURLRequest = NSMutableURLRequest(URL: URL) +mutableURLRequest.HTTPMethod = "POST" + +let parameters = ["foo": "bar"] + +do { + mutableURLRequest.HTTPBody = try NSJSONSerialization.dataWithJSONObject(parameters, options: NSJSONWritingOptions()) +} catch { + // No-op +} + +mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Content-Type") + +Alamofire.request(mutableURLRequest) +``` + +Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state. + +#### API Parameter Abstraction + +```swift +enum Router: URLRequestConvertible { + static let baseURLString = "http://example.com" + static let perPage = 50 + + case Search(query: String, page: Int) + + // MARK: URLRequestConvertible + + var URLRequest: NSMutableURLRequest { + let result: (path: String, parameters: [String: AnyObject]) = { + switch self { + case .Search(let query, let page) where page > 1: + return ("/search", ["q": query, "offset": Router.perPage * page]) + case .Search(let query, _): + return ("/search", ["q": query]) + } + }() + + let URL = NSURL(string: Router.baseURLString)! + let URLRequest = NSURLRequest(URL: URL.URLByAppendingPathComponent(result.path)) + let encoding = Alamofire.ParameterEncoding.URL + + return encoding.encode(URLRequest, parameters: result.parameters).0 + } +} +``` + +```swift +Alamofire.request(Router.Search(query: "foo bar", page: 1)) // ?q=foo%20bar&offset=50 +``` + +#### CRUD & Authorization + +```swift +enum Router: URLRequestConvertible { + static let baseURLString = "http://example.com" + static var OAuthToken: String? + + case CreateUser([String: AnyObject]) + case ReadUser(String) + case UpdateUser(String, [String: AnyObject]) + case DestroyUser(String) + + var method: Alamofire.Method { + switch self { + case .CreateUser: + return .POST + case .ReadUser: + return .GET + case .UpdateUser: + return .PUT + case .DestroyUser: + return .DELETE + } + } + + var path: String { + switch self { + case .CreateUser: + return "/users" + case .ReadUser(let username): + return "/users/\(username)" + case .UpdateUser(let username, _): + return "/users/\(username)" + case .DestroyUser(let username): + return "/users/\(username)" + } + } + + // MARK: URLRequestConvertible + + var URLRequest: NSMutableURLRequest { + let URL = NSURL(string: Router.baseURLString)! + let mutableURLRequest = NSMutableURLRequest(URL: URL.URLByAppendingPathComponent(path)) + mutableURLRequest.HTTPMethod = method.rawValue + + if let token = Router.OAuthToken { + mutableURLRequest.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization") + } + + switch self { + case .CreateUser(let parameters): + return Alamofire.ParameterEncoding.JSON.encode(mutableURLRequest, parameters: parameters).0 + case .UpdateUser(_, let parameters): + return Alamofire.ParameterEncoding.URL.encode(mutableURLRequest, parameters: parameters).0 + default: + return mutableURLRequest + } + } +} +``` + +```swift +Alamofire.request(Router.ReadUser("mattt")) // GET /users/mattt +``` + +### Security + +Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`. + +#### ServerTrustPolicy + +The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection. + +```swift +let serverTrustPolicy = ServerTrustPolicy.PinCertificates( + certificates: ServerTrustPolicy.certificatesInBundle(), + validateCertificateChain: true, + validateHost: true +) +``` + +There are many different cases of server trust evaluation giving you complete control over the validation process: + +* `PerformDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge. +* `PinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates. +* `PinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys. +* `DisableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid. +* `CustomEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution. + +#### Server Trust Policy Manager + +The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy. + +```swift +let serverTrustPolicies: [String: ServerTrustPolicy] = [ + "test.example.com": .PinCertificates( + certificates: ServerTrustPolicy.certificatesInBundle(), + validateCertificateChain: true, + validateHost: true + ), + "insecure.expired-apis.com": .DisableEvaluation +] + +let manager = Manager( + configuration: NSURLSessionConfiguration.defaultSessionConfiguration(), + serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies) +) +``` + +> Make sure to keep a reference to the new `Manager` instance, otherwise your requests will all get cancelled when your `manager` is deallocated. + +These server trust policies will result in the following behavior: + +* `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed: + * Certificate chain MUST be valid. + * Certificate chain MUST include one of the pinned certificates. + * Challenge host MUST match the host in the certificate chain's leaf certificate. +* `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed. +* All other hosts will use the default evaluation provided by Apple. + +##### Subclassing Server Trust Policy Manager + +If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation. + +```swift +class CustomServerTrustPolicyManager: ServerTrustPolicyManager { + override func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? { + var policy: ServerTrustPolicy? + + // Implement your custom domain matching behavior... + + return policy + } +} +``` + +#### Validating the Host + +The `.PerformDefaultEvaluation`, `.PinCertificates` and `.PinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate. + +> It is recommended that `validateHost` always be set to `true` in production environments. + +#### Validating the Certificate Chain + +Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certficates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check. + +There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server. + +> It is recommended that `validateCertificateChain` always be set to `true` in production environments. + +--- + +## Component Libraries + +In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem. + +* [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system. + +## Open Rdars + +The following rdars have some affect on the current implementation of Alamofire. + +* [rdar://22024442](http://www.openradar.me/radar?id=6082025006039040) - Array of [SecCertificate] crashing Swift 2.0 compiler in optimized builds +* [rdar://21349340](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case +* [rdar://22307360](http://www.openradar.me/radar?id=4895563208196096) - Swift #available check not working properly with min deployment target + +## FAQ + +### What's the origin of the name Alamofire? + +Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas. + +--- + +## Credits + +Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases. + +### Security Disclosure + +If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker. + +## License + +Alamofire is released under the MIT license. See LICENSE for details. diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Alamofire.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Alamofire.swift new file mode 100644 index 0000000..3b52d0f --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Alamofire.swift @@ -0,0 +1,368 @@ +// Alamofire.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +// MARK: - URLStringConvertible + +/** + Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to + construct URL requests. +*/ +public protocol URLStringConvertible { + /** + A URL that conforms to RFC 2396. + + Methods accepting a `URLStringConvertible` type parameter parse it according to RFCs 1738 and 1808. + + See https://tools.ietf.org/html/rfc2396 + See https://tools.ietf.org/html/rfc1738 + See https://tools.ietf.org/html/rfc1808 + */ + var URLString: String { get } +} + +extension String: URLStringConvertible { + public var URLString: String { + return self + } +} + +extension NSURL: URLStringConvertible { + public var URLString: String { + return absoluteString + } +} + +extension NSURLComponents: URLStringConvertible { + public var URLString: String { + return URL!.URLString + } +} + +extension NSURLRequest: URLStringConvertible { + public var URLString: String { + return URL!.URLString + } +} + +// MARK: - URLRequestConvertible + +/** + Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. +*/ +public protocol URLRequestConvertible { + /// The URL request. + var URLRequest: NSMutableURLRequest { get } +} + +extension NSURLRequest: URLRequestConvertible { + public var URLRequest: NSMutableURLRequest { + return self.mutableCopy() as! NSMutableURLRequest + } +} + +// MARK: - Convenience + +func URLRequest( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil) + -> NSMutableURLRequest +{ + let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!) + mutableURLRequest.HTTPMethod = method.rawValue + + if let headers = headers { + for (headerField, headerValue) in headers { + mutableURLRequest.setValue(headerValue, forHTTPHeaderField: headerField) + } + } + + return mutableURLRequest +} + +// MARK: - Request Methods + +/** + Creates a request using the shared manager instance for the specified method, URL string, parameters, and + parameter encoding. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter parameters: The parameters. `nil` by default. + - parameter encoding: The parameter encoding. `.URL` by default. + - parameter headers: The HTTP headers. `nil` by default. + + - returns: The created request. +*/ +public func request( + method: Method, + _ URLString: URLStringConvertible, + parameters: [String: AnyObject]? = nil, + encoding: ParameterEncoding = .URL, + headers: [String: String]? = nil) + -> Request +{ + return Manager.sharedInstance.request( + method, + URLString, + parameters: parameters, + encoding: encoding, + headers: headers + ) +} + +/** + Creates a request using the shared manager instance for the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request + + - returns: The created request. +*/ +public func request(URLRequest: URLRequestConvertible) -> Request { + return Manager.sharedInstance.request(URLRequest.URLRequest) +} + +// MARK: - Upload Methods + +// MARK: File + +/** + Creates an upload request using the shared manager instance for the specified method, URL string, and file. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter file: The file to upload. + + - returns: The created upload request. +*/ +public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + file: NSURL) + -> Request +{ + return Manager.sharedInstance.upload(method, URLString, headers: headers, file: file) +} + +/** + Creates an upload request using the shared manager instance for the specified URL request and file. + + - parameter URLRequest: The URL request. + - parameter file: The file to upload. + + - returns: The created upload request. +*/ +public func upload(URLRequest: URLRequestConvertible, file: NSURL) -> Request { + return Manager.sharedInstance.upload(URLRequest, file: file) +} + +// MARK: Data + +/** + Creates an upload request using the shared manager instance for the specified method, URL string, and data. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter data: The data to upload. + + - returns: The created upload request. +*/ +public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + data: NSData) + -> Request +{ + return Manager.sharedInstance.upload(method, URLString, headers: headers, data: data) +} + +/** + Creates an upload request using the shared manager instance for the specified URL request and data. + + - parameter URLRequest: The URL request. + - parameter data: The data to upload. + + - returns: The created upload request. +*/ +public func upload(URLRequest: URLRequestConvertible, data: NSData) -> Request { + return Manager.sharedInstance.upload(URLRequest, data: data) +} + +// MARK: Stream + +/** + Creates an upload request using the shared manager instance for the specified method, URL string, and stream. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter stream: The stream to upload. + + - returns: The created upload request. +*/ +public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + stream: NSInputStream) + -> Request +{ + return Manager.sharedInstance.upload(method, URLString, headers: headers, stream: stream) +} + +/** + Creates an upload request using the shared manager instance for the specified URL request and stream. + + - parameter URLRequest: The URL request. + - parameter stream: The stream to upload. + + - returns: The created upload request. +*/ +public func upload(URLRequest: URLRequestConvertible, stream: NSInputStream) -> Request { + return Manager.sharedInstance.upload(URLRequest, stream: stream) +} + +// MARK: MultipartFormData + +/** + Creates an upload request using the shared manager instance for the specified method and URL string. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. + - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. + `MultipartFormDataEncodingMemoryThreshold` by default. + - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. +*/ +public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + multipartFormData: MultipartFormData -> Void, + encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold, + encodingCompletion: (Manager.MultipartFormDataEncodingResult -> Void)?) +{ + return Manager.sharedInstance.upload( + method, + URLString, + headers: headers, + multipartFormData: multipartFormData, + encodingMemoryThreshold: encodingMemoryThreshold, + encodingCompletion: encodingCompletion + ) +} + +/** + Creates an upload request using the shared manager instance for the specified method and URL string. + + - parameter URLRequest: The URL request. + - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. + - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. + `MultipartFormDataEncodingMemoryThreshold` by default. + - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. +*/ +public func upload( + URLRequest: URLRequestConvertible, + multipartFormData: MultipartFormData -> Void, + encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold, + encodingCompletion: (Manager.MultipartFormDataEncodingResult -> Void)?) +{ + return Manager.sharedInstance.upload( + URLRequest, + multipartFormData: multipartFormData, + encodingMemoryThreshold: encodingMemoryThreshold, + encodingCompletion: encodingCompletion + ) +} + +// MARK: - Download Methods + +// MARK: URL Request + +/** + Creates a download request using the shared manager instance for the specified method and URL string. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter parameters: The parameters. `nil` by default. + - parameter encoding: The parameter encoding. `.URL` by default. + - parameter headers: The HTTP headers. `nil` by default. + - parameter destination: The closure used to determine the destination of the downloaded file. + + - returns: The created download request. +*/ +public func download( + method: Method, + _ URLString: URLStringConvertible, + parameters: [String: AnyObject]? = nil, + encoding: ParameterEncoding = .URL, + headers: [String: String]? = nil, + destination: Request.DownloadFileDestination) + -> Request +{ + return Manager.sharedInstance.download( + method, + URLString, + parameters: parameters, + encoding: encoding, + headers: headers, + destination: destination + ) +} + +/** + Creates a download request using the shared manager instance for the specified URL request. + + - parameter URLRequest: The URL request. + - parameter destination: The closure used to determine the destination of the downloaded file. + + - returns: The created download request. +*/ +public func download(URLRequest: URLRequestConvertible, destination: Request.DownloadFileDestination) -> Request { + return Manager.sharedInstance.download(URLRequest, destination: destination) +} + +// MARK: Resume Data + +/** + Creates a request using the shared manager instance for downloading from the resume data produced from a + previous request cancellation. + + - parameter resumeData: The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask` + when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for additional + information. + - parameter destination: The closure used to determine the destination of the downloaded file. + + - returns: The created download request. +*/ +public func download(resumeData data: NSData, destination: Request.DownloadFileDestination) -> Request { + return Manager.sharedInstance.download(data, destination: destination) +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Download.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Download.swift new file mode 100644 index 0000000..1df90cc --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Download.swift @@ -0,0 +1,244 @@ +// Download.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +extension Manager { + private enum Downloadable { + case Request(NSURLRequest) + case ResumeData(NSData) + } + + private func download(downloadable: Downloadable, destination: Request.DownloadFileDestination) -> Request { + var downloadTask: NSURLSessionDownloadTask! + + switch downloadable { + case .Request(let request): + dispatch_sync(queue) { + downloadTask = self.session.downloadTaskWithRequest(request) + } + case .ResumeData(let resumeData): + dispatch_sync(queue) { + downloadTask = self.session.downloadTaskWithResumeData(resumeData) + } + } + + let request = Request(session: session, task: downloadTask) + + if let downloadDelegate = request.delegate as? Request.DownloadTaskDelegate { + downloadDelegate.downloadTaskDidFinishDownloadingToURL = { session, downloadTask, URL in + return destination(URL, downloadTask.response as! NSHTTPURLResponse) + } + } + + delegate[request.delegate.task] = request.delegate + + if startRequestsImmediately { + request.resume() + } + + return request + } + + // MARK: Request + + /** + Creates a download request for the specified method, URL string, parameters, parameter encoding, headers + and destination. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter parameters: The parameters. `nil` by default. + - parameter encoding: The parameter encoding. `.URL` by default. + - parameter headers: The HTTP headers. `nil` by default. + - parameter destination: The closure used to determine the destination of the downloaded file. + + - returns: The created download request. + */ + public func download( + method: Method, + _ URLString: URLStringConvertible, + parameters: [String: AnyObject]? = nil, + encoding: ParameterEncoding = .URL, + headers: [String: String]? = nil, + destination: Request.DownloadFileDestination) + -> Request + { + let mutableURLRequest = URLRequest(method, URLString, headers: headers) + let encodedURLRequest = encoding.encode(mutableURLRequest, parameters: parameters).0 + + return download(encodedURLRequest, destination: destination) + } + + /** + Creates a request for downloading from the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request + - parameter destination: The closure used to determine the destination of the downloaded file. + + - returns: The created download request. + */ + public func download(URLRequest: URLRequestConvertible, destination: Request.DownloadFileDestination) -> Request { + return download(.Request(URLRequest.URLRequest), destination: destination) + } + + // MARK: Resume Data + + /** + Creates a request for downloading from the resume data produced from a previous request cancellation. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter resumeData: The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask` + when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for + additional information. + - parameter destination: The closure used to determine the destination of the downloaded file. + + - returns: The created download request. + */ + public func download(resumeData: NSData, destination: Request.DownloadFileDestination) -> Request { + return download(.ResumeData(resumeData), destination: destination) + } +} + +// MARK: - + +extension Request { + /** + A closure executed once a request has successfully completed in order to determine where to move the temporary + file written to during the download process. The closure takes two arguments: the temporary file URL and the URL + response, and returns a single argument: the file URL where the temporary file should be moved. + */ + public typealias DownloadFileDestination = (NSURL, NSHTTPURLResponse) -> NSURL + + /** + Creates a download file destination closure which uses the default file manager to move the temporary file to a + file URL in the first available directory with the specified search path directory and search path domain mask. + + - parameter directory: The search path directory. `.DocumentDirectory` by default. + - parameter domain: The search path domain mask. `.UserDomainMask` by default. + + - returns: A download file destination closure. + */ + public class func suggestedDownloadDestination( + directory directory: NSSearchPathDirectory = .DocumentDirectory, + domain: NSSearchPathDomainMask = .UserDomainMask) + -> DownloadFileDestination + { + return { temporaryURL, response -> NSURL in + let directoryURLs = NSFileManager.defaultManager().URLsForDirectory(directory, inDomains: domain) + + if !directoryURLs.isEmpty { + return directoryURLs[0].URLByAppendingPathComponent(response.suggestedFilename!) + } + + return temporaryURL + } + } + + /// The resume data of the underlying download task if available after a failure. + public var resumeData: NSData? { + var data: NSData? + + if let delegate = delegate as? DownloadTaskDelegate { + data = delegate.resumeData + } + + return data + } + + // MARK: - DownloadTaskDelegate + + class DownloadTaskDelegate: TaskDelegate, NSURLSessionDownloadDelegate { + var downloadTask: NSURLSessionDownloadTask? { return task as? NSURLSessionDownloadTask } + var downloadProgress: ((Int64, Int64, Int64) -> Void)? + + var resumeData: NSData? + override var data: NSData? { return resumeData } + + // MARK: - NSURLSessionDownloadDelegate + + // MARK: Override Closures + + var downloadTaskDidFinishDownloadingToURL: ((NSURLSession, NSURLSessionDownloadTask, NSURL) -> NSURL)? + var downloadTaskDidWriteData: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64, Int64) -> Void)? + var downloadTaskDidResumeAtOffset: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64) -> Void)? + + // MARK: Delegate Methods + + func URLSession( + session: NSURLSession, + downloadTask: NSURLSessionDownloadTask, + didFinishDownloadingToURL location: NSURL) + { + if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL { + do { + let destination = downloadTaskDidFinishDownloadingToURL(session, downloadTask, location) + try NSFileManager.defaultManager().moveItemAtURL(location, toURL: destination) + } catch { + self.error = error as NSError + } + } + } + + func URLSession( + session: NSURLSession, + downloadTask: NSURLSessionDownloadTask, + didWriteData bytesWritten: Int64, + totalBytesWritten: Int64, + totalBytesExpectedToWrite: Int64) + { + if let downloadTaskDidWriteData = downloadTaskDidWriteData { + downloadTaskDidWriteData( + session, + downloadTask, + bytesWritten, + totalBytesWritten, + totalBytesExpectedToWrite + ) + } else { + progress.totalUnitCount = totalBytesExpectedToWrite + progress.completedUnitCount = totalBytesWritten + + downloadProgress?(bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) + } + } + + func URLSession( + session: NSURLSession, + downloadTask: NSURLSessionDownloadTask, + didResumeAtOffset fileOffset: Int64, + expectedTotalBytes: Int64) + { + if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset { + downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes) + } else { + progress.totalUnitCount = expectedTotalBytes + progress.completedUnitCount = fileOffset + } + } + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Error.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Error.swift new file mode 100644 index 0000000..b776a3e --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Error.swift @@ -0,0 +1,66 @@ +// Error.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +/// The `Error` struct provides a convenience for creating custom Alamofire NSErrors. +public struct Error { + /// The domain used for creating all Alamofire errors. + public static let Domain = "com.alamofire.error" + + /// The custom error codes generated by Alamofire. + public enum Code: Int { + case InputStreamReadFailed = -6000 + case OutputStreamWriteFailed = -6001 + case ContentTypeValidationFailed = -6002 + case StatusCodeValidationFailed = -6003 + case DataSerializationFailed = -6004 + case StringSerializationFailed = -6005 + case JSONSerializationFailed = -6006 + case PropertyListSerializationFailed = -6007 + } + + /** + Creates an `NSError` with the given error code and failure reason. + + - parameter code: The error code. + - parameter failureReason: The failure reason. + + - returns: An `NSError` with the given error code and failure reason. + */ + public static func errorWithCode(code: Code, failureReason: String) -> NSError { + return errorWithCode(code.rawValue, failureReason: failureReason) + } + + /** + Creates an `NSError` with the given error code and failure reason. + + - parameter code: The error code. + - parameter failureReason: The failure reason. + + - returns: An `NSError` with the given error code and failure reason. + */ + public static func errorWithCode(code: Int, failureReason: String) -> NSError { + let userInfo = [NSLocalizedFailureReasonErrorKey: failureReason] + return NSError(domain: Domain, code: code, userInfo: userInfo) + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Manager.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Manager.swift new file mode 100644 index 0000000..01f77da --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Manager.swift @@ -0,0 +1,668 @@ +// Manager.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +/** + Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`. +*/ +public class Manager { + + // MARK: - Properties + + /** + A shared instance of `Manager`, used by top-level Alamofire request methods, and suitable for use directly + for any ad hoc requests. + */ + public static let sharedInstance: Manager = { + let configuration = NSURLSessionConfiguration.defaultSessionConfiguration() + configuration.HTTPAdditionalHeaders = Manager.defaultHTTPHeaders + + return Manager(configuration: configuration) + }() + + /** + Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers. + */ + public static let defaultHTTPHeaders: [String: String] = { + // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3 + let acceptEncoding: String = "gzip;q=1.0,compress;q=0.5" + + // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5 + let acceptLanguage: String = { + var components: [String] = [] + for (index, languageCode) in (NSLocale.preferredLanguages() as [String]).enumerate() { + let q = 1.0 - (Double(index) * 0.1) + components.append("\(languageCode);q=\(q)") + if q <= 0.5 { + break + } + } + + return components.joinWithSeparator(",") + }() + + // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3 + let userAgent: String = { + if let info = NSBundle.mainBundle().infoDictionary { + let executable: AnyObject = info[kCFBundleExecutableKey as String] ?? "Unknown" + let bundle: AnyObject = info[kCFBundleIdentifierKey as String] ?? "Unknown" + let version: AnyObject = info[kCFBundleVersionKey as String] ?? "Unknown" + let os: AnyObject = NSProcessInfo.processInfo().operatingSystemVersionString ?? "Unknown" + + var mutableUserAgent = NSMutableString(string: "\(executable)/\(bundle) (\(version); OS \(os))") as CFMutableString + let transform = NSString(string: "Any-Latin; Latin-ASCII; [:^ASCII:] Remove") as CFString + + if CFStringTransform(mutableUserAgent, UnsafeMutablePointer(nil), transform, false) { + return mutableUserAgent as String + } + } + + return "Alamofire" + }() + + return [ + "Accept-Encoding": acceptEncoding, + "Accept-Language": acceptLanguage, + "User-Agent": userAgent + ] + }() + + let queue = dispatch_queue_create(nil, DISPATCH_QUEUE_SERIAL) + + /// The underlying session. + public let session: NSURLSession + + /// The session delegate handling all the task and session delegate callbacks. + public let delegate: SessionDelegate + + /// Whether to start requests immediately after being constructed. `true` by default. + public var startRequestsImmediately: Bool = true + + /** + The background completion handler closure provided by the UIApplicationDelegate + `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background + completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation + will automatically call the handler. + + If you need to handle your own events before the handler is called, then you need to override the + SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished. + + `nil` by default. + */ + public var backgroundCompletionHandler: (() -> Void)? + + // MARK: - Lifecycle + + /** + Initializes the `Manager` instance with the given configuration and server trust policy. + + - parameter configuration: The configuration used to construct the managed session. + `NSURLSessionConfiguration.defaultSessionConfiguration()` by default. + - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust + challenges. `nil` by default. + + - returns: The new `Manager` instance. + */ + public init( + configuration: NSURLSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration(), + serverTrustPolicyManager: ServerTrustPolicyManager? = nil) + { + self.delegate = SessionDelegate() + self.session = NSURLSession(configuration: configuration, delegate: self.delegate, delegateQueue: nil) + self.session.serverTrustPolicyManager = serverTrustPolicyManager + + self.delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in + guard let strongSelf = self else { return } + dispatch_async(dispatch_get_main_queue()) { strongSelf.backgroundCompletionHandler?() } + } + } + + deinit { + session.invalidateAndCancel() + } + + // MARK: - Request + + /** + Creates a request for the specified method, URL string, parameters, parameter encoding and headers. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter parameters: The parameters. `nil` by default. + - parameter encoding: The parameter encoding. `.URL` by default. + - parameter headers: The HTTP headers. `nil` by default. + + - returns: The created request. + */ + public func request( + method: Method, + _ URLString: URLStringConvertible, + parameters: [String: AnyObject]? = nil, + encoding: ParameterEncoding = .URL, + headers: [String: String]? = nil) + -> Request + { + let mutableURLRequest = URLRequest(method, URLString, headers: headers) + let encodedURLRequest = encoding.encode(mutableURLRequest, parameters: parameters).0 + return request(encodedURLRequest) + } + + /** + Creates a request for the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request + + - returns: The created request. + */ + public func request(URLRequest: URLRequestConvertible) -> Request { + var dataTask: NSURLSessionDataTask! + + dispatch_sync(queue) { + dataTask = self.session.dataTaskWithRequest(URLRequest.URLRequest) + } + + let request = Request(session: session, task: dataTask) + delegate[request.delegate.task] = request.delegate + + if startRequestsImmediately { + request.resume() + } + + return request + } + + // MARK: - SessionDelegate + + /** + Responsible for handling all delegate callbacks for the underlying session. + */ + public final class SessionDelegate: NSObject, NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate { + private var subdelegates: [Int: Request.TaskDelegate] = [:] + private let subdelegateQueue = dispatch_queue_create(nil, DISPATCH_QUEUE_CONCURRENT) + + subscript(task: NSURLSessionTask) -> Request.TaskDelegate? { + get { + var subdelegate: Request.TaskDelegate? + dispatch_sync(subdelegateQueue) { + subdelegate = self.subdelegates[task.taskIdentifier] + } + + return subdelegate + } + + set { + dispatch_barrier_async(subdelegateQueue) { + self.subdelegates[task.taskIdentifier] = newValue + } + } + } + + // MARK: - NSURLSessionDelegate + + // MARK: Override Closures + + /// Overrides default behavior for NSURLSessionDelegate method `URLSession:didBecomeInvalidWithError:`. + public var sessionDidBecomeInvalidWithError: ((NSURLSession, NSError?) -> Void)? + + /// Overrides default behavior for NSURLSessionDelegate method `URLSession:didReceiveChallenge:completionHandler:`. + public var sessionDidReceiveChallenge: ((NSURLSession, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))? + + /// Overrides default behavior for NSURLSessionDelegate method `URLSessionDidFinishEventsForBackgroundURLSession:`. + public var sessionDidFinishEventsForBackgroundURLSession: ((NSURLSession) -> Void)? + + // MARK: Delegate Methods + + /** + Tells the delegate that the session has been invalidated. + + - parameter session: The session object that was invalidated. + - parameter error: The error that caused invalidation, or nil if the invalidation was explicit. + */ + public func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) { + sessionDidBecomeInvalidWithError?(session, error) + } + + /** + Requests credentials from the delegate in response to a session-level authentication request from the remote server. + + - parameter session: The session containing the task that requested authentication. + - parameter challenge: An object that contains the request for authentication. + - parameter completionHandler: A handler that your delegate method must call providing the disposition and credential. + */ + public func URLSession( + session: NSURLSession, + didReceiveChallenge challenge: NSURLAuthenticationChallenge, + completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)) + { + var disposition: NSURLSessionAuthChallengeDisposition = .PerformDefaultHandling + var credential: NSURLCredential? + + if let sessionDidReceiveChallenge = sessionDidReceiveChallenge { + (disposition, credential) = sessionDidReceiveChallenge(session, challenge) + } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust { + let host = challenge.protectionSpace.host + + if let + serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicyForHost(host), + serverTrust = challenge.protectionSpace.serverTrust + { + if serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host) { + disposition = .UseCredential + credential = NSURLCredential(forTrust: serverTrust) + } else { + disposition = .CancelAuthenticationChallenge + } + } + } + + completionHandler(disposition, credential) + } + + /** + Tells the delegate that all messages enqueued for a session have been delivered. + + - parameter session: The session that no longer has any outstanding requests. + */ + public func URLSessionDidFinishEventsForBackgroundURLSession(session: NSURLSession) { + sessionDidFinishEventsForBackgroundURLSession?(session) + } + + // MARK: - NSURLSessionTaskDelegate + + // MARK: Override Closures + + /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:`. + public var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)? + + /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:`. + public var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))? + + /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:`. + public var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream!)? + + /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`. + public var taskDidSendBodyData: ((NSURLSession, NSURLSessionTask, Int64, Int64, Int64) -> Void)? + + /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didCompleteWithError:`. + public var taskDidComplete: ((NSURLSession, NSURLSessionTask, NSError?) -> Void)? + + // MARK: Delegate Methods + + /** + Tells the delegate that the remote server requested an HTTP redirect. + + - parameter session: The session containing the task whose request resulted in a redirect. + - parameter task: The task whose request resulted in a redirect. + - parameter response: An object containing the server’s response to the original request. + - parameter request: A URL request object filled out with the new location. + - parameter completionHandler: A closure that your handler should call with either the value of the request + parameter, a modified URL request object, or NULL to refuse the redirect and + return the body of the redirect response. + */ + public func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + willPerformHTTPRedirection response: NSHTTPURLResponse, + newRequest request: NSURLRequest, + completionHandler: ((NSURLRequest?) -> Void)) + { + var redirectRequest: NSURLRequest? = request + + if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection { + redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request) + } + + completionHandler(redirectRequest) + } + + /** + Requests credentials from the delegate in response to an authentication request from the remote server. + + - parameter session: The session containing the task whose request requires authentication. + - parameter task: The task whose request requires authentication. + - parameter challenge: An object that contains the request for authentication. + - parameter completionHandler: A handler that your delegate method must call providing the disposition and credential. + */ + public func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + didReceiveChallenge challenge: NSURLAuthenticationChallenge, + completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)) + { + if let taskDidReceiveChallenge = taskDidReceiveChallenge { + completionHandler(taskDidReceiveChallenge(session, task, challenge)) + } else if let delegate = self[task] { + delegate.URLSession( + session, + task: task, + didReceiveChallenge: challenge, + completionHandler: completionHandler + ) + } else { + URLSession(session, didReceiveChallenge: challenge, completionHandler: completionHandler) + } + } + + /** + Tells the delegate when a task requires a new request body stream to send to the remote server. + + - parameter session: The session containing the task that needs a new body stream. + - parameter task: The task that needs a new body stream. + - parameter completionHandler: A completion handler that your delegate method should call with the new body stream. + */ + public func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + needNewBodyStream completionHandler: ((NSInputStream?) -> Void)) + { + if let taskNeedNewBodyStream = taskNeedNewBodyStream { + completionHandler(taskNeedNewBodyStream(session, task)) + } else if let delegate = self[task] { + delegate.URLSession(session, task: task, needNewBodyStream: completionHandler) + } + } + + /** + Periodically informs the delegate of the progress of sending body content to the server. + + - parameter session: The session containing the data task. + - parameter task: The data task. + - parameter bytesSent: The number of bytes sent since the last time this delegate method was called. + - parameter totalBytesSent: The total number of bytes sent so far. + - parameter totalBytesExpectedToSend: The expected length of the body data. + */ + public func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + didSendBodyData bytesSent: Int64, + totalBytesSent: Int64, + totalBytesExpectedToSend: Int64) + { + if let taskDidSendBodyData = taskDidSendBodyData { + taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend) + } else if let delegate = self[task] as? Request.UploadTaskDelegate { + delegate.URLSession( + session, + task: task, + didSendBodyData: bytesSent, + totalBytesSent: totalBytesSent, + totalBytesExpectedToSend: totalBytesExpectedToSend + ) + } + } + + /** + Tells the delegate that the task finished transferring data. + + - parameter session: The session containing the task whose request finished transferring data. + - parameter task: The task whose request finished transferring data. + - parameter error: If an error occurred, an error object indicating how the transfer failed, otherwise nil. + */ + public func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) { + if let taskDidComplete = taskDidComplete { + taskDidComplete(session, task, error) + } else if let delegate = self[task] { + delegate.URLSession(session, task: task, didCompleteWithError: error) + } + + self[task] = nil + } + + // MARK: - NSURLSessionDataDelegate + + // MARK: Override Closures + + /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:`. + public var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)? + + /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didBecomeDownloadTask:`. + public var dataTaskDidBecomeDownloadTask: ((NSURLSession, NSURLSessionDataTask, NSURLSessionDownloadTask) -> Void)? + + /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveData:`. + public var dataTaskDidReceiveData: ((NSURLSession, NSURLSessionDataTask, NSData) -> Void)? + + /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:`. + public var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse!)? + + // MARK: Delegate Methods + + /** + Tells the delegate that the data task received the initial reply (headers) from the server. + + - parameter session: The session containing the data task that received an initial reply. + - parameter dataTask: The data task that received an initial reply. + - parameter response: A URL response object populated with headers. + - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a + constant to indicate whether the transfer should continue as a data task or + should become a download task. + */ + public func URLSession( + session: NSURLSession, + dataTask: NSURLSessionDataTask, + didReceiveResponse response: NSURLResponse, + completionHandler: ((NSURLSessionResponseDisposition) -> Void)) + { + var disposition: NSURLSessionResponseDisposition = .Allow + + if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse { + disposition = dataTaskDidReceiveResponse(session, dataTask, response) + } + + completionHandler(disposition) + } + + /** + Tells the delegate that the data task was changed to a download task. + + - parameter session: The session containing the task that was replaced by a download task. + - parameter dataTask: The data task that was replaced by a download task. + - parameter downloadTask: The new download task that replaced the data task. + */ + public func URLSession( + session: NSURLSession, + dataTask: NSURLSessionDataTask, + didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask) + { + if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask { + dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask) + } else { + let downloadDelegate = Request.DownloadTaskDelegate(task: downloadTask) + self[downloadTask] = downloadDelegate + } + } + + /** + Tells the delegate that the data task has received some of the expected data. + + - parameter session: The session containing the data task that provided data. + - parameter dataTask: The data task that provided data. + - parameter data: A data object containing the transferred data. + */ + public func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) { + if let dataTaskDidReceiveData = dataTaskDidReceiveData { + dataTaskDidReceiveData(session, dataTask, data) + } else if let delegate = self[dataTask] as? Request.DataTaskDelegate { + delegate.URLSession(session, dataTask: dataTask, didReceiveData: data) + } + } + + /** + Asks the delegate whether the data (or upload) task should store the response in the cache. + + - parameter session: The session containing the data (or upload) task. + - parameter dataTask: The data (or upload) task. + - parameter proposedResponse: The default caching behavior. This behavior is determined based on the current + caching policy and the values of certain received headers, such as the Pragma + and Cache-Control headers. + - parameter completionHandler: A block that your handler must call, providing either the original proposed + response, a modified version of that response, or NULL to prevent caching the + response. If your delegate implements this method, it must call this completion + handler; otherwise, your app leaks memory. + */ + public func URLSession( + session: NSURLSession, + dataTask: NSURLSessionDataTask, + willCacheResponse proposedResponse: NSCachedURLResponse, + completionHandler: ((NSCachedURLResponse?) -> Void)) + { + if let dataTaskWillCacheResponse = dataTaskWillCacheResponse { + completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse)) + } else if let delegate = self[dataTask] as? Request.DataTaskDelegate { + delegate.URLSession( + session, + dataTask: dataTask, + willCacheResponse: proposedResponse, + completionHandler: completionHandler + ) + } else { + completionHandler(proposedResponse) + } + } + + // MARK: - NSURLSessionDownloadDelegate + + // MARK: Override Closures + + /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didFinishDownloadingToURL:`. + public var downloadTaskDidFinishDownloadingToURL: ((NSURLSession, NSURLSessionDownloadTask, NSURL) -> Void)? + + /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:`. + public var downloadTaskDidWriteData: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64, Int64) -> Void)? + + /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`. + public var downloadTaskDidResumeAtOffset: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64) -> Void)? + + // MARK: Delegate Methods + + /** + Tells the delegate that a download task has finished downloading. + + - parameter session: The session containing the download task that finished. + - parameter downloadTask: The download task that finished. + - parameter location: A file URL for the temporary file. Because the file is temporary, you must either + open the file for reading or move it to a permanent location in your app’s sandbox + container directory before returning from this delegate method. + */ + public func URLSession( + session: NSURLSession, + downloadTask: NSURLSessionDownloadTask, + didFinishDownloadingToURL location: NSURL) + { + if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL { + downloadTaskDidFinishDownloadingToURL(session, downloadTask, location) + } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate { + delegate.URLSession(session, downloadTask: downloadTask, didFinishDownloadingToURL: location) + } + } + + /** + Periodically informs the delegate about the download’s progress. + + - parameter session: The session containing the download task. + - parameter downloadTask: The download task. + - parameter bytesWritten: The number of bytes transferred since the last time this delegate + method was called. + - parameter totalBytesWritten: The total number of bytes transferred so far. + - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length + header. If this header was not provided, the value is + `NSURLSessionTransferSizeUnknown`. + */ + public func URLSession( + session: NSURLSession, + downloadTask: NSURLSessionDownloadTask, + didWriteData bytesWritten: Int64, + totalBytesWritten: Int64, + totalBytesExpectedToWrite: Int64) + { + if let downloadTaskDidWriteData = downloadTaskDidWriteData { + downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) + } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate { + delegate.URLSession( + session, + downloadTask: downloadTask, + didWriteData: bytesWritten, + totalBytesWritten: totalBytesWritten, + totalBytesExpectedToWrite: totalBytesExpectedToWrite + ) + } + } + + /** + Tells the delegate that the download task has resumed downloading. + + - parameter session: The session containing the download task that finished. + - parameter downloadTask: The download task that resumed. See explanation in the discussion. + - parameter fileOffset: If the file's cache policy or last modified date prevents reuse of the + existing content, then this value is zero. Otherwise, this value is an + integer representing the number of bytes on disk that do not need to be + retrieved again. + - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header. + If this header was not provided, the value is NSURLSessionTransferSizeUnknown. + */ + public func URLSession( + session: NSURLSession, + downloadTask: NSURLSessionDownloadTask, + didResumeAtOffset fileOffset: Int64, + expectedTotalBytes: Int64) + { + if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset { + downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes) + } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate { + delegate.URLSession( + session, + downloadTask: downloadTask, + didResumeAtOffset: fileOffset, + expectedTotalBytes: expectedTotalBytes + ) + } + } + + // MARK: - NSURLSessionStreamDelegate + + var _streamTaskReadClosed: Any? + var _streamTaskWriteClosed: Any? + var _streamTaskBetterRouteDiscovered: Any? + var _streamTaskDidBecomeInputStream: Any? + + // MARK: - NSObject + + public override func respondsToSelector(selector: Selector) -> Bool { + switch selector { + case "URLSession:didBecomeInvalidWithError:": + return sessionDidBecomeInvalidWithError != nil + case "URLSession:didReceiveChallenge:completionHandler:": + return sessionDidReceiveChallenge != nil + case "URLSessionDidFinishEventsForBackgroundURLSession:": + return sessionDidFinishEventsForBackgroundURLSession != nil + case "URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:": + return taskWillPerformHTTPRedirection != nil + case "URLSession:dataTask:didReceiveResponse:completionHandler:": + return dataTaskDidReceiveResponse != nil + default: + return self.dynamicType.instancesRespondToSelector(selector) + } + } + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/MultipartFormData.swift b/PrettyWeatherApp/Pods/Alamofire/Source/MultipartFormData.swift new file mode 100644 index 0000000..24d952c --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/MultipartFormData.swift @@ -0,0 +1,669 @@ +// MultipartFormData.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +#if os(iOS) || os(watchOS) +import MobileCoreServices +#elseif os(OSX) +import CoreServices +#endif + +/** + Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode + multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead + to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the + data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for + larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset. + + For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well + and the w3 form documentation. + + - https://www.ietf.org/rfc/rfc2388.txt + - https://www.ietf.org/rfc/rfc2045.txt + - https://www.w3.org/TR/html401/interact/forms.html#h-17.13 +*/ +public class MultipartFormData { + + // MARK: - Helper Types + + struct EncodingCharacters { + static let CRLF = "\r\n" + } + + struct BoundaryGenerator { + enum BoundaryType { + case Initial, Encapsulated, Final + } + + static func randomBoundary() -> String { + return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random()) + } + + static func boundaryData(boundaryType boundaryType: BoundaryType, boundary: String) -> NSData { + let boundaryText: String + + switch boundaryType { + case .Initial: + boundaryText = "--\(boundary)\(EncodingCharacters.CRLF)" + case .Encapsulated: + boundaryText = "\(EncodingCharacters.CRLF)--\(boundary)\(EncodingCharacters.CRLF)" + case .Final: + boundaryText = "\(EncodingCharacters.CRLF)--\(boundary)--\(EncodingCharacters.CRLF)" + } + + return boundaryText.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)! + } + } + + class BodyPart { + let headers: [String: String] + let bodyStream: NSInputStream + let bodyContentLength: UInt64 + var hasInitialBoundary = false + var hasFinalBoundary = false + + init(headers: [String: String], bodyStream: NSInputStream, bodyContentLength: UInt64) { + self.headers = headers + self.bodyStream = bodyStream + self.bodyContentLength = bodyContentLength + } + } + + // MARK: - Properties + + /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`. + public var contentType: String { return "multipart/form-data; boundary=\(boundary)" } + + /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries. + public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } } + + /// The boundary used to separate the body parts in the encoded form data. + public let boundary: String + + private var bodyParts: [BodyPart] + private var bodyPartError: NSError? + private let streamBufferSize: Int + + // MARK: - Lifecycle + + /** + Creates a multipart form data object. + + - returns: The multipart form data object. + */ + public init() { + self.boundary = BoundaryGenerator.randomBoundary() + self.bodyParts = [] + + /** + * The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more + * information, please refer to the following article: + * - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html + */ + + self.streamBufferSize = 1024 + } + + // MARK: - Body Parts + + /** + Creates a body part from the data and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - `Content-Disposition: form-data; name=#{name}` (HTTP Header) + - Encoded data + - Multipart form boundary + + - parameter data: The data to encode into the multipart form data. + - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header. + */ + public func appendBodyPart(data data: NSData, name: String) { + let headers = contentHeaders(name: name) + let stream = NSInputStream(data: data) + let length = UInt64(data.length) + + appendBodyPart(stream: stream, length: length, headers: headers) + } + + /** + Creates a body part from the data and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - `Content-Disposition: form-data; name=#{name}` (HTTP Header) + - `Content-Type: #{generated mimeType}` (HTTP Header) + - Encoded data + - Multipart form boundary + + - parameter data: The data to encode into the multipart form data. + - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header. + - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header. + */ + public func appendBodyPart(data data: NSData, name: String, mimeType: String) { + let headers = contentHeaders(name: name, mimeType: mimeType) + let stream = NSInputStream(data: data) + let length = UInt64(data.length) + + appendBodyPart(stream: stream, length: length, headers: headers) + } + + /** + Creates a body part from the data and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header) + - `Content-Type: #{mimeType}` (HTTP Header) + - Encoded file data + - Multipart form boundary + + - parameter data: The data to encode into the multipart form data. + - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header. + - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header. + - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header. + */ + public func appendBodyPart(data data: NSData, name: String, fileName: String, mimeType: String) { + let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType) + let stream = NSInputStream(data: data) + let length = UInt64(data.length) + + appendBodyPart(stream: stream, length: length, headers: headers) + } + + /** + Creates a body part from the file and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header) + - `Content-Type: #{generated mimeType}` (HTTP Header) + - Encoded file data + - Multipart form boundary + + The filename in the `Content-Disposition` HTTP header is generated from the last path component of the + `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the + system associated MIME type. + + - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data. + - parameter name: The name to associate with the file content in the `Content-Disposition` HTTP header. + */ + public func appendBodyPart(fileURL fileURL: NSURL, name: String) { + if let + fileName = fileURL.lastPathComponent, + pathExtension = fileURL.pathExtension + { + let mimeType = mimeTypeForPathExtension(pathExtension) + appendBodyPart(fileURL: fileURL, name: name, fileName: fileName, mimeType: mimeType) + } else { + let failureReason = "Failed to extract the fileName of the provided URL: \(fileURL)" + setBodyPartError(Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason)) + } + } + + /** + Creates a body part from the file and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header) + - Content-Type: #{mimeType} (HTTP Header) + - Encoded file data + - Multipart form boundary + + - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data. + - parameter name: The name to associate with the file content in the `Content-Disposition` HTTP header. + - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header. + - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header. + */ + public func appendBodyPart(fileURL fileURL: NSURL, name: String, fileName: String, mimeType: String) { + let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType) + + //============================================================ + // Check 1 - is file URL? + //============================================================ + + guard fileURL.fileURL else { + let failureReason = "The file URL does not point to a file URL: \(fileURL)" + let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason) + setBodyPartError(error) + return + } + + //============================================================ + // Check 2 - is file URL reachable? + //============================================================ + + var isReachable = true + + if #available(OSX 10.10, *) { + isReachable = fileURL.checkPromisedItemIsReachableAndReturnError(nil) + } + + guard isReachable else { + let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: "The file URL is not reachable: \(fileURL)") + setBodyPartError(error) + return + } + + //============================================================ + // Check 3 - is file URL a directory? + //============================================================ + + var isDirectory: ObjCBool = false + + guard let + path = fileURL.path + where NSFileManager.defaultManager().fileExistsAtPath(path, isDirectory: &isDirectory) && !isDirectory else + { + let failureReason = "The file URL is a directory, not a file: \(fileURL)" + let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason) + setBodyPartError(error) + return + } + + //============================================================ + // Check 4 - can the file size be extracted? + //============================================================ + + var bodyContentLength: UInt64? + + do { + if let + path = fileURL.path, + fileSize = try NSFileManager.defaultManager().attributesOfItemAtPath(path)[NSFileSize] as? NSNumber + { + bodyContentLength = fileSize.unsignedLongLongValue + } + } catch { + // No-op + } + + guard let length = bodyContentLength else { + let failureReason = "Could not fetch attributes from the file URL: \(fileURL)" + let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason) + setBodyPartError(error) + return + } + + //============================================================ + // Check 5 - can a stream be created from file URL? + //============================================================ + + guard let stream = NSInputStream(URL: fileURL) else { + let failureReason = "Failed to create an input stream from the file URL: \(fileURL)" + let error = Error.errorWithCode(NSURLErrorCannotOpenFile, failureReason: failureReason) + setBodyPartError(error) + return + } + + appendBodyPart(stream: stream, length: length, headers: headers) + } + + /** + Creates a body part from the stream and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header) + - `Content-Type: #{mimeType}` (HTTP Header) + - Encoded stream data + - Multipart form boundary + + - parameter stream: The input stream to encode in the multipart form data. + - parameter length: The content length of the stream. + - parameter name: The name to associate with the stream content in the `Content-Disposition` HTTP header. + - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header. + - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header. + */ + public func appendBodyPart( + stream stream: NSInputStream, + length: UInt64, + name: String, + fileName: String, + mimeType: String) + { + let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType) + appendBodyPart(stream: stream, length: length, headers: headers) + } + + /** + Creates a body part with the headers, stream and length and appends it to the multipart form data object. + + The body part data will be encoded using the following format: + + - HTTP headers + - Encoded stream data + - Multipart form boundary + + - parameter stream: The input stream to encode in the multipart form data. + - parameter length: The content length of the stream. + - parameter headers: The HTTP headers for the body part. + */ + public func appendBodyPart(stream stream: NSInputStream, length: UInt64, headers: [String: String]) { + let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length) + bodyParts.append(bodyPart) + } + + // MARK: - Data Encoding + + /** + Encodes all the appended body parts into a single `NSData` object. + + It is important to note that this method will load all the appended body parts into memory all at the same + time. This method should only be used when the encoded data will have a small memory footprint. For large data + cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method. + + - throws: An `NSError` if encoding encounters an error. + + - returns: The encoded `NSData` if encoding is successful. + */ + public func encode() throws -> NSData { + if let bodyPartError = bodyPartError { + throw bodyPartError + } + + let encoded = NSMutableData() + + bodyParts.first?.hasInitialBoundary = true + bodyParts.last?.hasFinalBoundary = true + + for bodyPart in bodyParts { + let encodedData = try encodeBodyPart(bodyPart) + encoded.appendData(encodedData) + } + + return encoded + } + + /** + Writes the appended body parts into the given file URL. + + This process is facilitated by reading and writing with input and output streams, respectively. Thus, + this approach is very memory efficient and should be used for large body part data. + + - parameter fileURL: The file URL to write the multipart form data into. + + - throws: An `NSError` if encoding encounters an error. + */ + public func writeEncodedDataToDisk(fileURL: NSURL) throws { + if let bodyPartError = bodyPartError { + throw bodyPartError + } + + if let path = fileURL.path where NSFileManager.defaultManager().fileExistsAtPath(path) { + let failureReason = "A file already exists at the given file URL: \(fileURL)" + throw Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason) + } else if !fileURL.fileURL { + let failureReason = "The URL does not point to a valid file: \(fileURL)" + throw Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason) + } + + let outputStream: NSOutputStream + + if let possibleOutputStream = NSOutputStream(URL: fileURL, append: false) { + outputStream = possibleOutputStream + } else { + let failureReason = "Failed to create an output stream with the given URL: \(fileURL)" + throw Error.errorWithCode(NSURLErrorCannotOpenFile, failureReason: failureReason) + } + + outputStream.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) + outputStream.open() + + self.bodyParts.first?.hasInitialBoundary = true + self.bodyParts.last?.hasFinalBoundary = true + + for bodyPart in self.bodyParts { + try writeBodyPart(bodyPart, toOutputStream: outputStream) + } + + outputStream.close() + outputStream.removeFromRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) + } + + // MARK: - Private - Body Part Encoding + + private func encodeBodyPart(bodyPart: BodyPart) throws -> NSData { + let encoded = NSMutableData() + + let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData() + encoded.appendData(initialData) + + let headerData = encodeHeaderDataForBodyPart(bodyPart) + encoded.appendData(headerData) + + let bodyStreamData = try encodeBodyStreamDataForBodyPart(bodyPart) + encoded.appendData(bodyStreamData) + + if bodyPart.hasFinalBoundary { + encoded.appendData(finalBoundaryData()) + } + + return encoded + } + + private func encodeHeaderDataForBodyPart(bodyPart: BodyPart) -> NSData { + var headerText = "" + + for (key, value) in bodyPart.headers { + headerText += "\(key): \(value)\(EncodingCharacters.CRLF)" + } + headerText += EncodingCharacters.CRLF + + return headerText.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)! + } + + private func encodeBodyStreamDataForBodyPart(bodyPart: BodyPart) throws -> NSData { + let inputStream = bodyPart.bodyStream + inputStream.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) + inputStream.open() + + var error: NSError? + let encoded = NSMutableData() + + while inputStream.hasBytesAvailable { + var buffer = [UInt8](count: streamBufferSize, repeatedValue: 0) + let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize) + + if inputStream.streamError != nil { + error = inputStream.streamError + break + } + + if bytesRead > 0 { + encoded.appendBytes(buffer, length: bytesRead) + } else if bytesRead < 0 { + let failureReason = "Failed to read from input stream: \(inputStream)" + error = Error.errorWithCode(.InputStreamReadFailed, failureReason: failureReason) + break + } else { + break + } + } + + inputStream.close() + inputStream.removeFromRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) + + if let error = error { + throw error + } + + return encoded + } + + // MARK: - Private - Writing Body Part to Output Stream + + private func writeBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws { + try writeInitialBoundaryDataForBodyPart(bodyPart, toOutputStream: outputStream) + try writeHeaderDataForBodyPart(bodyPart, toOutputStream: outputStream) + try writeBodyStreamForBodyPart(bodyPart, toOutputStream: outputStream) + try writeFinalBoundaryDataForBodyPart(bodyPart, toOutputStream: outputStream) + } + + private func writeInitialBoundaryDataForBodyPart( + bodyPart: BodyPart, + toOutputStream outputStream: NSOutputStream) + throws + { + let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData() + return try writeData(initialData, toOutputStream: outputStream) + } + + private func writeHeaderDataForBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws { + let headerData = encodeHeaderDataForBodyPart(bodyPart) + return try writeData(headerData, toOutputStream: outputStream) + } + + private func writeBodyStreamForBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws { + let inputStream = bodyPart.bodyStream + inputStream.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) + inputStream.open() + + while inputStream.hasBytesAvailable { + var buffer = [UInt8](count: streamBufferSize, repeatedValue: 0) + let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize) + + if let streamError = inputStream.streamError { + throw streamError + } + + if bytesRead > 0 { + if buffer.count != bytesRead { + buffer = Array(buffer[0.. 0 { + if outputStream.hasSpaceAvailable { + let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite) + + if let streamError = outputStream.streamError { + throw streamError + } + + if bytesWritten < 0 { + let failureReason = "Failed to write to output stream: \(outputStream)" + throw Error.errorWithCode(.OutputStreamWriteFailed, failureReason: failureReason) + } + + bytesToWrite -= bytesWritten + + if bytesToWrite > 0 { + buffer = Array(buffer[bytesWritten.. String { + if let + id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension, nil)?.takeRetainedValue(), + contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() + { + return contentType as String + } + + return "application/octet-stream" + } + + // MARK: - Private - Content Headers + + private func contentHeaders(name name: String) -> [String: String] { + return ["Content-Disposition": "form-data; name=\"\(name)\""] + } + + private func contentHeaders(name name: String, mimeType: String) -> [String: String] { + return [ + "Content-Disposition": "form-data; name=\"\(name)\"", + "Content-Type": "\(mimeType)" + ] + } + + private func contentHeaders(name name: String, fileName: String, mimeType: String) -> [String: String] { + return [ + "Content-Disposition": "form-data; name=\"\(name)\"; filename=\"\(fileName)\"", + "Content-Type": "\(mimeType)" + ] + } + + // MARK: - Private - Boundary Encoding + + private func initialBoundaryData() -> NSData { + return BoundaryGenerator.boundaryData(boundaryType: .Initial, boundary: boundary) + } + + private func encapsulatedBoundaryData() -> NSData { + return BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundary: boundary) + } + + private func finalBoundaryData() -> NSData { + return BoundaryGenerator.boundaryData(boundaryType: .Final, boundary: boundary) + } + + // MARK: - Private - Errors + + private func setBodyPartError(error: NSError) { + if bodyPartError == nil { + bodyPartError = error + } + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/ParameterEncoding.swift b/PrettyWeatherApp/Pods/Alamofire/Source/ParameterEncoding.swift new file mode 100644 index 0000000..94f7d42 --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/ParameterEncoding.swift @@ -0,0 +1,245 @@ +// ParameterEncoding.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +/** + HTTP method definitions. + + See https://tools.ietf.org/html/rfc7231#section-4.3 +*/ +public enum Method: String { + case OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE, CONNECT +} + +// MARK: ParameterEncoding + +/** + Used to specify the way in which a set of parameters are applied to a URL request. + + - `URL`: Creates a query string to be set as or appended to any existing URL query for `GET`, `HEAD`, + and `DELETE` requests, or set as the body for requests with any other HTTP method. The + `Content-Type` HTTP header field of an encoded request with HTTP body is set to + `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification + for how to encode collection types, the convention of appending `[]` to the key for array + values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested + dictionary values (`foo[bar]=baz`). + + - `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same + implementation as the `.URL` case, but always applies the encoded result to the URL. + + - `JSON`: Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is + set as the body of the request. The `Content-Type` HTTP header field of an encoded request is + set to `application/json`. + + - `PropertyList`: Uses `NSPropertyListSerialization` to create a plist representation of the parameters object, + according to the associated format and write options values, which is set as the body of the + request. The `Content-Type` HTTP header field of an encoded request is set to + `application/x-plist`. + + - `Custom`: Uses the associated closure value to construct a new request given an existing request and + parameters. +*/ +public enum ParameterEncoding { + case URL + case URLEncodedInURL + case JSON + case PropertyList(NSPropertyListFormat, NSPropertyListWriteOptions) + case Custom((URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?)) + + /** + Creates a URL request by encoding parameters and applying them onto an existing request. + + - parameter URLRequest: The request to have parameters applied + - parameter parameters: The parameters to apply + + - returns: A tuple containing the constructed request and the error that occurred during parameter encoding, + if any. + */ + public func encode( + URLRequest: URLRequestConvertible, + parameters: [String: AnyObject]?) + -> (NSMutableURLRequest, NSError?) + { + var mutableURLRequest = URLRequest.URLRequest + + guard let parameters = parameters else { + return (mutableURLRequest, nil) + } + + var encodingError: NSError? = nil + + switch self { + case .URL, .URLEncodedInURL: + func query(parameters: [String: AnyObject]) -> String { + var components: [(String, String)] = [] + for key in Array(parameters.keys).sort(<) { + let value = parameters[key]! + components += queryComponents(key, value) + } + + return (components.map { "\($0)=\($1)" } as [String]).joinWithSeparator("&") + } + + func encodesParametersInURL(method: Method) -> Bool { + switch self { + case .URLEncodedInURL: + return true + default: + break + } + + switch method { + case .GET, .HEAD, .DELETE: + return true + default: + return false + } + } + + if let method = Method(rawValue: mutableURLRequest.HTTPMethod) where encodesParametersInURL(method) { + if let URLComponents = NSURLComponents(URL: mutableURLRequest.URL!, resolvingAgainstBaseURL: false) { + let percentEncodedQuery = (URLComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters) + URLComponents.percentEncodedQuery = percentEncodedQuery + mutableURLRequest.URL = URLComponents.URL + } + } else { + if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil { + mutableURLRequest.setValue( + "application/x-www-form-urlencoded; charset=utf-8", + forHTTPHeaderField: "Content-Type" + ) + } + + mutableURLRequest.HTTPBody = query(parameters).dataUsingEncoding( + NSUTF8StringEncoding, + allowLossyConversion: false + ) + } + case .JSON: + do { + let options = NSJSONWritingOptions() + let data = try NSJSONSerialization.dataWithJSONObject(parameters, options: options) + + mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Content-Type") + mutableURLRequest.HTTPBody = data + } catch { + encodingError = error as NSError + } + case .PropertyList(let format, let options): + do { + let data = try NSPropertyListSerialization.dataWithPropertyList( + parameters, + format: format, + options: options + ) + mutableURLRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type") + mutableURLRequest.HTTPBody = data + } catch { + encodingError = error as NSError + } + case .Custom(let closure): + (mutableURLRequest, encodingError) = closure(mutableURLRequest, parameters) + } + + return (mutableURLRequest, encodingError) + } + + /** + Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion. + + - parameter key: The key of the query component. + - parameter value: The value of the query component. + + - returns: The percent-escaped, URL encoded query string components. + */ + public func queryComponents(key: String, _ value: AnyObject) -> [(String, String)] { + var components: [(String, String)] = [] + if let dictionary = value as? [String: AnyObject] { + for (nestedKey, value) in dictionary { + components += queryComponents("\(key)[\(nestedKey)]", value) + } + } else if let array = value as? [AnyObject] { + for value in array { + components += queryComponents("\(key)[]", value) + } + } else { + components.append((escape(key), escape("\(value)"))) + } + + return components + } + + /** + Returns a percent-escaped string following RFC 3986 for a query string key or value. + + RFC 3986 states that the following characters are "reserved" characters. + + - General Delimiters: ":", "#", "[", "]", "@", "?", "/" + - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=" + + In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow + query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/" + should be percent-escaped in the query string. + + - parameter string: The string to be percent-escaped. + + - returns: The percent-escaped string. + */ + public func escape(string: String) -> String { + let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4 + let subDelimitersToEncode = "!$&'()*+,;=" + + let allowedCharacterSet = NSCharacterSet.URLQueryAllowedCharacterSet().mutableCopy() as! NSMutableCharacterSet + allowedCharacterSet.removeCharactersInString(generalDelimitersToEncode + subDelimitersToEncode) + + //========================================================================================================== + // + // Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few + // hundred Chinense characters causes various malloc error crashes. To avoid this issue until iOS 8 is no + // longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more + // info, please refer to: + // + // - https://github.com/Alamofire/Alamofire/issues/206 + // + //========================================================================================================== + + let batchSize = 50 + var index = string.startIndex + + var escaped = "" + + while index != string.endIndex { + let startIndex = index + let endIndex = index.advancedBy(batchSize, limit: string.endIndex) + let range = Range(start: startIndex, end: endIndex) + + let substring = string.substringWithRange(range) + + escaped += substring.stringByAddingPercentEncodingWithAllowedCharacters(allowedCharacterSet) ?? substring + + index = endIndex + } + + return escaped + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Request.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Request.swift new file mode 100644 index 0000000..8df4856 --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Request.swift @@ -0,0 +1,536 @@ +// Request.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +/** + Responsible for sending a request and receiving the response and associated data from the server, as well as + managing its underlying `NSURLSessionTask`. +*/ +public class Request { + + // MARK: - Properties + + /// The delegate for the underlying task. + public let delegate: TaskDelegate + + /// The underlying task. + public var task: NSURLSessionTask { return delegate.task } + + /// The session belonging to the underlying task. + public let session: NSURLSession + + /// The request sent or to be sent to the server. + public var request: NSURLRequest? { return task.originalRequest } + + /// The response received from the server, if any. + public var response: NSHTTPURLResponse? { return task.response as? NSHTTPURLResponse } + + /// The progress of the request lifecycle. + public var progress: NSProgress { return delegate.progress } + + // MARK: - Lifecycle + + init(session: NSURLSession, task: NSURLSessionTask) { + self.session = session + + switch task { + case is NSURLSessionUploadTask: + self.delegate = UploadTaskDelegate(task: task) + case is NSURLSessionDataTask: + self.delegate = DataTaskDelegate(task: task) + case is NSURLSessionDownloadTask: + self.delegate = DownloadTaskDelegate(task: task) + default: + self.delegate = TaskDelegate(task: task) + } + } + + // MARK: - Authentication + + /** + Associates an HTTP Basic credential with the request. + + - parameter user: The user. + - parameter password: The password. + - parameter persistence: The URL credential persistence. `.ForSession` by default. + + - returns: The request. + */ + public func authenticate( + user user: String, + password: String, + persistence: NSURLCredentialPersistence = .ForSession) + -> Self + { + let credential = NSURLCredential(user: user, password: password, persistence: persistence) + + return authenticate(usingCredential: credential) + } + + /** + Associates a specified credential with the request. + + - parameter credential: The credential. + + - returns: The request. + */ + public func authenticate(usingCredential credential: NSURLCredential) -> Self { + delegate.credential = credential + + return self + } + + // MARK: - Progress + + /** + Sets a closure to be called periodically during the lifecycle of the request as data is written to or read + from the server. + + - For uploads, the progress closure returns the bytes written, total bytes written, and total bytes expected + to write. + - For downloads and data tasks, the progress closure returns the bytes read, total bytes read, and total bytes + expected to read. + + - parameter closure: The code to be executed periodically during the lifecycle of the request. + + - returns: The request. + */ + public func progress(closure: ((Int64, Int64, Int64) -> Void)? = nil) -> Self { + if let uploadDelegate = delegate as? UploadTaskDelegate { + uploadDelegate.uploadProgress = closure + } else if let dataDelegate = delegate as? DataTaskDelegate { + dataDelegate.dataProgress = closure + } else if let downloadDelegate = delegate as? DownloadTaskDelegate { + downloadDelegate.downloadProgress = closure + } + + return self + } + + /** + Sets a closure to be called periodically during the lifecycle of the request as data is read from the server. + + This closure returns the bytes most recently received from the server, not including data from previous calls. + If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is + also important to note that the `response` closure will be called with nil `responseData`. + + - parameter closure: The code to be executed periodically during the lifecycle of the request. + + - returns: The request. + */ + public func stream(closure: (NSData -> Void)? = nil) -> Self { + if let dataDelegate = delegate as? DataTaskDelegate { + dataDelegate.dataStream = closure + } + + return self + } + + // MARK: - State + + /** + Suspends the request. + */ + public func suspend() { + task.suspend() + } + + /** + Resumes the request. + */ + public func resume() { + task.resume() + } + + /** + Cancels the request. + */ + public func cancel() { + if let + downloadDelegate = delegate as? DownloadTaskDelegate, + downloadTask = downloadDelegate.downloadTask + { + downloadTask.cancelByProducingResumeData { data in + downloadDelegate.resumeData = data + } + } else { + task.cancel() + } + } + + // MARK: - TaskDelegate + + /** + The task delegate is responsible for handling all delegate callbacks for the underlying task as well as + executing all operations attached to the serial operation queue upon task completion. + */ + public class TaskDelegate: NSObject { + + /// The serial operation queue used to execute all operations after the task completes. + public let queue: NSOperationQueue + + let task: NSURLSessionTask + let progress: NSProgress + + var data: NSData? { return nil } + var error: ErrorType? + + var credential: NSURLCredential? + + init(task: NSURLSessionTask) { + self.task = task + self.progress = NSProgress(totalUnitCount: 0) + self.queue = { + let operationQueue = NSOperationQueue() + operationQueue.maxConcurrentOperationCount = 1 + operationQueue.suspended = true + + if #available(OSX 10.10, *) { + operationQueue.qualityOfService = NSQualityOfService.Utility + } + + return operationQueue + }() + } + + deinit { + queue.cancelAllOperations() + queue.suspended = false + } + + // MARK: - NSURLSessionTaskDelegate + + // MARK: Override Closures + + var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)? + var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))? + var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream?)? + var taskDidCompleteWithError: ((NSURLSession, NSURLSessionTask, NSError?) -> Void)? + + // MARK: Delegate Methods + + func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + willPerformHTTPRedirection response: NSHTTPURLResponse, + newRequest request: NSURLRequest, + completionHandler: ((NSURLRequest?) -> Void)) + { + var redirectRequest: NSURLRequest? = request + + if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection { + redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request) + } + + completionHandler(redirectRequest) + } + + func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + didReceiveChallenge challenge: NSURLAuthenticationChallenge, + completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)) + { + var disposition: NSURLSessionAuthChallengeDisposition = .PerformDefaultHandling + var credential: NSURLCredential? + + if let taskDidReceiveChallenge = taskDidReceiveChallenge { + (disposition, credential) = taskDidReceiveChallenge(session, task, challenge) + } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust { + let host = challenge.protectionSpace.host + + if let + serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicyForHost(host), + serverTrust = challenge.protectionSpace.serverTrust + { + if serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host) { + disposition = .UseCredential + credential = NSURLCredential(forTrust: serverTrust) + } else { + disposition = .CancelAuthenticationChallenge + } + } + } else { + if challenge.previousFailureCount > 0 { + disposition = .CancelAuthenticationChallenge + } else { + credential = self.credential ?? session.configuration.URLCredentialStorage?.defaultCredentialForProtectionSpace(challenge.protectionSpace) + + if credential != nil { + disposition = .UseCredential + } + } + } + + completionHandler(disposition, credential) + } + + func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + needNewBodyStream completionHandler: ((NSInputStream?) -> Void)) + { + var bodyStream: NSInputStream? + + if let taskNeedNewBodyStream = taskNeedNewBodyStream { + bodyStream = taskNeedNewBodyStream(session, task) + } + + completionHandler(bodyStream) + } + + func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) { + if let taskDidCompleteWithError = taskDidCompleteWithError { + taskDidCompleteWithError(session, task, error) + } else { + if let error = error { + self.error = error + + if let + downloadDelegate = self as? DownloadTaskDelegate, + userInfo = error.userInfo as? [String: AnyObject], + resumeData = userInfo[NSURLSessionDownloadTaskResumeData] as? NSData + { + downloadDelegate.resumeData = resumeData + } + } + + queue.suspended = false + } + } + } + + // MARK: - DataTaskDelegate + + class DataTaskDelegate: TaskDelegate, NSURLSessionDataDelegate { + var dataTask: NSURLSessionDataTask? { return task as? NSURLSessionDataTask } + + private var totalBytesReceived: Int64 = 0 + private var mutableData: NSMutableData + override var data: NSData? { + if dataStream != nil { + return nil + } else { + return mutableData + } + } + + private var expectedContentLength: Int64? + private var dataProgress: ((bytesReceived: Int64, totalBytesReceived: Int64, totalBytesExpectedToReceive: Int64) -> Void)? + private var dataStream: ((data: NSData) -> Void)? + + override init(task: NSURLSessionTask) { + mutableData = NSMutableData() + super.init(task: task) + } + + // MARK: - NSURLSessionDataDelegate + + // MARK: Override Closures + + var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)? + var dataTaskDidBecomeDownloadTask: ((NSURLSession, NSURLSessionDataTask, NSURLSessionDownloadTask) -> Void)? + var dataTaskDidReceiveData: ((NSURLSession, NSURLSessionDataTask, NSData) -> Void)? + var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)? + + // MARK: Delegate Methods + + func URLSession( + session: NSURLSession, + dataTask: NSURLSessionDataTask, + didReceiveResponse response: NSURLResponse, + completionHandler: (NSURLSessionResponseDisposition -> Void)) + { + var disposition: NSURLSessionResponseDisposition = .Allow + + expectedContentLength = response.expectedContentLength + + if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse { + disposition = dataTaskDidReceiveResponse(session, dataTask, response) + } + + completionHandler(disposition) + } + + func URLSession( + session: NSURLSession, + dataTask: NSURLSessionDataTask, + didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask) + { + dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask) + } + + func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) { + if let dataTaskDidReceiveData = dataTaskDidReceiveData { + dataTaskDidReceiveData(session, dataTask, data) + } else { + if let dataStream = dataStream { + dataStream(data: data) + } else { + mutableData.appendData(data) + } + + totalBytesReceived += data.length + let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown + + progress.totalUnitCount = totalBytesExpected + progress.completedUnitCount = totalBytesReceived + + dataProgress?( + bytesReceived: Int64(data.length), + totalBytesReceived: totalBytesReceived, + totalBytesExpectedToReceive: totalBytesExpected + ) + } + } + + func URLSession( + session: NSURLSession, + dataTask: NSURLSessionDataTask, + willCacheResponse proposedResponse: NSCachedURLResponse, + completionHandler: ((NSCachedURLResponse?) -> Void)) + { + var cachedResponse: NSCachedURLResponse? = proposedResponse + + if let dataTaskWillCacheResponse = dataTaskWillCacheResponse { + cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse) + } + + completionHandler(cachedResponse) + } + } +} + +// MARK: - CustomStringConvertible + +extension Request: CustomStringConvertible { + + /** + The textual representation used when written to an output stream, which includes the HTTP method and URL, as + well as the response status code if a response has been received. + */ + public var description: String { + var components: [String] = [] + + if let HTTPMethod = request?.HTTPMethod { + components.append(HTTPMethod) + } + + if let URLString = request?.URL?.absoluteString { + components.append(URLString) + } + + if let response = response { + components.append("(\(response.statusCode))") + } + + return components.joinWithSeparator(" ") + } +} + +// MARK: - CustomDebugStringConvertible + +extension Request: CustomDebugStringConvertible { + func cURLRepresentation() -> String { + var components = ["$ curl -i"] + + guard let request = self.request else { + return "$ curl command could not be created" + } + + let URL = request.URL + + if let HTTPMethod = request.HTTPMethod where HTTPMethod != "GET" { + components.append("-X \(HTTPMethod)") + } + + if let credentialStorage = self.session.configuration.URLCredentialStorage { + let protectionSpace = NSURLProtectionSpace( + host: URL!.host!, + port: URL!.port?.integerValue ?? 0, + `protocol`: URL!.scheme, + realm: URL!.host!, + authenticationMethod: NSURLAuthenticationMethodHTTPBasic + ) + + if let credentials = credentialStorage.credentialsForProtectionSpace(protectionSpace)?.values { + for credential in credentials { + components.append("-u \(credential.user!):\(credential.password!)") + } + } else { + if let credential = delegate.credential { + components.append("-u \(credential.user!):\(credential.password!)") + } + } + } + + if session.configuration.HTTPShouldSetCookies { + if let + cookieStorage = session.configuration.HTTPCookieStorage, + cookies = cookieStorage.cookiesForURL(URL!) where !cookies.isEmpty + { + let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value ?? String());" } + components.append("-b \"\(string.substringToIndex(string.endIndex.predecessor()))\"") + } + } + + if let headerFields = request.allHTTPHeaderFields { + for (field, value) in headerFields { + switch field { + case "Cookie": + continue + default: + components.append("-H \"\(field): \(value)\"") + } + } + } + + if let additionalHeaders = session.configuration.HTTPAdditionalHeaders { + for (field, value) in additionalHeaders { + switch field { + case "Cookie": + continue + default: + components.append("-H \"\(field): \(value)\"") + } + } + } + + if let + HTTPBodyData = request.HTTPBody, + HTTPBody = NSString(data: HTTPBodyData, encoding: NSUTF8StringEncoding) + { + let escapedBody = HTTPBody.stringByReplacingOccurrencesOfString("\"", withString: "\\\"") + components.append("-d \"\(escapedBody)\"") + } + + components.append("\"\(URL!.absoluteString)\"") + + return components.joinWithSeparator(" \\\n\t") + } + + /// The textual representation used when written to an output stream, in the form of a cURL command. + public var debugDescription: String { + return cURLRepresentation() + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/ResponseSerialization.swift b/PrettyWeatherApp/Pods/Alamofire/Source/ResponseSerialization.swift new file mode 100644 index 0000000..23d8ab2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/ResponseSerialization.swift @@ -0,0 +1,331 @@ +// ResponseSerialization.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +// MARK: ResponseSerializer + +/** + The type in which all response serializers must conform to in order to serialize a response. +*/ +public protocol ResponseSerializer { + /// The type of serialized object to be created by this `ResponseSerializer`. + typealias SerializedObject + + /** + A closure used by response handlers that takes a request, response, and data and returns a result. + */ + var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?) -> Result { get } +} + +// MARK: - + +/** + A generic `ResponseSerializer` used to serialize a request, response, and data into a serialized object. +*/ +public struct GenericResponseSerializer: ResponseSerializer { + /// The type of serialized object to be created by this `ResponseSerializer`. + public typealias SerializedObject = T + + /** + A closure used by response handlers that takes a request, response, and data and returns a result. + */ + public var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?) -> Result + + /** + Initializes the `GenericResponseSerializer` instance with the given serialize response closure. + + - parameter serializeResponse: The closure used to serialize the response. + + - returns: The new generic response serializer instance. + */ + public init(serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?) -> Result) { + self.serializeResponse = serializeResponse + } +} + +// MARK: - Default + +extension Request { + + /** + Adds a handler to be called once the request has finished. + + - parameter queue: The queue on which the completion handler is dispatched. + - parameter completionHandler: The code to be executed once the request has finished. + + - returns: The request. + */ + public func response( + queue queue: dispatch_queue_t? = nil, + completionHandler: (NSURLRequest?, NSHTTPURLResponse?, NSData?, ErrorType?) -> Void) + -> Self + { + delegate.queue.addOperationWithBlock { + dispatch_async(queue ?? dispatch_get_main_queue()) { + completionHandler(self.request, self.response, self.delegate.data, self.delegate.error) + } + } + + return self + } + + /** + Adds a handler to be called once the request has finished. + + - parameter queue: The queue on which the completion handler is dispatched. + - parameter responseSerializer: The response serializer responsible for serializing the request, response, + and data. + - parameter completionHandler: The code to be executed once the request has finished. + + - returns: The request. + */ + public func response( + queue queue: dispatch_queue_t? = nil, + responseSerializer: T, + completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) + -> Self + { + delegate.queue.addOperationWithBlock { + let result: Result = { + if let error = self.delegate.error { + return .Failure(self.delegate.data, error) + } else { + return responseSerializer.serializeResponse(self.request, self.response, self.delegate.data) + } + }() + + dispatch_async(queue ?? dispatch_get_main_queue()) { + completionHandler(self.request, self.response, result) + } + } + + return self + } +} + +// MARK: - Data + +extension Request { + + /** + Creates a response serializer that returns the associated data as-is. + + - returns: A data response serializer. + */ + public static func dataResponseSerializer() -> GenericResponseSerializer { + return GenericResponseSerializer { _, _, data in + guard let validData = data else { + let failureReason = "Data could not be serialized. Input data was nil." + let error = Error.errorWithCode(.DataSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + + return .Success(validData) + } + } + + /** + Adds a handler to be called once the request has finished. + + - parameter completionHandler: The code to be executed once the request has finished. + + - returns: The request. + */ + public func responseData(completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) -> Self { + return response(responseSerializer: Request.dataResponseSerializer(), completionHandler: completionHandler) + } +} + +// MARK: - String + +extension Request { + + /** + Creates a response serializer that returns a string initialized from the response data with the specified + string encoding. + + - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server + response, falling back to the default HTTP default character set, ISO-8859-1. + + - returns: A string response serializer. + */ + public static func stringResponseSerializer( + var encoding encoding: NSStringEncoding? = nil) + -> GenericResponseSerializer + { + return GenericResponseSerializer { _, response, data in + guard let validData = data else { + let failureReason = "String could not be serialized because input data was nil." + let error = Error.errorWithCode(.StringSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + + if let encodingName = response?.textEncodingName where encoding == nil { + encoding = CFStringConvertEncodingToNSStringEncoding( + CFStringConvertIANACharSetNameToEncoding(encodingName) + ) + } + + let actualEncoding = encoding ?? NSISOLatin1StringEncoding + + if let string = NSString(data: validData, encoding: actualEncoding) as? String { + return .Success(string) + } else { + let failureReason = "String could not be serialized with encoding: \(actualEncoding)" + let error = Error.errorWithCode(.StringSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + } + } + + /** + Adds a handler to be called once the request has finished. + + - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the + server response, falling back to the default HTTP default character set, + ISO-8859-1. + - parameter completionHandler: A closure to be executed once the request has finished. The closure takes 3 + arguments: the URL request, the URL response and the result produced while + creating the string. + + - returns: The request. + */ + public func responseString( + encoding encoding: NSStringEncoding? = nil, + completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) + -> Self + { + return response( + responseSerializer: Request.stringResponseSerializer(encoding: encoding), + completionHandler: completionHandler + ) + } +} + +// MARK: - JSON + +extension Request { + + /** + Creates a response serializer that returns a JSON object constructed from the response data using + `NSJSONSerialization` with the specified reading options. + + - parameter options: The JSON serialization reading options. `.AllowFragments` by default. + + - returns: A JSON object response serializer. + */ + public static func JSONResponseSerializer( + options options: NSJSONReadingOptions = .AllowFragments) + -> GenericResponseSerializer + { + return GenericResponseSerializer { _, _, data in + guard let validData = data else { + let failureReason = "JSON could not be serialized because input data was nil." + let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + + do { + let JSON = try NSJSONSerialization.JSONObjectWithData(validData, options: options) + return .Success(JSON) + } catch { + return .Failure(data, error as NSError) + } + } + } + + /** + Adds a handler to be called once the request has finished. + + - parameter options: The JSON serialization reading options. `.AllowFragments` by default. + - parameter completionHandler: A closure to be executed once the request has finished. The closure takes 3 + arguments: the URL request, the URL response and the result produced while + creating the JSON object. + + - returns: The request. + */ + public func responseJSON( + options options: NSJSONReadingOptions = .AllowFragments, + completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) + -> Self + { + return response( + responseSerializer: Request.JSONResponseSerializer(options: options), + completionHandler: completionHandler + ) + } +} + +// MARK: - Property List + +extension Request { + + /** + Creates a response serializer that returns an object constructed from the response data using + `NSPropertyListSerialization` with the specified reading options. + + - parameter options: The property list reading options. `NSPropertyListReadOptions()` by default. + + - returns: A property list object response serializer. + */ + public static func propertyListResponseSerializer( + options options: NSPropertyListReadOptions = NSPropertyListReadOptions()) + -> GenericResponseSerializer + { + return GenericResponseSerializer { _, _, data in + guard let validData = data else { + let failureReason = "Property list could not be serialized because input data was nil." + let error = Error.errorWithCode(.PropertyListSerializationFailed, failureReason: failureReason) + return .Failure(data, error) + } + + do { + let plist = try NSPropertyListSerialization.propertyListWithData(validData, options: options, format: nil) + return .Success(plist) + } catch { + return .Failure(data, error as NSError) + } + } + } + + /** + Adds a handler to be called once the request has finished. + + - parameter options: The property list reading options. `0` by default. + - parameter completionHandler: A closure to be executed once the request has finished. The closure takes 3 + arguments: the URL request, the URL response and the result produced while + creating the property list. + + - returns: The request. + */ + public func responsePropertyList( + options options: NSPropertyListReadOptions = NSPropertyListReadOptions(), + completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result) -> Void) + -> Self + { + return response( + responseSerializer: Request.propertyListResponseSerializer(options: options), + completionHandler: completionHandler + ) + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Result.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Result.swift new file mode 100644 index 0000000..958e3ad --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Result.swift @@ -0,0 +1,114 @@ +// Result.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +/** + Used to represent whether a request was successful or encountered an error. + + - Success: The request and all post processing operations were successful resulting in the serialization of the + provided associated value. + - Failure: The request encountered an error resulting in a failure. The associated values are the original data + provided by the server as well as the error that caused the failure. +*/ +public enum Result { + case Success(Value) + case Failure(NSData?, ErrorType) + + /// Returns `true` if the result is a success, `false` otherwise. + public var isSuccess: Bool { + switch self { + case .Success: + return true + case .Failure: + return false + } + } + + /// Returns `true` if the result is a failure, `false` otherwise. + public var isFailure: Bool { + return !isSuccess + } + + /// Returns the associated value if the result is a success, `nil` otherwise. + public var value: Value? { + switch self { + case .Success(let value): + return value + case .Failure: + return nil + } + } + + /// Returns the associated data value if the result is a failure, `nil` otherwise. + public var data: NSData? { + switch self { + case .Success: + return nil + case .Failure(let data, _): + return data + } + } + + /// Returns the associated error value if the result is a failure, `nil` otherwise. + public var error: ErrorType? { + switch self { + case .Success: + return nil + case .Failure(_, let error): + return error + } + } +} + +// MARK: - CustomStringConvertible + +extension Result: CustomStringConvertible { + public var description: String { + switch self { + case .Success: + return "SUCCESS" + case .Failure: + return "FAILURE" + } + } +} + +// MARK: - CustomDebugStringConvertible + +extension Result: CustomDebugStringConvertible { + public var debugDescription: String { + switch self { + case .Success(let value): + return "SUCCESS: \(value)" + case .Failure(let data, let error): + if let + data = data, + utf8Data = NSString(data: data, encoding: NSUTF8StringEncoding) + { + return "FAILURE: \(error) \(utf8Data)" + } else { + return "FAILURE with Error: \(error)" + } + } + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/ServerTrustPolicy.swift b/PrettyWeatherApp/Pods/Alamofire/Source/ServerTrustPolicy.swift new file mode 100644 index 0000000..b6efbce --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/ServerTrustPolicy.swift @@ -0,0 +1,305 @@ +// ServerTrustPolicy.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host. +public class ServerTrustPolicyManager { + /// The dictionary of policies mapped to a particular host. + public let policies: [String: ServerTrustPolicy] + + /** + Initializes the `ServerTrustPolicyManager` instance with the given policies. + + Since different servers and web services can have different leaf certificates, intermediate and even root + certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This + allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key + pinning for host3 and disabling evaluation for host4. + + - parameter policies: A dictionary of all policies mapped to a particular host. + + - returns: The new `ServerTrustPolicyManager` instance. + */ + public init(policies: [String: ServerTrustPolicy]) { + self.policies = policies + } + + /** + Returns the `ServerTrustPolicy` for the given host if applicable. + + By default, this method will return the policy that perfectly matches the given host. Subclasses could override + this method and implement more complex mapping implementations such as wildcards. + + - parameter host: The host to use when searching for a matching policy. + + - returns: The server trust policy for the given host if found. + */ + public func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? { + return policies[host] + } +} + +// MARK: - + +extension NSURLSession { + private struct AssociatedKeys { + static var ManagerKey = "NSURLSession.ServerTrustPolicyManager" + } + + var serverTrustPolicyManager: ServerTrustPolicyManager? { + get { + return objc_getAssociatedObject(self, &AssociatedKeys.ManagerKey) as? ServerTrustPolicyManager + } + set (manager) { + objc_setAssociatedObject(self, &AssociatedKeys.ManagerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) + } + } +} + +// MARK: - ServerTrustPolicy + +/** + The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when + connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust + with a given set of criteria to determine whether the server trust is valid and the connection should be made. + + Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other + vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged + to route all communication over an HTTPS connection with pinning enabled. + + - PerformDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to + validate the host provided by the challenge. Applications are encouraged to always + validate the host in production environments to guarantee the validity of the server's + certificate chain. + + - PinCertificates: Uses the pinned certificates to validate the server trust. The server trust is + considered valid if one of the pinned certificates match one of the server certificates. + By validating both the certificate chain and host, certificate pinning provides a very + secure form of server trust validation mitigating most, if not all, MITM attacks. + Applications are encouraged to always validate the host and require a valid certificate + chain in production environments. + + - PinPublicKeys: Uses the pinned public keys to validate the server trust. The server trust is considered + valid if one of the pinned public keys match one of the server certificate public keys. + By validating both the certificate chain and host, public key pinning provides a very + secure form of server trust validation mitigating most, if not all, MITM attacks. + Applications are encouraged to always validate the host and require a valid certificate + chain in production environments. + + - DisableEvaluation: Disables all evaluation which in turn will always consider any server trust as valid. + + - CustomEvaluation: Uses the associated closure to evaluate the validity of the server trust. +*/ +public enum ServerTrustPolicy { + case PerformDefaultEvaluation(validateHost: Bool) + case PinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool) + case PinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool) + case DisableEvaluation + case CustomEvaluation((serverTrust: SecTrust, host: String) -> Bool) + + // MARK: - Bundle Location + + /** + Returns all certificates within the given bundle with a `.cer` file extension. + + - parameter bundle: The bundle to search for all `.cer` files. + + - returns: All certificates within the given bundle. + */ + public static func certificatesInBundle(bundle: NSBundle = NSBundle.mainBundle()) -> [SecCertificate] { + var certificates: [SecCertificate] = [] + + for path in bundle.pathsForResourcesOfType(".cer", inDirectory: nil) { + if let + certificateData = NSData(contentsOfFile: path), + certificate = SecCertificateCreateWithData(nil, certificateData) + { + certificates.append(certificate) + } + } + + return certificates + } + + /** + Returns all public keys within the given bundle with a `.cer` file extension. + + - parameter bundle: The bundle to search for all `*.cer` files. + + - returns: All public keys within the given bundle. + */ + public static func publicKeysInBundle(bundle: NSBundle = NSBundle.mainBundle()) -> [SecKey] { + var publicKeys: [SecKey] = [] + + for certificate in certificatesInBundle(bundle) { + if let publicKey = publicKeyForCertificate(certificate) { + publicKeys.append(publicKey) + } + } + + return publicKeys + } + + // MARK: - Evaluation + + /** + Evaluates whether the server trust is valid for the given host. + + - parameter serverTrust: The server trust to evaluate. + - parameter host: The host of the challenge protection space. + + - returns: Whether the server trust is valid. + */ + public func evaluateServerTrust(serverTrust: SecTrust, isValidForHost host: String) -> Bool { + var serverTrustIsValid = false + + switch self { + case let .PerformDefaultEvaluation(validateHost): + let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) + SecTrustSetPolicies(serverTrust, [policy]) + + serverTrustIsValid = trustIsValid(serverTrust) + case let .PinCertificates(pinnedCertificates, validateCertificateChain, validateHost): + if validateCertificateChain { + let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) + SecTrustSetPolicies(serverTrust, [policy]) + + SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates) + SecTrustSetAnchorCertificatesOnly(serverTrust, true) + + serverTrustIsValid = trustIsValid(serverTrust) + } else { + let serverCertificatesDataArray = certificateDataForTrust(serverTrust) + + //====================================================================================================== + // The following `[] +` is a temporary workaround for a Swift 2.0 compiler error. This workaround should + // be removed once the following radar has been resolved: + // - http://openradar.appspot.com/radar?id=6082025006039040 + //====================================================================================================== + + let pinnedCertificatesDataArray = certificateDataForCertificates([] + pinnedCertificates) + + outerLoop: for serverCertificateData in serverCertificatesDataArray { + for pinnedCertificateData in pinnedCertificatesDataArray { + if serverCertificateData.isEqualToData(pinnedCertificateData) { + serverTrustIsValid = true + break outerLoop + } + } + } + } + case let .PinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost): + var certificateChainEvaluationPassed = true + + if validateCertificateChain { + let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) + SecTrustSetPolicies(serverTrust, [policy]) + + certificateChainEvaluationPassed = trustIsValid(serverTrust) + } + + if certificateChainEvaluationPassed { + outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeysForTrust(serverTrust) as [AnyObject] { + for pinnedPublicKey in pinnedPublicKeys as [AnyObject] { + if serverPublicKey.isEqual(pinnedPublicKey) { + serverTrustIsValid = true + break outerLoop + } + } + } + } + case .DisableEvaluation: + serverTrustIsValid = true + case let .CustomEvaluation(closure): + serverTrustIsValid = closure(serverTrust: serverTrust, host: host) + } + + return serverTrustIsValid + } + + // MARK: - Private - Trust Validation + + private func trustIsValid(trust: SecTrust) -> Bool { + var isValid = false + + var result = SecTrustResultType(kSecTrustResultInvalid) + let status = SecTrustEvaluate(trust, &result) + + if status == errSecSuccess { + let unspecified = SecTrustResultType(kSecTrustResultUnspecified) + let proceed = SecTrustResultType(kSecTrustResultProceed) + + isValid = result == unspecified || result == proceed + } + + return isValid + } + + // MARK: - Private - Certificate Data + + private func certificateDataForTrust(trust: SecTrust) -> [NSData] { + var certificates: [SecCertificate] = [] + + for index in 0.. [NSData] { + return certificates.map { SecCertificateCopyData($0) as NSData } + } + + // MARK: - Private - Public Key Extraction + + private static func publicKeysForTrust(trust: SecTrust) -> [SecKey] { + var publicKeys: [SecKey] = [] + + for index in 0.. SecKey? { + var publicKey: SecKey? + + let policy = SecPolicyCreateBasicX509() + var trust: SecTrust? + let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust) + + if let trust = trust where trustCreationStatus == errSecSuccess { + publicKey = SecTrustCopyPublicKey(trust) + } + + return publicKey + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Stream.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Stream.swift new file mode 100644 index 0000000..af89d5d --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Stream.swift @@ -0,0 +1,180 @@ +// Stream.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +#if !os(watchOS) + +@available(iOS 9.0, OSX 10.11, *) +extension Manager { + private enum Streamable { + case Stream(String, Int) + case NetService(NSNetService) + } + + private func stream(streamable: Streamable) -> Request { + var streamTask: NSURLSessionStreamTask! + + switch streamable { + case .Stream(let hostName, let port): + dispatch_sync(queue) { + streamTask = self.session.streamTaskWithHostName(hostName, port: port) + } + case .NetService(let netService): + dispatch_sync(queue) { + streamTask = self.session.streamTaskWithNetService(netService) + } + } + + let request = Request(session: session, task: streamTask) + + delegate[request.delegate.task] = request.delegate + + if startRequestsImmediately { + request.resume() + } + + return request + } + + /** + Creates a request for bidirectional streaming with the given hostname and port. + + - parameter hostName: The hostname of the server to connect to. + - parameter port: The port of the server to connect to. + + :returns: The created stream request. + */ + public func stream(hostName hostName: String, port: Int) -> Request { + return stream(.Stream(hostName, port)) + } + + /** + Creates a request for bidirectional streaming with the given `NSNetService`. + + - parameter netService: The net service used to identify the endpoint. + + - returns: The created stream request. + */ + public func stream(netService netService: NSNetService) -> Request { + return stream(.NetService(netService)) + } +} + +// MARK: - + +@available(iOS 9.0, OSX 10.11, *) +extension Manager.SessionDelegate: NSURLSessionStreamDelegate { + + // MARK: Override Closures + + /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:readClosedForStreamTask:`. + public var streamTaskReadClosed: ((NSURLSession, NSURLSessionStreamTask) -> Void)? { + get { + return _streamTaskReadClosed as? (NSURLSession, NSURLSessionStreamTask) -> Void + } + set { + _streamTaskReadClosed = newValue + } + } + + /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:writeClosedForStreamTask:`. + public var streamTaskWriteClosed: ((NSURLSession, NSURLSessionStreamTask) -> Void)? { + get { + return _streamTaskWriteClosed as? (NSURLSession, NSURLSessionStreamTask) -> Void + } + set { + _streamTaskWriteClosed = newValue + } + } + + /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:betterRouteDiscoveredForStreamTask:`. + public var streamTaskBetterRouteDiscovered: ((NSURLSession, NSURLSessionStreamTask) -> Void)? { + get { + return _streamTaskBetterRouteDiscovered as? (NSURLSession, NSURLSessionStreamTask) -> Void + } + set { + _streamTaskBetterRouteDiscovered = newValue + } + } + + /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:streamTask:didBecomeInputStream:outputStream:`. + public var streamTaskDidBecomeInputStream: ((NSURLSession, NSURLSessionStreamTask, NSInputStream, NSOutputStream) -> Void)? { + get { + return _streamTaskDidBecomeInputStream as? (NSURLSession, NSURLSessionStreamTask, NSInputStream, NSOutputStream) -> Void + } + set { + _streamTaskDidBecomeInputStream = newValue + } + } + + // MARK: Delegate Methods + + /** + Tells the delegate that the read side of the connection has been closed. + + - parameter session: The session. + - parameter streamTask: The stream task. + */ + public func URLSession(session: NSURLSession, readClosedForStreamTask streamTask: NSURLSessionStreamTask) { + streamTaskReadClosed?(session, streamTask) + } + + /** + Tells the delegate that the write side of the connection has been closed. + + - parameter session: The session. + - parameter streamTask: The stream task. + */ + public func URLSession(session: NSURLSession, writeClosedForStreamTask streamTask: NSURLSessionStreamTask) { + streamTaskWriteClosed?(session, streamTask) + } + + /** + Tells the delegate that the system has determined that a better route to the host is available. + + - parameter session: The session. + - parameter streamTask: The stream task. + */ + public func URLSession(session: NSURLSession, betterRouteDiscoveredForStreamTask streamTask: NSURLSessionStreamTask) { + streamTaskBetterRouteDiscovered?(session, streamTask) + } + + /** + Tells the delegate that the stream task has been completed and provides the unopened stream objects. + + - parameter session: The session. + - parameter streamTask: The stream task. + - parameter inputStream: The new input stream. + - parameter outputStream: The new output stream. + */ + public func URLSession( + session: NSURLSession, + streamTask: NSURLSessionStreamTask, + didBecomeInputStream inputStream: NSInputStream, + outputStream: NSOutputStream) + { + streamTaskDidBecomeInputStream?(session, streamTask, inputStream, outputStream) + } +} + +#endif diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Upload.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Upload.swift new file mode 100644 index 0000000..f7cc8bc --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Upload.swift @@ -0,0 +1,372 @@ +// Upload.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +extension Manager { + private enum Uploadable { + case Data(NSURLRequest, NSData) + case File(NSURLRequest, NSURL) + case Stream(NSURLRequest, NSInputStream) + } + + private func upload(uploadable: Uploadable) -> Request { + var uploadTask: NSURLSessionUploadTask! + var HTTPBodyStream: NSInputStream? + + switch uploadable { + case .Data(let request, let data): + dispatch_sync(queue) { + uploadTask = self.session.uploadTaskWithRequest(request, fromData: data) + } + case .File(let request, let fileURL): + dispatch_sync(queue) { + uploadTask = self.session.uploadTaskWithRequest(request, fromFile: fileURL) + } + case .Stream(let request, let stream): + dispatch_sync(queue) { + uploadTask = self.session.uploadTaskWithStreamedRequest(request) + } + + HTTPBodyStream = stream + } + + let request = Request(session: session, task: uploadTask) + + if HTTPBodyStream != nil { + request.delegate.taskNeedNewBodyStream = { _, _ in + return HTTPBodyStream + } + } + + delegate[request.delegate.task] = request.delegate + + if startRequestsImmediately { + request.resume() + } + + return request + } + + // MARK: File + + /** + Creates a request for uploading a file to the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request + - parameter file: The file to upload + + - returns: The created upload request. + */ + public func upload(URLRequest: URLRequestConvertible, file: NSURL) -> Request { + return upload(.File(URLRequest.URLRequest, file)) + } + + /** + Creates a request for uploading a file to the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter file: The file to upload + + - returns: The created upload request. + */ + public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + file: NSURL) + -> Request + { + let mutableURLRequest = URLRequest(method, URLString, headers: headers) + return upload(mutableURLRequest, file: file) + } + + // MARK: Data + + /** + Creates a request for uploading data to the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request. + - parameter data: The data to upload. + + - returns: The created upload request. + */ + public func upload(URLRequest: URLRequestConvertible, data: NSData) -> Request { + return upload(.Data(URLRequest.URLRequest, data)) + } + + /** + Creates a request for uploading data to the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter data: The data to upload + + - returns: The created upload request. + */ + public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + data: NSData) + -> Request + { + let mutableURLRequest = URLRequest(method, URLString, headers: headers) + + return upload(mutableURLRequest, data: data) + } + + // MARK: Stream + + /** + Creates a request for uploading a stream to the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request. + - parameter stream: The stream to upload. + + - returns: The created upload request. + */ + public func upload(URLRequest: URLRequestConvertible, stream: NSInputStream) -> Request { + return upload(.Stream(URLRequest.URLRequest, stream)) + } + + /** + Creates a request for uploading a stream to the specified URL request. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter stream: The stream to upload. + + - returns: The created upload request. + */ + public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + stream: NSInputStream) + -> Request + { + let mutableURLRequest = URLRequest(method, URLString, headers: headers) + + return upload(mutableURLRequest, stream: stream) + } + + // MARK: MultipartFormData + + /// Default memory threshold used when encoding `MultipartFormData`. + public static let MultipartFormDataEncodingMemoryThreshold: UInt64 = 10 * 1024 * 1024 + + /** + Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as + associated values. + + - Success: Represents a successful `MultipartFormData` encoding and contains the new `Request` along with + streaming information. + - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding + error. + */ + public enum MultipartFormDataEncodingResult { + case Success(request: Request, streamingFromDisk: Bool, streamFileURL: NSURL?) + case Failure(ErrorType) + } + + /** + Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request. + + It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative + payload is small, encoding the data in-memory and directly uploading to a server is the by far the most + efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to + be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory + footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be + used for larger payloads such as video content. + + The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory + or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, + encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk + during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding + technique was used. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter method: The HTTP method. + - parameter URLString: The URL string. + - parameter headers: The HTTP headers. `nil` by default. + - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. + - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. + `MultipartFormDataEncodingMemoryThreshold` by default. + - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. + */ + public func upload( + method: Method, + _ URLString: URLStringConvertible, + headers: [String: String]? = nil, + multipartFormData: MultipartFormData -> Void, + encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold, + encodingCompletion: (MultipartFormDataEncodingResult -> Void)?) + { + let mutableURLRequest = URLRequest(method, URLString, headers: headers) + + return upload( + mutableURLRequest, + multipartFormData: multipartFormData, + encodingMemoryThreshold: encodingMemoryThreshold, + encodingCompletion: encodingCompletion + ) + } + + /** + Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request. + + It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative + payload is small, encoding the data in-memory and directly uploading to a server is the by far the most + efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to + be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory + footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be + used for larger payloads such as video content. + + The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory + or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, + encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk + during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding + technique was used. + + If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. + + - parameter URLRequest: The URL request. + - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. + - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. + `MultipartFormDataEncodingMemoryThreshold` by default. + - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. + */ + public func upload( + URLRequest: URLRequestConvertible, + multipartFormData: MultipartFormData -> Void, + encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold, + encodingCompletion: (MultipartFormDataEncodingResult -> Void)?) + { + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) { + let formData = MultipartFormData() + multipartFormData(formData) + + let URLRequestWithContentType = URLRequest.URLRequest + URLRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type") + + let isBackgroundSession = self.session.configuration.identifier != nil + + if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession { + do { + let data = try formData.encode() + let encodingResult = MultipartFormDataEncodingResult.Success( + request: self.upload(URLRequestWithContentType, data: data), + streamingFromDisk: false, + streamFileURL: nil + ) + + dispatch_async(dispatch_get_main_queue()) { + encodingCompletion?(encodingResult) + } + } catch { + dispatch_async(dispatch_get_main_queue()) { + encodingCompletion?(.Failure(error as NSError)) + } + } + } else { + let fileManager = NSFileManager.defaultManager() + let tempDirectoryURL = NSURL(fileURLWithPath: NSTemporaryDirectory()) + let directoryURL = tempDirectoryURL.URLByAppendingPathComponent("com.alamofire.manager/multipart.form.data") + let fileName = NSUUID().UUIDString + let fileURL = directoryURL.URLByAppendingPathComponent(fileName) + + do { + try fileManager.createDirectoryAtURL(directoryURL, withIntermediateDirectories: true, attributes: nil) + try formData.writeEncodedDataToDisk(fileURL) + + dispatch_async(dispatch_get_main_queue()) { + let encodingResult = MultipartFormDataEncodingResult.Success( + request: self.upload(URLRequestWithContentType, file: fileURL), + streamingFromDisk: true, + streamFileURL: fileURL + ) + encodingCompletion?(encodingResult) + } + } catch { + dispatch_async(dispatch_get_main_queue()) { + encodingCompletion?(.Failure(error as NSError)) + } + } + } + } + } +} + +// MARK: - + +extension Request { + + // MARK: - UploadTaskDelegate + + class UploadTaskDelegate: DataTaskDelegate { + var uploadTask: NSURLSessionUploadTask? { return task as? NSURLSessionUploadTask } + var uploadProgress: ((Int64, Int64, Int64) -> Void)! + + // MARK: - NSURLSessionTaskDelegate + + // MARK: Override Closures + + var taskDidSendBodyData: ((NSURLSession, NSURLSessionTask, Int64, Int64, Int64) -> Void)? + + // MARK: Delegate Methods + + func URLSession( + session: NSURLSession, + task: NSURLSessionTask, + didSendBodyData bytesSent: Int64, + totalBytesSent: Int64, + totalBytesExpectedToSend: Int64) + { + if let taskDidSendBodyData = taskDidSendBodyData { + taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend) + } else { + progress.totalUnitCount = totalBytesExpectedToSend + progress.completedUnitCount = totalBytesSent + + uploadProgress?(bytesSent, totalBytesSent, totalBytesExpectedToSend) + } + } + } +} diff --git a/PrettyWeatherApp/Pods/Alamofire/Source/Validation.swift b/PrettyWeatherApp/Pods/Alamofire/Source/Validation.swift new file mode 100644 index 0000000..24f29d7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Alamofire/Source/Validation.swift @@ -0,0 +1,187 @@ +// Validation.swift +// +// Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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 Foundation + +extension Request { + + /** + Used to represent whether validation was successful or encountered an error resulting in a failure. + + - Success: The validation was successful. + - Failure: The validation failed encountering the provided error. + */ + public enum ValidationResult { + case Success + case Failure(ErrorType) + } + + /** + A closure used to validate a request that takes a URL request and URL response, and returns whether the + request was valid. + */ + public typealias Validation = (NSURLRequest?, NSHTTPURLResponse) -> ValidationResult + + /** + Validates the request, using the specified closure. + + If validation fails, subsequent calls to response handlers will have an associated error. + + - parameter validation: A closure to validate the request. + + - returns: The request. + */ + public func validate(validation: Validation) -> Self { + delegate.queue.addOperationWithBlock { + if let + response = self.response where self.delegate.error == nil, + case let .Failure(error) = validation(self.request, response) + { + self.delegate.error = error + } + } + + return self + } + + // MARK: - Status Code + + /** + Validates that the response has a status code in the specified range. + + If validation fails, subsequent calls to response handlers will have an associated error. + + - parameter range: The range of acceptable status codes. + + - returns: The request. + */ + public func validate(statusCode acceptableStatusCode: S) -> Self { + return validate { _, response in + if acceptableStatusCode.contains(response.statusCode) { + return .Success + } else { + let failureReason = "Response status code was unacceptable: \(response.statusCode)" + return .Failure(Error.errorWithCode(.StatusCodeValidationFailed, failureReason: failureReason)) + } + } + } + + // MARK: - Content-Type + + private struct MIMEType { + let type: String + let subtype: String + + init?(_ string: String) { + let components: [String] = { + let stripped = string.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet()) + let split = stripped.substringToIndex(stripped.rangeOfString(";")?.endIndex ?? stripped.endIndex) + return split.componentsSeparatedByString("/") + }() + + if let + type = components.first, + subtype = components.last + { + self.type = type + self.subtype = subtype + } else { + return nil + } + } + + func matches(MIME: MIMEType) -> Bool { + switch (type, subtype) { + case (MIME.type, MIME.subtype), (MIME.type, "*"), ("*", MIME.subtype), ("*", "*"): + return true + default: + return false + } + } + } + + /** + Validates that the response has a content type in the specified array. + + If validation fails, subsequent calls to response handlers will have an associated error. + + - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes. + + - returns: The request. + */ + public func validate(contentType acceptableContentTypes: S) -> Self { + return validate { _, response in + if let + responseContentType = response.MIMEType, + responseMIMEType = MIMEType(responseContentType) + { + for contentType in acceptableContentTypes { + if let acceptableMIMEType = MIMEType(contentType) where acceptableMIMEType.matches(responseMIMEType) { + return .Success + } + } + } else { + for contentType in acceptableContentTypes { + if let MIMEType = MIMEType(contentType) where MIMEType.type == "*" && MIMEType.subtype == "*" { + return .Success + } + } + } + + let failureReason: String + + if let responseContentType = response.MIMEType { + failureReason = ( + "Response content type \"\(responseContentType)\" does not match any acceptable " + + "content types: \(acceptableContentTypes)" + ) + } else { + failureReason = "Response content type was missing and acceptable content type does not match \"*/*\"" + } + + return .Failure(Error.errorWithCode(.ContentTypeValidationFailed, failureReason: failureReason)) + } + } + + // MARK: - Automatic + + /** + Validates that the response has a status code in the default acceptable range of 200...299, and that the content + type matches any specified in the Accept HTTP header field. + + If validation fails, subsequent calls to response handlers will have an associated error. + + - returns: The request. + */ + public func validate() -> Self { + let acceptableStatusCodes: Range = 200..<300 + let acceptableContentTypes: [String] = { + if let accept = request?.valueForHTTPHeaderField("Accept") { + return accept.componentsSeparatedByString(",") + } + + return ["*/*"] + }() + + return validate(statusCode: acceptableStatusCodes).validate(contentType: acceptableContentTypes) + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Align.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Align.swift new file mode 100644 index 0000000..6c83ca2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Align.swift @@ -0,0 +1,120 @@ +// +// Align.swift +// Cartography +// +// Created by Robert Böhnke on 17/02/15. +// Copyright (c) 2015 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +private func makeEqual(attribute: LayoutProxy -> P, first: LayoutProxy, rest: [LayoutProxy]) -> [NSLayoutConstraint] { + return rest.reduce([]) { acc, current in + current.view.car_translatesAutoresizingMaskIntoConstraints = false + + return acc + [ attribute(first) == attribute(current) ] + } +} + +/// Aligns multiple views by their top edge. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(top first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.top }, first: first, rest: rest) +} + +/// Aligns multiple views by their right edge. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(right first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.right }, first: first, rest: rest) +} + +/// Aligns multiple views by their bottom edge. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(bottom first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.bottom }, first: first, rest: rest) +} + +/// Aligns multiple views by their left edge. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(left first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.left }, first: first, rest: rest) +} + +/// Aligns multiple views by their leading edge. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(leading first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.leading }, first: first, rest: rest) +} + +/// Aligns multiple vies by their trailing edge. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(trailing first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.trailing }, first: first, rest: rest) +} + +/// Aligns multiple views by their horizontal center. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(centerX first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.centerX }, first: first, rest: rest) +} + +/// Aligns multiple views by their vertical center. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(centerY first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.centerY }, first: first, rest: rest) +} + +/// Aligns multiple views by their baseline. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func align(baseline first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return makeEqual({ $0.baseline }, first: first, rest: rest) +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Coefficients.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Coefficients.swift new file mode 100644 index 0000000..71c590a --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Coefficients.swift @@ -0,0 +1,61 @@ +// +// Coefficients.swift +// Cartography +// +// Created by Robert Böhnke on 17/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +import Foundation + +public struct Coefficients { + var multiplier: CGFloat = 1 + var constant: CGFloat = 0 + + init() { } + + init(_ multiplier: CGFloat, _ constant: CGFloat) { + self.constant = constant + self.multiplier = multiplier + } +} + +// MARK: Addition + +public func + (c: CGFloat, rhs: Coefficients) -> Coefficients { + return Coefficients(rhs.multiplier, rhs.constant + c) +} + +public func + (lhs: Coefficients, rhs: CGFloat) -> Coefficients { + return rhs + lhs +} + +// MARK: Subtraction + +public func - (c: CGFloat, rhs: Coefficients) -> Coefficients { + return Coefficients(rhs.multiplier, rhs.constant - c) +} + +public func - (lhs: Coefficients, rhs: CGFloat) -> Coefficients { + return rhs - lhs +} + +// MARK: Multiplication + +public func * (m: CGFloat, rhs: Coefficients) -> Coefficients { + return Coefficients(rhs.multiplier * m, rhs.constant * m) +} + +public func * (lhs: Coefficients, rhs: CGFloat) -> Coefficients { + return rhs * lhs +} + +// MARK: Division + +public func / (m: CGFloat, rhs: Coefficients) -> Coefficients { + return Coefficients(rhs.multiplier / m, rhs.constant / m) +} + +public func / (lhs: Coefficients, rhs: CGFloat) -> Coefficients { + return rhs / lhs +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Compound.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Compound.swift new file mode 100644 index 0000000..c492a1c --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Compound.swift @@ -0,0 +1,96 @@ +// +// Compound.swift +// Cartography +// +// Created by Robert Böhnke on 18/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public protocol Compound { + var context: Context { get } + var properties: [Property] { get } +} + +/// Compound properties conforming to this protocol can use the `==` operator +/// with other compound properties of the same type. +public protocol RelativeCompoundEquality : Compound { } + +/// Declares a property equal to a the result of an expression. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The expression. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func == (lhs: P, rhs: Expression

) -> [NSLayoutConstraint] { + return lhs.context.addConstraint(lhs, coefficients: rhs.coefficients, to: rhs.value) +} + +/// Declares a property equal to another compound property. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +public func == (lhs: P, rhs: P) -> [NSLayoutConstraint] { + return lhs.context.addConstraint(lhs, to: rhs) +} + +/// Compound properties conforming to this protocol can use the `<=` and `>=` +/// operators with other compound properties of the same type. +public protocol RelativeCompoundInequality : Compound { } + +/// Declares a property less than or equal to another compound property. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func <= (lhs: P, rhs: P) -> [NSLayoutConstraint] { + return lhs.context.addConstraint(lhs, to: rhs, relation: NSLayoutRelation.LessThanOrEqual) +} + +/// Declares a property greater than or equal to another compound property. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func >= (lhs: P, rhs: P) -> [NSLayoutConstraint] { + return lhs.context.addConstraint(lhs, to: rhs, relation: NSLayoutRelation.GreaterThanOrEqual) +} + +/// Declares a property less than or equal to the result of an expression. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func <= (lhs: P, rhs: Expression

) -> [NSLayoutConstraint] { + return lhs.context.addConstraint(lhs, coefficients: rhs.coefficients, to: rhs.value, relation: NSLayoutRelation.LessThanOrEqual) +} + +/// Declares a property greater than or equal to the result of an expression. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func >= (lhs: P, rhs: Expression

) -> [NSLayoutConstraint] { + return lhs.context.addConstraint(lhs, coefficients: rhs.coefficients, to: rhs.value, relation: NSLayoutRelation.GreaterThanOrEqual) +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Constrain.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Constrain.swift new file mode 100644 index 0000000..29103d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Constrain.swift @@ -0,0 +1,133 @@ +// +// Constrain.swift +// Cartography +// +// Created by Robert Böhnke on 30/09/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +import Foundation + +/// Updates the constraints of a single view. +/// +/// - parameter view: The view to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for `view`. +/// +public func constrain(view: View, replace group: ConstraintGroup = ConstraintGroup(), @noescape block: LayoutProxy -> ()) -> ConstraintGroup { + let context = Context() + block(LayoutProxy(context, view)) + group.replaceConstraints(context.constraints) + + return group +} + +/// Updates the constraints of two views. +/// +/// - parameter view1: A view to layout. +/// - parameter view2: A view to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for the views. +/// +public func constrain(view1: View, _ view2: View, replace group: ConstraintGroup = ConstraintGroup(), @noescape block: (LayoutProxy, LayoutProxy) -> ()) -> ConstraintGroup { + let context = Context() + block(LayoutProxy(context, view1), LayoutProxy(context, view2)) + group.replaceConstraints(context.constraints) + + return group +} + +/// Updates the constraints of three views. +/// +/// - parameter view1: A view to layout. +/// - parameter view2: A view to layout. +/// - parameter view3: A view to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for the views. +/// +public func constrain(view1: View, _ view2: View, _ view3: View, replace group: ConstraintGroup = ConstraintGroup(), @noescape block: (LayoutProxy, LayoutProxy, LayoutProxy) -> ()) -> ConstraintGroup { + let context = Context() + block(LayoutProxy(context, view1), LayoutProxy(context, view2), LayoutProxy(context, view3)) + group.replaceConstraints(context.constraints) + + return group +} + +/// Updates the constraints of four views. +/// +/// - parameter view1: A view to layout. +/// - parameter view2: A view to layout. +/// - parameter view3: A view to layout. +/// - parameter view4: A view to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for the views. +/// +public func constrain(view1: View, _ view2: View, _ view3: View, _ view4: View, replace group: ConstraintGroup = ConstraintGroup(), @noescape block: (LayoutProxy, LayoutProxy, LayoutProxy, LayoutProxy) -> ()) -> ConstraintGroup { + let context = Context() + block(LayoutProxy(context, view1), LayoutProxy(context, view2), LayoutProxy(context, view3), LayoutProxy(context, view4)) + group.replaceConstraints(context.constraints) + + return group +} + +/// Updates the constraints of five views. +/// +/// - parameter view1: A view to layout. +/// - parameter view2: A view to layout. +/// - parameter view3: A view to layout. +/// - parameter view4: A view to layout. +/// - parameter view5: A view to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for the views. +/// +public func constrain(view1: View, _ view2: View, _ view3: View, _ view4: View, _ view5: View, replace group: ConstraintGroup = ConstraintGroup(), @noescape block: (LayoutProxy, LayoutProxy, LayoutProxy, LayoutProxy, LayoutProxy) -> ()) -> ConstraintGroup { + let context = Context() + block(LayoutProxy(context, view1), LayoutProxy(context, view2), LayoutProxy(context, view3), LayoutProxy(context, view4), LayoutProxy(context, view5)) + group.replaceConstraints(context.constraints) + + return group +} + +/// Updates the constraints of an array of views. +/// +/// - parameter views: The views to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for `views`. +/// +public func constrain(views: [View], replace group: ConstraintGroup = ConstraintGroup(), @noescape block: ([LayoutProxy]) -> ()) -> ConstraintGroup { + let context = Context() + block(views.map({ LayoutProxy(context, $0) })) + group.replaceConstraints(context.constraints) + + return group +} + +/// Updates the constraints of a dictionary of views. +/// +/// - parameter views: The views to layout. +/// - parameter replace: The `ConstraintGroup` whose constraints should be +/// replaced. +/// - parameter block: A block that declares the layout for `views`. +/// +public func constrain(views: [T: View], replace group: ConstraintGroup = ConstraintGroup(), @noescape block: ([T : LayoutProxy] -> ())) -> ConstraintGroup { + let context = Context() + let proxies = views.map { ($0, LayoutProxy(context, $1)) } + block(Dictionary(proxies)) + group.replaceConstraints(context.constraints) + + return group +} + +/// Removes all constraints for a group. +/// +/// - parameter clear: The `ConstraintGroup` whose constraints should be removed. +/// +public func constrain(clear group: ConstraintGroup) { + group.replaceConstraints([]) +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Constraint.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Constraint.swift new file mode 100644 index 0000000..e713522 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Constraint.swift @@ -0,0 +1,32 @@ +// +// Constraint.swift +// Cartography +// +// Created by Robert Böhnke on 06/10/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +internal class Constraint { + // Set to weak to avoid a retain cycle on the associated view. + weak var view: View? + let layoutConstraint: NSLayoutConstraint + + func install() { + view?.addConstraint(layoutConstraint) + } + + func uninstall() { + view?.removeConstraint(layoutConstraint) + } + + init(view: View, layoutConstraint: NSLayoutConstraint) { + self.view = view + self.layoutConstraint = layoutConstraint + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/ConstraintGroup.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/ConstraintGroup.swift new file mode 100644 index 0000000..8872bd9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/ConstraintGroup.swift @@ -0,0 +1,44 @@ +// +// ConstraintGroup.swift +// Cartography +// +// Created by Robert Böhnke on 22/01/15. +// Copyright (c) 2015 Robert Böhnke. All rights reserved. +// + +import Foundation + +public class ConstraintGroup { + private var constraints: [Constraint] = [] + + @available(OSX, introduced=10.10) + @available(iOS, introduced=8.0) + public var active: Bool { + get { + return constraints + .map { $0.layoutConstraint.active } + .reduce(true) { $0 && $1 } + } + set { + for constraint in constraints { + constraint.layoutConstraint.active = newValue + } + } + } + + public init() { + + } + + internal func replaceConstraints(constraints: [Constraint]) { + for constraint in self.constraints { + constraint.uninstall() + } + + self.constraints = constraints + + for constraint in self.constraints { + constraint.install() + } + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Context.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Context.swift new file mode 100644 index 0000000..8f57632 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Context.swift @@ -0,0 +1,53 @@ +// +// Context.swift +// Cartography +// +// Created by Robert Böhnke on 06/10/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public class Context { + internal var constraints: [Constraint] = [] + + internal func addConstraint(from: Property, to: Property? = nil, coefficients: Coefficients = Coefficients(), relation: NSLayoutRelation = .Equal) -> NSLayoutConstraint { + from.view.car_translatesAutoresizingMaskIntoConstraints = false + + let layoutConstraint = NSLayoutConstraint(item: from.view, + attribute: from.attribute, + relatedBy: relation, + toItem: to?.view, + attribute: to?.attribute ?? .NotAnAttribute, + multiplier: CGFloat(coefficients.multiplier), + constant: CGFloat(coefficients.constant)) + + if let to = to { + if let common = closestCommonAncestor(from.view, b: to.view ) { + constraints.append(Constraint(view: common, layoutConstraint: layoutConstraint)) + } else { + fatalError("No common superview found between \(from.view) and \(to.view)") + } + } else { + constraints.append(Constraint(view: from.view, layoutConstraint: layoutConstraint)) + } + + return layoutConstraint + } + + internal func addConstraint(from: Compound, coefficients: [Coefficients]? = nil, to: Compound? = nil, relation: NSLayoutRelation = NSLayoutRelation.Equal) -> [NSLayoutConstraint] { + var results: [NSLayoutConstraint] = [] + + for i in 0.. NSLayoutConstraint) -> [NSLayoutConstraint] { + rest.last?.view.car_translatesAutoresizingMaskIntoConstraints = false + + return rest.reduce(([], first)) { (acc, current) -> Accumulator in + let (constraints, previous) = acc + + return (constraints + [ combine(previous, current) ], current) + }.0 +} + +/// Distributes multiple views horizontally. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - parameter amount: The distance between the views. +/// - parameter views: The views to distribute. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func distribute(by amount: CGFloat, horizontally first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return reduce(first, rest: rest) { $0.trailing == $1.leading - amount } +} + +/// Distributes multiple views horizontally from left to right. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - parameter amount: The distance between the views. +/// - parameter views: The views to distribute. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func distribute(by amount: CGFloat, leftToRight first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return reduce(first, rest: rest) { $0.right == $1.left - amount } +} + +/// Distributes multiple views vertically. +/// +/// All views passed to this function will have +/// their `translatesAutoresizingMaskIntoConstraints` properties set to `false`. +/// +/// - parameter amount: The distance between the views. +/// - parameter views: The views to distribute. +/// +/// - returns: An array of `NSLayoutConstraint` instances. +/// +public func distribute(by amount: CGFloat, vertically first: LayoutProxy, _ rest: LayoutProxy...) -> [NSLayoutConstraint] { + return reduce(first, rest: rest) { $0.bottom == $1.top - amount } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Edge.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Edge.swift new file mode 100644 index 0000000..f8c8153 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Edge.swift @@ -0,0 +1,25 @@ +// +// Edge.swift +// Cartography +// +// Created by Robert Böhnke on 17/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public struct Edge : Property, RelativeEquality, RelativeInequality, Addition, Multiplication { + public let attribute: NSLayoutAttribute + public let context: Context + public let view: View + + internal init(_ context: Context, _ view: View, _ attribute: NSLayoutAttribute) { + self.attribute = attribute + self.context = context + self.view = view + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Edges.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Edges.swift new file mode 100644 index 0000000..b681519 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Edges.swift @@ -0,0 +1,67 @@ +// +// Edges.swift +// Cartography +// +// Created by Robert Böhnke on 19/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public struct Edges: Compound, RelativeCompoundEquality, RelativeCompoundInequality { + public let context: Context + public let properties: [Property] + + internal init(_ context: Context, _ properties: [Property]) { + self.context = context + self.properties = properties + } +} + +/// Insets all edges. +/// +/// - parameter edges: The edges to inset. +/// - parameter all: The amount by which to inset all edges, in points. +/// +/// - returns: A new expression with the inset edges. +/// +public func inset(edges: Edges, _ all: CGFloat) -> Expression { + return inset(edges, all, all, all, all) +} + +/// Insets the horizontal and vertical edges. +/// +/// - parameter edges: The edges to inset. +/// - parameter horizontal: The amount by which to inset the horizontal edges, in +/// points. +/// - parameter vertical: The amount by which to inset the vertical edges, in +/// points. +/// +/// - returns: A new expression with the inset edges. +/// +public func inset(edges: Edges, _ horizontal: CGFloat, _ vertical: CGFloat) -> Expression { + return inset(edges, vertical, horizontal, vertical, horizontal) +} + +/// Insets edges individually. +/// +/// - parameter edges: The edges to inset. +/// - parameter top: The amount by which to inset the top edge, in points. +/// - parameter leading: The amount by which to inset the leading edge, in points. +/// - parameter bottom: The amount by which to inset the bottom edge, in points. +/// - parameter trailing: The amount by which to inset the trailing edge, in points. +/// +/// - returns: A new expression with the inset edges. +/// +public func inset(edges: Edges, _ top: CGFloat, _ leading: CGFloat, _ bottom: CGFloat, _ trailing: CGFloat) -> Expression { + return Expression(edges, [ + Coefficients(1, top), + Coefficients(1, leading), + Coefficients(1, -bottom), + Coefficients(1, -trailing) + ]) +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Expression.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Expression.swift new file mode 100644 index 0000000..3ac41d5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Expression.swift @@ -0,0 +1,21 @@ +// +// Expression.swift +// Cartography +// +// Created by Robert Böhnke on 17/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +import Foundation + +public struct Expression { + let value: T + var coefficients: [Coefficients] + + init(_ value: T, _ coefficients: [Coefficients]) { + assert(coefficients.count > 0) + + self.value = value + self.coefficients = coefficients + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Extensions.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Extensions.swift new file mode 100644 index 0000000..06ee2d9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Extensions.swift @@ -0,0 +1,23 @@ +// +// Extensions.swift +// Cartography +// +// Created by Robert Böhnke on 22/01/15. +// Copyright (c) 2015 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +internal extension Dictionary { + init(_ pairs: [Element]) { + self.init() + + for (key, value) in pairs { + self[key] = value + } + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/LayoutProxy.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/LayoutProxy.swift new file mode 100644 index 0000000..4c44e6f --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/LayoutProxy.swift @@ -0,0 +1,191 @@ +// +// LayoutProxy.swift +// Cartography +// +// Created by Robert Böhnke on 17/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +import Foundation + +public struct LayoutProxy { + /// The width of the view. + public var width: Dimension { + return Dimension(context, view, .Width) + } + + /// The height of the view. + public var height: Dimension { + return Dimension(context, view, .Height) + } + + /// The size of the view. This property affects both `width` and `height`. + public var size: Size { + return Size(context, [ + Dimension(context, view, .Width), + Dimension(context, view, .Height) + ]) + } + + /// The top edge of the view. + public var top: Edge { + return Edge(context, view, .Top) + } + + /// The right edge of the view. + public var right: Edge { + return Edge(context, view, .Right) + } + + /// The bottom edge of the view. + public var bottom: Edge { + return Edge(context, view, .Bottom) + } + + /// The left edge of the view. + public var left: Edge { + return Edge(context, view, .Left) + } + + /// All edges of the view. This property affects `top`, `bottom`, `leading` + /// and `trailing`. + public var edges: Edges { + return Edges(context, [ + Edge(context, view, .Top), + Edge(context, view, .Leading), + Edge(context, view, .Bottom), + Edge(context, view, .Trailing) + ]) + } + + /// The leading edge of the view. + public var leading: Edge { + return Edge(context, view, .Leading) + } + + /// The trailing edge of the view. + public var trailing: Edge { + return Edge(context, view, .Trailing) + } + + /// The horizontal center of the view. + public var centerX: Edge { + return Edge(context, view, .CenterX) + } + + /// The vertical center of the view. + public var centerY: Edge { + return Edge(context, view, .CenterY) + } + + /// The center point of the view. This property affects `centerX` and + /// `centerY`. + public var center: Point { + return Point(context, [ + Edge(context, view, .CenterX), + Edge(context, view, .CenterY) + ]) + } + + /// The baseline of the view. + public var baseline: Edge { + return Edge(context, view, .Baseline) + } + + #if os(iOS) + /// The first baseline of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var firstBaseline: Edge { + return Edge(context, view, .FirstBaseline) + } + + /// All edges of the view with their respective margins. This property + /// affects `topMargin`, `bottomMargin`, `leadingMargin` and + /// `trailingMargin`. + @available(iOS, introduced=8.0) + public var edgesWithinMargins: Edges { + return Edges(context, [ + Edge(context, view, .TopMargin), + Edge(context, view, .LeadingMargin), + Edge(context, view, .BottomMargin), + Edge(context, view, .TrailingMargin) + ]) + } + + /// The left margin of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var leftMargin: Edge { + return Edge(context, view, .LeftMargin) + } + + /// The right margin of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var rightMargin: Edge { + return Edge(context, view, .RightMargin) + } + + /// The top margin of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var topMargin: Edge { + return Edge(context, view, .TopMargin) + } + + /// The bottom margin of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var bottomMargin: Edge { + return Edge(context, view, .BottomMargin) + } + + /// The leading margin of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var leadingMargin: Edge { + return Edge(context, view, .LeadingMargin) + } + + /// The trailing margin of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var trailingMargin: Edge { + return Edge(context, view, .TrailingMargin) + } + + /// The horizontal center within the margins of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var centerXWithinMargins: Edge { + return Edge(context, view, .CenterXWithinMargins) + } + + /// The vertical center within the margins of the view. iOS exclusive. + @available(iOS, introduced=8.0) + public var centerYWithinMargins: Edge { + return Edge(context, view, .CenterYWithinMargins) + } + + /// The center point within the margins of the view. This property affects + /// `centerXWithinMargins` and `centerYWithinMargins`. iOS exclusive. + @available(iOS, introduced=8.0) + public var centerWithinMargins: Point { + return Point(context, [ + Edge(context, view, .CenterXWithinMargins), + Edge(context, view, .CenterYWithinMargins) + ]) + } + #endif + + internal let context: Context + + internal let view: View + + /// The superview of the view, if it exists. + public var superview: LayoutProxy? { + if let superview = view.superview { + return LayoutProxy(context, superview) + } else { + return nil + } + } + + init(_ context: Context, _ view: View) { + self.context = context + self.view = view + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Point.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Point.swift new file mode 100644 index 0000000..1cd3c51 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Point.swift @@ -0,0 +1,23 @@ +// +// Point.swift +// Cartography +// +// Created by Robert Böhnke on 18/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public struct Point: Compound, RelativeCompoundEquality, RelativeCompoundInequality { + public let context: Context + public let properties: [Property] + + internal init(_ context: Context, _ properties: [Property]) { + self.context = context + self.properties = properties + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Priority.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Priority.swift new file mode 100644 index 0000000..14a7d25 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Priority.swift @@ -0,0 +1,45 @@ +// +// Priority.swift +// Cartography +// +// Created by Robert Böhnke on 18/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit + +public typealias LayoutPriority = UILayoutPriority +#else +import AppKit + +public typealias LayoutPriority = NSLayoutPriority +#endif + +infix operator ~ { } + +/// Sets the priority for a constraint. +/// +/// - parameter lhs: The constraint to update. +/// - parameter rhs: The new priority. +/// +/// - returns: The same constraint with its priority updated. +/// +public func ~ (lhs: NSLayoutConstraint, rhs: LayoutPriority) -> NSLayoutConstraint { + lhs.priority = rhs + + return lhs +} + +/// Sets the priority for multiple constraints. +/// +/// - parameter lhs: An array of `NSLayoutConstraint` instances. +/// - parameter rhs: The new priority. +/// +/// - returns: The same constraints with their priorities updated. +/// +public func ~ (lhs: [NSLayoutConstraint], rhs: LayoutPriority) -> [NSLayoutConstraint] { + return lhs.map { + $0 ~ rhs + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Property.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Property.swift new file mode 100644 index 0000000..dda5be7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Property.swift @@ -0,0 +1,209 @@ +// +// Property.swift +// Cartography +// +// Created by Robert Böhnke on 17/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public protocol Property { + var attribute: NSLayoutAttribute { get } + var context: Context { get } + var view: View { get } +} + +// MARK: Equality + +/// Properties conforming to this protocol can use the `==` operator with +/// numerical constants. +public protocol NumericalEquality : Property { } + +/// Declares a property equal to a numerical constant. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The numerical constant. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func == (lhs: NumericalEquality, rhs: CGFloat) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, coefficients: Coefficients(1, rhs)) +} + +/// Properties conforming to this protocol can use the `==` operator with other +/// properties of the same type. +public protocol RelativeEquality : Property { } + +/// Declares a property equal to a the result of an expression. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The expression. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func == (lhs: P, rhs: Expression

) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, coefficients: rhs.coefficients[0], to: rhs.value) +} + +/// Declares a property equal to another property. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +public func == (lhs: P, rhs: P) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, to: rhs) +} + +// MARK: Inequality + +/// Properties conforming to this protocol can use the `<=` and `>=` operators +/// with numerical constants. +public protocol NumericalInequality : Property { } + +/// Declares a property less than or equal to a numerical constant. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The numerical constant. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func <= (lhs: NumericalInequality, rhs: CGFloat) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, coefficients: Coefficients(1, rhs), relation: NSLayoutRelation.LessThanOrEqual) +} + +/// Declares a property greater than or equal to a numerical constant. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The numerical constant. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func >= (lhs: NumericalInequality, rhs: CGFloat) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, coefficients: Coefficients(1, rhs), relation: NSLayoutRelation.GreaterThanOrEqual) +} + +/// Properties conforming to this protocol can use the `<=` and `>=` operators +/// with other properties of the same type. +public protocol RelativeInequality : Property { } + +/// Declares a property less than or equal to another property. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func <= (lhs: P, rhs: P) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, to: rhs, relation: NSLayoutRelation.LessThanOrEqual) +} + +/// Declares a property greater than or equal to another property. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func >= (lhs: P, rhs: P) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, to: rhs, relation: NSLayoutRelation.GreaterThanOrEqual) +} + +/// Declares a property less than or equal to the result of an expression. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func <= (lhs: P, rhs: Expression

) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, coefficients: rhs.coefficients[0], to: rhs.value, relation: NSLayoutRelation.LessThanOrEqual) +} + +/// Declares a property greater than or equal to the result of an expression. +/// +/// - parameter lhs: The affected property. The associated view will have +/// `translatesAutoresizingMaskIntoConstraints` set to `false`. +/// - parameter rhs: The other property. +/// +/// - returns: An `NSLayoutConstraint`. +/// +public func >= (lhs: P, rhs: Expression

) -> NSLayoutConstraint { + return lhs.context.addConstraint(lhs, coefficients: rhs.coefficients[0], to: rhs.value, relation: NSLayoutRelation.GreaterThanOrEqual) +} + +// Mark: Addition + +public protocol Addition : Property { } + +public func + (c: CGFloat, rhs: P) -> Expression

{ + return Expression(rhs, [ Coefficients(1, c) ]) +} + +public func + (lhs: P, rhs: CGFloat) -> Expression

{ + return rhs + lhs +} + +public func + (c: CGFloat, rhs: Expression

) -> Expression

{ + return Expression(rhs.value, rhs.coefficients.map { $0 + c }) +} + +public func + (lhs: Expression

, rhs: CGFloat) -> Expression

{ + return rhs + lhs +} + +public func - (c: CGFloat, rhs: P) -> Expression

{ + return Expression(rhs, [ Coefficients(1, -c) ]) +} + +public func - (lhs: P, rhs: CGFloat) -> Expression

{ + return rhs - lhs +} + +public func - (c: CGFloat, rhs: Expression

) -> Expression

{ + return Expression(rhs.value, rhs.coefficients.map { $0 - c}) +} + +public func - (lhs: Expression

, rhs: CGFloat) -> Expression

{ + return rhs - lhs +} + +// MARK: Multiplication + +public protocol Multiplication : Property { } + +public func * (m: CGFloat, rhs: Expression

) -> Expression

{ + return Expression(rhs.value, rhs.coefficients.map { $0 * m }) +} + +public func * (lhs: Expression

, rhs: CGFloat) -> Expression

{ + return rhs * lhs +} + +public func * (m: CGFloat, rhs: P) -> Expression

{ + return Expression(rhs, [ Coefficients(m, 0) ]) +} + +public func * (lhs: P, rhs: CGFloat) -> Expression

{ + return rhs * lhs +} + +public func / (lhs: Expression

, rhs: CGFloat) -> Expression

{ + return lhs * (1 / rhs) +} + +public func / (lhs: P, rhs: CGFloat) -> Expression

{ + return lhs * (1 / rhs) +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/Size.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/Size.swift new file mode 100644 index 0000000..db0c6c4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/Size.swift @@ -0,0 +1,51 @@ +// +// Size.swift +// Cartography +// +// Created by Robert Böhnke on 18/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +public struct Size : Compound, RelativeCompoundEquality, RelativeCompoundInequality { + public let context: Context + public let properties: [Property] + + internal init(_ context: Context, _ properties: [Property]) { + self.context = context + self.properties = properties + } +} + +// MARK: Multiplication + +public func * (m: CGFloat, rhs: Expression) -> Expression { + return Expression(rhs.value, rhs.coefficients.map { $0 * m }) +} + +public func * (lhs: Expression, rhs: CGFloat) -> Expression { + return rhs * lhs +} + +public func * (m: CGFloat, rhs: Size) -> Expression { + return Expression(rhs, [ Coefficients(m, 0), Coefficients(m, 0) ]) +} + +public func * (lhs: Size, rhs: CGFloat) -> Expression { + return rhs * lhs +} + +// MARK: Division + +public func / (lhs: Expression, rhs: CGFloat) -> Expression { + return lhs * (1 / rhs) +} + +public func / (lhs: Size, rhs: CGFloat) -> Expression { + return lhs * (1 / rhs) +} diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/View.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/View.swift new file mode 100644 index 0000000..6d9d1c8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/View.swift @@ -0,0 +1,31 @@ +// +// View.swift +// Cartography +// +// Created by Robert Böhnke on 26/06/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +import Foundation + +#if os(iOS) + import UIKit + public typealias View = UIView + + extension View { + public var car_translatesAutoresizingMaskIntoConstraints: Bool { + get { return translatesAutoresizingMaskIntoConstraints } + set { translatesAutoresizingMaskIntoConstraints = newValue } + } + } +#else + import AppKit + public typealias View = NSView + + extension View { + public var car_translatesAutoresizingMaskIntoConstraints: Bool { + get { return translatesAutoresizingMaskIntoConstraints } + set { translatesAutoresizingMaskIntoConstraints = newValue } + } + } +#endif diff --git a/PrettyWeatherApp/Pods/Cartography/Cartography/ViewUtils.swift b/PrettyWeatherApp/Pods/Cartography/Cartography/ViewUtils.swift new file mode 100644 index 0000000..3f8c3de --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/Cartography/ViewUtils.swift @@ -0,0 +1,46 @@ +// +// ViewUtils.swift +// Cartography +// +// Created by Garth Snyder on 11/23/14. +// Copyright (c) 2014 Robert Böhnke. All rights reserved. +// + +#if os(iOS) +import UIKit +#else +import AppKit +#endif + +internal func closestCommonAncestor(a: View, b: View) -> View? { + let (aSuper, bSuper) = (a.superview, b.superview) + + if a === b { return a } + + if a === bSuper { return a } + + if b === aSuper { return b } + + if aSuper === bSuper { return aSuper } + + let ancestorsOfA = Set(ancestors(a)) + + for ancestor in ancestors(b) { + if ancestorsOfA.contains(ancestor) { + return ancestor + } + } + + return .None +} + +private func ancestors(v: View) -> AnySequence { + return AnySequence { () -> AnyGenerator in + var view: View? = v + return anyGenerator { + let current = view + view = view?.superview + return current + } + } +} diff --git a/PrettyWeatherApp/Pods/Cartography/LICENSE b/PrettyWeatherApp/Pods/Cartography/LICENSE new file mode 100644 index 0000000..5fababa --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/LICENSE @@ -0,0 +1,44 @@ +Copyright (c) 2014 Robert Böhnke + +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. + +This license does not apply to the contents of the images folder. + +--- + +This project uses portions of code from FLKAutoLayout, +copyright (c) 2013 Florian Kugler + +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. diff --git a/PrettyWeatherApp/Pods/Cartography/README.md b/PrettyWeatherApp/Pods/Cartography/README.md new file mode 100644 index 0000000..5d43f9e --- /dev/null +++ b/PrettyWeatherApp/Pods/Cartography/README.md @@ -0,0 +1,244 @@ +# Cartography :iphone::triangular_ruler: + + + + + + + + + +Using Cartography, you can set up your Layout constraints in declarative code and without any stringly typing! + +In short, it allows you to replace this: + + + +```Swift +addConstraint(NSLayoutConstraint( + item: button1, + attribute: .Right, + relatedBy: .Equal, + toItem: button2, + attribute: .Left, + multiplier: 1.0, + constant: -12.0 +)) +``` + +with this + +```Swift +constrain(button1, button2) { button1, button2 in + button1.right == button2.left - 12 +} +``` + +If you end up using Cartography in production, I'd love to hear from you. You can reach me through [Twitter] or [email]. + +## Usage + +Call the `constrain` function with your `UIView` or `NSView` instances as well +as a closure in which you declare the constraints between the different +attributes of your views: + +```swift +constrain(view1, view2) { view1, view2 in + view1.width == (view1.superview!.width - 50) * 0.5 + view2.width == view1.width - 50 + view1.height == 40 + view2.height == view1.height + view1.centerX == view1.superview!.centerX + view2.centerX == view1.centerX + + view1.top >= view1.superview!.top + 20 + view2.top == view1.bottom + 20 +} +``` + + + +For every view on the left hand side of an equality or inequality operator, +Cartography will automatically set its +`translatesAutoresizingMaskIntoConstraints` property to `false`. + +If the view is +not controlled by you–for example _if it belongs to a Apple-provided +`UIViewController` class_–you should take appropriate care when declaring its +constraints. + +

+ +## Replacing constraints + +You can capture multiple constraints in a group to then replace them with new +constraints at a later point. + +```swift +constrain(view) { view in + view.width == 100 + view.height == 100 +} + +let group = ConstraintGroup() + +// Attach `view` to the top left corner of its superview +constrain(view, replace: group) { view in + view.top == view.superview!.top + view.left == view.superview!.left +} + +/* Later */ + +// Move the view to the bottom right corner of its superview +constrain(view, replace: group) { view in + view.bottom == view.superview!.bottom + view.right == view.superview!.right +} + +UIView.animateWithDuration(0.5, animations: view.layoutIfNeeded) +``` + +For convenience, the `constrain` functions also returns `ConstraintGroup` +instances: + +```swift +let group = constrain(button) { button in + button.width == 100 + button.height == 400 +} +``` + +## Supported attributes + + +Cartography supports all built-in attributes as of iOS 8 and OS X 10.9, those are: + + + +- `width` +- `height` +- `top` +- `right` +- `bottom` +- `left` +- `leading` +- `trailing` +- `centerX` +- `centerY` +- `baseline` + +as well as the iOS specific + +- `firstBaseline` +- `leftMargin` +- `rightMargin` +- `topMargin` +- `bottomMargin` +- `leadingMargin` +- `trailingMargin` +- `centerXWithinMargins` +- `centerYWithinMargins` +- `edgesWithinMargins` + +These can be further refined using the following operators: `*`, `/`, `+` and +`-`. + +Additionally, it supports convenient compound attributes that allow you to +assign multiple attributes at once: + +```swift +constrain(view) { view in + view.size == view.superview!.size / 2 + view.center == view.superview!.center +} +``` + +```swift +constrain(view) { view in + view.edges == inset(view.superview!.edges, 20, 20, 40, 20) +} +``` + +### Aligning multiple view + +If you need to align multiple views by a common edge, you can use the `align` +functions: + +```swift +constrain(view1, view2, view3) { view1, view2, view3 in + align(top: view1, view2, view3) +} +``` + +Which is equivalent to `view1.top == view2.top; view2.top == view3.top`. Similar +variants exist for `top`, `right` `bottom`, `left`, `leading`, `trailing`, +`centerX`, `centerY` and `baseline`. + +### Distributing views evenly + +For distributing multiple views, either horizontally or vertically, you can use +the `distribute` functions: + +```swift +constrain(view1, view2, view3) { view1, view2, view3 in + distribute(by: 10, horizontally: view1, view2, view3) +} +``` + +Which is equivalent to `view1.trailing == view2.leading - 10; view2.trailing == view3.leading - 10`. + +## Setting priorities + +You can set the priorities of your constraints using the `~` operator: + +```swift +constrain(view) { view in + view.width >= 200 ~ 100 + view.height >= 200 ~ 100 +} +``` + +## Capturing constraints + +Since the `==`, `>=`, `<=` and `~` emit `NSLayoutConstraint` instances, you can +capture their results if you need to refer to the layout constraints at a later +time: + +```swift +var width: NSLayoutConstraint? + +constrain(view) { view in + width = (view.width == 200 ~ 100) +} +``` + +Note that declaring compound attributes returns multiple constraints at once: + +```swift +var constraints: [NSLayoutConstraint]? + +constrain(view) { view in + constraints = (view.size == view.superview!.size ~ 100) +} +``` + +## Documentation + +Read the documentation [here](http://robb.github.io/Cartography/). For more information, see the [gh-pages](https://github.com/robb/Cartography/tree/gh-pages) branch. + +## Support + +Please, don't hesitate to [file an +issue](https://github.com/robb/Cartography/issues/new) if you have questions. + +## About Cartography + +Cartography was built by [Robb Böhnke][me] and was inspired by the excellent +[FLKAutoLayout] by [Florian Kugler][florian]. + +[flkautolayout]: https://github.com/floriankugler/FLKAutoLayout +[florian]: https://github.com/floriankugler +[me]: http://robb.is +[twitter]: https://twitter.com/ceterum_censeo +[email]: mailto:robb@robb.is diff --git a/PrettyWeatherApp/Pods/FXBlurView/FXBlurView/FXBlurView.h b/PrettyWeatherApp/Pods/FXBlurView/FXBlurView/FXBlurView.h new file mode 100644 index 0000000..cc95e06 --- /dev/null +++ b/PrettyWeatherApp/Pods/FXBlurView/FXBlurView/FXBlurView.h @@ -0,0 +1,81 @@ +// +// FXBlurView.h +// +// Version 1.6.4 +// +// Created by Nick Lockwood on 25/08/2013. +// Copyright (c) 2013 Charcoal Design +// +// Distributed under the permissive zlib License +// Get the latest version from here: +// +// https://github.com/nicklockwood/FXBlurView +// +// 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. +// + + +#import +#import +#import + + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wobjc-missing-property-synthesis" + + +#import +#undef weak_ref +#if __has_feature(objc_arc) && __has_feature(objc_arc_weak) +#define weak_ref weak +#else +#define weak_ref unsafe_unretained +#endif + + +@interface UIImage (FXBlurView) + +- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor; + +@end + + +@interface FXBlurView : UIView + ++ (void)setBlurEnabled:(BOOL)blurEnabled; ++ (void)setUpdatesEnabled; ++ (void)setUpdatesDisabled; + +@property (nonatomic, getter = isBlurEnabled) BOOL blurEnabled; +@property (nonatomic, getter = isDynamic) BOOL dynamic; +@property (nonatomic, assign) NSUInteger iterations; +@property (nonatomic, assign) NSTimeInterval updateInterval; +@property (nonatomic, assign) CGFloat blurRadius; +@property (nonatomic, strong) UIColor *tintColor; +@property (nonatomic, weak_ref) IBOutlet UIView *underlyingView; + +- (void)updateAsynchronously:(BOOL)async completion:(void (^)())completion; + +- (void)clearImage; + +@end + + +#pragma GCC diagnostic pop + diff --git a/PrettyWeatherApp/Pods/FXBlurView/FXBlurView/FXBlurView.m b/PrettyWeatherApp/Pods/FXBlurView/FXBlurView/FXBlurView.m new file mode 100755 index 0000000..d3b5722 --- /dev/null +++ b/PrettyWeatherApp/Pods/FXBlurView/FXBlurView/FXBlurView.m @@ -0,0 +1,710 @@ +// +// FXBlurView.m +// +// Version 1.6.4 +// +// Created by Nick Lockwood on 25/08/2013. +// Copyright (c) 2013 Charcoal Design +// +// Distributed under the permissive zlib License +// Get the latest version from here: +// +// https://github.com/nicklockwood/FXBlurView +// +// 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. +// + + +#import "FXBlurView.h" +#import + + +#pragma GCC diagnostic ignored "-Wobjc-missing-property-synthesis" +#pragma GCC diagnostic ignored "-Wdirect-ivar-access" +#pragma GCC diagnostic ignored "-Wgnu" + + +#import +#if !__has_feature(objc_arc) +#error This class requires automatic reference counting +#endif + + +@implementation UIImage (FXBlurView) + +- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor +{ + //image must be nonzero size + if (floorf(self.size.width) * floorf(self.size.height) <= 0.0f) return self; + + //boxsize must be an odd integer + uint32_t boxSize = (uint32_t)(radius * self.scale); + if (boxSize % 2 == 0) boxSize ++; + + //create image buffers + CGImageRef imageRef = self.CGImage; + + //convert to ARGB if it isn't + if (CGImageGetBitsPerPixel(imageRef) != 32 || + CGImageGetBitsPerComponent(imageRef) != 8 || + !((CGImageGetBitmapInfo(imageRef) & kCGBitmapAlphaInfoMask))) + { + UIGraphicsBeginImageContextWithOptions(self.size, NO, self.scale); + [self drawAtPoint:CGPointZero]; + imageRef = UIGraphicsGetImageFromCurrentImageContext().CGImage; + UIGraphicsEndImageContext(); + } + + vImage_Buffer buffer1, buffer2; + buffer1.width = buffer2.width = CGImageGetWidth(imageRef); + buffer1.height = buffer2.height = CGImageGetHeight(imageRef); + buffer1.rowBytes = buffer2.rowBytes = CGImageGetBytesPerRow(imageRef); + size_t bytes = buffer1.rowBytes * buffer1.height; + buffer1.data = malloc(bytes); + buffer2.data = malloc(bytes); + + //create temp buffer + void *tempBuffer = malloc((size_t)vImageBoxConvolve_ARGB8888(&buffer1, &buffer2, NULL, 0, 0, boxSize, boxSize, + NULL, kvImageEdgeExtend + kvImageGetTempBufferSize)); + + //copy image data + CFDataRef dataSource = CGDataProviderCopyData(CGImageGetDataProvider(imageRef)); + memcpy(buffer1.data, CFDataGetBytePtr(dataSource), bytes); + CFRelease(dataSource); + + for (NSUInteger i = 0; i < iterations; i++) + { + //perform blur + vImageBoxConvolve_ARGB8888(&buffer1, &buffer2, tempBuffer, 0, 0, boxSize, boxSize, NULL, kvImageEdgeExtend); + + //swap buffers + void *temp = buffer1.data; + buffer1.data = buffer2.data; + buffer2.data = temp; + } + + //free buffers + free(buffer2.data); + free(tempBuffer); + + //create image context from buffer + CGContextRef ctx = CGBitmapContextCreate(buffer1.data, buffer1.width, buffer1.height, + 8, buffer1.rowBytes, CGImageGetColorSpace(imageRef), + CGImageGetBitmapInfo(imageRef)); + + //apply tint + if (tintColor && CGColorGetAlpha(tintColor.CGColor) > 0.0f) + { + CGContextSetFillColorWithColor(ctx, [tintColor colorWithAlphaComponent:0.25].CGColor); + CGContextSetBlendMode(ctx, kCGBlendModePlusLighter); + CGContextFillRect(ctx, CGRectMake(0, 0, buffer1.width, buffer1.height)); + } + + //create image from context + imageRef = CGBitmapContextCreateImage(ctx); + UIImage *image = [UIImage imageWithCGImage:imageRef scale:self.scale orientation:self.imageOrientation]; + CGImageRelease(imageRef); + CGContextRelease(ctx); + free(buffer1.data); + return image; +} + +@end + + +@interface FXBlurScheduler : NSObject + +@property (nonatomic, strong) NSMutableArray *views; +@property (nonatomic, assign) NSUInteger viewIndex; +@property (nonatomic, assign) NSUInteger updatesEnabled; +@property (nonatomic, assign) BOOL blurEnabled; +@property (nonatomic, assign) BOOL updating; + +@end + + +@interface FXBlurLayer: CALayer + +@property (nonatomic, assign) CGFloat blurRadius; + +@end + + +@implementation FXBlurLayer + +@dynamic blurRadius; + ++ (BOOL)needsDisplayForKey:(NSString *)key +{ + if ([@[@"blurRadius", @"bounds", @"position"] containsObject:key]) + { + return YES; + } + return [super needsDisplayForKey:key]; +} + +@end + + +@interface FXBlurView () + +@property (nonatomic, assign) BOOL iterationsSet; +@property (nonatomic, assign) BOOL blurRadiusSet; +@property (nonatomic, assign) BOOL dynamicSet; +@property (nonatomic, assign) BOOL blurEnabledSet; +@property (nonatomic, strong) NSDate *lastUpdate; +@property (nonatomic, assign) BOOL needsDrawViewHierarchy; + +- (UIImage *)snapshotOfUnderlyingView; +- (BOOL)shouldUpdate; + +@end + + +@implementation FXBlurScheduler + ++ (instancetype)sharedInstance +{ + static FXBlurScheduler *sharedInstance = nil; + if (!sharedInstance) + { + sharedInstance = [[FXBlurScheduler alloc] init]; + } + return sharedInstance; +} + +- (instancetype)init +{ + if ((self = [super init])) + { + _updatesEnabled = 1; + _blurEnabled = YES; + _views = [[NSMutableArray alloc] init]; + } + return self; +} + +- (void)setBlurEnabled:(BOOL)blurEnabled +{ + _blurEnabled = blurEnabled; + if (blurEnabled) + { + for (FXBlurView *view in self.views) + { + [view setNeedsDisplay]; + } + [self updateAsynchronously]; + } +} + +- (void)setUpdatesEnabled +{ + _updatesEnabled ++; + [self updateAsynchronously]; +} + +- (void)setUpdatesDisabled +{ + _updatesEnabled --; +} + +- (void)addView:(FXBlurView *)view +{ + if (![self.views containsObject:view]) + { + [self.views addObject:view]; + [self updateAsynchronously]; + } +} + +- (void)removeView:(FXBlurView *)view +{ + NSUInteger index = [self.views indexOfObject:view]; + if (index != NSNotFound) + { + if (index <= self.viewIndex) + { + self.viewIndex --; + } + [self.views removeObjectAtIndex:index]; + } +} + +- (void)updateAsynchronously +{ + if (self.blurEnabled && !self.updating && self.updatesEnabled > 0 && [self.views count]) + { + NSTimeInterval timeUntilNextUpdate = 1.0 / 60; + + //loop through until we find a view that's ready to be drawn + self.viewIndex = self.viewIndex % [self.views count]; + for (NSUInteger i = self.viewIndex; i < [self.views count]; i++) + { + FXBlurView *view = self.views[i]; + if (view.dynamic && !view.hidden && view.window && [view shouldUpdate]) + { + NSTimeInterval nextUpdate = [view.lastUpdate timeIntervalSinceNow] + view.updateInterval; + if (!view.lastUpdate || nextUpdate <= 0) + { + self.updating = YES; + [view updateAsynchronously:YES completion:^{ + + //render next view + self.updating = NO; + self.viewIndex = i + 1; + [self updateAsynchronously]; + }]; + return; + } + else + { + timeUntilNextUpdate = MIN(timeUntilNextUpdate, nextUpdate); + } + } + } + + //try again, delaying until the time when the next view needs an update. + self.viewIndex = 0; + [self performSelector:@selector(updateAsynchronously) + withObject:nil + afterDelay:timeUntilNextUpdate + inModes:@[NSDefaultRunLoopMode, UITrackingRunLoopMode]]; + } +} + +@end + + +@implementation FXBlurView + +@synthesize underlyingView = _underlyingView; + ++ (void)setBlurEnabled:(BOOL)blurEnabled +{ + [FXBlurScheduler sharedInstance].blurEnabled = blurEnabled; +} + ++ (void)setUpdatesEnabled +{ + [[FXBlurScheduler sharedInstance] setUpdatesEnabled]; +} + ++ (void)setUpdatesDisabled +{ + [[FXBlurScheduler sharedInstance] setUpdatesDisabled]; +} + ++ (Class)layerClass +{ + return [FXBlurLayer class]; +} + +- (void)setUp +{ + if (!_iterationsSet) _iterations = 3; + if (!_blurRadiusSet) [self blurLayer].blurRadius = 40; + if (!_dynamicSet) _dynamic = YES; + if (!_blurEnabledSet) _blurEnabled = YES; + self.updateInterval = _updateInterval; + self.layer.magnificationFilter = @"linear"; // kCAFilterLinear + + unsigned int numberOfMethods; + Method *methods = class_copyMethodList([UIView class], &numberOfMethods); + for (unsigned int i = 0; i < numberOfMethods; i++) + { + Method method = methods[i]; + SEL selector = method_getName(method); + if (selector == @selector(tintColor)) + { + _tintColor = ((id (*)(id,SEL))method_getImplementation(method))(self, selector); + break; + } + } + free(methods); + +} + +- (id)initWithFrame:(CGRect)frame +{ + if ((self = [super initWithFrame:frame])) + { + [self setUp]; + self.clipsToBounds = YES; + } + return self; +} + +- (id)initWithCoder:(NSCoder *)aDecoder +{ + if ((self = [super initWithCoder:aDecoder])) + { + [self setUp]; + } + return self; +} + +- (void)dealloc +{ + [[NSNotificationCenter defaultCenter] removeObserver:self]; +} + + +- (BOOL)viewOrSubviewNeedsDrawViewHierarchy:(UIView *)view +{ + if ([view isKindOfClass:NSClassFromString(@"SKView")] || + [view.layer isKindOfClass:NSClassFromString(@"CAEAGLLayer")] || + [view.layer isKindOfClass:NSClassFromString(@"AVPlayerLayer")] || + ABS(view.layer.transform.m34) > 0) + { + return YES; + } + for (UIView *subview in view.subviews) + { + if ([self viewOrSubviewNeedsDrawViewHierarchy:subview]) + { + return YES; + } + } + return NO; +} + +- (void)willMoveToSuperview:(UIView *)newSuperview +{ + [super willMoveToSuperview:newSuperview]; + if (!_underlyingView) + { + _needsDrawViewHierarchy = [self viewOrSubviewNeedsDrawViewHierarchy:newSuperview]; + } +} + +- (void)setIterations:(NSUInteger)iterations +{ + _iterationsSet = YES; + _iterations = iterations; + [self setNeedsDisplay]; +} + +- (void)setBlurRadius:(CGFloat)blurRadius +{ + _blurRadiusSet = YES; + [self blurLayer].blurRadius = blurRadius; +} + +- (CGFloat)blurRadius +{ + return [self blurLayer].blurRadius; +} + +- (void)setBlurEnabled:(BOOL)blurEnabled +{ + _blurEnabledSet = YES; + if (_blurEnabled != blurEnabled) + { + _blurEnabled = blurEnabled; + [self schedule]; + if (_blurEnabled) + { + [self setNeedsDisplay]; + } + } +} + +- (void)setDynamic:(BOOL)dynamic +{ + _dynamicSet = YES; + if (_dynamic != dynamic) + { + _dynamic = dynamic; + [self schedule]; + if (!dynamic) + { + [self setNeedsDisplay]; + } + } +} + +- (UIView *)underlyingView +{ + return _underlyingView ?: self.superview; +} + +- (void)setUnderlyingView:(UIView *)underlyingView +{ + _underlyingView = underlyingView; + _needsDrawViewHierarchy = [self viewOrSubviewNeedsDrawViewHierarchy:self.underlyingView]; + [self setNeedsDisplay]; +} + +- (CALayer *)underlyingLayer +{ + return self.underlyingView.layer; +} + +- (FXBlurLayer *)blurLayer +{ + return (FXBlurLayer *)self.layer; +} + +- (FXBlurLayer *)blurPresentationLayer +{ + FXBlurLayer *blurLayer = [self blurLayer]; + return (FXBlurLayer *)blurLayer.presentationLayer ?: blurLayer; +} + +- (void)setUpdateInterval:(NSTimeInterval)updateInterval +{ + _updateInterval = updateInterval; + if (_updateInterval <= 0) _updateInterval = 1.0/60; +} + +- (void)setTintColor:(UIColor *)tintColor +{ + _tintColor = tintColor; + [self setNeedsDisplay]; +} + +- (void)clearImage { + self.layer.contents = nil; + [self setNeedsDisplay]; +} + +- (void)didMoveToSuperview +{ + [super didMoveToSuperview]; + [self.layer setNeedsDisplay]; +} + +- (void)didMoveToWindow +{ + [super didMoveToWindow]; + [self schedule]; +} + +- (void)schedule +{ + if (self.window && self.dynamic && self.blurEnabled) + { + [[FXBlurScheduler sharedInstance] addView:self]; + } + else + { + [[FXBlurScheduler sharedInstance] removeView:self]; + } +} + +- (void)setNeedsDisplay +{ + [super setNeedsDisplay]; + [self.layer setNeedsDisplay]; +} + +- (BOOL)shouldUpdate +{ + __strong CALayer *underlyingLayer = [self underlyingLayer]; + + return + underlyingLayer && !underlyingLayer.hidden && + self.blurEnabled && [FXBlurScheduler sharedInstance].blurEnabled && + !CGRectIsEmpty([self.layer.presentationLayer ?: self.layer bounds]) && !CGRectIsEmpty(underlyingLayer.bounds); +} + +- (void)displayLayer:(__unused CALayer *)layer +{ + [self updateAsynchronously:NO completion:NULL]; +} + +- (id)actionForLayer:(CALayer *)layer forKey:(NSString *)key +{ + if ([key isEqualToString:@"blurRadius"]) + { + //animations are enabled + CAAnimation *action = (CAAnimation *)[super actionForLayer:layer forKey:@"backgroundColor"]; + if ((NSNull *)action != [NSNull null]) + { + CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:key]; + animation.fromValue = [layer.presentationLayer valueForKey:key]; + + //CAMediatiming attributes + animation.beginTime = action.beginTime; + animation.duration = action.duration; + animation.speed = action.speed; + animation.timeOffset = action.timeOffset; + animation.repeatCount = action.repeatCount; + animation.repeatDuration = action.repeatDuration; + animation.autoreverses = action.autoreverses; + animation.fillMode = action.fillMode; + + //CAAnimation attributes + animation.timingFunction = action.timingFunction; + animation.delegate = action.delegate; + + return animation; + } + } + return [super actionForLayer:layer forKey:key]; +} + +- (UIImage *)snapshotOfUnderlyingView +{ + __strong FXBlurLayer *blurLayer = [self blurPresentationLayer]; + __strong CALayer *underlyingLayer = [self underlyingLayer]; + CGRect bounds = [blurLayer convertRect:blurLayer.bounds toLayer:underlyingLayer]; + + self.lastUpdate = [NSDate date]; + CGFloat scale = 0.5; + if (self.iterations) + { + CGFloat blockSize = 12.0/self.iterations; + scale = blockSize/MAX(blockSize * 2, blurLayer.blurRadius); + scale = 1.0/floor(1.0/scale); + } + CGSize size = bounds.size; + if (self.contentMode == UIViewContentModeScaleToFill || + self.contentMode == UIViewContentModeScaleAspectFill || + self.contentMode == UIViewContentModeScaleAspectFit || + self.contentMode == UIViewContentModeRedraw) + { + //prevents edge artefacts + size.width = floor(size.width * scale) / scale; + size.height = floor(size.height * scale) / scale; + } + else if ([[UIDevice currentDevice].systemVersion floatValue] < 7.0 && [UIScreen mainScreen].scale == 1.0) + { + //prevents pixelation on old devices + scale = 1.0; + } + UIGraphicsBeginImageContextWithOptions(size, NO, scale); + CGContextRef context = UIGraphicsGetCurrentContext(); + if (context) + { + CGContextTranslateCTM(context, -bounds.origin.x, -bounds.origin.y); + + NSArray *hiddenViews = [self prepareUnderlyingViewForSnapshot]; + if (self.needsDrawViewHierarchy) + { + __strong UIView *underlyingView = self.underlyingView; + [underlyingView drawViewHierarchyInRect:underlyingView.bounds afterScreenUpdates:YES]; + } + else + { + [underlyingLayer renderInContext:context]; + } + [self restoreSuperviewAfterSnapshot:hiddenViews]; + UIImage *snapshot = UIGraphicsGetImageFromCurrentImageContext(); + UIGraphicsEndImageContext(); + return snapshot; + } + return nil; +} + +- (NSArray *)hideEmptyLayers:(CALayer *)layer +{ + NSMutableArray *layers = [NSMutableArray array]; + if (CGRectIsEmpty(layer.bounds)) + { + layer.hidden = YES; + [layers addObject:layer]; + } + for (CALayer *sublayer in layer.sublayers) + { + [layers addObjectsFromArray:[self hideEmptyLayers:sublayer]]; + } + return layers; +} + +- (NSArray *)prepareUnderlyingViewForSnapshot +{ + __strong CALayer *blurlayer = [self blurLayer]; + __strong CALayer *underlyingLayer = [self underlyingLayer]; + while (blurlayer.superlayer && blurlayer.superlayer != underlyingLayer) + { + blurlayer = blurlayer.superlayer; + } + NSMutableArray *layers = [NSMutableArray array]; + NSUInteger index = [underlyingLayer.sublayers indexOfObject:blurlayer]; + if (index != NSNotFound) + { + for (NSUInteger i = index; i < [underlyingLayer.sublayers count]; i++) + { + CALayer *layer = underlyingLayer.sublayers[i]; + if (!layer.hidden) + { + layer.hidden = YES; + [layers addObject:layer]; + } + } + } + + //also hide any sublayers with empty bounds to prevent a crash on iOS 8 + [layers addObjectsFromArray:[self hideEmptyLayers:underlyingLayer]]; + + return layers; +} + +- (void)restoreSuperviewAfterSnapshot:(NSArray *)hiddenLayers +{ + for (CALayer *layer in hiddenLayers) + { + layer.hidden = NO; + } +} + +- (UIImage *)blurredSnapshot:(UIImage *)snapshot radius:(CGFloat)blurRadius +{ + return [snapshot blurredImageWithRadius:blurRadius + iterations:self.iterations + tintColor:self.tintColor]; +} + +- (void)setLayerContents:(UIImage *)image +{ + self.layer.contents = (id)image.CGImage; + self.layer.contentsScale = image.scale; +} + +- (void)updateAsynchronously:(BOOL)async completion:(void (^)())completion +{ + if ([self shouldUpdate]) + { + UIImage *snapshot = [self snapshotOfUnderlyingView]; + if (async) + { + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + + UIImage *blurredImage = [self blurredSnapshot:snapshot radius:self.blurRadius]; + dispatch_sync(dispatch_get_main_queue(), ^{ + + [self setLayerContents:blurredImage]; + if (completion) completion(); + }); + }); + } + else + { + [self setLayerContents:[self blurredSnapshot:snapshot radius:[self blurPresentationLayer].blurRadius]]; + if (completion) completion(); + } + } + else if (completion) + { + completion(); + } +} + +@end diff --git a/PrettyWeatherApp/Pods/FXBlurView/LICENCE.md b/PrettyWeatherApp/Pods/FXBlurView/LICENCE.md new file mode 100755 index 0000000..5dd2250 --- /dev/null +++ b/PrettyWeatherApp/Pods/FXBlurView/LICENCE.md @@ -0,0 +1,21 @@ +FXBlurView + +Version 1.6.4, September 2nd, 2015 + +Copyright (C) 2013 Charcoal Design + +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. \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/FXBlurView/README.md b/PrettyWeatherApp/Pods/FXBlurView/README.md new file mode 100644 index 0000000..fcd302c --- /dev/null +++ b/PrettyWeatherApp/Pods/FXBlurView/README.md @@ -0,0 +1,236 @@ +Purpose +-------------- + +FXBlurView is a UIView subclass that replicates the iOS 7 realtime background blur effect, but works on iOS 5 and above. It is designed to be as fast and as simple to use as possible. FXBlurView offers two modes of operation: static, where the view is rendered only once when it is added to a superview (though it can be updated by calling `setNeedsDisplay` or `updateAsynchronously:completion:`) or dynamic, where it will automatically redraw itself on a background thread as often as possible. + + +Supported iOS & SDK Versions +----------------------------- + +* Supported build target - iOS 8.4 (Xcode 6.4, Apple LLVM compiler 6.1) +* Earliest supported deployment target - iOS 7.0 +* Earliest compatible deployment target - iOS 4.3 + +NOTE: 'Supported' means that the library has been tested with this version. 'Compatible' means that the library should work on this iOS version (i.e. it doesn't rely on any unavailable SDK features) but is no longer being tested for compatibility and may require tweaking or bug fixes to run correctly. + + +ARC Compatibility +------------------ + +As of version 1.3, FXBlurView requires ARC. If you wish to use FXBlurView in a non-ARC project, just add the -fobjc-arc compiler flag to the FXBlurView.m class. To do this, go to the Build Phases tab in your target settings, open the Compile Sources group, double-click FXBlurView.m in the list and type -fobjc-arc into the popover. + +If you wish to convert your whole project to ARC, comment out the #error line in FXBlurView.m, then run the Edit > Refactor > Convert to Objective-C ARC... tool in Xcode and make sure all files that you wish to use ARC for (including FXBlurView.m) are checked. + + +Installation +--------------- + +To use FXBlurView, just drag the class files into your project and add the Accelerate framework. You can create FXBlurView instances programatically, or create them in Interface Builder by dragging an ordinary UIView into your view and setting its class to FXBlurView. + +If you are using Interface Builder, to set the custom properties of FXBlurView (ones that are not supported by regular UIViews) either create an IBOutlet for your view and set the properties in code, or use the User Defined Runtime Attributes feature in Interface Builder (introduced in Xcode 4.2 for iOS 5+). + + +UIImage extensions +-------------------- + +FXBlurView extends UIImage with the following method: + + - (UIImage *)blurredImageWithRadius:(CGFloat)radius + iterations:(NSUInteger)iterations + tintColor:(UIColor *)tintColor; + +This method applies a blur effect and returns the resultant blurred image without modifying the original. The radius property controls the extent of the blur effect. The iterations property controls the number of iterations. More iterations means higher quality. The tintColor is an optional color that will be blended with the resultant image. Note that the alpha component of the tintColor is ignored. + + +FXBlurView methods +----------------------- + + + (void)setBlurEnabled:(BOOL)blurEnabled; + +This method can be used to globally enable/disable the blur effect on all FXBlurView instances. This is useful for testing, or if you wish to disable blurring on iPhone 4 and below (for consistency with iOS7 blur view behavior). By default blurring is enabled. + + + (void)setUpdatesEnabled; + + (void)setUpdatesDisabled; + +These methods can be used to enable and disable updates for all dynamic FXBlurView instances with a single command. Useful for disabling updates immediately before performing an animation so that the FXBlurView updates don't cause the animation to stutter. Calls can be nested, but ensure that the enabled/disabled calls are balanced, or the updates will be left permanently enabled or disabled. + + - (void)updateAsynchronously:(BOOL)async completion:(void (^)())completion; + +This method can be used to trigger an update of the blur effect (useful when `dynamic = NO`). The async argument controls whether the blur will be redrawn on the main thread or in the background. The completion argument is an optional callback block that will be called when the blur is completed. + + - (void)setNeedsDisplay; + +Inherited from UIView, this method can be used to trigger a (synchronous) update of the view. Calling this method is more-or-less equivalent to calling `[view updateAsynchronously:NO completion:NULL]`. + + +FXBlurView properties +---------------- + + @property (nonatomic, getter = isBlurEnabled) BOOL blurEnabled; + +This property toggles blurring on and off for an individual FXBlurView instance. Blurring is enabled by default. Note that if you disable blurring using the `+setBlurEnabled` method then that will override this setting. + + @property (nonatomic, getter = isDynamic) BOOL dynamic; + +This property controls whether the FXBlurView updates dynamically, or only once when the view is added to its superview. Defaults to YES. Note that if dynamic is set to NO, you can still force the view to update by calling `setNeedsDisplay` or `updateAsynchronously:completion:`. Dynamic blurring is extremely cpu-intensive, so you should always disable dynamic views immediately prior to performing an animation to avoid stuttering. However, if you have multiple FXBlurViews on screen then it is simpler to disable updates using the `setUpdatesDisabled` method rather than setting the `dynamic` property to NO. + + @property (nonatomic, assign) NSUInteger iterations; + +The number of blur iterations. More iterations improves the quality but reduces the performance. Defaults to 2 iterations. + + @property (nonatomic, assign) NSTimeInterval updateInterval; + +This controls the interval (in seconds) between successive updates when the FXBlurView is operating in dynamic mode. This defaults to zero, which means that the FXBlurView will update as fast as possible. This yields the best frame rate, but is also extremely CPU intensive and may cause the rest of your app's performance to degrade, especially on older devices. To alleviate this, try increasing the `updateInterval` value. + + @property (nonatomic, assign) CGFloat blurRadius; + +This property controls the radius of the blur effect (in points). Defaults to a 40 point radius, which is similar to the iOS 7 blur effect. + + @property (nonatomic, strong) UIColor *tintColor; + +This in an optional tint color to be applied to the FXBlurView. The RGB components of the color will be blended with the blurred image, resulting in a gentle tint. To vary the intensity of the tint effect, use brighter or darker colors. The alpha component of the tintColor is ignored. If you do not wish to apply a tint, set this value to nil or [UIColor clearColor]. Note that if you are using Xcode 5 or above, FXBlurViews created in Interface Builder will have a blue tint by default. + + @property (nonatomic, weak) UIView *underlyingView; + +This property specifies the view that the FXBlurView will sample to create the blur effect. If set to nil (the default), this will be the superview of the blur view itself, but you can override this if you need to. + + +FAQ +---------------- + + Q. Why are my views all blue-tinted on iOS 7? + A. FXBlurView uses the `UIView` `tintColor` property, which does not exist on iOS 6 and below, but defaults to blue on iOS 7. Just set this property to `[UIColor clearColor]` to disable the tint. To retain iOS 6 compatibility, you can either set this using code, or by using the User Defined Runtime Attributes feature of Interface Builder, which will override the standard `tintColor` value (see the example project nibs for how to do this). + + Q. FXBlurView makes my whole app run slowly on [old device], what can I do? + A. To improve performance, try increasing the `updatePeriod` property, reducing the `iterations` property or disabling `dynamic` unless you really need it. If all else fails, set `blurEnabled` to NO on older devices. + + Q. My SpriteKit/OpenGL/Video/3D transformed content isn't showing up properly when placed underneath an FXBlurView, why not? + A. This is a limitation of a the `CALayer` `renderInContext:` method used to capture the view contents. There is no workaround for this on iOS 6 and earlier. On iOS 7 you can make use of the `UIView` `drawViewHierarchyInRect:afterScreenUpdates:` method to capture an view and apply the blur effect yourself, but this it too slow for realtime use, so FXBlurView does not use this method by default. + + Q. FXBlurView is not capturing some ordinary view content that is behind it, why not? + A. FXBlurView captures the contents of its immediate superview by default. If the superview is transparent or partially transparent, content shown behind it will not be captured. You can override the `underlyingView` property to capture the contents of a different view if you need to. + + +Release Notes +----------------- + +Version 1.6.4 + +- `blurredImageWithRadius:iterations:tintColor:` now works if image is not in ARGB format +- Fixed ": CGContextRestoreGState: invalid context 0x0." +- Empty sublayers are now hidden before snapshotting to prevent renderInContext crash on iOS 8 +- FXBlurView now automatically uses slower drawViewHierarchyInRect method when needed to capture content +- Added Travis integration + +Version 1.6.3 + +- FXBlurView image background is no longer opaque/black, so it can be used as a translucent overlay +- underlyingView property is now an IBOutlet, so it can be connected in Interface Builder +- Moved imports into header for better Swift compatibility + +Version 1.6.2 + +- Fixed crash on iOS 8 when animating blur +- Fixed issue when using FXBlurView with Swift + +Version 1.6.1 + +- Fixed issue with animation completion block not firing + +Version 1.6 + +- It is now possible to animate blurRadius +- Now requires QuartzCore framework + +Version 1.5.6 + +- Fixed bug introduced in 1.5.4 where snapshot would always be taken from top-left corner of superview + +Version 1.5.5 + +- Fixed zero-sized context warning in console when view has no presentationLayer + +Version 1.5.4 + +- It is now possible to animate the FXBlurView frame using ordinary UIView animations + +Version 1.5.3 + +- Fixed pixelation issue on non-Retina devices running iOS 6 or earlier + +Version 1.5.2 + +- Fixed bug where edge of blur could be cropped short when using content modes other than scale to fit + +Version 1.5.1 + +- Fixed bug where completion handler was not called for synchronous blur. + +Version 1.5 + +- Added underlyingView property to specify source view +- Added updateAsynchronously:completion: method +- Fixed glitch with edges on certain views +- Now conforms to -Weverything warning level + +Version 1.4.4 + +- Fixed pixelation issue on Retina iPads + +Version 1.4.3 + +- Fixed error when compiling for iOS 6.1 SDK using Xcode 5 + +Version 1.4.2 + +- Fixed issue where shadow or ghosting could appear at edge of blur view +- Now conforms to -Wextra warning level + +Version 1.4.1 + +- Fixed minor memory leak in the setUp method + +Version 1.4 + +- More intelligent scheduling when multiple dynamic FXBlurView instances are shown on screen at once +- Added global and individual methods for disabling blur (e.g. so you can disable blur on iPhone 4 and below for consistency with other apps on iOS 7) +- Added Multiples views example + +Version 1.3.3 + +- Fixed console warning when adding an FXBlurView of zero size to the window + +Version 1.3.2 + +- Fixed issue with pixelation on non-Retina devices +- Tweaked performance/quality tradeoff + +Version 1.3.1 + +- Improved blur quality (1.3 was slightly blocky) + +Version 1.3 + +- Added tintColor property +- Significant performance improvement by reducing snapshot scale based in proportion to blur radius +- Views placed in front of the FXBlurView in the hierarchy are no longer included in the blur effect +- Fixed issue where blurView was sometimes partially transparent +- Added example showing how to implement an iOS7 control center-style overlay +- FXBlurView now requires ARC + +Version 1.2 + +- Added +setUpdatesEnabled and +setUpdatesDisabled methods to globally enable/disable dynamic blur updates (e.g. when performing an animation) +- Added -updateInterval method to control CPU load when updating +- Changed runloop mode to reduce interference with scrolling, etc + +Version 1.1 + +- Added ability to set number of blur iterations +- Fixed setNeedsDisplay behavior when dynamic = NO +- Reduced memory allocations in blur algorithm +- Added dynamic mode toggle to example app + +Version 1.0 + +- Initial release diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.h new file mode 100644 index 0000000..4729639 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.h @@ -0,0 +1,11 @@ +// +// 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); \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.m new file mode 100644 index 0000000..0fb56d9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUBlocks.m @@ -0,0 +1,28 @@ +// +// 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]; +} diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.h new file mode 100644 index 0000000..9f401e1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.h @@ -0,0 +1,43 @@ +// +// 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]; + } + + */ diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.m new file mode 100644 index 0000000..856e839 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUConcurrentOperation.m @@ -0,0 +1,72 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.h new file mode 100755 index 0000000..e41bd69 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.h @@ -0,0 +1,24 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.m new file mode 100755 index 0000000..d5be2c5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDefaultDiskCache.m @@ -0,0 +1,214 @@ +// +// 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: %lu", (unsigned long)_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 %lu bytes", (unsigned long)targetBytes); + NSString *size = [NSString stringWithFormat:@"%lu", (unsigned long)[self currentSizeOfCache]]; + + if ([self currentSizeOfCache] > targetBytes) { + NSLog(@"Time to clean the cache! size is: %@, %lu", [self cacheDir], (unsigned long)[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: %lu, target size: %lu", (unsigned long)self.cacheSize, (unsigned long)targetBytes); + } + } + NSLog(@"Finished checking disk cache"); + return size; +} + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDiskCache.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDiskCache.h new file mode 100644 index 0000000..0674d09 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUDiskCache.h @@ -0,0 +1,38 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.h new file mode 100644 index 0000000..a4a0b03 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.h @@ -0,0 +1,30 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.m new file mode 100644 index 0000000..1bfbdd7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkController.m @@ -0,0 +1,61 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.h new file mode 100644 index 0000000..93f116d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.h @@ -0,0 +1,27 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.m new file mode 100644 index 0000000..9a042f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUNetworkOperation.m @@ -0,0 +1,163 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.h new file mode 100644 index 0000000..813fc8f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.h @@ -0,0 +1,20 @@ +// +// 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; + ++ (void)writeMultipartWithAssetURL:(NSURL*)assetURL + startString:(NSString *)startString + imageFile:(NSString *)imageFile + toOutputStream:(NSOutputStream *)outputStream + closingString:(NSString *)closingString; +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.m new file mode 100644 index 0000000..e62a8c1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/DevedUpKit/FKDUStreamUtil.m @@ -0,0 +1,127 @@ +// +// 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" + +#import + +@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]; +} + ++ (void)writeMultipartWithAssetURL:(NSURL*)assetURL + startString:(NSString *)startString + imageFile:(NSString *)imageFile + toOutputStream:(NSOutputStream *)outputStream + closingString:(NSString *)closingString { + + // finish up the formdata + NSOutputStream *startStream = [NSOutputStream outputStreamToFileAtPath:imageFile append:NO]; + [startStream open]; + + NSData *openingData = [startString dataUsingEncoding:NSUTF8StringEncoding]; + NSInteger startwriteLength = [openingData length]; + NSInteger startactualWrittenLength = [startStream write:[openingData bytes] maxLength:startwriteLength]; + + [startStream close]; + NSAssert(startactualWrittenLength == startwriteLength, @"Start string not writtern"); + + dispatch_semaphore_t sema = dispatch_semaphore_create(0); + ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; + + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0), ^{ + [library assetForURL:assetURL resultBlock:^(ALAsset *asset) { + ALAssetRepresentation *representation = [asset defaultRepresentation]; + NSOutputStream *mediaStream = [NSOutputStream outputStreamToFileAtPath:imageFile append:YES]; + [mediaStream open]; + + NSUInteger bufferSize = 65536; + NSUInteger read = 0, offset = 0, written = 0; + uint8_t *buff = (uint8_t *)malloc(sizeof(uint8_t)*bufferSize); + NSError *err = nil; + + do { + read = [representation getBytes:buff fromOffset:offset length:bufferSize error:&err]; + written = [mediaStream write:buff maxLength:read]; + offset += read; + if (err != nil) { + NSLog(@"ERROR!!:%@",err); + [mediaStream close]; + free(buff); + return; + } + if (read != written) { + NSLog(@"ERROR!!%@",@"Couldn't prepare data for upload!"); + [mediaStream close]; + free(buff); + return; + } + } while (read != 0); + + free(buff); + [mediaStream close]; + + dispatch_semaphore_signal(sema); + } failureBlock:^(NSError *error) { + dispatch_semaphore_signal(sema); + }]; + }); + dispatch_semaphore_wait(sema, DISPATCH_TIME_FOREVER); + +#if OS_OBJECT_USE_OBJC!=1 + dispatch_release(sema); +#endif + + NSOutputStream *endStream = [NSOutputStream outputStreamToFileAtPath:imageFile append:YES]; + [endStream open]; + + NSData *closingData = [closingString dataUsingEncoding:NSUTF8StringEncoding]; + NSInteger writeLength = [closingData length]; + NSInteger actualWrittenLength = [endStream write:[closingData bytes] maxLength:writeLength]; + + [endStream close]; + NSAssert(actualWrittenLength == writeLength, @"Closing string not written"); +} + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit.h new file mode 100644 index 0000000..f736330 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit.h @@ -0,0 +1,102 @@ +// +// 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; + +- (FKImageUploadNetworkOperation *) uploadAssetURL:(NSURL *)assetURL args:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; + +@end + diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.h new file mode 100644 index 0000000..02a8db1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.h @@ -0,0 +1,69 @@ +// +// 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); + diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.m new file mode 100644 index 0000000..3dd5959 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FKDataTypes.m @@ -0,0 +1,56 @@ +// +// 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]; +} \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FlickrKit.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FlickrKit.m new file mode 100644 index 0000000..a6a75cf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/FlickrKit/FlickrKit.m @@ -0,0 +1,469 @@ +// +// 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]; + + ///https://www.flickr.com/services/oauth/authorize + NSString *URLString = [NSString stringWithFormat:@"https://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:@"https://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:@"https://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; +} + +- (FKImageUploadNetworkOperation *) uploadAssetURL:(NSURL *)assetURL args:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion { + FKImageUploadNetworkOperation *imageUpload = [[FKImageUploadNetworkOperation alloc] initWithAssetURL:assetURL + arguments:args + completion:completion]; + [[FKDUNetworkController sharedController] execute:imageUpload]; + return imageUpload; +} + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/FKAPIMethods.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/FKAPIMethods.h new file mode 100644 index 0000000..293a9ca --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/FKAPIMethods.h @@ -0,0 +1,218 @@ +// +// 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" + + diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/FKFlickrAPIMethod.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/FKFlickrAPIMethod.h new file mode 100644 index 0000000..398927c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/FKFlickrAPIMethod.h @@ -0,0 +1,34 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.h new file mode 100644 index 0000000..b436629 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.h @@ -0,0 +1,74 @@ +// +// FKFlickrActivityUserComments.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.m new file mode 100644 index 0000000..f1140f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserComments.m @@ -0,0 +1,92 @@ +// +// FKFlickrActivityUserComments.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.h new file mode 100644 index 0000000..e808c99 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.h @@ -0,0 +1,80 @@ +// +// FKFlickrActivityUserPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m new file mode 100644 index 0000000..a0d7d03 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m @@ -0,0 +1,95 @@ +// +// FKFlickrActivityUserPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h new file mode 100644 index 0000000..37fa27c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h @@ -0,0 +1,47 @@ +// +// FKFlickrAuthCheckToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *auth_token; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.m new file mode 100644 index 0000000..81597aa --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.m @@ -0,0 +1,85 @@ +// +// FKFlickrAuthCheckToken.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.h new file mode 100644 index 0000000..d2fa01e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.h @@ -0,0 +1,40 @@ +// +// FKFlickrAuthGetFrob.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.m new file mode 100644 index 0000000..27b6d2d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.m @@ -0,0 +1,80 @@ +// +// FKFlickrAuthGetFrob.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.h new file mode 100644 index 0000000..b0a86b5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.h @@ -0,0 +1,47 @@ +// +// FKFlickrAuthGetFullToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *mini_token; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.m new file mode 100644 index 0000000..846b78a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.m @@ -0,0 +1,85 @@ +// +// FKFlickrAuthGetFullToken.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.h new file mode 100644 index 0000000..b79dc35 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.h @@ -0,0 +1,49 @@ +// +// FKFlickrAuthGetToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *frob; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.m new file mode 100644 index 0000000..4ef7d60 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthGetToken.m @@ -0,0 +1,89 @@ +// +// FKFlickrAuthGetToken.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.h new file mode 100644 index 0000000..7a95ede --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.h @@ -0,0 +1,47 @@ +// +// FKFlickrAuthOauthCheckToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *oauth_token; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.m new file mode 100644 index 0000000..6f3fba0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.m @@ -0,0 +1,87 @@ +// +// FKFlickrAuthOauthCheckToken.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.h new file mode 100644 index 0000000..48ab6e6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.h @@ -0,0 +1,42 @@ +// +// FKFlickrAuthOauthGetAccessToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.m new file mode 100644 index 0000000..853fbd6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.m @@ -0,0 +1,80 @@ +// +// FKFlickrAuthOauthGetAccessToken.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.h new file mode 100644 index 0000000..a455a84 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.h @@ -0,0 +1,52 @@ +// +// FKFlickrBlogsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *service; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.m new file mode 100644 index 0000000..895ca32 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.m @@ -0,0 +1,89 @@ +// +// FKFlickrBlogsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.h new file mode 100644 index 0000000..f8a7fb9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.h @@ -0,0 +1,50 @@ +// +// FKFlickrBlogsGetServices.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.m new file mode 100644 index 0000000..e0fd9e3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.m @@ -0,0 +1,76 @@ +// +// FKFlickrBlogsGetServices.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.h new file mode 100644 index 0000000..26f99a9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.h @@ -0,0 +1,63 @@ +// +// FKFlickrBlogsPostPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *blog_id; + +/* The id of the photo to blog */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + +/* The blog post title */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* The blog post body */ +@property (copy) NSString *description; /* (Required) */ + +/* The password for the blog (used when the blog does not have a stored password). */ +@property (nonatomic, copy) 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, copy) NSString *service; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.m new file mode 100644 index 0000000..d44cf6a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.m @@ -0,0 +1,125 @@ +// +// FKFlickrBlogsPostPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 + + +@synthesize description = _description; + +- (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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.h new file mode 100644 index 0000000..881197d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.h @@ -0,0 +1,58 @@ +// +// FKFlickrCamerasGetBrandModels.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *brand; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.m new file mode 100644 index 0000000..6cdcffd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.m @@ -0,0 +1,85 @@ +// +// FKFlickrCamerasGetBrandModels.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.h new file mode 100644 index 0000000..44801ce --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.h @@ -0,0 +1,44 @@ +// +// FKFlickrCamerasGetBrands.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.m new file mode 100644 index 0000000..fdb7b45 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.m @@ -0,0 +1,76 @@ +// +// FKFlickrCamerasGetBrands.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.h new file mode 100644 index 0000000..e8aadf5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.h @@ -0,0 +1,56 @@ +// +// FKFlickrCollectionsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *collection_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.m new file mode 100644 index 0000000..68f1098 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.m @@ -0,0 +1,95 @@ +// +// FKFlickrCollectionsGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.h new file mode 100644 index 0000000..19a873b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.h @@ -0,0 +1,53 @@ +// +// FKFlickrCollectionsGetTree.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *collection_id; + +/* The ID of the account to fetch the collection tree for. Deafults to the calling user. */ +@property (nonatomic, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.m new file mode 100644 index 0000000..0380f42 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.m @@ -0,0 +1,86 @@ +// +// FKFlickrCollectionsGetTree.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.h new file mode 100644 index 0000000..d8bb2be --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.h @@ -0,0 +1,49 @@ +// +// FKFlickrCommonsGetInstitutions.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.m new file mode 100644 index 0000000..995c86c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.m @@ -0,0 +1,76 @@ +// +// FKFlickrCommonsGetInstitutions.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.h new file mode 100644 index 0000000..075b8a7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.h @@ -0,0 +1,80 @@ +// +// FKFlickrContactsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *filter; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The order in which to sort the returned contacts. Defaults to name. The possible values are: name and time. */ +@property (nonatomic, copy) NSString *sort; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.m new file mode 100644 index 0000000..6651f55 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetList.m @@ -0,0 +1,100 @@ +// +// FKFlickrContactsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.h new file mode 100644 index 0000000..2d39daa --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.h @@ -0,0 +1,57 @@ +// +// FKFlickrContactsGetListRecentlyUploaded.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *filter; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.m new file mode 100644 index 0000000..bb4604e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.m @@ -0,0 +1,92 @@ +// +// FKFlickrContactsGetListRecentlyUploaded.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.h new file mode 100644 index 0000000..5a45169 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.h @@ -0,0 +1,53 @@ +// +// FKFlickrContactsGetPublicList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.m new file mode 100644 index 0000000..3019c1c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.m @@ -0,0 +1,91 @@ +// +// FKFlickrContactsGetPublicList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.h new file mode 100644 index 0000000..cf1aeb4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.h @@ -0,0 +1,53 @@ +// +// FKFlickrContactsGetTaggingSuggestions.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Number of contacts to return per page. If this argument is omitted, all contacts will be returned. */ +@property (nonatomic, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.m new file mode 100644 index 0000000..29b7557 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.m @@ -0,0 +1,92 @@ +// +// FKFlickrContactsGetTaggingSuggestions.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.h new file mode 100644 index 0000000..611c2f7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.h @@ -0,0 +1,48 @@ +// +// FKFlickrFavoritesAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.m new file mode 100644 index 0000000..39c6453 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.m @@ -0,0 +1,101 @@ +// +// FKFlickrFavoritesAdd.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.h new file mode 100644 index 0000000..871456d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.h @@ -0,0 +1,54 @@ +// +// FKFlickrFavoritesGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The user who counts the photo as a favorite. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.m new file mode 100644 index 0000000..acf9ce0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.m @@ -0,0 +1,96 @@ +// +// FKFlickrFavoritesGetContext.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.h new file mode 100644 index 0000000..5ba8535 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.h @@ -0,0 +1,60 @@ +// +// FKFlickrFavoritesGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + +/* Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m new file mode 100644 index 0000000..98c52cd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m @@ -0,0 +1,106 @@ +// +// FKFlickrFavoritesGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h new file mode 100644 index 0000000..50ec030 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h @@ -0,0 +1,55 @@ +// +// FKFlickrFavoritesGetPublicList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + +/* Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m new file mode 100644 index 0000000..e41c3be --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m @@ -0,0 +1,100 @@ +// +// FKFlickrFavoritesGetPublicList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h new file mode 100644 index 0000000..521366f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h @@ -0,0 +1,47 @@ +// +// FKFlickrFavoritesRemove.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.m new file mode 100644 index 0000000..543b56d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.m @@ -0,0 +1,99 @@ +// +// FKFlickrFavoritesRemove.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.h new file mode 100644 index 0000000..80ee13c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.h @@ -0,0 +1,55 @@ +// +// FKFlickrGalleriesAddPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + +/* The photo ID to add to the gallery */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + +/* A short comment or story to accompany the photo. */ +@property (nonatomic, copy) NSString *comment; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.m new file mode 100644 index 0000000..90fe33c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.m @@ -0,0 +1,113 @@ +// +// FKFlickrGalleriesAddPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.h new file mode 100644 index 0000000..7bcc8f8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.h @@ -0,0 +1,60 @@ +// +// FKFlickrGalleriesCreate.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *title; /* (Required) */ + +/* A short description for the gallery */ +@property (copy) NSString *description; /* (Required) */ + +/* The first photo to add to your gallery */ +@property (nonatomic, copy) NSString *primary_photo_id; + +/* Get the result in the same format as galleries.getList */ +@property (nonatomic, copy) NSString *full_result; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.m new file mode 100644 index 0000000..f8416f2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.m @@ -0,0 +1,113 @@ +// +// FKFlickrGalleriesCreate.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 + + +@synthesize description = _description; + +- (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"]; + } + if(self.full_result) { + [args setValue:self.full_result forKey:@"full_result"]; + } + + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.h new file mode 100644 index 0000000..789de6d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.h @@ -0,0 +1,52 @@ +// +// FKFlickrGalleriesEditMeta.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + +/* The new title for the gallery. */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* The new description for the gallery. */ +@property (copy) NSString *description; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.m new file mode 100644 index 0000000..35d055f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.m @@ -0,0 +1,108 @@ +// +// FKFlickrGalleriesEditMeta.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 + + +@synthesize description = _description; + +- (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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.h new file mode 100644 index 0000000..ff05233 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.h @@ -0,0 +1,51 @@ +// +// FKFlickrGalleriesEditPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + +/* The photo ID to add to the gallery. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + +/* The updated comment the photo. */ +@property (nonatomic, copy) NSString *comment; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.m new file mode 100644 index 0000000..971af7e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.m @@ -0,0 +1,109 @@ +// +// FKFlickrGalleriesEditPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.h new file mode 100644 index 0000000..dd45c77 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.h @@ -0,0 +1,50 @@ +// +// FKFlickrGalleriesEditPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.m new file mode 100644 index 0000000..97695d5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.m @@ -0,0 +1,107 @@ +// +// FKFlickrGalleriesEditPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.h new file mode 100644 index 0000000..a0b6346 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.h @@ -0,0 +1,47 @@ +// +// FKFlickrGalleriesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.m new file mode 100644 index 0000000..da1d87f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.m @@ -0,0 +1,83 @@ +// +// FKFlickrGalleriesGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.h new file mode 100644 index 0000000..7b928ed --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.h @@ -0,0 +1,69 @@ +// +// FKFlickrGalleriesGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + +/* A comma-delimited list of extra information to fetch for the primary photo. 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, copy) NSString *primary_photo_extras; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.m new file mode 100644 index 0000000..6181972 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.m @@ -0,0 +1,92 @@ +// +// FKFlickrGalleriesGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + if(self.primary_photo_extras) { + [args setValue:self.primary_photo_extras forKey:@"primary_photo_extras"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.h new file mode 100644 index 0000000..dac5a63 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.h @@ -0,0 +1,66 @@ +// +// FKFlickrGalleriesGetListForPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.m new file mode 100644 index 0000000..99e7f99 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.m @@ -0,0 +1,89 @@ +// +// FKFlickrGalleriesGetListForPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.h new file mode 100644 index 0000000..aed1f5f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.h @@ -0,0 +1,58 @@ +// +// FKFlickrGalleriesGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m new file mode 100644 index 0000000..e5a2a1e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m @@ -0,0 +1,92 @@ +// +// FKFlickrGalleriesGetPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h new file mode 100644 index 0000000..deac6d8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h @@ -0,0 +1,54 @@ +// +// FKFlickrGroupsDiscussRepliesAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic to post a comment to. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The message to post to the topic. */ +@property (nonatomic, copy) NSString *message; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.m new file mode 100644 index 0000000..cfb433b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.m @@ -0,0 +1,113 @@ +// +// FKFlickrGroupsDiscussRepliesAdd.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_id) { + valid = NO; + [errorDescription appendString:@"'group_id', "]; + } + 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.group_id) { + [args setValue:self.group_id forKey:@"group_id"]; + } + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.h new file mode 100644 index 0000000..da9aa9c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.h @@ -0,0 +1,53 @@ +// +// FKFlickrGroupsDiscussRepliesDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic the post is in. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The ID of the reply to delete. */ +@property (nonatomic, copy) NSString *reply_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.m new file mode 100644 index 0000000..78b9a71 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.m @@ -0,0 +1,113 @@ +// +// FKFlickrGroupsDiscussRepliesDelete.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_id) { + valid = NO; + [errorDescription appendString:@"'group_id', "]; + } + 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.group_id) { + [args setValue:self.group_id forKey:@"group_id"]; + } + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.h new file mode 100644 index 0000000..e0da4b9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.h @@ -0,0 +1,58 @@ +// +// FKFlickrGroupsDiscussRepliesEdit.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic the post is in. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The ID of the reply post to edit. */ +@property (nonatomic, copy) NSString *reply_id; /* (Required) */ + +/* The message to edit the post with. */ +@property (nonatomic, copy) NSString *message; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.m new file mode 100644 index 0000000..c05361f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.m @@ -0,0 +1,124 @@ +// +// FKFlickrGroupsDiscussRepliesEdit.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_id) { + valid = NO; + [errorDescription appendString:@"'group_id', "]; + } + 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.group_id) { + [args setValue:self.group_id forKey:@"group_id"]; + } + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h new file mode 100644 index 0000000..fff8dc8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h @@ -0,0 +1,54 @@ +// +// FKFlickrGroupsDiscussRepliesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic the post is in. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The ID of the reply to fetch. */ +@property (nonatomic, copy) NSString *reply_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.m new file mode 100644 index 0000000..0078109 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.m @@ -0,0 +1,101 @@ +// +// FKFlickrGroupsDiscussRepliesGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_id) { + valid = NO; + [errorDescription appendString:@"'group_id', "]; + } + 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.group_id) { + [args setValue:self.group_id forKey:@"group_id"]; + } + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.h new file mode 100644 index 0000000..c7e9074 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.h @@ -0,0 +1,74 @@ +// +// FKFlickrGroupsDiscussRepliesGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic to fetch replies for. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; /* (Required) */ + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.m new file mode 100644 index 0000000..afaac5e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.m @@ -0,0 +1,102 @@ +// +// FKFlickrGroupsDiscussRepliesGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_id) { + valid = NO; + [errorDescription appendString:@"'group_id', "]; + } + 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.group_id) { + [args setValue:self.group_id forKey:@"group_id"]; + } + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.h new file mode 100644 index 0000000..d548802 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.h @@ -0,0 +1,56 @@ +// +// FKFlickrGroupsDiscussTopicsAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 or path alias of the group to add a topic to. + */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The topic subject. */ +@property (nonatomic, copy) NSString *subject; /* (Required) */ + +/* The topic message. */ +@property (nonatomic, copy) NSString *message; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.m new file mode 100644 index 0000000..4429e00 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.m @@ -0,0 +1,115 @@ +// +// FKFlickrGroupsDiscussTopicsAdd.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.h new file mode 100644 index 0000000..7d883e8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.h @@ -0,0 +1,50 @@ +// +// FKFlickrGroupsDiscussTopicsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* NSID or group alias of the group to which the topic belongs. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get better performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID for the topic to edit. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.m new file mode 100644 index 0000000..8ec217b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.m @@ -0,0 +1,92 @@ +// +// FKFlickrGroupsDiscussTopicsGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_id) { + valid = NO; + [errorDescription appendString:@"'group_id', "]; + } + 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.group_id) { + [args setValue:self.group_id forKey:@"group_id"]; + } + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.h new file mode 100644 index 0000000..59a381a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.h @@ -0,0 +1,73 @@ +// +// FKFlickrGroupsDiscussTopicsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 or path alias of the group to fetch information for. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.m new file mode 100644 index 0000000..783816e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.m @@ -0,0 +1,91 @@ +// +// FKFlickrGroupsDiscussTopicsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h new file mode 100644 index 0000000..1aa8a19 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h @@ -0,0 +1,58 @@ +// +// FKFlickrGroupsBrowse.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *cat_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.m new file mode 100644 index 0000000..365da5c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.m @@ -0,0 +1,91 @@ +// +// FKFlickrGroupsBrowse.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.h new file mode 100644 index 0000000..e9d057f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.h @@ -0,0 +1,58 @@ +// +// FKFlickrGroupsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_GroupIsPrivate = 2, /* This is a private group. */ + FKFlickrGroupsGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ + FKFlickrGroupsGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ + FKFlickrGroupsGetInfoError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* The path alias of the group. One of this or the group_id param is required */ +@property (nonatomic, copy) NSString *group_path_alias; + +/* 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, copy) NSString *lang; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.m new file mode 100644 index 0000000..8af4635 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.m @@ -0,0 +1,93 @@ +// +// FKFlickrGroupsGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.group_path_alias) { + [args setValue:self.group_path_alias forKey:@"group_path_alias"]; + } + 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_GroupIsPrivate: + return @"Group is private"; + case FKFlickrGroupsGetInfoError_InvalidAPIKey: + return @"Invalid API Key"; + case FKFlickrGroupsGetInfoError_ServiceCurrentlyUnavailable: + return @"Service currently unavailable"; + case FKFlickrGroupsGetInfoError_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.h new file mode 100644 index 0000000..fa3e1e3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.h @@ -0,0 +1,55 @@ +// +// FKFlickrGroupsJoin.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_UserUnableToJoin = 11, /* This user is unable to join this group. */ + FKFlickrGroupsJoinError_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *accept_rules; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.m new file mode 100644 index 0000000..0f986b1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoin.m @@ -0,0 +1,112 @@ +// +// FKFlickrGroupsJoin.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_UserUnableToJoin: + return @"User unable to join"; + case FKFlickrGroupsJoinError_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.h new file mode 100644 index 0000000..0023854 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.h @@ -0,0 +1,57 @@ +// +// FKFlickrGroupsJoinRequest.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* Message to the administrators. */ +@property (nonatomic, copy) 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, copy) NSString *accept_rules; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.m new file mode 100644 index 0000000..8f974c6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.m @@ -0,0 +1,121 @@ +// +// FKFlickrGroupsJoinRequest.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.h new file mode 100644 index 0000000..5199b66 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.h @@ -0,0 +1,54 @@ +// +// FKFlickrGroupsLeave.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* Delete all photos by this user from the group */ +@property (nonatomic, copy) NSString *delete_photos; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.m new file mode 100644 index 0000000..cbe5477 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsLeave.m @@ -0,0 +1,102 @@ +// +// FKFlickrGroupsLeave.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.h new file mode 100644 index 0000000..020e8e1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.h @@ -0,0 +1,59 @@ +// +// FKFlickrGroupsSearch.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is ommited, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.m new file mode 100644 index 0000000..9f21be1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/FKFlickrGroupsSearch.m @@ -0,0 +1,91 @@ +// +// FKFlickrGroupsSearch.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.h new file mode 100644 index 0000000..3748b99 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.h @@ -0,0 +1,68 @@ +// +// FKFlickrGroupsMembersGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.m new file mode 100644 index 0000000..c079fbb --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.m @@ -0,0 +1,104 @@ +// +// FKFlickrGroupsMembersGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.h new file mode 100644 index 0000000..84c7276 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.h @@ -0,0 +1,56 @@ +// +// FKFlickrGroupsPoolsAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the group who's pool the photo is to be added to. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.m new file mode 100644 index 0000000..203c4cf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.m @@ -0,0 +1,118 @@ +// +// FKFlickrGroupsPoolsAdd.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.h new file mode 100644 index 0000000..1476ea8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.h @@ -0,0 +1,51 @@ +// +// FKFlickrGroupsPoolsGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The nsid of the group who's pool to fetch the photo's context for. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.m new file mode 100644 index 0000000..6c7eb78 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.m @@ -0,0 +1,96 @@ +// +// FKFlickrGroupsPoolsGetContext.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.h new file mode 100644 index 0000000..b7cfe7e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.h @@ -0,0 +1,57 @@ +// +// FKFlickrGroupsPoolsGetGroups.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.m new file mode 100644 index 0000000..3fdd884 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.m @@ -0,0 +1,92 @@ +// +// FKFlickrGroupsPoolsGetGroups.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.h new file mode 100644 index 0000000..f76f81e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.h @@ -0,0 +1,65 @@ +// +// FKFlickrGroupsPoolsGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_GroupOrpoolIsMemberOnly = 4, /* */ + FKFlickrGroupsPoolsGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ + FKFlickrGroupsPoolsGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ + FKFlickrGroupsPoolsGetPhotosError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* A tag to filter the pool with. At the moment only one tag at a time is supported. */ +@property (nonatomic, copy) 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, copy) NSString *user_id; + +/* 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m new file mode 100644 index 0000000..04ab0a1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m @@ -0,0 +1,106 @@ +// +// FKFlickrGroupsPoolsGetPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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_GroupOrpoolIsMemberOnly: + return @"Group/pool is member only"; + case FKFlickrGroupsPoolsGetPhotosError_InvalidAPIKey: + return @"Invalid API Key"; + case FKFlickrGroupsPoolsGetPhotosError_ServiceCurrentlyUnavailable: + return @"Service currently unavailable"; + case FKFlickrGroupsPoolsGetPhotosError_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h new file mode 100644 index 0000000..2bf779c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h @@ -0,0 +1,50 @@ +// +// FKFlickrGroupsPoolsRemove.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the group who's pool the photo is to removed from. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.m new file mode 100644 index 0000000..d8a055c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.m @@ -0,0 +1,106 @@ +// +// FKFlickrGroupsPoolsRemove.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.h new file mode 100644 index 0000000..9ca4d5e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.h @@ -0,0 +1,49 @@ +// +// FKFlickrInterestingnessGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m new file mode 100644 index 0000000..945a8f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m @@ -0,0 +1,90 @@ +// +// FKFlickrInterestingnessGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h new file mode 100644 index 0000000..a7a7872 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h @@ -0,0 +1,56 @@ +// +// FKFlickrMachinetagsGetNamespaces.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.m new file mode 100644 index 0000000..7368fd1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.m @@ -0,0 +1,87 @@ +// +// FKFlickrMachinetagsGetNamespaces.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.h new file mode 100644 index 0000000..59de280 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.h @@ -0,0 +1,57 @@ +// +// FKFlickrMachinetagsGetPairs.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *namespace; + +/* Limit the list of pairs returned to those that have the following predicate. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.m new file mode 100644 index 0000000..61de5bf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.m @@ -0,0 +1,92 @@ +// +// FKFlickrMachinetagsGetPairs.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.h new file mode 100644 index 0000000..030537d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.h @@ -0,0 +1,53 @@ +// +// FKFlickrMachinetagsGetPredicates.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.m new file mode 100644 index 0000000..1d7a675 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.m @@ -0,0 +1,87 @@ +// +// FKFlickrMachinetagsGetPredicates.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.h new file mode 100644 index 0000000..3307e08 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.h @@ -0,0 +1,52 @@ +// +// FKFlickrMachinetagsGetRecentValues.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *namespace; + +/* A predicate that all values should be restricted to. */ +@property (nonatomic, copy) NSString *predicate; + +/* Only return machine tags values that have been added since this timestamp, in epoch seconds. */ +@property (nonatomic, copy) NSString *added_since; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.m new file mode 100644 index 0000000..85ef6a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.m @@ -0,0 +1,85 @@ +// +// FKFlickrMachinetagsGetRecentValues.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.h new file mode 100644 index 0000000..780fea7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.h @@ -0,0 +1,56 @@ +// +// FKFlickrMachinetagsGetValues.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *namespace; /* (Required) */ + +/* The predicate that all values should be restricted to. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.m new file mode 100644 index 0000000..1cd1331 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.m @@ -0,0 +1,100 @@ +// +// FKFlickrMachinetagsGetValues.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.h new file mode 100644 index 0000000..17af89c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.h @@ -0,0 +1,44 @@ +// +// FKFlickrPandaGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.m new file mode 100644 index 0000000..b4f6b18 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetList.m @@ -0,0 +1,76 @@ +// +// FKFlickrPandaGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.h new file mode 100644 index 0000000..b609281 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.h @@ -0,0 +1,69 @@ +// +// FKFlickrPandaGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m new file mode 100644 index 0000000..f1e5895 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m @@ -0,0 +1,96 @@ +// +// FKFlickrPandaGetPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h new file mode 100644 index 0000000..c879479 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h @@ -0,0 +1,44 @@ +// +// FKFlickrPeopleFindByEmail.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *find_email; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.m new file mode 100644 index 0000000..af8177a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.m @@ -0,0 +1,85 @@ +// +// FKFlickrPeopleFindByEmail.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.h new file mode 100644 index 0000000..27246d0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.h @@ -0,0 +1,44 @@ +// +// FKFlickrPeopleFindByUsername.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *username; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.m new file mode 100644 index 0000000..238d533 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.m @@ -0,0 +1,85 @@ +// +// FKFlickrPeopleFindByUsername.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.h new file mode 100644 index 0000000..328d1d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.h @@ -0,0 +1,56 @@ +// +// FKFlickrPeopleGetGroups.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m new file mode 100644 index 0000000..a2000c3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m @@ -0,0 +1,98 @@ +// +// FKFlickrPeopleGetGroups.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h new file mode 100644 index 0000000..5a58c8e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h @@ -0,0 +1,59 @@ +// +// FKFlickrPeopleGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.m new file mode 100644 index 0000000..2e17267 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.m @@ -0,0 +1,85 @@ +// +// FKFlickrPeopleGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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(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 FKFlickrPeopleGetInfoError_UserNotFound: + return @"User not found"; + case FKFlickrPeopleGetInfoError_InvalidAPIKey: + return @"Invalid API Key"; + case FKFlickrPeopleGetInfoError_ServiceCurrentlyUnavailable: + return @"Service currently unavailable"; + case FKFlickrPeopleGetInfoError_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.h new file mode 100644 index 0000000..d85a907 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.h @@ -0,0 +1,54 @@ +// +// FKFlickrPeopleGetLimits.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.m new file mode 100644 index 0000000..57737f5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetLimits.m @@ -0,0 +1,86 @@ +// +// FKFlickrPeopleGetLimits.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.h new file mode 100644 index 0000000..da6315f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.h @@ -0,0 +1,95 @@ +// +// FKFlickrPeopleGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ + FKFlickrPeopleGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ + FKFlickrPeopleGetPhotosError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m new file mode 100644 index 0000000..3405b59 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m @@ -0,0 +1,117 @@ +// +// FKFlickrPeopleGetPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 NO; +} + +- (BOOL) needsSigning { + return NO; +} + +- (FKPermission) requiredPerms { + return -1; +} + +- (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_InvalidAPIKey: + return @"Invalid API Key"; + case FKFlickrPeopleGetPhotosError_ServiceCurrentlyUnavailable: + return @"Service currently unavailable"; + case FKFlickrPeopleGetPhotosError_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h new file mode 100644 index 0000000..32e47d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h @@ -0,0 +1,72 @@ +// +// FKFlickrPeopleGetPhotosOf.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m new file mode 100644 index 0000000..31c69f4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m @@ -0,0 +1,97 @@ +// +// FKFlickrPeopleGetPhotosOf.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h new file mode 100644 index 0000000..1cf0ca3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h @@ -0,0 +1,53 @@ +// +// FKFlickrPeopleGetPublicGroups.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + +/* Include public groups that require an invitation or administrator approval to join. */ +@property (nonatomic, copy) NSString *invitation_only; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.m new file mode 100644 index 0000000..7699e8e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.m @@ -0,0 +1,88 @@ +// +// FKFlickrPeopleGetPublicGroups.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.h new file mode 100644 index 0000000..57c7df5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.h @@ -0,0 +1,60 @@ +// +// FKFlickrPeopleGetPublicPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m new file mode 100644 index 0000000..61d7545 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m @@ -0,0 +1,97 @@ +// +// FKFlickrPeopleGetPublicPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h new file mode 100644 index 0000000..cca3b3b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h @@ -0,0 +1,70 @@ +// +// FKFlickrPeopleGetUploadStatus.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.m new file mode 100644 index 0000000..0ace3d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.m @@ -0,0 +1,86 @@ +// +// FKFlickrPeopleGetUploadStatus.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.h new file mode 100644 index 0000000..f7ec880 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.h @@ -0,0 +1,52 @@ +// +// FKFlickrPhotosCommentsAddComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* Text of the comment */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.m new file mode 100644 index 0000000..1e95fd5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosCommentsAddComment.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.h new file mode 100644 index 0000000..3eda6a2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosCommentsDeleteComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.m new file mode 100644 index 0000000..fc41c1d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.m @@ -0,0 +1,97 @@ +// +// FKFlickrPhotosCommentsDeleteComment.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.h new file mode 100644 index 0000000..bf86d6e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosCommentsEditComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + +/* Update the comment to this text. */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.m new file mode 100644 index 0000000..5f22b43 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosCommentsEditComment.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.h new file mode 100644 index 0000000..1c046b7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.h @@ -0,0 +1,53 @@ +// +// FKFlickrPhotosCommentsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *min_comment_date; + +/* Maximum date that a comment was added. The date should be in the form of a unix timestamp. */ +@property (nonatomic, copy) NSString *max_comment_date; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.m new file mode 100644 index 0000000..d6fb4c5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.m @@ -0,0 +1,91 @@ +// +// FKFlickrPhotosCommentsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.h new file mode 100644 index 0000000..6f467b1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.h @@ -0,0 +1,60 @@ +// +// FKFlickrPhotosCommentsGetRecentForContacts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date_lastcomment; + +/* A comma-separated list of contact NSIDs to limit the scope of the query to. */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m new file mode 100644 index 0000000..bdbcc00 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m @@ -0,0 +1,101 @@ +// +// FKFlickrPhotosCommentsGetRecentForContacts.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h new file mode 100644 index 0000000..a4d8a6d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosAddTags.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The tags to add to the photo. */ +@property (nonatomic, copy) NSString *tags; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.m new file mode 100644 index 0000000..128aee0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosAddTags.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.h new file mode 100644 index 0000000..5ee9ffa --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.m new file mode 100644 index 0000000..b6452fb --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosDelete.m @@ -0,0 +1,95 @@ +// +// FKFlickrPhotosDelete.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.h new file mode 100644 index 0000000..d84e42f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.h @@ -0,0 +1,43 @@ +// +// FKFlickrPhotosGetAllContexts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.m new file mode 100644 index 0000000..af55fd7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.m @@ -0,0 +1,85 @@ +// +// FKFlickrPhotosGetAllContexts.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.h new file mode 100644 index 0000000..f0ad15f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.h @@ -0,0 +1,68 @@ +// +// FKFlickrPhotosGetContactsPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *count; + +/* set as 1 to only show photos from friends and family (excluding regular contacts). */ +@property (nonatomic, copy) NSString *just_friends; + +/* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */ +@property (nonatomic, copy) NSString *single_photo; + +/* Set to 1 to include photos from the calling user. */ +@property (nonatomic, copy) 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, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m new file mode 100644 index 0000000..f0e8a2a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m @@ -0,0 +1,101 @@ +// +// FKFlickrPhotosGetContactsPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h new file mode 100644 index 0000000..77e9d1d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h @@ -0,0 +1,67 @@ +// +// FKFlickrPhotosGetContactsPublicPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *count; + +/* set as 1 to only show photos from friends and family (excluding regular contacts). */ +@property (nonatomic, copy) NSString *just_friends; + +/* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */ +@property (nonatomic, copy) NSString *single_photo; + +/* Set to 1 to include photos from the user specified by user_id. */ +@property (nonatomic, copy) 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, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m new file mode 100644 index 0000000..b555785 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m @@ -0,0 +1,100 @@ +// +// FKFlickrPhotosGetContactsPublicPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h new file mode 100644 index 0000000..2a95cae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m new file mode 100644 index 0000000..d302885 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m @@ -0,0 +1,85 @@ +// +// FKFlickrPhotosGetContext.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h new file mode 100644 index 0000000..3f987e2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h @@ -0,0 +1,59 @@ +// +// FKFlickrPhotosGetCounts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *dates; + +/* A comma delimited list of mysql datetimes, denoting the periods to return counts for. They should be specified smallest first. */ +@property (nonatomic, copy) NSString *taken_dates; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.m new file mode 100644 index 0000000..d23a24a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.m @@ -0,0 +1,94 @@ +// +// FKFlickrPhotosGetCounts.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.h new file mode 100644 index 0000000..d33077f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.h @@ -0,0 +1,60 @@ +// +// FKFlickrPhotosGetExif.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *secret; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.m new file mode 100644 index 0000000..bf3bb93 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.m @@ -0,0 +1,90 @@ +// +// FKFlickrPhotosGetExif.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.h new file mode 100644 index 0000000..5a19507 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.h @@ -0,0 +1,60 @@ +// +// FKFlickrPhotosGetFavorites.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.m new file mode 100644 index 0000000..9725029 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.m @@ -0,0 +1,91 @@ +// +// FKFlickrPhotosGetFavorites.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.h new file mode 100644 index 0000000..e519412 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.h @@ -0,0 +1,73 @@ +// +// FKFlickrPhotosGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *secret; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.m new file mode 100644 index 0000000..e025cb2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.m @@ -0,0 +1,88 @@ +// +// FKFlickrPhotosGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.h new file mode 100644 index 0000000..e4b528b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.h @@ -0,0 +1,76 @@ +// +// FKFlickrPhotosGetNotInSet.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *privacy_filter; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m new file mode 100644 index 0000000..2b286b1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m @@ -0,0 +1,113 @@ +// +// FKFlickrPhotosGetNotInSet.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h new file mode 100644 index 0000000..594a668 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h @@ -0,0 +1,47 @@ +// +// FKFlickrPhotosGetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.m new file mode 100644 index 0000000..0c88275 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.m @@ -0,0 +1,95 @@ +// +// FKFlickrPhotosGetPerms.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.h new file mode 100644 index 0000000..c51d280 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosGetRecent.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m new file mode 100644 index 0000000..bd2f2ec --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m @@ -0,0 +1,87 @@ +// +// FKFlickrPhotosGetRecent.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h new file mode 100644 index 0000000..a9e76f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h @@ -0,0 +1,55 @@ +// +// FKFlickrPhotosGetSizes.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.m new file mode 100644 index 0000000..8c3f1ca --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.m @@ -0,0 +1,87 @@ +// +// FKFlickrPhotosGetSizes.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.h new file mode 100644 index 0000000..9575e1e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.h @@ -0,0 +1,76 @@ +// +// FKFlickrPhotosGetUntagged.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *privacy_filter; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m new file mode 100644 index 0000000..21c0057 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m @@ -0,0 +1,113 @@ +// +// FKFlickrPhotosGetUntagged.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h new file mode 100644 index 0000000..66388f9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h @@ -0,0 +1,79 @@ +// +// FKFlickrPhotosGetWithGeoData.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *sort; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m new file mode 100644 index 0000000..0f41a9e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m @@ -0,0 +1,116 @@ +// +// FKFlickrPhotosGetWithGeoData.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h new file mode 100644 index 0000000..54db4dd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h @@ -0,0 +1,79 @@ +// +// FKFlickrPhotosGetWithoutGeoData.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *sort; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m new file mode 100644 index 0000000..f501310 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m @@ -0,0 +1,116 @@ +// +// FKFlickrPhotosGetWithoutGeoData.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h new file mode 100644 index 0000000..4574548 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h @@ -0,0 +1,68 @@ +// +// FKFlickrPhotosRecentlyUpdated.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m new file mode 100644 index 0000000..682e134 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosRecentlyUpdated.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h new file mode 100644 index 0000000..7468e4d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosRemoveTag.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.m new file mode 100644 index 0000000..03e31b1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.m @@ -0,0 +1,95 @@ +// +// FKFlickrPhotosRemoveTag.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.h new file mode 100644 index 0000000..0a70025 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.h @@ -0,0 +1,248 @@ +// +// FKFlickrPhotosSearch.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *tags; + +/* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *group_id; + +/* Search your contacts. Either 'all' or 'ff' for just friends and family. (Experimental) */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *place_id; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *in_gallery; + +/* Limit the scope of the search to only photos that are for sale on Getty. Default is false. */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m new file mode 100644 index 0000000..0f4c414 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m @@ -0,0 +1,206 @@ +// +// FKFlickrPhotosSearch.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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.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.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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h new file mode 100644 index 0000000..666e8bf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h @@ -0,0 +1,54 @@ +// +// FKFlickrPhotosSetContentType.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *content_type; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.m new file mode 100644 index 0000000..a6dc8ae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosSetContentType.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.h new file mode 100644 index 0000000..7bf3e72 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosSetDates.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The date the photo was uploaded to flickr (see the dates documentation) */ +@property (nonatomic, copy) NSString *date_posted; + +/* The date the photo was taken (see the dates documentation) */ +@property (nonatomic, copy) NSString *date_taken; + +/* The granularity of the date the photo was taken (see the dates documentation) */ +@property (nonatomic, copy) NSString *date_taken_granularity; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.m new file mode 100644 index 0000000..58a01de --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.m @@ -0,0 +1,108 @@ +// +// FKFlickrPhotosSetDates.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.h new file mode 100644 index 0000000..9ec45b5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.h @@ -0,0 +1,51 @@ +// +// FKFlickrPhotosSetMeta.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The title for the photo. */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* The description for the photo. */ +@property (copy) NSString *description; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.m new file mode 100644 index 0000000..868d250 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.m @@ -0,0 +1,110 @@ +// +// FKFlickrPhotosSetMeta.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 + + +@synthesize description = _description; + +- (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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.h new file mode 100644 index 0000000..ea99c97 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.h @@ -0,0 +1,72 @@ +// +// FKFlickrPhotosSetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* 1 to set the photo to public, 0 to set it to private. */ +@property (nonatomic, copy) NSString *is_public; /* (Required) */ + +/* 1 to make the photo visible to friends when private, 0 to not. */ +@property (nonatomic, copy) NSString *is_friend; /* (Required) */ + +/* 1 to make the photo visible to family when private, 0 to not. */ +@property (nonatomic, copy) 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, copy) NSString *perm_comment; + +/* 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, copy) NSString *perm_addmeta; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m new file mode 100644 index 0000000..f8294c4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m @@ -0,0 +1,124 @@ +// +// FKFlickrPhotosSetPerms.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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(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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h new file mode 100644 index 0000000..c10f7f6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h @@ -0,0 +1,59 @@ +// +// FKFlickrPhotosSetSafetyLevel.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *hidden; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.m new file mode 100644 index 0000000..ed31bfa --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.m @@ -0,0 +1,105 @@ +// +// FKFlickrPhotosSetSafetyLevel.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.h new file mode 100644 index 0000000..2a86ec0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosSetTags.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* All tags for the photo (as a single space-delimited string). */ +@property (nonatomic, copy) NSString *tags; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.m new file mode 100644 index 0000000..9f535ae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosSetTags.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.h new file mode 100644 index 0000000..f06ac87 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.h @@ -0,0 +1,64 @@ +// +// FKFlickrPhotosGeoBatchCorrectLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *accuracy; /* (Required) */ + +/* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ +@property (nonatomic, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.m new file mode 100644 index 0000000..3583912 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.m @@ -0,0 +1,125 @@ +// +// FKFlickrPhotosGeoBatchCorrectLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.h new file mode 100644 index 0000000..28146a9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.h @@ -0,0 +1,57 @@ +// +// FKFlickrPhotosGeoCorrectLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *foursquare_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.m new file mode 100644 index 0000000..4cffca1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.m @@ -0,0 +1,114 @@ +// +// FKFlickrPhotosGeoCorrectLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.h new file mode 100644 index 0000000..290e991 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.h @@ -0,0 +1,48 @@ +// +// FKFlickrPhotosGeoGetLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* Extra flags. */ +@property (nonatomic, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.m new file mode 100644 index 0000000..6b95d42 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.m @@ -0,0 +1,90 @@ +// +// FKFlickrPhotosGeoGetLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.h new file mode 100644 index 0000000..9fae59d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.h @@ -0,0 +1,48 @@ +// +// FKFlickrPhotosGeoGetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.m new file mode 100644 index 0000000..d451f3d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.m @@ -0,0 +1,97 @@ +// +// FKFlickrPhotosGeoGetPerms.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.h new file mode 100644 index 0000000..482965e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.h @@ -0,0 +1,63 @@ +// +// FKFlickrPhotosGeoPhotosForLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m new file mode 100644 index 0000000..4967e31 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m @@ -0,0 +1,120 @@ +// +// FKFlickrPhotosGeoPhotosForLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h new file mode 100644 index 0000000..6a17ccb --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosGeoRemoveLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.m new file mode 100644 index 0000000..1b7c671 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.m @@ -0,0 +1,97 @@ +// +// FKFlickrPhotosGeoRemoveLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.h new file mode 100644 index 0000000..81ee330 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosGeoSetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *context; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.m new file mode 100644 index 0000000..7e1f36b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosGeoSetContext.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.h new file mode 100644 index 0000000..fa60570 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.h @@ -0,0 +1,73 @@ +// +// FKFlickrPhotosGeoSetLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *context; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.m new file mode 100644 index 0000000..d8aa417 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.m @@ -0,0 +1,127 @@ +// +// FKFlickrPhotosGeoSetLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.h new file mode 100644 index 0000000..aae836e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.h @@ -0,0 +1,59 @@ +// +// FKFlickrPhotosGeoSetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *is_family; /* (Required) */ + +/* The id of the photo to get permissions for. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.m new file mode 100644 index 0000000..145529f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.m @@ -0,0 +1,127 @@ +// +// FKFlickrPhotosGeoSetPerms.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.h new file mode 100644 index 0000000..88e7bde --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosLicensesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.m new file mode 100644 index 0000000..fe1b1d0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.m @@ -0,0 +1,76 @@ +// +// FKFlickrPhotosLicensesGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.h new file mode 100644 index 0000000..d4ee7b9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosLicensesSetLicense.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *license_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.m new file mode 100644 index 0000000..c30f2c8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosLicensesSetLicense.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.h new file mode 100644 index 0000000..0631e77 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.h @@ -0,0 +1,65 @@ +// +// FKFlickrPhotosNotesAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The left coordinate of the note */ +@property (nonatomic, copy) NSString *note_x; /* (Required) */ + +/* The top coordinate of the note */ +@property (nonatomic, copy) NSString *note_y; /* (Required) */ + +/* The width of the note */ +@property (nonatomic, copy) NSString *note_w; /* (Required) */ + +/* The height of the note */ +@property (nonatomic, copy) NSString *note_h; /* (Required) */ + +/* The description of the note */ +@property (nonatomic, copy) NSString *note_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.m new file mode 100644 index 0000000..e7a0c5b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.m @@ -0,0 +1,136 @@ +// +// FKFlickrPhotosNotesAdd.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.h new file mode 100644 index 0000000..469feb6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosNotesDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *note_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.m new file mode 100644 index 0000000..a2844ae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.m @@ -0,0 +1,97 @@ +// +// FKFlickrPhotosNotesDelete.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.h new file mode 100644 index 0000000..71c1649 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.h @@ -0,0 +1,63 @@ +// +// FKFlickrPhotosNotesEdit.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *note_id; /* (Required) */ + +/* The left coordinate of the note */ +@property (nonatomic, copy) NSString *note_x; /* (Required) */ + +/* The top coordinate of the note */ +@property (nonatomic, copy) NSString *note_y; /* (Required) */ + +/* The width of the note */ +@property (nonatomic, copy) NSString *note_w; /* (Required) */ + +/* The height of the note */ +@property (nonatomic, copy) NSString *note_h; /* (Required) */ + +/* The description of the note */ +@property (nonatomic, copy) NSString *note_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.m new file mode 100644 index 0000000..a6e18fa --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.m @@ -0,0 +1,134 @@ +// +// FKFlickrPhotosNotesEdit.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.h new file mode 100644 index 0000000..a5a326d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.h @@ -0,0 +1,67 @@ +// +// FKFlickrPhotosPeopleAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the user to add to the photo. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + +/* The left-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_x; + +/* The top-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_y; + +/* The width (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_w; + +/* The height (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_h; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.m new file mode 100644 index 0000000..99d6023 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.m @@ -0,0 +1,128 @@ +// +// FKFlickrPhotosPeopleAdd.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.h new file mode 100644 index 0000000..8b67a6d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosPeopleDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the person to remove from the photo. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.m new file mode 100644 index 0000000..4096e37 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosPeopleDelete.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.h new file mode 100644 index 0000000..84ac3bf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosPeopleDeleteCoords.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the person whose bounding box you want to remove. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.m new file mode 100644 index 0000000..470d906 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosPeopleDeleteCoords.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.h new file mode 100644 index 0000000..a27fb11 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.h @@ -0,0 +1,64 @@ +// +// FKFlickrPhotosPeopleEditCoords.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the person to edit in a photo. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + +/* The left-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_x; /* (Required) */ + +/* The top-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_y; /* (Required) */ + +/* The width (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_w; /* (Required) */ + +/* The height (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_h; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.m new file mode 100644 index 0000000..47a92a2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.m @@ -0,0 +1,138 @@ +// +// FKFlickrPhotosPeopleEditCoords.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.h new file mode 100644 index 0000000..fa36e8e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.h @@ -0,0 +1,47 @@ +// +// FKFlickrPhotosPeopleGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.m new file mode 100644 index 0000000..de431f6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.m @@ -0,0 +1,85 @@ +// +// FKFlickrPhotosPeopleGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.h new file mode 100644 index 0000000..5644047 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.h @@ -0,0 +1,44 @@ +// +// FKFlickrPhotosSuggestionsApproveSuggestion.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *suggestion_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.m new file mode 100644 index 0000000..554dc47 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.m @@ -0,0 +1,93 @@ +// +// FKFlickrPhotosSuggestionsApproveSuggestion.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.h new file mode 100644 index 0000000..597c572 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.h @@ -0,0 +1,55 @@ +// +// FKFlickrPhotosSuggestionsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; + +/* Only show suggestions with a given status. + +
    +
  • 0, pending
  • +
  • 1, approved
  • +
  • 2, rejected
  • +
+ +The default is pending (or "0"). */ +@property (nonatomic, copy) NSString *status_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.m new file mode 100644 index 0000000..9357dcd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.m @@ -0,0 +1,92 @@ +// +// FKFlickrPhotosSuggestionsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.h new file mode 100644 index 0000000..88b76f4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.h @@ -0,0 +1,44 @@ +// +// FKFlickrPhotosSuggestionsRejectSuggestion.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *suggestion_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.m new file mode 100644 index 0000000..6dc2295 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.m @@ -0,0 +1,93 @@ +// +// FKFlickrPhotosSuggestionsRejectSuggestion.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.h new file mode 100644 index 0000000..076edae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.h @@ -0,0 +1,44 @@ +// +// FKFlickrPhotosSuggestionsRemoveSuggestion.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *suggestion_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.m new file mode 100644 index 0000000..0f625a1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.m @@ -0,0 +1,93 @@ +// +// FKFlickrPhotosSuggestionsRemoveSuggestion.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.h new file mode 100644 index 0000000..4664cd1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.h @@ -0,0 +1,62 @@ +// +// FKFlickrPhotosSuggestionsSuggestLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) NSString *accuracy; + +/* The WOE ID of the location used to build the location hierarchy for the photo. */ +@property (nonatomic, copy) NSString *woe_id; + +/* The Flickr Places ID of the location used to build the location hierarchy for the photo. */ +@property (nonatomic, copy) NSString *place_id; + +/* A short note or history to include with the suggestion. */ +@property (nonatomic, copy) NSString *note; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.m new file mode 100644 index 0000000..a993565 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.m @@ -0,0 +1,119 @@ +// +// FKFlickrPhotosSuggestionsSuggestLocation.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.h new file mode 100644 index 0000000..a56b15c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.h @@ -0,0 +1,53 @@ +// +// FKFlickrPhotosTransformRotate.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *degrees; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.m new file mode 100644 index 0000000..cf33b02 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.m @@ -0,0 +1,108 @@ +// +// FKFlickrPhotosTransformRotate.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.h new file mode 100644 index 0000000..0958893 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.h @@ -0,0 +1,48 @@ +// +// FKFlickrPhotosUploadCheckTickets.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tickets; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.m new file mode 100644 index 0000000..5ea64ad --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.m @@ -0,0 +1,83 @@ +// +// FKFlickrPhotosUploadCheckTickets.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.h new file mode 100644 index 0000000..b42d157 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.h @@ -0,0 +1,52 @@ +// +// FKFlickrPhotosetsCommentsAddComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* Text of the comment */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.m new file mode 100644 index 0000000..44a482c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosetsCommentsAddComment.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.h new file mode 100644 index 0000000..7b7dd67 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsCommentsDeleteComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.m new file mode 100644 index 0000000..1023ce4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.m @@ -0,0 +1,95 @@ +// +// FKFlickrPhotosetsCommentsDeleteComment.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.h new file mode 100644 index 0000000..d24a04b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsCommentsEditComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + +/* Update the comment to this text. */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.m new file mode 100644 index 0000000..4f731e2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosetsCommentsEditComment.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.h new file mode 100644 index 0000000..a89876d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.h @@ -0,0 +1,47 @@ +// +// FKFlickrPhotosetsCommentsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.m new file mode 100644 index 0000000..839ce90 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.m @@ -0,0 +1,85 @@ +// +// FKFlickrPhotosetsCommentsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.h new file mode 100644 index 0000000..ce13ce7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.h @@ -0,0 +1,51 @@ +// +// FKFlickrPhotosetsAddPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The id of the photo to add to the set. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.m new file mode 100644 index 0000000..e909eaf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.m @@ -0,0 +1,108 @@ +// +// FKFlickrPhotosetsAddPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.h new file mode 100644 index 0000000..f6bdbf4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosetsCreate.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *title; /* (Required) */ + +/* A description of the photoset. May contain limited html. */ +@property (copy) NSString *description; + +/* The id of the photo to represent this set. The photo must belong to the calling user. */ +@property (nonatomic, copy) NSString *primary_photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.m new file mode 100644 index 0000000..bb22621 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.m @@ -0,0 +1,110 @@ +// +// FKFlickrPhotosetsCreate.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 + + +@synthesize description = _description; + +- (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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.h new file mode 100644 index 0000000..535f838 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.m new file mode 100644 index 0000000..a3b6b64 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.m @@ -0,0 +1,95 @@ +// +// FKFlickrPhotosetsDelete.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.h new file mode 100644 index 0000000..b945e11 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.h @@ -0,0 +1,52 @@ +// +// FKFlickrPhotosetsEditMeta.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The new title for the photoset. */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* A description of the photoset. May contain limited html. */ +@property (copy) NSString *description; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.m new file mode 100644 index 0000000..0c7ba1f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.m @@ -0,0 +1,108 @@ +// +// FKFlickrPhotosetsEditMeta.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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 + + +@synthesize description = _description; + +- (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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.h new file mode 100644 index 0000000..e4a74b5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.h @@ -0,0 +1,55 @@ +// +// FKFlickrPhotosetsEditPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.m new file mode 100644 index 0000000..09f34c3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.m @@ -0,0 +1,117 @@ +// +// FKFlickrPhotosetsEditPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.h new file mode 100644 index 0000000..16dc724 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosetsGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The id of the photoset for which to fetch the photo's context. */ +@property (nonatomic, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.m new file mode 100644 index 0000000..2704a95 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.m @@ -0,0 +1,94 @@ +// +// FKFlickrPhotosetsGetContext.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.h new file mode 100644 index 0000000..56e54bf --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.m new file mode 100644 index 0000000..7f9927b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.m @@ -0,0 +1,85 @@ +// +// FKFlickrPhotosetsGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.h new file mode 100644 index 0000000..0cf2354 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.h @@ -0,0 +1,62 @@ +// +// FKFlickrPhotosetsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* A comma-delimited list of extra information to fetch for the primary photo. 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, copy) NSString *primary_photo_extras; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.m new file mode 100644 index 0000000..a647357 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.m @@ -0,0 +1,90 @@ +// +// FKFlickrPhotosetsGetList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + if(self.primary_photo_extras) { + [args setValue:self.primary_photo_extras forKey:@"primary_photo_extras"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.h new file mode 100644 index 0000000..df3997b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.h @@ -0,0 +1,70 @@ +// +// FKFlickrPhotosetsGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) NSString *media; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m new file mode 100644 index 0000000..c1ca1d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m @@ -0,0 +1,100 @@ +// +// FKFlickrPhotosetsGetPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h new file mode 100644 index 0000000..5752bdd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsOrderSets.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.m new file mode 100644 index 0000000..965d4fa --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.m @@ -0,0 +1,95 @@ +// +// FKFlickrPhotosetsOrderSets.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.h new file mode 100644 index 0000000..1d0b129 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosetsRemovePhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The id of the photo to remove from the set. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.m new file mode 100644 index 0000000..7f9cfc5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.m @@ -0,0 +1,106 @@ +// +// FKFlickrPhotosetsRemovePhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.h new file mode 100644 index 0000000..119d9ba --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsRemovePhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* Comma-delimited list of photo ids to remove from the photoset. */ +@property (nonatomic, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.m new file mode 100644 index 0000000..5944ee8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosetsRemovePhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.h new file mode 100644 index 0000000..0d401d2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsReorderPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.m new file mode 100644 index 0000000..0026319 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosetsReorderPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.h new file mode 100644 index 0000000..139a93f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsSetPrimaryPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The id of the photo to set as primary. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.m new file mode 100644 index 0000000..009c432 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.m @@ -0,0 +1,104 @@ +// +// FKFlickrPhotosetsSetPrimaryPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.h new file mode 100644 index 0000000..ebda022 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.h @@ -0,0 +1,57 @@ +// +// FKFlickrPlacesFind.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *query; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.m new file mode 100644 index 0000000..18338ee --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFind.m @@ -0,0 +1,85 @@ +// +// FKFlickrPlacesFind.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.h new file mode 100644 index 0000000..d0b0a33 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.h @@ -0,0 +1,63 @@ +// +// FKFlickrPlacesFindByLatLon.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 4 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) NSString *accuracy; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.m new file mode 100644 index 0000000..dc9036d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.m @@ -0,0 +1,101 @@ +// +// FKFlickrPlacesFindByLatLon.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.h new file mode 100644 index 0000000..dd4b76f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.h @@ -0,0 +1,63 @@ +// +// FKFlickrPlacesGetChildrenWithPhotosPublic.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.m new file mode 100644 index 0000000..fd45c32 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.m @@ -0,0 +1,88 @@ +// +// FKFlickrPlacesGetChildrenWithPhotosPublic.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.h new file mode 100644 index 0000000..d405257 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.h @@ -0,0 +1,78 @@ +// +// FKFlickrPlacesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.m new file mode 100644 index 0000000..ab59a9c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.m @@ -0,0 +1,88 @@ +// +// FKFlickrPlacesGetInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.h new file mode 100644 index 0000000..be6b8c0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.h @@ -0,0 +1,67 @@ +// +// FKFlickrPlacesGetInfoByUrl.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.m new file mode 100644 index 0000000..868d67e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.m @@ -0,0 +1,87 @@ +// +// FKFlickrPlacesGetInfoByUrl.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.h new file mode 100644 index 0000000..c18672f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.h @@ -0,0 +1,45 @@ +// +// FKFlickrPlacesGetPlaceTypes.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.m new file mode 100644 index 0000000..5c0badd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.m @@ -0,0 +1,76 @@ +// +// FKFlickrPlacesGetPlaceTypes.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.h new file mode 100644 index 0000000..e93eed4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.h @@ -0,0 +1,62 @@ +// +// FKFlickrPlacesGetShapeHistory.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.m new file mode 100644 index 0000000..1a2555a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.m @@ -0,0 +1,88 @@ +// +// FKFlickrPlacesGetShapeHistory.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.h new file mode 100644 index 0000000..f7eaf35 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.h @@ -0,0 +1,70 @@ +// +// FKFlickrPlacesGetTopPlacesList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *place_type_id; /* (Required) */ + +/* A valid date in YYYY-MM-DD format. The default is yesterday. */ +@property (nonatomic, copy) NSString *date; + +/* Limit your query to only those top places belonging to a specific Where on Earth (WOE) identifier. */ +@property (nonatomic, copy) NSString *woe_id; + +/* Limit your query to only those top places belonging to a specific Flickr Places identifier. */ +@property (nonatomic, copy) NSString *place_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m new file mode 100644 index 0000000..ff9da2c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m @@ -0,0 +1,100 @@ +// +// FKFlickrPlacesGetTopPlacesList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h new file mode 100644 index 0000000..7e04081 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h @@ -0,0 +1,107 @@ +// +// FKFlickrPlacesPlacesForBoundingBox.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *place_type_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m new file mode 100644 index 0000000..321f75b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m @@ -0,0 +1,97 @@ +// +// FKFlickrPlacesPlacesForBoundingBox.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h new file mode 100644 index 0000000..998df15 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h @@ -0,0 +1,113 @@ +// +// FKFlickrPlacesPlacesForContacts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *threshold; + +/* Search your contacts. Either 'all' or 'ff' for just friends and family. (Default is all) */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m new file mode 100644 index 0000000..d340c81 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m @@ -0,0 +1,128 @@ +// +// FKFlickrPlacesPlacesForContacts.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h new file mode 100644 index 0000000..a300ecd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h @@ -0,0 +1,116 @@ +// +// FKFlickrPlacesPlacesForTags.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *threshold; + +/* A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. */ +@property (nonatomic, copy) NSString *tags; + +/* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m new file mode 100644 index 0000000..abb6ef9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m @@ -0,0 +1,116 @@ +// +// FKFlickrPlacesPlacesForTags.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h new file mode 100644 index 0000000..13d4329 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h @@ -0,0 +1,108 @@ +// +// FKFlickrPlacesPlacesForUser.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m new file mode 100644 index 0000000..289c60a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m @@ -0,0 +1,123 @@ +// +// FKFlickrPlacesPlacesForUser.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h new file mode 100644 index 0000000..44dfb1c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h @@ -0,0 +1,60 @@ +// +// FKFlickrPlacesResolvePlaceId.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *place_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.m new file mode 100644 index 0000000..ecadd16 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.m @@ -0,0 +1,87 @@ +// +// FKFlickrPlacesResolvePlaceId.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.h new file mode 100644 index 0000000..3e931ae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.h @@ -0,0 +1,63 @@ +// +// FKFlickrPlacesResolvePlaceURL.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m new file mode 100644 index 0000000..6101c4c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m @@ -0,0 +1,87 @@ +// +// FKFlickrPlacesResolvePlaceURL.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h new file mode 100644 index 0000000..c233d25 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h @@ -0,0 +1,75 @@ +// +// FKFlickrPlacesTagsForPlace.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m new file mode 100644 index 0000000..d9899eb --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m @@ -0,0 +1,100 @@ +// +// FKFlickrPlacesTagsForPlace.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h new file mode 100644 index 0000000..0d18115 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h @@ -0,0 +1,45 @@ +// +// FKFlickrPrefsGetContentType.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.m new file mode 100644 index 0000000..6a49543 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.m @@ -0,0 +1,86 @@ +// +// FKFlickrPrefsGetContentType.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.h new file mode 100644 index 0000000..89d39f2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.h @@ -0,0 +1,68 @@ +// +// FKFlickrPrefsGetGeoPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.m new file mode 100644 index 0000000..997b1f0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.m @@ -0,0 +1,86 @@ +// +// FKFlickrPrefsGetGeoPerms.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.h new file mode 100644 index 0000000..f215349 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.h @@ -0,0 +1,45 @@ +// +// FKFlickrPrefsGetHidden.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.m new file mode 100644 index 0000000..abc3c2b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.m @@ -0,0 +1,86 @@ +// +// FKFlickrPrefsGetHidden.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.h new file mode 100644 index 0000000..2688b17 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.h @@ -0,0 +1,54 @@ +// +// FKFlickrPrefsGetPrivacy.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.m new file mode 100644 index 0000000..cc06dc5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.m @@ -0,0 +1,86 @@ +// +// FKFlickrPrefsGetPrivacy.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.h new file mode 100644 index 0000000..0bbfc67 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.h @@ -0,0 +1,45 @@ +// +// FKFlickrPrefsGetSafetyLevel.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.m new file mode 100644 index 0000000..2ba012b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.m @@ -0,0 +1,86 @@ +// +// FKFlickrPrefsGetSafetyLevel.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.h new file mode 100644 index 0000000..25e04f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.h @@ -0,0 +1,51 @@ +// +// FKFlickrPushGetSubscriptions.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.m new file mode 100644 index 0000000..efff453 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.m @@ -0,0 +1,88 @@ +// +// FKFlickrPushGetSubscriptions.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.h new file mode 100644 index 0000000..6c70454 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.h @@ -0,0 +1,45 @@ +// +// FKFlickrPushGetTopics.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.m new file mode 100644 index 0000000..621357c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushGetTopics.m @@ -0,0 +1,76 @@ +// +// FKFlickrPushGetTopics.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.h new file mode 100644 index 0000000..d2702ca --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.h @@ -0,0 +1,110 @@ +// +// FKFlickrPushSubscribe.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *callback; /* (Required) */ + +/* The verification mode, either sync or async. See the Google PubSubHubbub spec for details. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *tags; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.m new file mode 100644 index 0000000..b9ec471 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.m @@ -0,0 +1,152 @@ +// +// FKFlickrPushSubscribe.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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"]; + } + + 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h new file mode 100644 index 0000000..a1e9fc5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h @@ -0,0 +1,60 @@ +// +// FKFlickrPushUnsubscribe.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *topic; /* (Required) */ + +/* The url for the subscription endpoint (must be the same url as was used when creating the subscription). */ +@property (nonatomic, copy) NSString *callback; /* (Required) */ + +/* The verification mode, either 'sync' or 'async'. See the Google PubSubHubbub spec for details. */ +@property (nonatomic, copy) 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, copy) NSString *verify_token; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.m new file mode 100644 index 0000000..c8a90d9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.m @@ -0,0 +1,120 @@ +// +// FKFlickrPushUnsubscribe.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.h new file mode 100644 index 0000000..4ab51ed --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.h @@ -0,0 +1,59 @@ +// +// FKFlickrReflectionGetMethodInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *method_name; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.m new file mode 100644 index 0000000..944ddbd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.m @@ -0,0 +1,85 @@ +// +// FKFlickrReflectionGetMethodInfo.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.h new file mode 100644 index 0000000..32bbfa7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.h @@ -0,0 +1,43 @@ +// +// FKFlickrReflectionGetMethods.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.m new file mode 100644 index 0000000..7275095 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.m @@ -0,0 +1,76 @@ +// +// FKFlickrReflectionGetMethods.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.h new file mode 100644 index 0000000..09066a1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.h @@ -0,0 +1,53 @@ +// +// FKFlickrStatsGetCSVFiles.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.m new file mode 100644 index 0000000..62e9508 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.m @@ -0,0 +1,86 @@ +// +// FKFlickrStatsGetCSVFiles.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.h new file mode 100644 index 0000000..797ad67 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.h @@ -0,0 +1,69 @@ +// +// FKFlickrStatsGetCollectionDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the collection to get stats for. If not provided, stats for all collections will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.m new file mode 100644 index 0000000..959241f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.m @@ -0,0 +1,110 @@ +// +// FKFlickrStatsGetCollectionDomains.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.h new file mode 100644 index 0000000..e4c650d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.h @@ -0,0 +1,73 @@ +// +// FKFlickrStatsGetCollectionReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) NSString *domain; /* (Required) */ + +/* The id of the collection to get stats for. If not provided, stats for all collections will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.m new file mode 100644 index 0000000..5f25cf9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.m @@ -0,0 +1,119 @@ +// +// FKFlickrStatsGetCollectionReferrers.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h new file mode 100644 index 0000000..34a6fea --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h @@ -0,0 +1,55 @@ +// +// FKFlickrStatsGetCollectionStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the collection to get stats for. */ +@property (nonatomic, copy) NSString *collection_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.m new file mode 100644 index 0000000..cfc2afd --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.m @@ -0,0 +1,108 @@ +// +// FKFlickrStatsGetCollectionStats.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.h new file mode 100644 index 0000000..2f42201 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.h @@ -0,0 +1,69 @@ +// +// FKFlickrStatsGetPhotoDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photo to get stats for. If not provided, stats for all photos will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.m new file mode 100644 index 0000000..67dbdc3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.m @@ -0,0 +1,110 @@ +// +// FKFlickrStatsGetPhotoDomains.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.h new file mode 100644 index 0000000..6b3a3f9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.h @@ -0,0 +1,72 @@ +// +// FKFlickrStatsGetPhotoReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) NSString *domain; /* (Required) */ + +/* The id of the photo to get stats for. If not provided, stats for all photos will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.m new file mode 100644 index 0000000..6fe1d81 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.m @@ -0,0 +1,119 @@ +// +// FKFlickrStatsGetPhotoReferrers.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.h new file mode 100644 index 0000000..becb58d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.h @@ -0,0 +1,55 @@ +// +// FKFlickrStatsGetPhotoStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photo to get stats for. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.m new file mode 100644 index 0000000..89e31ab --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.m @@ -0,0 +1,108 @@ +// +// FKFlickrStatsGetPhotoStats.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.h new file mode 100644 index 0000000..eb417c5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.h @@ -0,0 +1,69 @@ +// +// FKFlickrStatsGetPhotosetDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photoset to get stats for. If not provided, stats for all sets will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.m new file mode 100644 index 0000000..d77b953 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.m @@ -0,0 +1,110 @@ +// +// FKFlickrStatsGetPhotosetDomains.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.h new file mode 100644 index 0000000..97555ff --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.h @@ -0,0 +1,72 @@ +// +// FKFlickrStatsGetPhotosetReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) NSString *domain; /* (Required) */ + +/* The id of the photoset to get stats for. If not provided, stats for all sets will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.m new file mode 100644 index 0000000..d1d137c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.m @@ -0,0 +1,119 @@ +// +// FKFlickrStatsGetPhotosetReferrers.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.h new file mode 100644 index 0000000..94cad7d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.h @@ -0,0 +1,55 @@ +// +// FKFlickrStatsGetPhotosetStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photoset to get stats for. */ +@property (nonatomic, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.m new file mode 100644 index 0000000..c33d68d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.m @@ -0,0 +1,108 @@ +// +// FKFlickrStatsGetPhotosetStats.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.h new file mode 100644 index 0000000..a2e8724 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.h @@ -0,0 +1,65 @@ +// +// FKFlickrStatsGetPhotostreamDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.m new file mode 100644 index 0000000..b11cec5 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.m @@ -0,0 +1,105 @@ +// +// FKFlickrStatsGetPhotostreamDomains.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.h new file mode 100644 index 0000000..6f37f9c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.h @@ -0,0 +1,68 @@ +// +// FKFlickrStatsGetPhotostreamReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.m new file mode 100644 index 0000000..9ec0880 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.m @@ -0,0 +1,114 @@ +// +// FKFlickrStatsGetPhotostreamReferrers.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.h new file mode 100644 index 0000000..cc81d7e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.h @@ -0,0 +1,51 @@ +// +// FKFlickrStatsGetPhotostreamStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.m new file mode 100644 index 0000000..a6d840e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.m @@ -0,0 +1,99 @@ +// +// FKFlickrStatsGetPhotostreamStats.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.h new file mode 100644 index 0000000..3af8411 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.h @@ -0,0 +1,82 @@ +// +// FKFlickrStatsGetPopularPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.m new file mode 100644 index 0000000..c4d4840 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.m @@ -0,0 +1,106 @@ +// +// FKFlickrStatsGetPopularPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.h new file mode 100644 index 0000000..51b6656 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.h @@ -0,0 +1,59 @@ +// +// FKFlickrStatsGetTotalViews.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.m new file mode 100644 index 0000000..2a6cc4f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.m @@ -0,0 +1,95 @@ +// +// FKFlickrStatsGetTotalViews.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.h new file mode 100644 index 0000000..fbc378b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.h @@ -0,0 +1,42 @@ +// +// FKFlickrTagsGetClusterPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; /* (Required) */ + +/* The top three tags for the cluster, separated by dashes (just like the url). */ +@property (nonatomic, copy) NSString *cluster_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.m new file mode 100644 index 0000000..54250ce --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.m @@ -0,0 +1,90 @@ +// +// FKFlickrTagsGetClusterPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.h new file mode 100644 index 0000000..d36df6b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.h @@ -0,0 +1,53 @@ +// +// FKFlickrTagsGetClusters.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.m new file mode 100644 index 0000000..0a5edd6 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.m @@ -0,0 +1,85 @@ +// +// FKFlickrTagsGetClusters.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.h new file mode 100644 index 0000000..9525260 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.h @@ -0,0 +1,52 @@ +// +// FKFlickrTagsGetHotList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *period; + +/* The number of tags to return. Defaults to 20. Maximum allowed value is 200. */ +@property (nonatomic, copy) NSString *count; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.m new file mode 100644 index 0000000..090c726 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.m @@ -0,0 +1,84 @@ +// +// FKFlickrTagsGetHotList.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.h new file mode 100644 index 0000000..d1886a8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.h @@ -0,0 +1,50 @@ +// +// FKFlickrTagsGetListPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.m new file mode 100644 index 0000000..5cbcef9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.m @@ -0,0 +1,85 @@ +// +// FKFlickrTagsGetListPhoto.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.h new file mode 100644 index 0000000..0c3378a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.h @@ -0,0 +1,51 @@ +// +// FKFlickrTagsGetListUser.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.m new file mode 100644 index 0000000..8d2ebdb --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.m @@ -0,0 +1,81 @@ +// +// FKFlickrTagsGetListUser.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.h new file mode 100644 index 0000000..8040e88 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.h @@ -0,0 +1,54 @@ +// +// FKFlickrTagsGetListUserPopular.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + +/* Number of popular tags to return. defaults to 10 when this argument is not present. */ +@property (nonatomic, copy) NSString *count; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.m new file mode 100644 index 0000000..8d6e7d8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.m @@ -0,0 +1,84 @@ +// +// FKFlickrTagsGetListUserPopular.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.h new file mode 100644 index 0000000..9b53511 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.h @@ -0,0 +1,50 @@ +// +// FKFlickrTagsGetListUserRaw.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.m new file mode 100644 index 0000000..be63db8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.m @@ -0,0 +1,81 @@ +// +// FKFlickrTagsGetListUserRaw.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.h new file mode 100644 index 0000000..8040e04 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.h @@ -0,0 +1,50 @@ +// +// FKFlickrTagsGetMostFrequentlyUsed.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.m new file mode 100644 index 0000000..ded2fd0 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.m @@ -0,0 +1,86 @@ +// +// FKFlickrTagsGetMostFrequentlyUsed.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.h new file mode 100644 index 0000000..06ddff1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.h @@ -0,0 +1,49 @@ +// +// FKFlickrTagsGetRelated.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.m new file mode 100644 index 0000000..73772ea --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.m @@ -0,0 +1,85 @@ +// +// FKFlickrTagsGetRelated.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.h new file mode 100644 index 0000000..0905f2b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.h @@ -0,0 +1,39 @@ +// +// FKFlickrTestEcho.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.m new file mode 100644 index 0000000..0dccee4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestEcho.m @@ -0,0 +1,76 @@ +// +// FKFlickrTestEcho.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.h new file mode 100644 index 0000000..3a6303f --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.h @@ -0,0 +1,46 @@ +// +// FKFlickrTestLogin.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.m new file mode 100644 index 0000000..f320b58 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestLogin.m @@ -0,0 +1,86 @@ +// +// FKFlickrTestLogin.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.h new file mode 100644 index 0000000..258ba8e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.h @@ -0,0 +1,41 @@ +// +// FKFlickrTestNull.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.m new file mode 100644 index 0000000..6030489 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Test/FKFlickrTestNull.m @@ -0,0 +1,86 @@ +// +// FKFlickrTestNull.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired: + return @"SSL is required"; + 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.h new file mode 100644 index 0000000..e398ad8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.h @@ -0,0 +1,42 @@ +// +// FKFlickrUrlsGetGroup.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.m new file mode 100644 index 0000000..b5ff725 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.m @@ -0,0 +1,85 @@ +// +// FKFlickrUrlsGetGroup.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.h new file mode 100644 index 0000000..3bd0a62 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.h @@ -0,0 +1,43 @@ +// +// FKFlickrUrlsGetUserPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.m new file mode 100644 index 0000000..00c3bfb --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.m @@ -0,0 +1,83 @@ +// +// FKFlickrUrlsGetUserPhotos.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.h new file mode 100644 index 0000000..0b12bf7 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.h @@ -0,0 +1,43 @@ +// +// FKFlickrUrlsGetUserProfile.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.m new file mode 100644 index 0000000..9460379 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.m @@ -0,0 +1,83 @@ +// +// FKFlickrUrlsGetUserProfile.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.h new file mode 100644 index 0000000..de4a3a3 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.h @@ -0,0 +1,48 @@ +// +// FKFlickrUrlsLookupGallery.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.m new file mode 100644 index 0000000..cc27314 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.m @@ -0,0 +1,83 @@ +// +// FKFlickrUrlsLookupGallery.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.h new file mode 100644 index 0000000..173e0c4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.h @@ -0,0 +1,44 @@ +// +// FKFlickrUrlsLookupGroup.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.m new file mode 100644 index 0000000..8a4e5d4 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.m @@ -0,0 +1,85 @@ +// +// FKFlickrUrlsLookupGroup.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.h new file mode 100644 index 0000000..ee3dac8 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.h @@ -0,0 +1,44 @@ +// +// FKFlickrUrlsLookupUser.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.m new file mode 100644 index 0000000..04a76ee --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.m @@ -0,0 +1,85 @@ +// +// FKFlickrUrlsLookupUser.m +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed: + return @"Write operation failed"; + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKDUReachability.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKDUReachability.h new file mode 100644 index 0000000..887353a --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKDUReachability.h @@ -0,0 +1,18 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKDUReachability.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKDUReachability.m new file mode 100644 index 0000000..6050b1e --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKDUReachability.m @@ -0,0 +1,74 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.h new file mode 100644 index 0000000..34e3ca9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.h @@ -0,0 +1,21 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.m new file mode 100644 index 0000000..dd41335 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKFlickrNetworkOperation.m @@ -0,0 +1,218 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.h new file mode 100644 index 0000000..f67686c --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.h @@ -0,0 +1,20 @@ +// +// 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; +- (id) initWithAssetURL:(NSURL *)assetURL arguments:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; + +@end diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.m new file mode 100644 index 0000000..bf8c239 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKImageUploadNetworkOperation.m @@ -0,0 +1,215 @@ +// +// 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; +@property (nonatomic, assign) NSURL* assetURL; +@end + +@implementation FKImageUploadNetworkOperation + +- (id) initWithImage:(UIImage *)image arguments:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; { + self = [super init]; + if (self) { + self.image = image; + self.assetURL = nil; + self.args = args; + self.completion = completion; + } + return self; +} + +- (id) initWithAssetURL:(NSURL *)assetURL arguments:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; { + self = [super init]; + if (self) { + self.image = nil; + self.assetURL = assetURL; + 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]; + + if( self.image ){ + // 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]; + } + else if( self.assetURL ){ + [FKDUStreamUtil writeMultipartWithAssetURL:self.assetURL + startString:multipartOpeningString + imageFile:tempFileName + toOutputStream:outputStream + closingString:multipartClosingString]; + } + else{ + return nil; + } + + // 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 %lu", (unsigned long)self.fileSize); + NSLog(@"Sent %li, total Sent %li, expected total %li", (long)bytesWritten, (long)totalBytesWritten, (long)totalBytesExpectedToWrite); + NSLog(@"Upload progress is %f", self.uploadProgress); +#endif +} + +@end + + + diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKURLBuilder.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKURLBuilder.h new file mode 100644 index 0000000..5d06b9b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKURLBuilder.h @@ -0,0 +1,28 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKURLBuilder.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKURLBuilder.m new file mode 100644 index 0000000..01c0d7b --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKURLBuilder.m @@ -0,0 +1,138 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKUploadRespone.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKUploadRespone.h new file mode 100644 index 0000000..3773ed9 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKUploadRespone.h @@ -0,0 +1,19 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKUploadRespone.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKUploadRespone.m new file mode 100644 index 0000000..89cc0ae --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/FKUploadRespone.m @@ -0,0 +1,79 @@ +// +// 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; + + if ([elementName isEqualToString:@"rsp"]) { + NSString *status = [attributeDict objectForKey:@"stat"]; + if ([status isEqualToString:@"ok"]) { + } else if ([status isEqualToString:@"fail"]) { + } + } + + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/Reachability/FKReachability.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/Reachability/FKReachability.h new file mode 100755 index 0000000..27155c2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/Reachability/FKReachability.h @@ -0,0 +1,89 @@ +/* + + 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 + + diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/Reachability/FKReachability.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/Reachability/FKReachability.m new file mode 100755 index 0000000..e7a5d57 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Network/Reachability/FKReachability.m @@ -0,0 +1,272 @@ +/* + + 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 diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.h new file mode 100644 index 0000000..7f2b824 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.h @@ -0,0 +1,30 @@ +// +// 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); diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.m new file mode 100644 index 0000000..7b3660d --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKOFHMACSha1Base64.m @@ -0,0 +1,254 @@ +// +// 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; +} + diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKUtilities.h b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKUtilities.h new file mode 100644 index 0000000..78ff8f2 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKUtilities.h @@ -0,0 +1,28 @@ +// +// 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); diff --git a/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKUtilities.m b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKUtilities.m new file mode 100644 index 0000000..6f45366 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/Classes/Utilities/FKUtilities.m @@ -0,0 +1,66 @@ +// +// 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; +} diff --git a/PrettyWeatherApp/Pods/FlickrKit/README.md b/PrettyWeatherApp/Pods/FlickrKit/README.md new file mode 100644 index 0000000..8b462a1 --- /dev/null +++ b/PrettyWeatherApp/Pods/FlickrKit/README.md @@ -0,0 +1,142 @@ +# 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 some of the methods in this library were born from ObjectiveFlickr. However, I sometimes had problems debugging ObjectiveFlickr as the networking code was custom and not familiar to me. Also I go a little further with FlickrKit and I provide a little bit more than ObjectiveFlickr does... read on.... + +* 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 its 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, and 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 +------------- +Included 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 is 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 within 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 response dictionary + } else { + // show the error + } + }); + }]; + +#### Uploading a Photo +Uploading a photo and observing its 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FXBlurView/FXBlurView.h b/PrettyWeatherApp/Pods/Headers/Private/FXBlurView/FXBlurView.h new file mode 100644 index 0000000..cc95e06 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FXBlurView/FXBlurView.h @@ -0,0 +1,81 @@ +// +// FXBlurView.h +// +// Version 1.6.4 +// +// Created by Nick Lockwood on 25/08/2013. +// Copyright (c) 2013 Charcoal Design +// +// Distributed under the permissive zlib License +// Get the latest version from here: +// +// https://github.com/nicklockwood/FXBlurView +// +// 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. +// + + +#import +#import +#import + + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wobjc-missing-property-synthesis" + + +#import +#undef weak_ref +#if __has_feature(objc_arc) && __has_feature(objc_arc_weak) +#define weak_ref weak +#else +#define weak_ref unsafe_unretained +#endif + + +@interface UIImage (FXBlurView) + +- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor; + +@end + + +@interface FXBlurView : UIView + ++ (void)setBlurEnabled:(BOOL)blurEnabled; ++ (void)setUpdatesEnabled; ++ (void)setUpdatesDisabled; + +@property (nonatomic, getter = isBlurEnabled) BOOL blurEnabled; +@property (nonatomic, getter = isDynamic) BOOL dynamic; +@property (nonatomic, assign) NSUInteger iterations; +@property (nonatomic, assign) NSTimeInterval updateInterval; +@property (nonatomic, assign) CGFloat blurRadius; +@property (nonatomic, strong) UIColor *tintColor; +@property (nonatomic, weak_ref) IBOutlet UIView *underlyingView; + +- (void)updateAsynchronously:(BOOL)async completion:(void (^)())completion; + +- (void)clearImage; + +@end + + +#pragma GCC diagnostic pop + diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKAPIMethods.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKAPIMethods.h new file mode 100644 index 0000000..293a9ca --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKAPIMethods.h @@ -0,0 +1,218 @@ +// +// 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" + + diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUBlocks.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUBlocks.h new file mode 100644 index 0000000..4729639 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUBlocks.h @@ -0,0 +1,11 @@ +// +// 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); \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUConcurrentOperation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUConcurrentOperation.h new file mode 100644 index 0000000..9f401e1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUConcurrentOperation.h @@ -0,0 +1,43 @@ +// +// 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]; + } + + */ diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUDefaultDiskCache.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUDefaultDiskCache.h new file mode 100755 index 0000000..e41bd69 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUDefaultDiskCache.h @@ -0,0 +1,24 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUDiskCache.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUDiskCache.h new file mode 100644 index 0000000..0674d09 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUDiskCache.h @@ -0,0 +1,38 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUNetworkController.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUNetworkController.h new file mode 100644 index 0000000..a4a0b03 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUNetworkController.h @@ -0,0 +1,30 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUNetworkOperation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUNetworkOperation.h new file mode 100644 index 0000000..93f116d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUNetworkOperation.h @@ -0,0 +1,27 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUReachability.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUReachability.h new file mode 100644 index 0000000..887353a --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUReachability.h @@ -0,0 +1,18 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUStreamUtil.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUStreamUtil.h new file mode 100644 index 0000000..813fc8f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDUStreamUtil.h @@ -0,0 +1,20 @@ +// +// 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; + ++ (void)writeMultipartWithAssetURL:(NSURL*)assetURL + startString:(NSString *)startString + imageFile:(NSString *)imageFile + toOutputStream:(NSOutputStream *)outputStream + closingString:(NSString *)closingString; +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDataTypes.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDataTypes.h new file mode 100644 index 0000000..02a8db1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKDataTypes.h @@ -0,0 +1,69 @@ +// +// 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); + diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAPIMethod.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAPIMethod.h new file mode 100644 index 0000000..398927c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAPIMethod.h @@ -0,0 +1,34 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrActivityUserComments.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrActivityUserComments.h new file mode 100644 index 0000000..b436629 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrActivityUserComments.h @@ -0,0 +1,74 @@ +// +// FKFlickrActivityUserComments.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrActivityUserPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrActivityUserPhotos.h new file mode 100644 index 0000000..e808c99 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrActivityUserPhotos.h @@ -0,0 +1,80 @@ +// +// FKFlickrActivityUserPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthCheckToken.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthCheckToken.h new file mode 100644 index 0000000..37fa27c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthCheckToken.h @@ -0,0 +1,47 @@ +// +// FKFlickrAuthCheckToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *auth_token; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetFrob.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetFrob.h new file mode 100644 index 0000000..d2fa01e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetFrob.h @@ -0,0 +1,40 @@ +// +// FKFlickrAuthGetFrob.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetFullToken.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetFullToken.h new file mode 100644 index 0000000..b0a86b5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetFullToken.h @@ -0,0 +1,47 @@ +// +// FKFlickrAuthGetFullToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *mini_token; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetToken.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetToken.h new file mode 100644 index 0000000..b79dc35 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthGetToken.h @@ -0,0 +1,49 @@ +// +// FKFlickrAuthGetToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *frob; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthOauthCheckToken.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthOauthCheckToken.h new file mode 100644 index 0000000..7a95ede --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthOauthCheckToken.h @@ -0,0 +1,47 @@ +// +// FKFlickrAuthOauthCheckToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *oauth_token; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthOauthGetAccessToken.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthOauthGetAccessToken.h new file mode 100644 index 0000000..48ab6e6 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrAuthOauthGetAccessToken.h @@ -0,0 +1,42 @@ +// +// FKFlickrAuthOauthGetAccessToken.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsGetList.h new file mode 100644 index 0000000..a455a84 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsGetList.h @@ -0,0 +1,52 @@ +// +// FKFlickrBlogsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *service; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsGetServices.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsGetServices.h new file mode 100644 index 0000000..f8a7fb9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsGetServices.h @@ -0,0 +1,50 @@ +// +// FKFlickrBlogsGetServices.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsPostPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsPostPhoto.h new file mode 100644 index 0000000..26f99a9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrBlogsPostPhoto.h @@ -0,0 +1,63 @@ +// +// FKFlickrBlogsPostPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *blog_id; + +/* The id of the photo to blog */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + +/* The blog post title */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* The blog post body */ +@property (copy) NSString *description; /* (Required) */ + +/* The password for the blog (used when the blog does not have a stored password). */ +@property (nonatomic, copy) 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, copy) NSString *service; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCamerasGetBrandModels.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCamerasGetBrandModels.h new file mode 100644 index 0000000..881197d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCamerasGetBrandModels.h @@ -0,0 +1,58 @@ +// +// FKFlickrCamerasGetBrandModels.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *brand; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCamerasGetBrands.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCamerasGetBrands.h new file mode 100644 index 0000000..44801ce --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCamerasGetBrands.h @@ -0,0 +1,44 @@ +// +// FKFlickrCamerasGetBrands.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCollectionsGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCollectionsGetInfo.h new file mode 100644 index 0000000..e8aadf5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCollectionsGetInfo.h @@ -0,0 +1,56 @@ +// +// FKFlickrCollectionsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *collection_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCollectionsGetTree.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCollectionsGetTree.h new file mode 100644 index 0000000..19a873b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCollectionsGetTree.h @@ -0,0 +1,53 @@ +// +// FKFlickrCollectionsGetTree.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *collection_id; + +/* The ID of the account to fetch the collection tree for. Deafults to the calling user. */ +@property (nonatomic, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCommonsGetInstitutions.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCommonsGetInstitutions.h new file mode 100644 index 0000000..d8bb2be --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrCommonsGetInstitutions.h @@ -0,0 +1,49 @@ +// +// FKFlickrCommonsGetInstitutions.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetList.h new file mode 100644 index 0000000..075b8a7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetList.h @@ -0,0 +1,80 @@ +// +// FKFlickrContactsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *filter; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The order in which to sort the returned contacts. Defaults to name. The possible values are: name and time. */ +@property (nonatomic, copy) NSString *sort; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetListRecentlyUploaded.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetListRecentlyUploaded.h new file mode 100644 index 0000000..2d39daa --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetListRecentlyUploaded.h @@ -0,0 +1,57 @@ +// +// FKFlickrContactsGetListRecentlyUploaded.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *filter; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetPublicList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetPublicList.h new file mode 100644 index 0000000..5a45169 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetPublicList.h @@ -0,0 +1,53 @@ +// +// FKFlickrContactsGetPublicList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetTaggingSuggestions.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetTaggingSuggestions.h new file mode 100644 index 0000000..cf1aeb4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrContactsGetTaggingSuggestions.h @@ -0,0 +1,53 @@ +// +// FKFlickrContactsGetTaggingSuggestions.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Number of contacts to return per page. If this argument is omitted, all contacts will be returned. */ +@property (nonatomic, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesAdd.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesAdd.h new file mode 100644 index 0000000..611c2f7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesAdd.h @@ -0,0 +1,48 @@ +// +// FKFlickrFavoritesAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetContext.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetContext.h new file mode 100644 index 0000000..871456d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetContext.h @@ -0,0 +1,54 @@ +// +// FKFlickrFavoritesGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The user who counts the photo as a favorite. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetList.h new file mode 100644 index 0000000..5ba8535 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetList.h @@ -0,0 +1,60 @@ +// +// FKFlickrFavoritesGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + +/* Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetPublicList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetPublicList.h new file mode 100644 index 0000000..50ec030 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesGetPublicList.h @@ -0,0 +1,55 @@ +// +// FKFlickrFavoritesGetPublicList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + +/* Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesRemove.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesRemove.h new file mode 100644 index 0000000..521366f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrFavoritesRemove.h @@ -0,0 +1,47 @@ +// +// FKFlickrFavoritesRemove.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesAddPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesAddPhoto.h new file mode 100644 index 0000000..80ee13c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesAddPhoto.h @@ -0,0 +1,55 @@ +// +// FKFlickrGalleriesAddPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + +/* The photo ID to add to the gallery */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + +/* A short comment or story to accompany the photo. */ +@property (nonatomic, copy) NSString *comment; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesCreate.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesCreate.h new file mode 100644 index 0000000..7bcc8f8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesCreate.h @@ -0,0 +1,60 @@ +// +// FKFlickrGalleriesCreate.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *title; /* (Required) */ + +/* A short description for the gallery */ +@property (copy) NSString *description; /* (Required) */ + +/* The first photo to add to your gallery */ +@property (nonatomic, copy) NSString *primary_photo_id; + +/* Get the result in the same format as galleries.getList */ +@property (nonatomic, copy) NSString *full_result; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditMeta.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditMeta.h new file mode 100644 index 0000000..789de6d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditMeta.h @@ -0,0 +1,52 @@ +// +// FKFlickrGalleriesEditMeta.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + +/* The new title for the gallery. */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* The new description for the gallery. */ +@property (copy) NSString *description; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditPhoto.h new file mode 100644 index 0000000..ff05233 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditPhoto.h @@ -0,0 +1,51 @@ +// +// FKFlickrGalleriesEditPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + +/* The photo ID to add to the gallery. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + +/* The updated comment the photo. */ +@property (nonatomic, copy) NSString *comment; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditPhotos.h new file mode 100644 index 0000000..dd45c77 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesEditPhotos.h @@ -0,0 +1,50 @@ +// +// FKFlickrGalleriesEditPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetInfo.h new file mode 100644 index 0000000..a0b6346 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetInfo.h @@ -0,0 +1,47 @@ +// +// FKFlickrGalleriesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *gallery_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetList.h new file mode 100644 index 0000000..7b928ed --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetList.h @@ -0,0 +1,69 @@ +// +// FKFlickrGalleriesGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + +/* A comma-delimited list of extra information to fetch for the primary photo. 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, copy) NSString *primary_photo_extras; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetListForPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetListForPhoto.h new file mode 100644 index 0000000..dac5a63 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetListForPhoto.h @@ -0,0 +1,66 @@ +// +// FKFlickrGalleriesGetListForPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetPhotos.h new file mode 100644 index 0000000..aed1f5f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGalleriesGetPhotos.h @@ -0,0 +1,58 @@ +// +// FKFlickrGalleriesGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsBrowse.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsBrowse.h new file mode 100644 index 0000000..1aa8a19 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsBrowse.h @@ -0,0 +1,58 @@ +// +// FKFlickrGroupsBrowse.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *cat_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesAdd.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesAdd.h new file mode 100644 index 0000000..deac6d8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesAdd.h @@ -0,0 +1,54 @@ +// +// FKFlickrGroupsDiscussRepliesAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic to post a comment to. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The message to post to the topic. */ +@property (nonatomic, copy) NSString *message; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesDelete.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesDelete.h new file mode 100644 index 0000000..da9aa9c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesDelete.h @@ -0,0 +1,53 @@ +// +// FKFlickrGroupsDiscussRepliesDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic the post is in. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The ID of the reply to delete. */ +@property (nonatomic, copy) NSString *reply_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesEdit.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesEdit.h new file mode 100644 index 0000000..e0da4b9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesEdit.h @@ -0,0 +1,58 @@ +// +// FKFlickrGroupsDiscussRepliesEdit.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic the post is in. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The ID of the reply post to edit. */ +@property (nonatomic, copy) NSString *reply_id; /* (Required) */ + +/* The message to edit the post with. */ +@property (nonatomic, copy) NSString *message; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesGetInfo.h new file mode 100644 index 0000000..fff8dc8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesGetInfo.h @@ -0,0 +1,54 @@ +// +// FKFlickrGroupsDiscussRepliesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic the post is in. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + +/* The ID of the reply to fetch. */ +@property (nonatomic, copy) NSString *reply_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesGetList.h new file mode 100644 index 0000000..c7e9074 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussRepliesGetList.h @@ -0,0 +1,74 @@ +// +// FKFlickrGroupsDiscussRepliesGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID of the topic to fetch replies for. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; /* (Required) */ + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsAdd.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsAdd.h new file mode 100644 index 0000000..d548802 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsAdd.h @@ -0,0 +1,56 @@ +// +// FKFlickrGroupsDiscussTopicsAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 or path alias of the group to add a topic to. + */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The topic subject. */ +@property (nonatomic, copy) NSString *subject; /* (Required) */ + +/* The topic message. */ +@property (nonatomic, copy) NSString *message; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsGetInfo.h new file mode 100644 index 0000000..7d883e8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsGetInfo.h @@ -0,0 +1,50 @@ +// +// FKFlickrGroupsDiscussTopicsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* NSID or group alias of the group to which the topic belongs. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get better performance. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + +/* The ID for the topic to edit. */ +@property (nonatomic, copy) NSString *topic_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsGetList.h new file mode 100644 index 0000000..59a381a --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsDiscussTopicsGetList.h @@ -0,0 +1,73 @@ +// +// FKFlickrGroupsDiscussTopicsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 or path alias of the group to fetch information for. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsGetInfo.h new file mode 100644 index 0000000..e9d057f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsGetInfo.h @@ -0,0 +1,58 @@ +// +// FKFlickrGroupsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_GroupIsPrivate = 2, /* This is a private group. */ + FKFlickrGroupsGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ + FKFlickrGroupsGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ + FKFlickrGroupsGetInfoError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* The path alias of the group. One of this or the group_id param is required */ +@property (nonatomic, copy) NSString *group_path_alias; + +/* 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, copy) NSString *lang; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsJoin.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsJoin.h new file mode 100644 index 0000000..fa3e1e3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsJoin.h @@ -0,0 +1,55 @@ +// +// FKFlickrGroupsJoin.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_UserUnableToJoin = 11, /* This user is unable to join this group. */ + FKFlickrGroupsJoinError_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *accept_rules; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsJoinRequest.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsJoinRequest.h new file mode 100644 index 0000000..0023854 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsJoinRequest.h @@ -0,0 +1,57 @@ +// +// FKFlickrGroupsJoinRequest.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* Message to the administrators. */ +@property (nonatomic, copy) 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, copy) NSString *accept_rules; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsLeave.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsLeave.h new file mode 100644 index 0000000..5199b66 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsLeave.h @@ -0,0 +1,54 @@ +// +// FKFlickrGroupsLeave.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* Delete all photos by this user from the group */ +@property (nonatomic, copy) NSString *delete_photos; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsMembersGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsMembersGetList.h new file mode 100644 index 0000000..3748b99 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsMembersGetList.h @@ -0,0 +1,68 @@ +// +// FKFlickrGroupsMembersGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsAdd.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsAdd.h new file mode 100644 index 0000000..84c7276 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsAdd.h @@ -0,0 +1,56 @@ +// +// FKFlickrGroupsPoolsAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the group who's pool the photo is to be added to. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetContext.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetContext.h new file mode 100644 index 0000000..1476ea8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetContext.h @@ -0,0 +1,51 @@ +// +// FKFlickrGroupsPoolsGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The nsid of the group who's pool to fetch the photo's context for. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetGroups.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetGroups.h new file mode 100644 index 0000000..b7cfe7e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetGroups.h @@ -0,0 +1,57 @@ +// +// FKFlickrGroupsPoolsGetGroups.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetPhotos.h new file mode 100644 index 0000000..f76f81e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsGetPhotos.h @@ -0,0 +1,65 @@ +// +// FKFlickrGroupsPoolsGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_GroupOrpoolIsMemberOnly = 4, /* */ + FKFlickrGroupsPoolsGetPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ + FKFlickrGroupsPoolsGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ + FKFlickrGroupsPoolsGetPhotosError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + +/* A tag to filter the pool with. At the moment only one tag at a time is supported. */ +@property (nonatomic, copy) 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, copy) NSString *user_id; + +/* 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsRemove.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsRemove.h new file mode 100644 index 0000000..2bf779c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsPoolsRemove.h @@ -0,0 +1,50 @@ +// +// FKFlickrGroupsPoolsRemove.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the group who's pool the photo is to removed from. */ +@property (nonatomic, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsSearch.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsSearch.h new file mode 100644 index 0000000..020e8e1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrGroupsSearch.h @@ -0,0 +1,59 @@ +// +// FKFlickrGroupsSearch.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is ommited, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrInterestingnessGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrInterestingnessGetList.h new file mode 100644 index 0000000..9ca4d5e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrInterestingnessGetList.h @@ -0,0 +1,49 @@ +// +// FKFlickrInterestingnessGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetNamespaces.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetNamespaces.h new file mode 100644 index 0000000..a7a7872 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetNamespaces.h @@ -0,0 +1,56 @@ +// +// FKFlickrMachinetagsGetNamespaces.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetPairs.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetPairs.h new file mode 100644 index 0000000..59de280 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetPairs.h @@ -0,0 +1,57 @@ +// +// FKFlickrMachinetagsGetPairs.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *namespace; + +/* Limit the list of pairs returned to those that have the following predicate. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetPredicates.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetPredicates.h new file mode 100644 index 0000000..030537d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetPredicates.h @@ -0,0 +1,53 @@ +// +// FKFlickrMachinetagsGetPredicates.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetRecentValues.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetRecentValues.h new file mode 100644 index 0000000..3307e08 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetRecentValues.h @@ -0,0 +1,52 @@ +// +// FKFlickrMachinetagsGetRecentValues.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *namespace; + +/* A predicate that all values should be restricted to. */ +@property (nonatomic, copy) NSString *predicate; + +/* Only return machine tags values that have been added since this timestamp, in epoch seconds. */ +@property (nonatomic, copy) NSString *added_since; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetValues.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetValues.h new file mode 100644 index 0000000..780fea7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrMachinetagsGetValues.h @@ -0,0 +1,56 @@ +// +// FKFlickrMachinetagsGetValues.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *namespace; /* (Required) */ + +/* The predicate that all values should be restricted to. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrNetworkOperation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrNetworkOperation.h new file mode 100644 index 0000000..34e3ca9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrNetworkOperation.h @@ -0,0 +1,21 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPandaGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPandaGetList.h new file mode 100644 index 0000000..17af89c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPandaGetList.h @@ -0,0 +1,44 @@ +// +// FKFlickrPandaGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPandaGetPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPandaGetPhotos.h new file mode 100644 index 0000000..b609281 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPandaGetPhotos.h @@ -0,0 +1,69 @@ +// +// FKFlickrPandaGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleFindByEmail.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleFindByEmail.h new file mode 100644 index 0000000..c879479 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleFindByEmail.h @@ -0,0 +1,44 @@ +// +// FKFlickrPeopleFindByEmail.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *find_email; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleFindByUsername.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleFindByUsername.h new file mode 100644 index 0000000..27246d0 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleFindByUsername.h @@ -0,0 +1,44 @@ +// +// FKFlickrPeopleFindByUsername.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *username; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetGroups.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetGroups.h new file mode 100644 index 0000000..328d1d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetGroups.h @@ -0,0 +1,56 @@ +// +// FKFlickrPeopleGetGroups.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetInfo.h new file mode 100644 index 0000000..5a58c8e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetInfo.h @@ -0,0 +1,59 @@ +// +// FKFlickrPeopleGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetLimits.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetLimits.h new file mode 100644 index 0000000..d85a907 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetLimits.h @@ -0,0 +1,54 @@ +// +// FKFlickrPeopleGetLimits.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPhotos.h new file mode 100644 index 0000000..da6315f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPhotos.h @@ -0,0 +1,95 @@ +// +// FKFlickrPeopleGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */ + FKFlickrPeopleGetPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */ + FKFlickrPeopleGetPhotosError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPhotosOf.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPhotosOf.h new file mode 100644 index 0000000..32e47d1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPhotosOf.h @@ -0,0 +1,72 @@ +// +// FKFlickrPeopleGetPhotosOf.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPublicGroups.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPublicGroups.h new file mode 100644 index 0000000..1cf0ca3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPublicGroups.h @@ -0,0 +1,53 @@ +// +// FKFlickrPeopleGetPublicGroups.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; /* (Required) */ + +/* Include public groups that require an invitation or administrator approval to join. */ +@property (nonatomic, copy) NSString *invitation_only; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPublicPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPublicPhotos.h new file mode 100644 index 0000000..57c7df5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetPublicPhotos.h @@ -0,0 +1,60 @@ +// +// FKFlickrPeopleGetPublicPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetUploadStatus.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetUploadStatus.h new file mode 100644 index 0000000..cca3b3b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPeopleGetUploadStatus.h @@ -0,0 +1,70 @@ +// +// FKFlickrPeopleGetUploadStatus.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosAddTags.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosAddTags.h new file mode 100644 index 0000000..a4d8a6d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosAddTags.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosAddTags.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The tags to add to the photo. */ +@property (nonatomic, copy) NSString *tags; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsAddComment.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsAddComment.h new file mode 100644 index 0000000..f7ec880 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsAddComment.h @@ -0,0 +1,52 @@ +// +// FKFlickrPhotosCommentsAddComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* Text of the comment */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsDeleteComment.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsDeleteComment.h new file mode 100644 index 0000000..3eda6a2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsDeleteComment.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosCommentsDeleteComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsEditComment.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsEditComment.h new file mode 100644 index 0000000..bf86d6e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsEditComment.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosCommentsEditComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + +/* Update the comment to this text. */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsGetList.h new file mode 100644 index 0000000..1c046b7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsGetList.h @@ -0,0 +1,53 @@ +// +// FKFlickrPhotosCommentsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *min_comment_date; + +/* Maximum date that a comment was added. The date should be in the form of a unix timestamp. */ +@property (nonatomic, copy) NSString *max_comment_date; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsGetRecentForContacts.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsGetRecentForContacts.h new file mode 100644 index 0000000..6f467b1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosCommentsGetRecentForContacts.h @@ -0,0 +1,60 @@ +// +// FKFlickrPhotosCommentsGetRecentForContacts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date_lastcomment; + +/* A comma-separated list of contact NSIDs to limit the scope of the query to. */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosDelete.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosDelete.h new file mode 100644 index 0000000..5ee9ffa --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosDelete.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoBatchCorrectLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoBatchCorrectLocation.h new file mode 100644 index 0000000..f06ac87 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoBatchCorrectLocation.h @@ -0,0 +1,64 @@ +// +// FKFlickrPhotosGeoBatchCorrectLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *accuracy; /* (Required) */ + +/* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ +@property (nonatomic, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoCorrectLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoCorrectLocation.h new file mode 100644 index 0000000..28146a9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoCorrectLocation.h @@ -0,0 +1,57 @@ +// +// FKFlickrPhotosGeoCorrectLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *foursquare_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoGetLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoGetLocation.h new file mode 100644 index 0000000..290e991 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoGetLocation.h @@ -0,0 +1,48 @@ +// +// FKFlickrPhotosGeoGetLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* Extra flags. */ +@property (nonatomic, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoGetPerms.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoGetPerms.h new file mode 100644 index 0000000..9fae59d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoGetPerms.h @@ -0,0 +1,48 @@ +// +// FKFlickrPhotosGeoGetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoPhotosForLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoPhotosForLocation.h new file mode 100644 index 0000000..482965e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoPhotosForLocation.h @@ -0,0 +1,63 @@ +// +// FKFlickrPhotosGeoPhotosForLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoRemoveLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoRemoveLocation.h new file mode 100644 index 0000000..6a17ccb --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoRemoveLocation.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosGeoRemoveLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetContext.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetContext.h new file mode 100644 index 0000000..81ee330 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetContext.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosGeoSetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *context; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetLocation.h new file mode 100644 index 0000000..fa60570 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetLocation.h @@ -0,0 +1,73 @@ +// +// FKFlickrPhotosGeoSetLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *context; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetPerms.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetPerms.h new file mode 100644 index 0000000..aae836e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGeoSetPerms.h @@ -0,0 +1,59 @@ +// +// FKFlickrPhotosGeoSetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *is_family; /* (Required) */ + +/* The id of the photo to get permissions for. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetAllContexts.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetAllContexts.h new file mode 100644 index 0000000..d84e42f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetAllContexts.h @@ -0,0 +1,43 @@ +// +// FKFlickrPhotosGetAllContexts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContactsPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContactsPhotos.h new file mode 100644 index 0000000..f0ad15f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContactsPhotos.h @@ -0,0 +1,68 @@ +// +// FKFlickrPhotosGetContactsPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *count; + +/* set as 1 to only show photos from friends and family (excluding regular contacts). */ +@property (nonatomic, copy) NSString *just_friends; + +/* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */ +@property (nonatomic, copy) NSString *single_photo; + +/* Set to 1 to include photos from the calling user. */ +@property (nonatomic, copy) 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, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContactsPublicPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContactsPublicPhotos.h new file mode 100644 index 0000000..77e9d1d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContactsPublicPhotos.h @@ -0,0 +1,67 @@ +// +// FKFlickrPhotosGetContactsPublicPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *count; + +/* set as 1 to only show photos from friends and family (excluding regular contacts). */ +@property (nonatomic, copy) NSString *just_friends; + +/* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */ +@property (nonatomic, copy) NSString *single_photo; + +/* Set to 1 to include photos from the user specified by user_id. */ +@property (nonatomic, copy) 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, copy) NSString *extras; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContext.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContext.h new file mode 100644 index 0000000..2a95cae --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetContext.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetCounts.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetCounts.h new file mode 100644 index 0000000..3f987e2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetCounts.h @@ -0,0 +1,59 @@ +// +// FKFlickrPhotosGetCounts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *dates; + +/* A comma delimited list of mysql datetimes, denoting the periods to return counts for. They should be specified smallest first. */ +@property (nonatomic, copy) NSString *taken_dates; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetExif.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetExif.h new file mode 100644 index 0000000..d33077f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetExif.h @@ -0,0 +1,60 @@ +// +// FKFlickrPhotosGetExif.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *secret; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetFavorites.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetFavorites.h new file mode 100644 index 0000000..5a19507 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetFavorites.h @@ -0,0 +1,60 @@ +// +// FKFlickrPhotosGetFavorites.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetInfo.h new file mode 100644 index 0000000..e519412 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetInfo.h @@ -0,0 +1,73 @@ +// +// FKFlickrPhotosGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *secret; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetNotInSet.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetNotInSet.h new file mode 100644 index 0000000..e4b528b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetNotInSet.h @@ -0,0 +1,76 @@ +// +// FKFlickrPhotosGetNotInSet.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *privacy_filter; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetPerms.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetPerms.h new file mode 100644 index 0000000..594a668 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetPerms.h @@ -0,0 +1,47 @@ +// +// FKFlickrPhotosGetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetRecent.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetRecent.h new file mode 100644 index 0000000..c51d280 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetRecent.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosGetRecent.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 + +/* 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetSizes.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetSizes.h new file mode 100644 index 0000000..a9e76f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetSizes.h @@ -0,0 +1,55 @@ +// +// FKFlickrPhotosGetSizes.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetUntagged.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetUntagged.h new file mode 100644 index 0000000..9575e1e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetUntagged.h @@ -0,0 +1,76 @@ +// +// FKFlickrPhotosGetUntagged.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *privacy_filter; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetWithGeoData.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetWithGeoData.h new file mode 100644 index 0000000..66388f9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetWithGeoData.h @@ -0,0 +1,79 @@ +// +// FKFlickrPhotosGetWithGeoData.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *sort; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetWithoutGeoData.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetWithoutGeoData.h new file mode 100644 index 0000000..54db4dd --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosGetWithoutGeoData.h @@ -0,0 +1,79 @@ +// +// FKFlickrPhotosGetWithoutGeoData.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *sort; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosLicensesGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosLicensesGetInfo.h new file mode 100644 index 0000000..88e7bde --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosLicensesGetInfo.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosLicensesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosLicensesSetLicense.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosLicensesSetLicense.h new file mode 100644 index 0000000..d4ee7b9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosLicensesSetLicense.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosLicensesSetLicense.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *license_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesAdd.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesAdd.h new file mode 100644 index 0000000..0631e77 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesAdd.h @@ -0,0 +1,65 @@ +// +// FKFlickrPhotosNotesAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The left coordinate of the note */ +@property (nonatomic, copy) NSString *note_x; /* (Required) */ + +/* The top coordinate of the note */ +@property (nonatomic, copy) NSString *note_y; /* (Required) */ + +/* The width of the note */ +@property (nonatomic, copy) NSString *note_w; /* (Required) */ + +/* The height of the note */ +@property (nonatomic, copy) NSString *note_h; /* (Required) */ + +/* The description of the note */ +@property (nonatomic, copy) NSString *note_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesDelete.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesDelete.h new file mode 100644 index 0000000..469feb6 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesDelete.h @@ -0,0 +1,46 @@ +// +// FKFlickrPhotosNotesDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *note_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesEdit.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesEdit.h new file mode 100644 index 0000000..71c1649 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosNotesEdit.h @@ -0,0 +1,63 @@ +// +// FKFlickrPhotosNotesEdit.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *note_id; /* (Required) */ + +/* The left coordinate of the note */ +@property (nonatomic, copy) NSString *note_x; /* (Required) */ + +/* The top coordinate of the note */ +@property (nonatomic, copy) NSString *note_y; /* (Required) */ + +/* The width of the note */ +@property (nonatomic, copy) NSString *note_w; /* (Required) */ + +/* The height of the note */ +@property (nonatomic, copy) NSString *note_h; /* (Required) */ + +/* The description of the note */ +@property (nonatomic, copy) NSString *note_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleAdd.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleAdd.h new file mode 100644 index 0000000..a5a326d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleAdd.h @@ -0,0 +1,67 @@ +// +// FKFlickrPhotosPeopleAdd.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the user to add to the photo. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + +/* The left-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_x; + +/* The top-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_y; + +/* The width (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_w; + +/* The height (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_h; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleDelete.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleDelete.h new file mode 100644 index 0000000..8b67a6d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleDelete.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosPeopleDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the person to remove from the photo. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleDeleteCoords.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleDeleteCoords.h new file mode 100644 index 0000000..84ac3bf --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleDeleteCoords.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosPeopleDeleteCoords.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the person whose bounding box you want to remove. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleEditCoords.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleEditCoords.h new file mode 100644 index 0000000..a27fb11 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleEditCoords.h @@ -0,0 +1,64 @@ +// +// FKFlickrPhotosPeopleEditCoords.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The NSID of the person to edit in a photo. */ +@property (nonatomic, copy) NSString *user_id; /* (Required) */ + +/* The left-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_x; /* (Required) */ + +/* The top-most pixel co-ordinate of the box around the person. */ +@property (nonatomic, copy) NSString *person_y; /* (Required) */ + +/* The width (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_w; /* (Required) */ + +/* The height (in pixels) of the box around the person. */ +@property (nonatomic, copy) NSString *person_h; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleGetList.h new file mode 100644 index 0000000..fa36e8e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleGetList.h @@ -0,0 +1,47 @@ +// +// FKFlickrPhotosPeopleGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosRecentlyUpdated.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosRecentlyUpdated.h new file mode 100644 index 0000000..4574548 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosRecentlyUpdated.h @@ -0,0 +1,68 @@ +// +// FKFlickrPhotosRecentlyUpdated.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosRemoveTag.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosRemoveTag.h new file mode 100644 index 0000000..7468e4d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosRemoveTag.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosRemoveTag.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSearch.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSearch.h new file mode 100644 index 0000000..0a70025 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSearch.h @@ -0,0 +1,248 @@ +// +// FKFlickrPhotosSearch.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *tags; + +/* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *group_id; + +/* Search your contacts. Either 'all' or 'ff' for just friends and family. (Experimental) */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *place_id; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *in_gallery; + +/* Limit the scope of the search to only photos that are for sale on Getty. Default is false. */ +@property (nonatomic, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetContentType.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetContentType.h new file mode 100644 index 0000000..666e8bf --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetContentType.h @@ -0,0 +1,54 @@ +// +// FKFlickrPhotosSetContentType.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *content_type; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetDates.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetDates.h new file mode 100644 index 0000000..7bf3e72 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetDates.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosSetDates.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The date the photo was uploaded to flickr (see the dates documentation) */ +@property (nonatomic, copy) NSString *date_posted; + +/* The date the photo was taken (see the dates documentation) */ +@property (nonatomic, copy) NSString *date_taken; + +/* The granularity of the date the photo was taken (see the dates documentation) */ +@property (nonatomic, copy) NSString *date_taken_granularity; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetMeta.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetMeta.h new file mode 100644 index 0000000..9ec45b5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetMeta.h @@ -0,0 +1,51 @@ +// +// FKFlickrPhotosSetMeta.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The title for the photo. */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* The description for the photo. */ +@property (copy) NSString *description; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetPerms.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetPerms.h new file mode 100644 index 0000000..ea99c97 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetPerms.h @@ -0,0 +1,72 @@ +// +// FKFlickrPhotosSetPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* 1 to set the photo to public, 0 to set it to private. */ +@property (nonatomic, copy) NSString *is_public; /* (Required) */ + +/* 1 to make the photo visible to friends when private, 0 to not. */ +@property (nonatomic, copy) NSString *is_friend; /* (Required) */ + +/* 1 to make the photo visible to family when private, 0 to not. */ +@property (nonatomic, copy) 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, copy) NSString *perm_comment; + +/* 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, copy) NSString *perm_addmeta; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetSafetyLevel.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetSafetyLevel.h new file mode 100644 index 0000000..c10f7f6 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetSafetyLevel.h @@ -0,0 +1,59 @@ +// +// FKFlickrPhotosSetSafetyLevel.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *hidden; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetTags.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetTags.h new file mode 100644 index 0000000..2a86ec0 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSetTags.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosSetTags.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* All tags for the photo (as a single space-delimited string). */ +@property (nonatomic, copy) NSString *tags; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsApproveSuggestion.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsApproveSuggestion.h new file mode 100644 index 0000000..5644047 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsApproveSuggestion.h @@ -0,0 +1,44 @@ +// +// FKFlickrPhotosSuggestionsApproveSuggestion.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *suggestion_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsGetList.h new file mode 100644 index 0000000..597c572 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsGetList.h @@ -0,0 +1,55 @@ +// +// FKFlickrPhotosSuggestionsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; + +/* Only show suggestions with a given status. + +
    +
  • 0, pending
  • +
  • 1, approved
  • +
  • 2, rejected
  • +
+ +The default is pending (or "0"). */ +@property (nonatomic, copy) NSString *status_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsRejectSuggestion.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsRejectSuggestion.h new file mode 100644 index 0000000..88b76f4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsRejectSuggestion.h @@ -0,0 +1,44 @@ +// +// FKFlickrPhotosSuggestionsRejectSuggestion.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *suggestion_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsRemoveSuggestion.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsRemoveSuggestion.h new file mode 100644 index 0000000..076edae --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsRemoveSuggestion.h @@ -0,0 +1,44 @@ +// +// FKFlickrPhotosSuggestionsRemoveSuggestion.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *suggestion_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsSuggestLocation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsSuggestLocation.h new file mode 100644 index 0000000..4664cd1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosSuggestionsSuggestLocation.h @@ -0,0 +1,62 @@ +// +// FKFlickrPhotosSuggestionsSuggestLocation.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) NSString *accuracy; + +/* The WOE ID of the location used to build the location hierarchy for the photo. */ +@property (nonatomic, copy) NSString *woe_id; + +/* The Flickr Places ID of the location used to build the location hierarchy for the photo. */ +@property (nonatomic, copy) NSString *place_id; + +/* A short note or history to include with the suggestion. */ +@property (nonatomic, copy) NSString *note; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosTransformRotate.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosTransformRotate.h new file mode 100644 index 0000000..a56b15c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosTransformRotate.h @@ -0,0 +1,53 @@ +// +// FKFlickrPhotosTransformRotate.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *degrees; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosUploadCheckTickets.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosUploadCheckTickets.h new file mode 100644 index 0000000..0958893 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosUploadCheckTickets.h @@ -0,0 +1,48 @@ +// +// FKFlickrPhotosUploadCheckTickets.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tickets; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsAddPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsAddPhoto.h new file mode 100644 index 0000000..ce13ce7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsAddPhoto.h @@ -0,0 +1,51 @@ +// +// FKFlickrPhotosetsAddPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The id of the photo to add to the set. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsAddComment.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsAddComment.h new file mode 100644 index 0000000..b42d157 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsAddComment.h @@ -0,0 +1,52 @@ +// +// FKFlickrPhotosetsCommentsAddComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* Text of the comment */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsDeleteComment.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsDeleteComment.h new file mode 100644 index 0000000..7b7dd67 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsDeleteComment.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsCommentsDeleteComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsEditComment.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsEditComment.h new file mode 100644 index 0000000..d24a04b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsEditComment.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsCommentsEditComment.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *comment_id; /* (Required) */ + +/* Update the comment to this text. */ +@property (nonatomic, copy) NSString *comment_text; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsGetList.h new file mode 100644 index 0000000..a89876d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCommentsGetList.h @@ -0,0 +1,47 @@ +// +// FKFlickrPhotosetsCommentsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCreate.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCreate.h new file mode 100644 index 0000000..f6bdbf4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsCreate.h @@ -0,0 +1,56 @@ +// +// FKFlickrPhotosetsCreate.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *title; /* (Required) */ + +/* A description of the photoset. May contain limited html. */ +@property (copy) NSString *description; + +/* The id of the photo to represent this set. The photo must belong to the calling user. */ +@property (nonatomic, copy) NSString *primary_photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsDelete.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsDelete.h new file mode 100644 index 0000000..535f838 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsDelete.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsDelete.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsEditMeta.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsEditMeta.h new file mode 100644 index 0000000..b945e11 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsEditMeta.h @@ -0,0 +1,52 @@ +// +// FKFlickrPhotosetsEditMeta.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The new title for the photoset. */ +@property (nonatomic, copy) NSString *title; /* (Required) */ + +/* A description of the photoset. May contain limited html. */ +@property (copy) NSString *description; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsEditPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsEditPhotos.h new file mode 100644 index 0000000..e4a74b5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsEditPhotos.h @@ -0,0 +1,55 @@ +// +// FKFlickrPhotosetsEditPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetContext.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetContext.h new file mode 100644 index 0000000..16dc724 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetContext.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosetsGetContext.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + +/* The id of the photoset for which to fetch the photo's context. */ +@property (nonatomic, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetInfo.h new file mode 100644 index 0000000..56e54bf --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetInfo.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetList.h new file mode 100644 index 0000000..0cf2354 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetList.h @@ -0,0 +1,62 @@ +// +// FKFlickrPhotosetsGetList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* A comma-delimited list of extra information to fetch for the primary photo. 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, copy) NSString *primary_photo_extras; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetPhotos.h new file mode 100644 index 0000000..df3997b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsGetPhotos.h @@ -0,0 +1,70 @@ +// +// FKFlickrPhotosetsGetPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + +/* Filter results by media type. Possible values are all (default), photos or videos */ +@property (nonatomic, copy) NSString *media; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsOrderSets.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsOrderSets.h new file mode 100644 index 0000000..5752bdd --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsOrderSets.h @@ -0,0 +1,45 @@ +// +// FKFlickrPhotosetsOrderSets.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsRemovePhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsRemovePhoto.h new file mode 100644 index 0000000..1d0b129 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsRemovePhoto.h @@ -0,0 +1,50 @@ +// +// FKFlickrPhotosetsRemovePhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The id of the photo to remove from the set. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsRemovePhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsRemovePhotos.h new file mode 100644 index 0000000..119d9ba --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsRemovePhotos.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsRemovePhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* Comma-delimited list of photo ids to remove from the photoset. */ +@property (nonatomic, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsReorderPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsReorderPhotos.h new file mode 100644 index 0000000..0d401d2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsReorderPhotos.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsReorderPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *photo_ids; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsSetPrimaryPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsSetPrimaryPhoto.h new file mode 100644 index 0000000..139a93f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPhotosetsSetPrimaryPhoto.h @@ -0,0 +1,49 @@ +// +// FKFlickrPhotosetsSetPrimaryPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photoset_id; /* (Required) */ + +/* The id of the photo to set as primary. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesFind.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesFind.h new file mode 100644 index 0000000..ebda022 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesFind.h @@ -0,0 +1,57 @@ +// +// FKFlickrPlacesFind.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *query; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesFindByLatLon.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesFindByLatLon.h new file mode 100644 index 0000000..d0b0a33 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesFindByLatLon.h @@ -0,0 +1,63 @@ +// +// FKFlickrPlacesFindByLatLon.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *lat; /* (Required) */ + +/* The longitude whose valid range is -180 to 180. Anything more than 4 decimal places will be truncated. */ +@property (nonatomic, copy) 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, copy) NSString *accuracy; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetChildrenWithPhotosPublic.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetChildrenWithPhotosPublic.h new file mode 100644 index 0000000..dd4b76f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetChildrenWithPhotosPublic.h @@ -0,0 +1,63 @@ +// +// FKFlickrPlacesGetChildrenWithPhotosPublic.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetInfo.h new file mode 100644 index 0000000..d405257 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetInfo.h @@ -0,0 +1,78 @@ +// +// FKFlickrPlacesGetInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetInfoByUrl.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetInfoByUrl.h new file mode 100644 index 0000000..be6b8c0 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetInfoByUrl.h @@ -0,0 +1,67 @@ +// +// FKFlickrPlacesGetInfoByUrl.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetPlaceTypes.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetPlaceTypes.h new file mode 100644 index 0000000..c18672f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetPlaceTypes.h @@ -0,0 +1,45 @@ +// +// FKFlickrPlacesGetPlaceTypes.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetShapeHistory.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetShapeHistory.h new file mode 100644 index 0000000..e93eed4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetShapeHistory.h @@ -0,0 +1,62 @@ +// +// FKFlickrPlacesGetShapeHistory.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *woe_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetTopPlacesList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetTopPlacesList.h new file mode 100644 index 0000000..f7eaf35 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesGetTopPlacesList.h @@ -0,0 +1,70 @@ +// +// FKFlickrPlacesGetTopPlacesList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *place_type_id; /* (Required) */ + +/* A valid date in YYYY-MM-DD format. The default is yesterday. */ +@property (nonatomic, copy) NSString *date; + +/* Limit your query to only those top places belonging to a specific Where on Earth (WOE) identifier. */ +@property (nonatomic, copy) NSString *woe_id; + +/* Limit your query to only those top places belonging to a specific Flickr Places identifier. */ +@property (nonatomic, copy) NSString *place_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForBoundingBox.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForBoundingBox.h new file mode 100644 index 0000000..7e04081 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForBoundingBox.h @@ -0,0 +1,107 @@ +// +// FKFlickrPlacesPlacesForBoundingBox.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *place_type_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForContacts.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForContacts.h new file mode 100644 index 0000000..998df15 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForContacts.h @@ -0,0 +1,113 @@ +// +// FKFlickrPlacesPlacesForContacts.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *threshold; + +/* Search your contacts. Either 'all' or 'ff' for just friends and family. (Default is all) */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForTags.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForTags.h new file mode 100644 index 0000000..a300ecd --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForTags.h @@ -0,0 +1,116 @@ +// +// FKFlickrPlacesPlacesForTags.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) NSString *threshold; + +/* A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. */ +@property (nonatomic, copy) NSString *tags; + +/* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForUser.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForUser.h new file mode 100644 index 0000000..13d4329 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesPlacesForUser.h @@ -0,0 +1,108 @@ +// +// FKFlickrPlacesPlacesForUser.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesResolvePlaceId.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesResolvePlaceId.h new file mode 100644 index 0000000..44dfb1c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesResolvePlaceId.h @@ -0,0 +1,60 @@ +// +// FKFlickrPlacesResolvePlaceId.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *place_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesResolvePlaceURL.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesResolvePlaceURL.h new file mode 100644 index 0000000..3e931ae --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesResolvePlaceURL.h @@ -0,0 +1,63 @@ +// +// FKFlickrPlacesResolvePlaceURL.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesTagsForPlace.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesTagsForPlace.h new file mode 100644 index 0000000..c233d25 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPlacesTagsForPlace.h @@ -0,0 +1,75 @@ +// +// FKFlickrPlacesTagsForPlace.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *max_taken_date; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetContentType.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetContentType.h new file mode 100644 index 0000000..0d18115 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetContentType.h @@ -0,0 +1,45 @@ +// +// FKFlickrPrefsGetContentType.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetGeoPerms.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetGeoPerms.h new file mode 100644 index 0000000..89d39f2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetGeoPerms.h @@ -0,0 +1,68 @@ +// +// FKFlickrPrefsGetGeoPerms.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetHidden.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetHidden.h new file mode 100644 index 0000000..f215349 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetHidden.h @@ -0,0 +1,45 @@ +// +// FKFlickrPrefsGetHidden.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetPrivacy.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetPrivacy.h new file mode 100644 index 0000000..2688b17 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetPrivacy.h @@ -0,0 +1,54 @@ +// +// FKFlickrPrefsGetPrivacy.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetSafetyLevel.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetSafetyLevel.h new file mode 100644 index 0000000..0bbfc67 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPrefsGetSafetyLevel.h @@ -0,0 +1,45 @@ +// +// FKFlickrPrefsGetSafetyLevel.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushGetSubscriptions.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushGetSubscriptions.h new file mode 100644 index 0000000..25e04f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushGetSubscriptions.h @@ -0,0 +1,51 @@ +// +// FKFlickrPushGetSubscriptions.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushGetTopics.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushGetTopics.h new file mode 100644 index 0000000..6c70454 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushGetTopics.h @@ -0,0 +1,45 @@ +// +// FKFlickrPushGetTopics.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushSubscribe.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushSubscribe.h new file mode 100644 index 0000000..d2702ca --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushSubscribe.h @@ -0,0 +1,110 @@ +// +// FKFlickrPushSubscribe.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *callback; /* (Required) */ + +/* The verification mode, either sync or async. See the Google PubSubHubbub spec for details. */ +@property (nonatomic, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) 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, copy) NSString *tags; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushUnsubscribe.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushUnsubscribe.h new file mode 100644 index 0000000..a1e9fc5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrPushUnsubscribe.h @@ -0,0 +1,60 @@ +// +// FKFlickrPushUnsubscribe.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *topic; /* (Required) */ + +/* The url for the subscription endpoint (must be the same url as was used when creating the subscription). */ +@property (nonatomic, copy) NSString *callback; /* (Required) */ + +/* The verification mode, either 'sync' or 'async'. See the Google PubSubHubbub spec for details. */ +@property (nonatomic, copy) 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, copy) NSString *verify_token; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrReflectionGetMethodInfo.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrReflectionGetMethodInfo.h new file mode 100644 index 0000000..4ab51ed --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrReflectionGetMethodInfo.h @@ -0,0 +1,59 @@ +// +// FKFlickrReflectionGetMethodInfo.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *method_name; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrReflectionGetMethods.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrReflectionGetMethods.h new file mode 100644 index 0000000..32bbfa7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrReflectionGetMethods.h @@ -0,0 +1,43 @@ +// +// FKFlickrReflectionGetMethods.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCSVFiles.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCSVFiles.h new file mode 100644 index 0000000..09066a1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCSVFiles.h @@ -0,0 +1,53 @@ +// +// FKFlickrStatsGetCSVFiles.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionDomains.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionDomains.h new file mode 100644 index 0000000..797ad67 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionDomains.h @@ -0,0 +1,69 @@ +// +// FKFlickrStatsGetCollectionDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the collection to get stats for. If not provided, stats for all collections will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionReferrers.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionReferrers.h new file mode 100644 index 0000000..e4c650d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionReferrers.h @@ -0,0 +1,73 @@ +// +// FKFlickrStatsGetCollectionReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) NSString *domain; /* (Required) */ + +/* The id of the collection to get stats for. If not provided, stats for all collections will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionStats.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionStats.h new file mode 100644 index 0000000..34a6fea --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetCollectionStats.h @@ -0,0 +1,55 @@ +// +// FKFlickrStatsGetCollectionStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the collection to get stats for. */ +@property (nonatomic, copy) NSString *collection_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoDomains.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoDomains.h new file mode 100644 index 0000000..2f42201 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoDomains.h @@ -0,0 +1,69 @@ +// +// FKFlickrStatsGetPhotoDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photo to get stats for. If not provided, stats for all photos will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoReferrers.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoReferrers.h new file mode 100644 index 0000000..6b3a3f9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoReferrers.h @@ -0,0 +1,72 @@ +// +// FKFlickrStatsGetPhotoReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) NSString *domain; /* (Required) */ + +/* The id of the photo to get stats for. If not provided, stats for all photos will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoStats.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoStats.h new file mode 100644 index 0000000..becb58d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotoStats.h @@ -0,0 +1,55 @@ +// +// FKFlickrStatsGetPhotoStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photo to get stats for. */ +@property (nonatomic, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetDomains.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetDomains.h new file mode 100644 index 0000000..eb417c5 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetDomains.h @@ -0,0 +1,69 @@ +// +// FKFlickrStatsGetPhotosetDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photoset to get stats for. If not provided, stats for all sets will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetReferrers.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetReferrers.h new file mode 100644 index 0000000..97555ff --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetReferrers.h @@ -0,0 +1,72 @@ +// +// FKFlickrStatsGetPhotosetReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) NSString *domain; /* (Required) */ + +/* The id of the photoset to get stats for. If not provided, stats for all sets will be returned. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetStats.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetStats.h new file mode 100644 index 0000000..94cad7d --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotosetStats.h @@ -0,0 +1,55 @@ +// +// FKFlickrStatsGetPhotosetStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The id of the photoset to get stats for. */ +@property (nonatomic, copy) NSString *photoset_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamDomains.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamDomains.h new file mode 100644 index 0000000..a2e8724 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamDomains.h @@ -0,0 +1,65 @@ +// +// FKFlickrStatsGetPhotostreamDomains.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamReferrers.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamReferrers.h new file mode 100644 index 0000000..6f37f9c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamReferrers.h @@ -0,0 +1,68 @@ +// +// FKFlickrStatsGetPhotostreamReferrers.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + +/* The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname. */ +@property (nonatomic, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamStats.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamStats.h new file mode 100644 index 0000000..cc81d7e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPhotostreamStats.h @@ -0,0 +1,51 @@ +// +// FKFlickrStatsGetPhotostreamStats.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPopularPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPopularPhotos.h new file mode 100644 index 0000000..3af8411 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetPopularPhotos.h @@ -0,0 +1,82 @@ +// +// FKFlickrStatsGetPopularPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) 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, copy) 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, copy) NSString *per_page; + +/* The page of results to return. If this argument is omitted, it defaults to 1. */ +@property (nonatomic, copy) NSString *page; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetTotalViews.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetTotalViews.h new file mode 100644 index 0000000..51b6656 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrStatsGetTotalViews.h @@ -0,0 +1,59 @@ +// +// FKFlickrStatsGetTotalViews.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *date; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetClusterPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetClusterPhotos.h new file mode 100644 index 0000000..fbc378b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetClusterPhotos.h @@ -0,0 +1,42 @@ +// +// FKFlickrTagsGetClusterPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; /* (Required) */ + +/* The top three tags for the cluster, separated by dashes (just like the url). */ +@property (nonatomic, copy) NSString *cluster_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetClusters.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetClusters.h new file mode 100644 index 0000000..d36df6b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetClusters.h @@ -0,0 +1,53 @@ +// +// FKFlickrTagsGetClusters.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetHotList.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetHotList.h new file mode 100644 index 0000000..9525260 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetHotList.h @@ -0,0 +1,52 @@ +// +// FKFlickrTagsGetHotList.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *period; + +/* The number of tags to return. Defaults to 20. Maximum allowed value is 200. */ +@property (nonatomic, copy) NSString *count; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListPhoto.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListPhoto.h new file mode 100644 index 0000000..d1886a8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListPhoto.h @@ -0,0 +1,50 @@ +// +// FKFlickrTagsGetListPhoto.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *photo_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUser.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUser.h new file mode 100644 index 0000000..0c3378a --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUser.h @@ -0,0 +1,51 @@ +// +// FKFlickrTagsGetListUser.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUserPopular.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUserPopular.h new file mode 100644 index 0000000..8040e88 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUserPopular.h @@ -0,0 +1,54 @@ +// +// FKFlickrTagsGetListUserPopular.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + +/* Number of popular tags to return. defaults to 10 when this argument is not present. */ +@property (nonatomic, copy) NSString *count; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUserRaw.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUserRaw.h new file mode 100644 index 0000000..9b53511 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetListUserRaw.h @@ -0,0 +1,50 @@ +// +// FKFlickrTagsGetListUserRaw.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetMostFrequentlyUsed.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetMostFrequentlyUsed.h new file mode 100644 index 0000000..8040e04 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetMostFrequentlyUsed.h @@ -0,0 +1,50 @@ +// +// FKFlickrTagsGetMostFrequentlyUsed.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetRelated.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetRelated.h new file mode 100644 index 0000000..06ddff1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTagsGetRelated.h @@ -0,0 +1,49 @@ +// +// FKFlickrTagsGetRelated.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *tag; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestEcho.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestEcho.h new file mode 100644 index 0000000..0905f2b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestEcho.h @@ -0,0 +1,39 @@ +// +// FKFlickrTestEcho.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestLogin.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestLogin.h new file mode 100644 index 0000000..3a6303f --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestLogin.h @@ -0,0 +1,46 @@ +// +// FKFlickrTestLogin.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestNull.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestNull.h new file mode 100644 index 0000000..258ba8e --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrTestNull.h @@ -0,0 +1,41 @@ +// +// FKFlickrTestNull.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */ + 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetGroup.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetGroup.h new file mode 100644 index 0000000..e398ad8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetGroup.h @@ -0,0 +1,42 @@ +// +// FKFlickrUrlsGetGroup.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *group_id; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetUserPhotos.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetUserPhotos.h new file mode 100644 index 0000000..3bd0a62 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetUserPhotos.h @@ -0,0 +1,43 @@ +// +// FKFlickrUrlsGetUserPhotos.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetUserProfile.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetUserProfile.h new file mode 100644 index 0000000..0b12bf7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsGetUserProfile.h @@ -0,0 +1,43 @@ +// +// FKFlickrUrlsGetUserProfile.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *user_id; + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupGallery.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupGallery.h new file mode 100644 index 0000000..de4a3a3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupGallery.h @@ -0,0 +1,48 @@ +// +// FKFlickrUrlsLookupGallery.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupGroup.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupGroup.h new file mode 100644 index 0000000..173e0c4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupGroup.h @@ -0,0 +1,44 @@ +// +// FKFlickrUrlsLookupGroup.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupUser.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupUser.h new file mode 100644 index 0000000..ee3dac8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKFlickrUrlsLookupUser.h @@ -0,0 +1,44 @@ +// +// FKFlickrUrlsLookupUser.h +// FlickrKit +// +// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. +// 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_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */ + 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, copy) NSString *url; /* (Required) */ + + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKImageUploadNetworkOperation.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKImageUploadNetworkOperation.h new file mode 100644 index 0000000..f67686c --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKImageUploadNetworkOperation.h @@ -0,0 +1,20 @@ +// +// 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; +- (id) initWithAssetURL:(NSURL *)assetURL arguments:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKOFHMACSha1Base64.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKOFHMACSha1Base64.h new file mode 100644 index 0000000..7f2b824 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKOFHMACSha1Base64.h @@ -0,0 +1,30 @@ +// +// 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); diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKReachability.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKReachability.h new file mode 100755 index 0000000..27155c2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKReachability.h @@ -0,0 +1,89 @@ +/* + + 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 + + diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKURLBuilder.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKURLBuilder.h new file mode 100644 index 0000000..5d06b9b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKURLBuilder.h @@ -0,0 +1,28 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKUploadRespone.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKUploadRespone.h new file mode 100644 index 0000000..3773ed9 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKUploadRespone.h @@ -0,0 +1,19 @@ +// +// 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 diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKUtilities.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKUtilities.h new file mode 100644 index 0000000..78ff8f2 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FKUtilities.h @@ -0,0 +1,28 @@ +// +// 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); diff --git a/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FlickrKit.h b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FlickrKit.h new file mode 100644 index 0000000..f736330 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/FlickrKit/FlickrKit.h @@ -0,0 +1,102 @@ +// +// 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; + +- (FKImageUploadNetworkOperation *) uploadAssetURL:(NSURL *)assetURL args:(NSDictionary *)args completion:(FKAPIImageUploadCompletion)completion; + +@end + diff --git a/PrettyWeatherApp/Pods/Headers/Private/LatoFont/UIFont+Lato.h b/PrettyWeatherApp/Pods/Headers/Private/LatoFont/UIFont+Lato.h new file mode 100644 index 0000000..bdde4cc --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/LatoFont/UIFont+Lato.h @@ -0,0 +1,28 @@ +// +// UIFont+Lato.h +// LatoFont +// +// Created by Michal Konturek on 29/05/2014. +// Copyright (c) 2014 Michal Konturek. All rights reserved. +// + +#import + +@interface UIFont (Lato) + ++ (UIFont *)latoHairlineFontOfSize:(CGFloat)size; ++ (UIFont *)latoHairlineItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoLightFontOfSize:(CGFloat)size; ++ (UIFont *)latoLightItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoFontOfSize:(CGFloat)size; ++ (UIFont *)latoItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoBoldFontOfSize:(CGFloat)size; ++ (UIFont *)latoBoldItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoBlackFontOfSize:(CGFloat)size; ++ (UIFont *)latoBlackItalicFontOfSize:(CGFloat)size; + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/FAKIcon.h b/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/FAKIcon.h new file mode 100644 index 0000000..0adfc00 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/FAKIcon.h @@ -0,0 +1,162 @@ +// +// FAKIcon.h +// FontAwesomeKit 2.2.0 +// +// Created by Pride Chung for FontAwesomeKit. +// https://github.com/PrideChung/FontAwesomeKit +// + +#import +#import + +/** + * Abstract superclass for icons, should not be used directly. You can subclass this class to provide new icon font support. + */ +@interface FAKIcon : NSObject + +/** + * The drawing offset of the icon in the image. If you do not specify this property, the icon is centered horizontally and vertically inside the image. + */ +@property (nonatomic) UIOffset drawingPositionAdjustment; + +/** + * The background color of the image while drawing. If you do not specify this property, no background color is drawn. + */ +@property (strong, nonatomic) UIColor *drawingBackgroundColor; + +/** + * The icon font size for the icon. + */ +@property (nonatomic) CGFloat iconFontSize; + +/** + * Register a icon font with it's file url. + * + * @param url The file url for the font, file must exists. + */ ++ (void)registerIconFontWithURL:(NSURL *)url; + +/** + * Returns an dictionary of icons available for this icon font. + * + * @return A dictionary of icons. The keys are character codes of icons, the corresponding value for a key is the name for that icon. + */ ++ (NSDictionary *)allIcons; + +/** + * Creates and returns an icon font object for the specified size. This is an abstract method and subclasses must provide an implementation. + * + * @param size The size (in points) to which the font is scaled. This value must be greater than 0.0. + * + * @return A font object of the specified name and size. + */ ++ (UIFont *)iconFontWithSize:(CGFloat)size; + +/** + * Creates and returns a FAKIcon object for the specified character code and size. + * + * @param code A string represents a character code. Like @"\uf000" + * @param size The desired size (in points) of the icon font that will be used for the icon. This value must be greater than 0.0. + * + * @return Returns a FAKIcon object. + */ ++ (instancetype)iconWithCode:(NSString *)code size:(CGFloat)size; + +/** + * Adds an attribute with the given name and value to the icon. + * + * @param attrs A dictionary containing the text attributes to set. These attributes will be used to create attributedString when you call -attributedString on the receiver. For information about system-supplied attribute keys, See NSAttributedString UIKit Additions Reference (https://developer.apple.com/library/ios/documentation/UIKit/Reference/NSAttributedString_UIKit_Additions/Reference/Reference.html#//apple_ref/doc/uid/TP40011688-CH1-SW16) + * @warning You should not set the NSFontAttributeName attribute to another font. + */ +- (void)setAttributes:(NSDictionary *)attrs; + +/** + * Adds an attribute with the given name and value to the icon. + * + * @param name A string specifying the attribute name. + * @param value Adds an attribute with the given name and value to the icon. + */ +- (void)addAttribute:(NSString *)name value:(id)value; + +/** + * Adds the given collection of attributes to the icon. + * + * @param attrs A dictionary containing the attributes to add. + */ +- (void)addAttributes:(NSDictionary *)attrs; + +/** + * Removes the named attribute from the icon. + * + * @param name A string specifying the attribute name to remove. + */ +- (void)removeAttribute:(NSString *)name; + +/** + * Returns the attributes for the icon. + * + * @return The attributes for the icon. + */ +- (NSDictionary *)attributes; + +/** + * Returns the value for an attribute with a given name of the icon. + * + * @param attrName The name of an attribute. + * + * @return The value for an attribute with a given name of the icon, or nil if there is no such attribute. + */ +- (id)attribute:(NSString *)attrName; + +/** + * Creates and returns a NSAttributedString with specified attributes for the receiver. + * + * @return A NSAttributedString with specifed attributes. + */ +- (NSAttributedString *)attributedString; + +/** + * Returns the character code of the icon. + * + * @return The character code of the icon. + */ +- (NSString *)characterCode; + +/** + * Returns the name of the icon. + * + * @return The name of the icon. + */ +- (NSString *)iconName; + +/** + * Returns the icon font of the icon. + * + * @return The icon font of the icon. + */ +- (UIFont *)iconFont; + +/** + * Draws the icon on an image. The icon will be centered horizontally and vertically by default. You can set the drawingPostionAdjustment property to adjust drawing offset. + * + * @param imageSize Height and width for the image. + * + * @return An image with the icon. + */ +- (UIImage *)imageWithSize:(CGSize)imageSize; + +@end + +@interface UIImage (FAKAddon) + +/** + * Draws the FAKIcons in an array on an image. These icons will be centered horizontally and vertically by default. You can set the drawingPostionAdjustment property to adjust drawing offset for each icon. + * + * @param icons The icons to be drawn. The first icon will be drawn on the bottom and the last icon will be drawn on the top. + * @param imageSize Height and width for the generated image. + * + * @return An image with the icons. + */ ++ (UIImage *)imageWithStackedIcons:(NSArray *)icons imageSize:(CGSize)imageSize; + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/WIKFontIcon.h b/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/WIKFontIcon.h new file mode 100644 index 0000000..0023b8b --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/WIKFontIcon.h @@ -0,0 +1,184 @@ +#import "FAKIcon.h" + +@interface WIKFontIcon : FAKIcon + +// Generated Code ++ (instancetype)wiDayCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiDayCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiDayCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiDayFogIconWithSize:(CGFloat)size; ++ (instancetype)wiDayHailIconWithSize:(CGFloat)size; ++ (instancetype)wiDayLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiDayRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiDayRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiDayRainIconWithSize:(CGFloat)size; ++ (instancetype)wiDayShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySnowIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySunnyOvercastIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySunnyIconWithSize:(CGFloat)size; ++ (instancetype)wiDayStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiDayThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiFogIconWithSize:(CGFloat)size; ++ (instancetype)wiHailIconWithSize:(CGFloat)size; ++ (instancetype)wiLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiRainIconWithSize:(CGFloat)size; ++ (instancetype)wiShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiSnowIconWithSize:(CGFloat)size; ++ (instancetype)wiSprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltHailIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltRainIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSnowIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightClearIconWithSize:(CGFloat)size; ++ (instancetype)wiNightCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiNightCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightHailIconWithSize:(CGFloat)size; ++ (instancetype)wiNightLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiNightRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiNightRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightRainIconWithSize:(CGFloat)size; ++ (instancetype)wiNightShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSnowIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiNightStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiCelsiusIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudDownIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudRefreshIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudUpIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudIconWithSize:(CGFloat)size; ++ (instancetype)wiDegreesIconWithSize:(CGFloat)size; ++ (instancetype)wiDownLeftIconWithSize:(CGFloat)size; ++ (instancetype)wiDownIconWithSize:(CGFloat)size; ++ (instancetype)wiFahrenheitIconWithSize:(CGFloat)size; ++ (instancetype)wiHorizonAltIconWithSize:(CGFloat)size; ++ (instancetype)wiHorizonIconWithSize:(CGFloat)size; ++ (instancetype)wiLeftIconWithSize:(CGFloat)size; ++ (instancetype)wiNightFogIconWithSize:(CGFloat)size; ++ (instancetype)wiRefreshAltIconWithSize:(CGFloat)size; ++ (instancetype)wiRefreshIconWithSize:(CGFloat)size; ++ (instancetype)wiRightIconWithSize:(CGFloat)size; ++ (instancetype)wiSprinklesIconWithSize:(CGFloat)size; ++ (instancetype)wiStrongWindIconWithSize:(CGFloat)size; ++ (instancetype)wiSunriseIconWithSize:(CGFloat)size; ++ (instancetype)wiSunsetIconWithSize:(CGFloat)size; ++ (instancetype)wiThermometerExteriorIconWithSize:(CGFloat)size; ++ (instancetype)wiThermometerInternalIconWithSize:(CGFloat)size; ++ (instancetype)wiThermometerIconWithSize:(CGFloat)size; ++ (instancetype)wiTornadoIconWithSize:(CGFloat)size; ++ (instancetype)wiUpRightIconWithSize:(CGFloat)size; ++ (instancetype)wiUpIconWithSize:(CGFloat)size; ++ (instancetype)wiWindWestIconWithSize:(CGFloat)size; ++ (instancetype)wiWindSouthWestIconWithSize:(CGFloat)size; ++ (instancetype)wiWindSouthEastIconWithSize:(CGFloat)size; ++ (instancetype)wiWindSouthIconWithSize:(CGFloat)size; ++ (instancetype)wiWindNorthWestIconWithSize:(CGFloat)size; ++ (instancetype)wiWindNorthEastIconWithSize:(CGFloat)size; ++ (instancetype)wiWindNorthIconWithSize:(CGFloat)size; ++ (instancetype)wiWindEastIconWithSize:(CGFloat)size; ++ (instancetype)wiSmokeIconWithSize:(CGFloat)size; ++ (instancetype)wiDustIconWithSize:(CGFloat)size; ++ (instancetype)wiSnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySleetStormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSleetStormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSleetStormIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySnowThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSnowThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSnowThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiSolarEclipseIconWithSize:(CGFloat)size; ++ (instancetype)wiLunarEclipseIconWithSize:(CGFloat)size; ++ (instancetype)wiMeteorIconWithSize:(CGFloat)size; ++ (instancetype)wiHotIconWithSize:(CGFloat)size; ++ (instancetype)wiHurricaneIconWithSize:(CGFloat)size; ++ (instancetype)wiSmogIconWithSize:(CGFloat)size; ++ (instancetype)wiAlienIconWithSize:(CGFloat)size; ++ (instancetype)wiSnowflakeColdIconWithSize:(CGFloat)size; ++ (instancetype)wiStarsIconWithSize:(CGFloat)size; ++ (instancetype)wiNightPartlyCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiUmbrellaIconWithSize:(CGFloat)size; ++ (instancetype)wiDayWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiUpLeftIconWithSize:(CGFloat)size; ++ (instancetype)wiDownRightIconWithSize:(CGFloat)size; ++ (instancetype)wiTime12IconWithSize:(CGFloat)size; ++ (instancetype)wiTime1IconWithSize:(CGFloat)size; ++ (instancetype)wiTime2IconWithSize:(CGFloat)size; ++ (instancetype)wiTime3IconWithSize:(CGFloat)size; ++ (instancetype)wiTime4IconWithSize:(CGFloat)size; ++ (instancetype)wiTime5IconWithSize:(CGFloat)size; ++ (instancetype)wiTime6IconWithSize:(CGFloat)size; ++ (instancetype)wiTime7IconWithSize:(CGFloat)size; ++ (instancetype)wiTime8IconWithSize:(CGFloat)size; ++ (instancetype)wiTime9IconWithSize:(CGFloat)size; ++ (instancetype)wiTime10IconWithSize:(CGFloat)size; ++ (instancetype)wiTime11IconWithSize:(CGFloat)size; ++ (instancetype)wiDaySleetIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSleetIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSleetIconWithSize:(CGFloat)size; ++ (instancetype)wiSleetIconWithSize:(CGFloat)size; ++ (instancetype)wiDayHazeIconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort0IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort1IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort2IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort3IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort4IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort5IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort6IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort7IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort8IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort9IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort10IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort11IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort12IconWithSize:(CGFloat)size; ++ (instancetype)wiWindDefaultIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonNewIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent6IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonFirstQuarterIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous6IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonFullIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous6IconWithSize:(CGFloat)size; ++ (instancetype)wiMoon3rdQuarterIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent6IconWithSize:(CGFloat)size; + +@end diff --git a/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/WeatherIconsKit.h b/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/WeatherIconsKit.h new file mode 100644 index 0000000..e2c8fc7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Headers/Private/WeatherIconsKit/WeatherIconsKit.h @@ -0,0 +1,7 @@ +#ifndef WeatherIconsKit + +#define WeatherIconsKit + +#import "FAKIcon.h" +#import "WIKFontIcon.h" +#endif diff --git a/PrettyWeatherApp/Pods/LatoFont/LICENSE b/PrettyWeatherApp/Pods/LatoFont/LICENSE new file mode 100644 index 0000000..2d805c9 --- /dev/null +++ b/PrettyWeatherApp/Pods/LatoFont/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2014 Michal Konturek +LatoFont + +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. \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/LatoFont/README.md b/PrettyWeatherApp/Pods/LatoFont/README.md new file mode 100644 index 0000000..e28aca7 --- /dev/null +++ b/PrettyWeatherApp/Pods/LatoFont/README.md @@ -0,0 +1,52 @@ +# LatoFont + +[![Twitter](https://img.shields.io/badge/contact-@MichalKonturek-blue.svg?style=flat)](http://twitter.com/michalkonturek) +[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/michalkonturek/LatoFont/blob/master/LICENSE) +[![CocoaPods](https://img.shields.io/cocoapods/v/LatoFont.svg?style=flat)](https://github.com/michalkonturek/LatoFont) + +Brings [Lato][LATO] font to iOS. + + +## License + +Source code of this project is available under the standard MIT license. Please see [the license file][LICENSE]. + +[LICENSE]:https://github.com/michalkonturek/GraphKit/blob/master/LICENSE] + +[Lukasz Dziedzic][LD] holds copyright to the [Lato][LATO] font which is licensed under the [SIL Open Font License][OFL]. + + +[LD]:https://plus.google.com/106163021290874968147/about +[OFL]:http://scripts.sil.org/OFL +[LATO]:https://www.google.com/fonts/specimen/Lato + +## Usage + +```objc +#import + +@implementation ExampleVC + +- (void)viewDidLoad { + [super viewDidLoad]; + + CGFloat size = 17.0; + + self.hairlineLabel.font = [UIFont latoHairlineFontOfSize:size]; + self.hairlineItalicLabel.font = [UIFont latoHairlineItalicFontOfSize:size]; + + self.lightLabel.font = [UIFont latoLightFontOfSize:size]; + self.lightItalicLabel.font = [UIFont latoLightItalicFontOfSize:size]; + + self.regularLabel.font = [UIFont latoFontOfSize:size]; + self.italicLabel.font = [UIFont latoItalicFontOfSize:size]; + + self.boldLabel.font = [UIFont latoBoldFontOfSize:size]; + self.boldItalicLabel.font = [UIFont latoBoldItalicFontOfSize:size]; + + self.blackLabel.font = [UIFont latoBlackFontOfSize:size]; + self.blackItalicLabel.font = [UIFont latoBlackItalicFontOfSize:size]; +} + +@end +``` diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Black.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Black.ttf new file mode 100755 index 0000000..6848db0 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Black.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-BlackItalic.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-BlackItalic.ttf new file mode 100755 index 0000000..5decf12 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-BlackItalic.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Bold.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Bold.ttf new file mode 100755 index 0000000..7434369 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Bold.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-BoldItalic.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-BoldItalic.ttf new file mode 100755 index 0000000..684aacf Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-BoldItalic.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Hairline.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Hairline.ttf new file mode 100755 index 0000000..288be29 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Hairline.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-HairlineItalic.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-HairlineItalic.ttf new file mode 100755 index 0000000..c2bfd33 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-HairlineItalic.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Italic.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Italic.ttf new file mode 100755 index 0000000..3d3b7a2 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Italic.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Light.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Light.ttf new file mode 100755 index 0000000..a958067 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Light.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-LightItalic.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-LightItalic.ttf new file mode 100755 index 0000000..5e45ad9 Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-LightItalic.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Regular.ttf b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Regular.ttf new file mode 100755 index 0000000..04ea8ef Binary files /dev/null and b/PrettyWeatherApp/Pods/LatoFont/Source/Fonts/Lato-Regular.ttf differ diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/UIFont+Lato.h b/PrettyWeatherApp/Pods/LatoFont/Source/UIFont+Lato.h new file mode 100644 index 0000000..bdde4cc --- /dev/null +++ b/PrettyWeatherApp/Pods/LatoFont/Source/UIFont+Lato.h @@ -0,0 +1,28 @@ +// +// UIFont+Lato.h +// LatoFont +// +// Created by Michal Konturek on 29/05/2014. +// Copyright (c) 2014 Michal Konturek. All rights reserved. +// + +#import + +@interface UIFont (Lato) + ++ (UIFont *)latoHairlineFontOfSize:(CGFloat)size; ++ (UIFont *)latoHairlineItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoLightFontOfSize:(CGFloat)size; ++ (UIFont *)latoLightItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoFontOfSize:(CGFloat)size; ++ (UIFont *)latoItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoBoldFontOfSize:(CGFloat)size; ++ (UIFont *)latoBoldItalicFontOfSize:(CGFloat)size; + ++ (UIFont *)latoBlackFontOfSize:(CGFloat)size; ++ (UIFont *)latoBlackItalicFontOfSize:(CGFloat)size; + +@end diff --git a/PrettyWeatherApp/Pods/LatoFont/Source/UIFont+Lato.m b/PrettyWeatherApp/Pods/LatoFont/Source/UIFont+Lato.m new file mode 100644 index 0000000..efa3d5d --- /dev/null +++ b/PrettyWeatherApp/Pods/LatoFont/Source/UIFont+Lato.m @@ -0,0 +1,88 @@ +// +// UIFont+Lato.m +// LatoFont +// +// Created by Michal Konturek on 29/05/2014. +// Copyright (c) 2014 Michal Konturek. All rights reserved. +// + +#import "UIFont+Lato.h" + +#import + +@interface LatoFontFakeClass : NSObject +@end +@implementation LatoFontFakeClass +@end + +static NSArray *fonts = nil; + +@implementation UIFont (Lato) + ++ (void)load { + fonts = @[@"Lato-Hairline", + @"Lato-HairlineItalic", + @"Lato-Light", + @"Lato-LightItalic", + @"Lato-Regular", + @"Lato-Italic", + @"Lato-Bold", + @"Lato-BoldItalic", + @"Lato-Black", + @"Lato-BlackItalic" + ]; + + NSBundle *bundle = [NSBundle bundleForClass:[LatoFontFakeClass class]]; + NSString *bundlePath = [bundle pathForResource:@"LatoFont" ofType:@"bundle"]; + NSBundle *bundleWithFonts = [NSBundle bundleWithPath:bundlePath]; + + for (id font in fonts) { + NSURL *url = [bundleWithFonts URLForResource:font withExtension:@"ttf"]; + CFErrorRef error; + if (url) { + CTFontManagerRegisterFontsForURL((__bridge CFURLRef)url, kCTFontManagerScopeNone, &error); + } + } +} + ++ (UIFont *)latoHairlineFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:0] size:size]; +} + ++ (UIFont *)latoHairlineItalicFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:1] size:size]; +} + ++ (UIFont *)latoLightFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:2] size:size]; +} + ++ (UIFont *)latoLightItalicFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:3] size:size]; +} + ++ (UIFont *)latoFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:4] size:size]; +} + ++ (UIFont *)latoItalicFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:5] size:size]; +} + ++ (UIFont *)latoBoldFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:6] size:size]; +} + ++ (UIFont *)latoBoldItalicFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:7] size:size]; +} + ++ (UIFont *)latoBlackFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:8] size:size]; +} + ++ (UIFont *)latoBlackItalicFontOfSize:(CGFloat)size { + return [UIFont fontWithName:[fonts objectAtIndex:9] size:size]; +} + +@end diff --git a/PrettyWeatherApp/Pods/Local Podspecs/Cartography.podspec.json b/PrettyWeatherApp/Pods/Local Podspecs/Cartography.podspec.json new file mode 100644 index 0000000..3da5d9f --- /dev/null +++ b/PrettyWeatherApp/Pods/Local Podspecs/Cartography.podspec.json @@ -0,0 +1,24 @@ +{ + "name": "Cartography", + "version": "0.5.0", + "summary": "Declarative Auto Layout in Swift", + "description": "Set up your Auto Layout constraints declaratively and without any stringly typing!", + "homepage": "https://github.com/robb/Cartography", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "Robert Böhnke": "robb@robb.is" + }, + "platforms": { + "ios": "8.0", + "osx": "10.9" + }, + "source": { + "git": "https://github.com/robb/Cartography.git", + "tag": "0.5.0" + }, + "source_files": "Cartography/*.swift", + "requires_arc": true +} diff --git a/PrettyWeatherApp/Pods/Local Podspecs/LatoFont.podspec.json b/PrettyWeatherApp/Pods/Local Podspecs/LatoFont.podspec.json new file mode 100644 index 0000000..6bfe9fc --- /dev/null +++ b/PrettyWeatherApp/Pods/Local Podspecs/LatoFont.podspec.json @@ -0,0 +1,27 @@ +{ + "name": "LatoFont", + "version": "1.0.1", + "summary": "Brings Lato font to iOS.", + "homepage": "https://github.com/michalkonturek/LatoFont", + "license": "MIT", + "authors": { + "Michal Konturek": "michal.konturek@gmail.com" + }, + "platforms": { + "ios": "7.0" + }, + "social_media_url": "https://twitter.com/michalkonturek", + "source": { + "git": "https://github.com/michalkonturek/LatoFont.git", + "tag": "1.0.1" + }, + "source_files": "Source/*.{h,m}", + "resource_bundles": { + "LatoFont": "Source/Fonts/*.ttf" + }, + "requires_arc": true, + "frameworks": [ + "CoreText", + "UIKit" + ] +} diff --git a/PrettyWeatherApp/Pods/Local Podspecs/WeatherIconsKit.podspec.json b/PrettyWeatherApp/Pods/Local Podspecs/WeatherIconsKit.podspec.json new file mode 100644 index 0000000..84ec769 --- /dev/null +++ b/PrettyWeatherApp/Pods/Local Podspecs/WeatherIconsKit.podspec.json @@ -0,0 +1,31 @@ +{ + "name": "WeatherIconsKit", + "version": "1.0.0", + "summary": "WeatherIcons font library for iOS", + "homepage": "https://github.com/gscalzo/WeatherIconsKit", + "screenshots": "http://i3.minus.com/jCy98cCvrjLiP.png", + "license": "MIT", + "authors": { + "Giordano Scalzo": "giordano.scalzo@gmail.com" + }, + "source": { + "git": "https://github.com/gscalzo/WeatherIconsKit.git", + "tag": "1.0.0" + }, + "platforms": { + "ios": "6.0" + }, + "ios": { + "frameworks": [ + "UIKit", + "CoreText" + ] + }, + "source_files": [ + "WeatherIconsKit/WeatherIconsKit.h", + "WeatherIconsKit/FAKIcon.{h,m}", + "WeatherIconsKit/WIKFontIcon.{h,m}" + ], + "resources": "WeatherIconsKit/WeatherIcons-Regular.otf", + "requires_arc": true +} diff --git a/PrettyWeatherApp/Pods/Manifest.lock b/PrettyWeatherApp/Pods/Manifest.lock new file mode 100644 index 0000000..de1933d --- /dev/null +++ b/PrettyWeatherApp/Pods/Manifest.lock @@ -0,0 +1,48 @@ +PODS: + - Alamofire (2.0.2) + - Cartography (0.5.0) + - FlickrKit (1.0.5) + - FXBlurView (1.6.4) + - LatoFont (1.0.1) + - SwiftyJSON (2.3.0) + - WeatherIconsKit (1.0.0) + +DEPENDENCIES: + - Alamofire (~> 2.0) + - Cartography (from `https://github.com/robb/Cartography.git`, tag `0.6.0`) + - FlickrKit (~> 1.0.5) + - FXBlurView (~> 1.6.4) + - LatoFont (from `https://github.com/gscalzo/LatoFont.git`) + - SwiftyJSON (~> 2.3.0) + - WeatherIconsKit (from `git@github.com:gscalzo/WeatherIconsKit.git`) + +EXTERNAL SOURCES: + Cartography: + :git: https://github.com/robb/Cartography.git + :tag: 0.6.0 + LatoFont: + :git: https://github.com/gscalzo/LatoFont.git + WeatherIconsKit: + :git: git@github.com:gscalzo/WeatherIconsKit.git + +CHECKOUT OPTIONS: + Cartography: + :git: https://github.com/robb/Cartography.git + :tag: 0.6.0 + LatoFont: + :commit: 2739e4c28c92c82ca2c7daf289a238d62af01c42 + :git: https://github.com/gscalzo/LatoFont.git + WeatherIconsKit: + :commit: effa8476b88010a5ea6d3cfcf5fb81db87ff5bfa + :git: git@github.com:gscalzo/WeatherIconsKit.git + +SPEC CHECKSUMS: + Alamofire: 8edbab00802a752bb5240cc2abe70e7e881488ad + Cartography: 314f5ed1495995760487161eeb7a8a0940d88ad3 + FlickrKit: fc0ed009c5cb69db4d82e68f7acb02002ebe1a42 + FXBlurView: db786c2561cb49a09ae98407f52460096ab8a44f + LatoFont: 0bfeace154ee2da6080123d0e80560f6e22b187d + SwiftyJSON: 8d6b61a70277ef2a5d710d372e06e7e2d87fb9e4 + WeatherIconsKit: 84526a4cdf9da972c2866f24e40360420b1d40bf + +COCOAPODS: 0.39.0.beta.4 diff --git a/PrettyWeatherApp/Pods/Pods.xcodeproj/project.pbxproj b/PrettyWeatherApp/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..85d1778 --- /dev/null +++ b/PrettyWeatherApp/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,3569 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 003722DD43AF414970D03EEF786E5E5E /* FKFlickrPlacesPlacesForContacts.m in Sources */ = {isa = PBXBuildFile; fileRef = 314C33D1D4F1C9A0AE25169193657963 /* FKFlickrPlacesPlacesForContacts.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 003D2FF9FDB0400956CDEB576EDDF434 /* FKFlickrTagsGetRelated.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FE17D34C28BA20DC8BD68CE3703C2D9 /* FKFlickrTagsGetRelated.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00AD58DC88CBE3816C1ED8F615F99F11 /* FKFlickrStatsGetPhotostreamStats.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D28F36AAE036590E08EDBE69943270D /* FKFlickrStatsGetPhotostreamStats.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 015102C764D12A6D679838190CBC9CA2 /* FKFlickrGroupsBrowse.m in Sources */ = {isa = PBXBuildFile; fileRef = B23E24A97B161FCE53306E15F1908700 /* FKFlickrGroupsBrowse.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0254FE36A139CB86FFE3B45F9059DC1A /* FKFlickrPhotosRemoveTag.m in Sources */ = {isa = PBXBuildFile; fileRef = E7F66671EEB7BC7983C67F6FA12D1274 /* FKFlickrPhotosRemoveTag.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 027E99CDE78D61A8C1193A13A8D37906 /* FKFlickrMachinetagsGetNamespaces.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DD1C259E661091FEA6FF5200E693D1F /* FKFlickrMachinetagsGetNamespaces.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0308BA9E5713F9A2FF4949FE63B9A646 /* FKFlickrTagsGetClusters.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E3D5900687526FEA474FE5D4F1C8521 /* FKFlickrTagsGetClusters.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 049176F4B62D562BE46A0EB93E632463 /* FKFlickrPhotosSearch.h in Headers */ = {isa = PBXBuildFile; fileRef = 26D0D9FB6E1585712ED5C33944E27CAC /* FKFlickrPhotosSearch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0559D0806CB6C70D986B0899AAA0567B /* FKFlickrPeopleGetPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = EBC79A4EE589EC14F6BC8EF070E9B849 /* FKFlickrPeopleGetPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 05ACFFA4CC0137996C331E63D08A8F0D /* FKFlickrContactsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 33282D85DF68733CC54E14FC1C914135 /* FKFlickrContactsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0609765D1014212FEA5BE4CACB5609FA /* FKFlickrCamerasGetBrands.m in Sources */ = {isa = PBXBuildFile; fileRef = 918FA5A32CB33A2A4C4D6D7555E82425 /* FKFlickrCamerasGetBrands.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0688BF7DFD8128A31C47EBEF2D80F901 /* FKFlickrTagsGetMostFrequentlyUsed.h in Headers */ = {isa = PBXBuildFile; fileRef = BB44DBC3B27613B770F9B9E19CC58FE4 /* FKFlickrTagsGetMostFrequentlyUsed.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 06DD1670A0C3A4315E285EBBFCB210EA /* FKFlickrGalleriesAddPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = 45180C7AC91E78DC3AB31CDB0038C7FC /* FKFlickrGalleriesAddPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 079290724614504C6B5BB3BA5F75189E /* FKFlickrPushGetSubscriptions.m in Sources */ = {isa = PBXBuildFile; fileRef = EB7F1CBA9BF2CD21578B3F5B9E27EFCE /* FKFlickrPushGetSubscriptions.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 09142222047C1B252105ECEA5D98C2D5 /* FlickrKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 26DC3FA7BA611DE26A94D1DF71F42DC5 /* FlickrKit-dummy.m */; }; + 094109EEDAEBBEDADFD82EFE60C4C03B /* FKFlickrMachinetagsGetValues.h in Headers */ = {isa = PBXBuildFile; fileRef = F0320CA45EE61F41C568D6339B226C21 /* FKFlickrMachinetagsGetValues.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0AAB66DA27551371EBCB8350549834F2 /* FKFlickrPeopleGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = B7C531A61291D547F6B0A965EF9FE848 /* FKFlickrPeopleGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0AC69FDE593F1CCB34147172982C8049 /* FKFlickrActivityUserComments.m in Sources */ = {isa = PBXBuildFile; fileRef = 60E564190486CF6FBA43374A4806CB21 /* FKFlickrActivityUserComments.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0B0BFB2A467D6A29E7BAF15FAFBC1FD3 /* FKFlickrGroupsPoolsGetPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 7140446DB7C3BFE0F52E8D0521D626C7 /* FKFlickrGroupsPoolsGetPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0B9FFD3991B1517D9577581A2D3D8AAF /* FKFlickrPlacesPlacesForUser.h in Headers */ = {isa = PBXBuildFile; fileRef = 994D44ADCFC2183025F81F5EB2B624BB /* FKFlickrPlacesPlacesForUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0BAE22AE871F9FBF7DD7234F5CA92356 /* Lato-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0AEA6D69744537B4865D8E280E9D8377 /* Lato-Bold.ttf */; }; + 0C5AB81678F27D262D81551B0F6ABB0E /* FKDUDefaultDiskCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 28084535FC1BAC99CCFDEEED1AA23FEC /* FKDUDefaultDiskCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0CC64048CF95022C6D8390D24490B486 /* FKFlickrMachinetagsGetNamespaces.h in Headers */ = {isa = PBXBuildFile; fileRef = 631795E9047CB26DCDD7095842A8594F /* FKFlickrMachinetagsGetNamespaces.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0D02A4841E460E5FD3E7DF9B1C7B662A /* FKFlickrPhotosGetContext.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBEC71CBC5ECA4931C70D7769BCB94C /* FKFlickrPhotosGetContext.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0D5DE422587264CCF6259F619ABF5592 /* FKFlickrStatsGetPhotosetStats.h in Headers */ = {isa = PBXBuildFile; fileRef = 12E356A96E515A49A48EEC0943E35554 /* FKFlickrStatsGetPhotosetStats.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0D878D8CD0521D4036D2716F1B644654 /* FKFlickrStatsGetCollectionReferrers.m in Sources */ = {isa = PBXBuildFile; fileRef = FCD361C4918D97DD98CEB1DCF315E784 /* FKFlickrStatsGetCollectionReferrers.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0E4BF0D5D5F36B9D92A44835C5B44712 /* FKFlickrCollectionsGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 03A9A2EDD643E74659354D283EF74DD1 /* FKFlickrCollectionsGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 0FC9F98FBD38D5E17985D47C1EA06FD5 /* FKFlickrPushSubscribe.h in Headers */ = {isa = PBXBuildFile; fileRef = E99B8F6303554B1E6B6ACBDFBF84392F /* FKFlickrPushSubscribe.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1030EE0A4C3BFB5C5084DE037E1E1297 /* FKFlickrPhotosetsCommentsDeleteComment.m in Sources */ = {isa = PBXBuildFile; fileRef = CBBA243C3B01356B4E20D9AC24E90577 /* FKFlickrPhotosetsCommentsDeleteComment.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1042DB7B26A5168ED44ECF61F152D1A8 /* FKFlickrPhotosSetTags.m in Sources */ = {isa = PBXBuildFile; fileRef = 930EB23B2A36D8A1FB9D6BDC11C8B566 /* FKFlickrPhotosSetTags.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 108D9FCDCEEBFFAE487F50FA6F1ABB09 /* Edge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 712A72985101F1B37F55AFE3B808F920 /* Edge.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 10E6ECA36F7D0BA5DBB8737FD4D15E4B /* ViewUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B27793D17FA7756396C6273138D742C /* ViewUtils.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1160551FF226D62A026861D2630F4743 /* FKDUStreamUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 82C77C82F437D9F441F9E527CEDE1D30 /* FKDUStreamUtil.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1189AAE192FCDC63BD40DF9E50D5FB38 /* FKFlickrPhotosGeoSetContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D21CC09782D67CE090850CF2E01DEC2 /* FKFlickrPhotosGeoSetContext.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 126A75B8664FF08C3D6094293FAB2778 /* FKDUDiskCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E07960EE6BC58DC4118AE099A9D362 /* FKDUDiskCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 129FCC655C0A6BB7C6C54F8E546255B1 /* FKFlickrStatsGetPhotostreamDomains.h in Headers */ = {isa = PBXBuildFile; fileRef = 92F7A1B3DF6AF62BC3BEF2E3A3211A5D /* FKFlickrStatsGetPhotostreamDomains.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 134CD5AF91F91D2802015C41AE85F13E /* FKFlickrMachinetagsGetPairs.h in Headers */ = {isa = PBXBuildFile; fileRef = 67CC84A6A1855C54449FDAC29E44BD10 /* FKFlickrMachinetagsGetPairs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 13AC0142D57DA00350DDE347A1D8BBAC /* FKFlickrPhotosCommentsAddComment.m in Sources */ = {isa = PBXBuildFile; fileRef = 73CB7829CB557EFDEC2B5DFFC10EC5FA /* FKFlickrPhotosCommentsAddComment.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 141872DE3E6D51EEFD897A5BEE1BB028 /* FKFlickrPhotosetsGetContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 059A03947ECE6DDF87770898065434CB /* FKFlickrPhotosetsGetContext.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1420FA2A4B1ECA35CB728A4867A755C8 /* WeatherIconsKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 667BF3B5C9F8D64B8BE989E49AB9D32D /* WeatherIconsKit-dummy.m */; }; + 14244DF600BB7743DF2949EDAD3130E6 /* FKFlickrGalleriesGetPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 602187B65DDAC0B8824A7B7C1CC20AAF /* FKFlickrGalleriesGetPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 142F53D6C388731A5BA68BD59CF23C04 /* Lato-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E610D1F2895BB9AE0339D29D47658AF6 /* Lato-BoldItalic.ttf */; }; + 15A3E49FFA7D6F6CAE068DF72A5D441E /* FKDUReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 03284C8ED956401C85E6BACC0D3E4DD3 /* FKDUReachability.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 15F2256B36F2B6BC56F3E976D2BFE757 /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14D786790FD20A01EE4568BD0327E70F /* Expression.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1619DD91487D2E6318DFCA836C57F09F /* FKFlickrFavoritesGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AA4E6E9936FABDF005F83ADEF4BF8EB /* FKFlickrFavoritesGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 16C37AA3C34DD50D65908D798BB155CB /* FKFlickrPeopleFindByUsername.h in Headers */ = {isa = PBXBuildFile; fileRef = 8258940870E0D14F9ABC444628AC4CC7 /* FKFlickrPeopleFindByUsername.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 17941F45A52C34CAF31D102A257BCCF4 /* SwiftyJSON-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DD27F004ADA49385CEEEA569A51DED7 /* SwiftyJSON-dummy.m */; }; + 179C491B0A8AB7A4E5C9D5BFB45A6693 /* FKFlickrCollectionsGetTree.m in Sources */ = {isa = PBXBuildFile; fileRef = D30F8DC5344ECEE984F9AC515D6BA523 /* FKFlickrCollectionsGetTree.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1820A7E8DB8975737307FA2D88FFFBE8 /* FKFlickrPhotosetsCreate.h in Headers */ = {isa = PBXBuildFile; fileRef = 2ED0656FF94113C653378EB292FEF3D0 /* FKFlickrPhotosetsCreate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 183A25E4E393C65E0BFE3C918F437089 /* FKFlickrUrlsGetGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = B7C0B5725BEFFBDEDEC31BA52E357357 /* FKFlickrUrlsGetGroup.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 183A387EF9E1D8FB69B382E4D3681435 /* FKFlickrBlogsGetServices.m in Sources */ = {isa = PBXBuildFile; fileRef = BF054DEFADD5A08D513E813A0AF11693 /* FKFlickrBlogsGetServices.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 187A0230B680BCD29ED8CDF4F49BD207 /* FKFlickrFavoritesGetContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 7CB72BD335C4E520283C03F67F7C113E /* FKFlickrFavoritesGetContext.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1919340C20F2DF05BE2E86112E8513EE /* FKFlickrPhotosetsCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = A7EE27306F5F3A25D45847C49524497D /* FKFlickrPhotosetsCreate.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 193837ADA7A47E06FC72D652DF148B29 /* FKFlickrReflectionGetMethodInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A4769AB8C6B52DA5DD7276B1CFAAC67 /* FKFlickrReflectionGetMethodInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 19454D5489DE30C788F68CD0AA02C9F4 /* FKFlickrPhotosCommentsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 026AC9B6CB0CEFAFCEAEBAC72F8FBB0C /* FKFlickrPhotosCommentsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 19FD60F72F76A9975424E6061E7FAC00 /* FKFlickrPrefsGetContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F4789460A788D482325957E5EFD65B99 /* FKFlickrPrefsGetContentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1A0040CC718F3252A4B79CF7CCFB3044 /* LatoFont.bundle in Resources */ = {isa = PBXBuildFile; fileRef = ADF73F9FF8099F2E67D6D796BAB7BD47 /* LatoFont.bundle */; }; + 1A2E9471CF1BA5C6B7AD330FF413DBA9 /* FKFlickrPhotosGetRecent.m in Sources */ = {isa = PBXBuildFile; fileRef = EACF455B14751A432E254092747E4750 /* FKFlickrPhotosGetRecent.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1A76AFD853E9655A1E5E360EF9A9E526 /* FKFlickrNetworkOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 7ED4A107BD8CAFF7EF8883B1F78220D7 /* FKFlickrNetworkOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1ABC64E8433AF41D17B9BE9B4C0B0698 /* FKFlickrPhotosPeopleGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 50033626DA90C25735BC874946215BEE /* FKFlickrPhotosPeopleGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1B814C31D441593E4C97C24C8A86CDEF /* FKFlickrPhotosGeoGetLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BA7E35306E55D2F09D63C08D9DB53EB /* FKFlickrPhotosGeoGetLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1C74AFD3163E26EAED5969F3B4E25127 /* FKFlickrCollectionsGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 03F09AAD62C3F4407BFDCB7CDF4355A6 /* FKFlickrCollectionsGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1DB2B683DCE67D3B8294E2D988653794 /* FKFlickrPhotosGetCounts.h in Headers */ = {isa = PBXBuildFile; fileRef = D57F6E10B72B104FA1C1B8A81BC6F89F /* FKFlickrPhotosGetCounts.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1DC676FB36B8BD4AA2AFCFD93EAB9A98 /* FKFlickrFavoritesAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = FDA2ED8954A47FE9E318CFFA06C1D59E /* FKFlickrFavoritesAdd.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1E1F588D012F89F9A77FDD5435D1590C /* LayoutProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10978F9E42BEC178F156E98A92228376 /* LayoutProxy.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1EA7243CCE75E85E05BC9E653C52DE47 /* FKFlickrGroupsDiscussRepliesEdit.m in Sources */ = {isa = PBXBuildFile; fileRef = A8A4255D7CE808A5AC6D4DA065505A0D /* FKFlickrGroupsDiscussRepliesEdit.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1F23A083E7FC12740996A0CD943F0DE6 /* FKFlickrPrefsGetHidden.m in Sources */ = {isa = PBXBuildFile; fileRef = A307F40E67D0B15A8CED6073764BE37F /* FKFlickrPrefsGetHidden.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 1F4B8C186E9CFE369CCD1ED97EED5738 /* FKFlickrPlacesPlacesForBoundingBox.h in Headers */ = {isa = PBXBuildFile; fileRef = 970361968F92991B924DFDD6BC79F953 /* FKFlickrPlacesPlacesForBoundingBox.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 20750C91AB30A56A0428E52E57F0BF84 /* FKFlickrPhotosetsRemovePhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 20170740BC1EB4AE2769EE7F06335998 /* FKFlickrPhotosetsRemovePhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 21487EBD25A10ED2C724D1978B7735EC /* FKFlickrPhotosNotesDelete.h in Headers */ = {isa = PBXBuildFile; fileRef = 22B5E046D8E7B4F434E0B5B65F58F6F3 /* FKFlickrPhotosNotesDelete.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 21AFE90B4F2405683BF23C32A9FD8319 /* FKFlickrAuthGetToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 99FB83608F406BAD6D43F7CDE841A043 /* FKFlickrAuthGetToken.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 21E40FEB70C803F975CC3F96836DAE3C /* FKFlickrPlacesGetTopPlacesList.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B62042555AF9FF873F3A9544437B075 /* FKFlickrPlacesGetTopPlacesList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 221E7FD70D466000528180E4E841C83A /* FKFlickrPlacesResolvePlaceId.m in Sources */ = {isa = PBXBuildFile; fileRef = 618F60099EAFEECD87B1D53B4EBFDAF1 /* FKFlickrPlacesResolvePlaceId.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2268514F307931A072E34E0A6C52552E /* FKFlickrFavoritesRemove.h in Headers */ = {isa = PBXBuildFile; fileRef = 28E0DB333BF0676A89072AA4421D9AB6 /* FKFlickrFavoritesRemove.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2292930DA9EE74B19967D5EB43773FB7 /* FKFlickrGroupsDiscussTopicsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 8731D93F710B98D8D36B449E15D05FD1 /* FKFlickrGroupsDiscussTopicsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 22AD513E3F6783847A28FC5A544E1D10 /* FKFlickrPhotosSetTags.h in Headers */ = {isa = PBXBuildFile; fileRef = F0D2A9C3FD6EB803F1AC8428761EA7E5 /* FKFlickrPhotosSetTags.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 22D437D56E60FEB38B7D9BFCE45F70D8 /* FKFlickrStatsGetPhotosetReferrers.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EC0C3BB1383F443F6DC03C4D706BD86 /* FKFlickrStatsGetPhotosetReferrers.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 22FDEFCFEBF9ECB8E5F649E16A1BA6A2 /* FKFlickrPhotosPeopleDelete.m in Sources */ = {isa = PBXBuildFile; fileRef = 5AFFFB64BD132E3AC63D003B2DA17535 /* FKFlickrPhotosPeopleDelete.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2339EECC82779121CDF22038D1AC5E3C /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E57BE36CC081BFF4482FA38BFC2ABDF /* Upload.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 235E89EEA06650D453A67DE55AB9330B /* FKFlickrCamerasGetBrandModels.h in Headers */ = {isa = PBXBuildFile; fileRef = E7DA2C4AD7D5D9891F0393426652BF7E /* FKFlickrCamerasGetBrandModels.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 236FD254969429985B3B672F02F4E0E9 /* FKFlickrGroupsPoolsGetContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 785BA07273DA9561C311CA593D415A8E /* FKFlickrGroupsPoolsGetContext.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 23994ADA89C0EA961303FAF4E323FFBB /* SwiftyJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD1AFC4C673D42ADCC4740AD0902B8FB /* SwiftyJSON.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 23A305C3CA60C87E7E9C66722359B2C6 /* FKDUNetworkController.m in Sources */ = {isa = PBXBuildFile; fileRef = B4675BF37D36EA63A1520CB70EC53883 /* FKDUNetworkController.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 23BC9007A6C07E0E3B4407B9826C210C /* FKFlickrStatsGetCollectionDomains.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A8F2637B1C6928ED8C89382358071DC /* FKFlickrStatsGetCollectionDomains.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2423DA056928A1AD1D15A35CBA5C0176 /* FKFlickrPhotosPeopleDeleteCoords.h in Headers */ = {isa = PBXBuildFile; fileRef = 5FC43A518840DCDA53CC91DFD0393EA1 /* FKFlickrPhotosPeopleDeleteCoords.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2431B3C6525A82C7C1F8306F1D121FB8 /* FKFlickrStatsGetPopularPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 58EDDD3CAD92BE5DA71AFF40CE0A77DC /* FKFlickrStatsGetPopularPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 24DA21B2DA1A33141E7AB7C0382B9224 /* FKFlickrPhotosGetPerms.m in Sources */ = {isa = PBXBuildFile; fileRef = 41C24667C110FF544CA53D75483DBC4C /* FKFlickrPhotosGetPerms.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 24EFBBE04D96BB8857EC241E16BB5F0D /* FKFlickrPhotosUploadCheckTickets.h in Headers */ = {isa = PBXBuildFile; fileRef = F3C66B5B5503E86424DAE254AED24D5E /* FKFlickrPhotosUploadCheckTickets.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 262CA8A74E45608770637CCE4D920ADE /* FKFlickrGalleriesGetPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B2FC87685B6221008E2CA57A17C185E /* FKFlickrGalleriesGetPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 26402A32CF2B35205F80824ABE321E04 /* FKFlickrStatsGetCollectionStats.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A177E291C95915CC19B0B4222EBC47A /* FKFlickrStatsGetCollectionStats.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 26663CAB1FADD3E6437C1E30D14A7256 /* FKFlickrPhotosGetWithGeoData.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D9D03FB140B2535C35B3CE33D7D8B67 /* FKFlickrPhotosGetWithGeoData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 267602557E2C348E5271A6457D83DD90 /* FKFlickrTagsGetClusterPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = AB872B5AF8D841977DD9C39F29D10C50 /* FKFlickrTagsGetClusterPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 268B1B039722D7382FA5144DE935BBD3 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E7BCF98AE233ABD9608D9122B9FDA0 /* CoreText.framework */; }; + 268DBC8E591E877249B7A6867AE131E7 /* FKUploadRespone.h in Headers */ = {isa = PBXBuildFile; fileRef = 642F856690A57A1C98EAA2A1D18AE6CD /* FKUploadRespone.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 269574ECE0522455E8CF86DC915AAC1C /* FKFlickrBlogsPostPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A0BE916FC588231BD0D7118D92604EE /* FKFlickrBlogsPostPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 27DF0174845F1B4EF21B98DF584383E1 /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03D4257F766C2DD93E89C1B5266ADC60 /* MultipartFormData.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 282E794EB9D612BFBD5413924B2D602F /* FKFlickrReflectionGetMethodInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = AAD93E6803D2CA2923082DDB64844D27 /* FKFlickrReflectionGetMethodInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 285D9B3BEF6BB905D6EDB8C6F6F4F281 /* FKFlickrTagsGetListUserRaw.m in Sources */ = {isa = PBXBuildFile; fileRef = 40F2CACF75CDD931159A0860B0FD7B59 /* FKFlickrTagsGetListUserRaw.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 28AEDF65BE79937D02AF9987FDA82882 /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B3D2D7940DB68C994CDF3E04803975FB /* Alamofire-dummy.m */; }; + 28D7A10280322808CDB3A06E48227CCC /* FKFlickrTagsGetListUser.m in Sources */ = {isa = PBXBuildFile; fileRef = 7902B79B020C112D09D994FA5D8CA77E /* FKFlickrTagsGetListUser.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 29E91326FE4416B5DAAA06912EB8AE8D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + 2A123A9867CAF542D427B6F3F7787E84 /* FKFlickrPhotosetsSetPrimaryPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 5914008AA0EE9DB085D8669AAE24D550 /* FKFlickrPhotosetsSetPrimaryPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2AFE2A4BD3B7FD343CF404A11398E505 /* FKFlickrPhotosGeoPhotosForLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 9384921ED3B19CD4374B11EAD29186B7 /* FKFlickrPhotosGeoPhotosForLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2BCE2643980FF77AED27FCCA578305E6 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 44777528FA33D5E58D7B4F5B386DA1BE /* UIKit.framework */; }; + 2BD4D06AA927C334DCAE7750A734BCCC /* FKFlickrPeopleGetPublicGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = 5E352E390398CCDFA19E0FB0FDB84CBD /* FKFlickrPeopleGetPublicGroups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2BD4DC762642C876F625E90D05A0FFA2 /* FKFlickrPhotosetsAddPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 1EC1BB5263B2E7D43610DA948A4F429A /* FKFlickrPhotosetsAddPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2D42290D3B7F7493FCECD77E9E463DE6 /* FKFlickrPhotosGetUntagged.h in Headers */ = {isa = PBXBuildFile; fileRef = B2E1CBD0CB4972A93C86A3E758D66E2E /* FKFlickrPhotosGetUntagged.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2DB3A96BBC1FB59C995BAE5978F9EC29 /* View.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03E87EE2BB436337E7A7DB7D9C34E17B /* View.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2DE95C118594F435524F2794D3E8F21C /* FKFlickrGroupsJoin.m in Sources */ = {isa = PBXBuildFile; fileRef = 863B5880A876CC44CCC66FFDC3FA768B /* FKFlickrGroupsJoin.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2DFE3A53EB94ED883845B32E2ECF0663 /* FKFlickrPushGetTopics.h in Headers */ = {isa = PBXBuildFile; fileRef = 3062A9AD7C73C60217A5279B41271B89 /* FKFlickrPushGetTopics.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2E54E61FA36BE6330A0B12B78D0F2B03 /* FKFlickrTestLogin.h in Headers */ = {isa = PBXBuildFile; fileRef = 7062DD4BF250C65FB4823549D1C06624 /* FKFlickrTestLogin.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2F8F20419F110996EC3886E244EE24A5 /* FKFlickrPhotosGetNotInSet.m in Sources */ = {isa = PBXBuildFile; fileRef = F02795AB03A214F582A9F50A9F202D90 /* FKFlickrPhotosGetNotInSet.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 2FEC2ECA3F51BE53690BC4DEA8A75931 /* FKFlickrMachinetagsGetRecentValues.h in Headers */ = {isa = PBXBuildFile; fileRef = AD1DA9F7A665ECD2A9A89625C7369D38 /* FKFlickrMachinetagsGetRecentValues.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 303A5BD1BCEBA9C598770BF4C345DCF5 /* FKFlickrStatsGetPhotosetReferrers.h in Headers */ = {isa = PBXBuildFile; fileRef = 54F1A439AD7EF1A728555722DA46BE19 /* FKFlickrStatsGetPhotosetReferrers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 304CE19C228743EE66A4846D95DDE8BF /* FKFlickrGalleriesGetListForPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = E0FCDB76F8B996B2688BBF28081A7D4B /* FKFlickrGalleriesGetListForPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 30A6D663EE7E9EDBD1569A0E67D10BC7 /* FKFlickrPhotosSuggestionsSuggestLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = D3B16253D5F6982A0E01F526C41BA0A4 /* FKFlickrPhotosSuggestionsSuggestLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 30B13FAD9C5B5EF5A19A1174FE5AFF51 /* FKFlickrPrefsGetGeoPerms.h in Headers */ = {isa = PBXBuildFile; fileRef = 16AD0D1E13BB3FC82AF667A98176566E /* FKFlickrPrefsGetGeoPerms.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 30FCD7FB5E53156E0DE933E721B639BB /* FKFlickrStatsGetPhotosetStats.m in Sources */ = {isa = PBXBuildFile; fileRef = 80C4CE258CD1D01AA9E90303650C9EF4 /* FKFlickrStatsGetPhotosetStats.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 329DC579A6367A5AC8093F709D944B8A /* FKFlickrGroupsDiscussTopicsGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = BEC3BDB17E788AE0E398EDA556EE57E7 /* FKFlickrGroupsDiscussTopicsGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3301CE63F6E99FFFA96FBC292B585705 /* Align.swift in Sources */ = {isa = PBXBuildFile; fileRef = C5ED81A0BF6BFA12CBD1EE7E2FBD8913 /* Align.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 33D258335FE6C48DF00BA661BF3419A8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + 345E801A72B05958AD1A203168C967CB /* FKFlickrUrlsLookupUser.m in Sources */ = {isa = PBXBuildFile; fileRef = 78D085A1B3D1C8213FA1916F38812C32 /* FKFlickrUrlsLookupUser.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 34D6BDAF6E9FDF030C530F4BF866AAF4 /* FKFlickrPhotosCommentsEditComment.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AAC241A5C4068FD0303E670D4B6EDF1 /* FKFlickrPhotosCommentsEditComment.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 357B34CA3FBC78696B568F323C7E17E5 /* FKFlickrPhotosGetContactsPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = F11EA85C9DC17E70CD39B93F67E1DAAE /* FKFlickrPhotosGetContactsPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3675864246FC338B70267BD55FEB9C5D /* FKFlickrGroupsDiscussRepliesEdit.h in Headers */ = {isa = PBXBuildFile; fileRef = F525FE4D8C561329716229EB6E24F576 /* FKFlickrGroupsDiscussRepliesEdit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 367B0AD45ED99FD3E2506AE550E0B258 /* FKFlickrPhotosCommentsGetRecentForContacts.h in Headers */ = {isa = PBXBuildFile; fileRef = DA41AFDB994945F5B4C213D2E42C66DD /* FKFlickrPhotosCommentsGetRecentForContacts.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 36E5F4006ACF6A3C7A73FB19144201DF /* WeatherIcons-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 656B0D285E193853ABD2E23502F2890A /* WeatherIcons-Regular.otf */; }; + 37E2E776552DDFAC62DCD8DCC767ACA5 /* FKFlickrStatsGetCSVFiles.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A0B906A2B3F22A519B9B4228277EC9A /* FKFlickrStatsGetCSVFiles.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3812F0FCD8CDF292258A2377F6E64242 /* FKFlickrGroupsBrowse.h in Headers */ = {isa = PBXBuildFile; fileRef = BB0635CE4783D68996EEFC2756E527ED /* FKFlickrGroupsBrowse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 382C3439518256CED0DED74CCA4BC696 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FADE15BF119F3A0EE61713B04F91F36F /* QuartzCore.framework */; }; + 3882B65E13288A6B30B35FF83157EFDD /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 44777528FA33D5E58D7B4F5B386DA1BE /* UIKit.framework */; }; + 38B6643FEF67D2C48582509AC9B3EA33 /* FKFlickrPhotosetsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 4AC483268D40BC80EDD179F7559FB918 /* FKFlickrPhotosetsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 38C652837FE3FE66C44F17B98465628B /* Edges.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0CE385B0E8AF01F0064EA4E6D3144AE9 /* Edges.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 394501EAD584D2DE54323A2E5C5AFA1C /* FKFlickrPhotosLicensesGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = EDB6D8A4EF504DAE09045E46099115D6 /* FKFlickrPhotosLicensesGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3964779315B4CF269F2BA3BE109292A7 /* FKFlickrPlacesGetShapeHistory.m in Sources */ = {isa = PBXBuildFile; fileRef = 174D90DC784E817E891E864B731C7838 /* FKFlickrPlacesGetShapeHistory.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 39963D68835F30B5143D4209AC9E8043 /* FKFlickrPeopleFindByEmail.h in Headers */ = {isa = PBXBuildFile; fileRef = F82295F3F9FA3A341100D4ABB1A0D5C9 /* FKFlickrPeopleFindByEmail.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3A5B73A77C503D7C5D499DEB9316779C /* FKFlickrPhotosetsEditPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = C9DC03F50E3D2EF2F98466AC43541E65 /* FKFlickrPhotosetsEditPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3A7E37F457AF1711D5117372AE4B96C2 /* FKDUBlocks.h in Headers */ = {isa = PBXBuildFile; fileRef = 07FEB028CF8C6629CD95ED8088177385 /* FKDUBlocks.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3A86B2B0826AAEDCEDFE959E8D3D7CA1 /* FKFlickrStatsGetPhotostreamStats.h in Headers */ = {isa = PBXBuildFile; fileRef = 101A52D465CA7C193A3E6F1713674C65 /* FKFlickrStatsGetPhotostreamStats.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3C50C8E71BA7C20B9F0ED470321D78E5 /* FKFlickrPhotosGetWithoutGeoData.h in Headers */ = {isa = PBXBuildFile; fileRef = 674CEBBE0A00B58ACC38114AD0797937 /* FKFlickrPhotosGetWithoutGeoData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3C6335C08B4A86CE4673E417889EB27E /* FKFlickrGroupsPoolsRemove.m in Sources */ = {isa = PBXBuildFile; fileRef = 6058879C7892A1FC3160758DBD5A2146 /* FKFlickrGroupsPoolsRemove.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3C6CD2EC0D998F67D58635EBAA631FC2 /* FKFlickrCommonsGetInstitutions.h in Headers */ = {isa = PBXBuildFile; fileRef = AA4B046673212383128507EE6849F606 /* FKFlickrCommonsGetInstitutions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3CAF1C8429C74108E2FB0961F743EE62 /* FKFlickrFavoritesGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E6F7D9B91396412DEB5ADEDC0A3D93C /* FKFlickrFavoritesGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3CC371779E989209C05EA9AEBA2FA9FB /* FKFlickrPeopleGetPublicPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 694B3B13D02B01DE13EC7F3417A8CAFF /* FKFlickrPeopleGetPublicPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3D213A0817E1468548BE3CFE94977D32 /* FKFlickrPeopleFindByUsername.m in Sources */ = {isa = PBXBuildFile; fileRef = FA8AFC0D4550A2EFEB8C1D2FF4D07559 /* FKFlickrPeopleFindByUsername.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3D31231BFCD4B7D6F2D73BBC8A97DFD5 /* FKFlickrPhotosPeopleEditCoords.m in Sources */ = {isa = PBXBuildFile; fileRef = 47A826730353310971F454D192DF10BE /* FKFlickrPhotosPeopleEditCoords.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3D4B891CA8826196D4B3F25E3BA46ED9 /* FKFlickrPhotosAddTags.h in Headers */ = {isa = PBXBuildFile; fileRef = 42CA3ED85CD4448F0AD89573A864ED86 /* FKFlickrPhotosAddTags.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3DCEF7E270EC92DA10636A791C6EDE6E /* FXBlurView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC8164ABA6D84BBEF266E551DFD3724 /* FXBlurView-dummy.m */; }; + 3EA57890A2441D94AEB748DD0C4117D6 /* FKFlickrTagsGetMostFrequentlyUsed.m in Sources */ = {isa = PBXBuildFile; fileRef = 4906968D845B2EAF012C7E063C2FF1D5 /* FKFlickrTagsGetMostFrequentlyUsed.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 3EF30A66F74F64E2861D40E22CEC9D07 /* FKFlickrPrefsGetHidden.h in Headers */ = {isa = PBXBuildFile; fileRef = 141A8C26945F69AA3861EF145413A619 /* FKFlickrPrefsGetHidden.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3F267FE9281D048E0767C5D6623760BE /* FKFlickrPhotosNotesEdit.h in Headers */ = {isa = PBXBuildFile; fileRef = F15A2E56EE047648B24C3B41CDA0C3F5 /* FKFlickrPhotosNotesEdit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3F8D716D0513140E870316D164593BE2 /* FKFlickrGalleriesEditPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = F0E5BADBBB993E86C626996EFC8DF48D /* FKFlickrGalleriesEditPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4036C28FE2CEF89FF889E143CA8FF9BC /* FKFlickrStatsGetPhotoReferrers.h in Headers */ = {isa = PBXBuildFile; fileRef = 1DEB331914523E03B95144233AF2EC6A /* FKFlickrStatsGetPhotoReferrers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 41F48EDC8EB0D59167C75143D825A01E /* FKFlickrPhotosetsOrderSets.m in Sources */ = {isa = PBXBuildFile; fileRef = 76EED4357222667CCBACEEA99A50E9A2 /* FKFlickrPhotosetsOrderSets.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 43938E85F890818AD92D64748DBD1309 /* FKFlickrMachinetagsGetRecentValues.m in Sources */ = {isa = PBXBuildFile; fileRef = E04EC03EA367E1B39AD0391037753E13 /* FKFlickrMachinetagsGetRecentValues.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 43CC7F89DB16B2CD3595870437C7D2CC /* FKFlickrPhotosCommentsDeleteComment.m in Sources */ = {isa = PBXBuildFile; fileRef = E12D61747C44DC49A5D92192DE651737 /* FKFlickrPhotosCommentsDeleteComment.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4585989B912B7DB5A65AE0C9A5FC989C /* FKFlickrAuthGetFullToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 492771FBF4FEDF4D301C2EE2C65192EC /* FKFlickrAuthGetFullToken.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 45CFE048CA18B85A318D7B2EE8D8988D /* FKFlickrPhotosetsEditPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D198A5B967809ADCCF4C2B418510A07 /* FKFlickrPhotosetsEditPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4608F450BDB1344C97BAE2AF044040B9 /* Coefficients.swift in Sources */ = {isa = PBXBuildFile; fileRef = 666263B4409DFF8D4CA61335B0BE6040 /* Coefficients.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4687609EC07441F6AEB899F28C4756DA /* FKFlickrPhotosetsOrderSets.h in Headers */ = {isa = PBXBuildFile; fileRef = A3D401871A8428F35894D81DAF577EA9 /* FKFlickrPhotosetsOrderSets.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 46A4128B85D0C10F111F7E51E82CAF66 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C2D9A35E58FF29F50A40FFF190CDF44 /* ResponseSerialization.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 46EF64ABF83F67DCE1B395CD82A77765 /* FKFlickrPhotosSetMeta.h in Headers */ = {isa = PBXBuildFile; fileRef = 490F6DE757D4BA09619B94CAC93F847E /* FKFlickrPhotosSetMeta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 47109A1566924A920801910693F37CDB /* FKFlickrPlacesPlacesForTags.h in Headers */ = {isa = PBXBuildFile; fileRef = 39BDE9EF894609CC676DCF89F839FAFA /* FKFlickrPlacesPlacesForTags.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 474969995A86A846354F46FC339D3FCA /* Lato-HairlineItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8A8E40BE4986CE46E31E63E449DDB135 /* Lato-HairlineItalic.ttf */; }; + 47598E0CC6CE2347F3B143EFCCF4B297 /* FKFlickrGroupsDiscussTopicsAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 63CEBF53CC61D68EC6249C4BC4F593DD /* FKFlickrGroupsDiscussTopicsAdd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 477663167652C32DBD26B995704173C5 /* FXBlurView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5059C0A9194AF9B6DF3A259C0876932D /* FXBlurView.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0 -w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 47878DB0DAD76168F8193F9831EA0C31 /* FKFlickrAuthGetToken.h in Headers */ = {isa = PBXBuildFile; fileRef = C458B8D0A1F817539D851C352B666FCC /* FKFlickrAuthGetToken.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 483E70F90542DAF21B7F6ECD56E0B618 /* FKFlickrPhotosSuggestionsApproveSuggestion.h in Headers */ = {isa = PBXBuildFile; fileRef = 369F555A63D2AFA07F0A594215E016EF /* FKFlickrPhotosSuggestionsApproveSuggestion.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 48437BF3A476DC164B7A24C592B95DB4 /* FKDUNetworkOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = D08AB3FE4BBD0439C48046F8847A6665 /* FKDUNetworkOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4851484FC2D13CBDA3189918B4A1B420 /* FKFlickrPhotosSetPerms.h in Headers */ = {isa = PBXBuildFile; fileRef = 99C98FFEAAC549869832AF287A0188DE /* FKFlickrPhotosSetPerms.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4856F8F2490C7CE7387B01BFD0BA7E67 /* FKFlickrGroupsLeave.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F62A041F89DB33093EEF868F84419C8 /* FKFlickrGroupsLeave.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 486E791713A64AAB2DE9D6CCC683C7BF /* FlickrKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 4242E6E0502C74C8B501F7F5D21785A7 /* FlickrKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 489853F395BC5EB730DEE6FEF0FBEEE6 /* FKFlickrGroupsJoinRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = F5C476C50297F51FC464E3C366B32C20 /* FKFlickrGroupsJoinRequest.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4899F78BF7EA547B0194194D84F4400F /* FKFlickrGalleriesEditMeta.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D28BFBDC939B90D0C41E31C304FFAAA /* FKFlickrGalleriesEditMeta.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 491CE7E728A107B71AB88946880D82F4 /* FKFlickrPhotosGeoCorrectLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = CECE4CCA4A8B44AF568E6D0F1A57284A /* FKFlickrPhotosGeoCorrectLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 49BE778F955110FEDDCACBF5384D4ABC /* FKFlickrReflectionGetMethods.h in Headers */ = {isa = PBXBuildFile; fileRef = 2AAF97D654772DC838CDEF15EE225145 /* FKFlickrReflectionGetMethods.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 49C540B60EFBE51E46145CD8FC9D59DB /* FKFlickrPhotosetsCommentsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = BF5F520AD42390A8BCBDE900E0BCCDDF /* FKFlickrPhotosetsCommentsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4A42BFB5C7302F95F2E0D2CB5E82A078 /* FKFlickrTagsGetHotList.m in Sources */ = {isa = PBXBuildFile; fileRef = D41C41174D9E5B956E36B2F4B8D8B50C /* FKFlickrTagsGetHotList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4BB013FA9BF775199211A26BC89E6D50 /* FKFlickrPlacesGetInfoByUrl.h in Headers */ = {isa = PBXBuildFile; fileRef = B4958D27AA9BD133497A221A6E0CAF36 /* FKFlickrPlacesGetInfoByUrl.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4BE203E8E534739A21E3EE0C70AF197D /* FKFlickrPhotosetsCommentsAddComment.h in Headers */ = {isa = PBXBuildFile; fileRef = C824F88E7CD15FF8F98C443D06E8CEEE /* FKFlickrPhotosetsCommentsAddComment.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4C38183FFC9F36336CBEEA23C7BBAF43 /* FKFlickrGalleriesGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 92D966CFAF3EC9200E07B778B095A56A /* FKFlickrGalleriesGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4C46F17ADD6B311044214016525CD940 /* FKFlickrPhotosGetFavorites.m in Sources */ = {isa = PBXBuildFile; fileRef = 1542EA547446B54BBF950FD1EFB7CFB9 /* FKFlickrPhotosGetFavorites.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4CF3737D0D144FE32CD912AF12EB4112 /* FKFlickrContactsGetListRecentlyUploaded.h in Headers */ = {isa = PBXBuildFile; fileRef = E9AC3B07BF869FD0360EACAC63D57A0B /* FKFlickrContactsGetListRecentlyUploaded.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4D2B532C550098940141CD167756D85B /* FKDUNetworkOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = A804F83CED284461632613E3683028E0 /* FKDUNetworkOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4DE8E10D7ADBDFD3D8C2FB10169CC6DB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + 4E022A87D83636D3E7D74E23A3908ABB /* FKFlickrGroupsDiscussRepliesAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 290830A9B8FFD3E19F4008EA7324B1A1 /* FKFlickrGroupsDiscussRepliesAdd.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 4FF0AB2B7514B39DE23A1F7403C3EADF /* FKFlickrTestNull.h in Headers */ = {isa = PBXBuildFile; fileRef = CBD60E38A287CA1F28DB255F7175AAD4 /* FKFlickrTestNull.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 50A39BBC5666CCECBBE9C8183C673B7F /* FKDUConcurrentOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = B502C976AA3E861835CCA1D1A9A06F44 /* FKDUConcurrentOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 510EA1011CF1FF7367E1480F2D061219 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAE0C9B0F111486E8431FFC24693A547 /* ServerTrustPolicy.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 51B141B22DBE27F7FE0838899E048E78 /* FKFlickrGalleriesCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EC77DAE646791D91C4BCBCBBF5C4B4F /* FKFlickrGalleriesCreate.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 51B7DDEBBEB75FC126A37E81BB1E5932 /* FKFlickrPhotosetsCommentsEditComment.h in Headers */ = {isa = PBXBuildFile; fileRef = 823F682FF480DCDFB63EB4FE5F6B0077 /* FKFlickrPhotosetsCommentsEditComment.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 531D6537A779F5F5A9AD7BB03F945B92 /* FKFlickrGroupsPoolsGetGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = D414FD9E3913CD4740A9718985B4360B /* FKFlickrGroupsPoolsGetGroups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 53B0823878A8516B1F06D749BA374E32 /* FKFlickrContactsGetTaggingSuggestions.h in Headers */ = {isa = PBXBuildFile; fileRef = 06594F74A6373BDC1050C7D2FDD0CDDC /* FKFlickrContactsGetTaggingSuggestions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 542436A2055E1C3F8C5EEE8D32C1E057 /* FKFlickrGalleriesGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 68194AAC757BD6C017F2F6900AC412BB /* FKFlickrGalleriesGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 54D93CF49C4643F3AEF892E5A958ED47 /* FKDataTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = C5A02B433087D3F3E144494291BAAB8D /* FKDataTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 559D393C985AF4A5211FEFC46E39D3F1 /* FKFlickrPhotosGeoSetPerms.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B783E13DE2626C665656C4360204863 /* FKFlickrPhotosGeoSetPerms.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 56021E2BD432296B87089880DF4FA021 /* FKFlickrPhotosGeoBatchCorrectLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = F36B73B4E8957729F1761FF02883B87E /* FKFlickrPhotosGeoBatchCorrectLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5767B3DFFE13FBCAA1878267C10FE732 /* FKFlickrContactsGetListRecentlyUploaded.m in Sources */ = {isa = PBXBuildFile; fileRef = 89CE643AF610705FC8DD26B1A43D76EB /* FKFlickrContactsGetListRecentlyUploaded.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 58CFF29148B90C40000540421C91BEB9 /* FKFlickrPhotosetsCommentsDeleteComment.h in Headers */ = {isa = PBXBuildFile; fileRef = C1CC3FFFA3B0606E0D6380E44CF45659 /* FKFlickrPhotosetsCommentsDeleteComment.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 58D05E3C900AEF625FA7579D80223F31 /* FAKIcon.m in Sources */ = {isa = PBXBuildFile; fileRef = 2199DB049DBB72097023AB2B4B5A3522 /* FAKIcon.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 592C62B8F930CCDCB1B11FA57CA5A14F /* FKFlickrPhotosSetPerms.m in Sources */ = {isa = PBXBuildFile; fileRef = 9F9DC02FF69C76CB5B760460FA497FCC /* FKFlickrPhotosSetPerms.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 59937392C8946A161FF91D7C05146C02 /* Constrain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EAC3CAA90E16640B9D39216C4760253 /* Constrain.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5B6381549FF6BCAFADCB07B3F6EA4B3E /* FKFlickrGroupsDiscussRepliesGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DFDA989A21DB14ED3F55C6A724B6A9A /* FKFlickrGroupsDiscussRepliesGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5B6DA82C9E692B732A492B0ABA1BC653 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + 5B89CDF198B568A45A43C97289824FA9 /* FKFlickrPushUnsubscribe.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CD594C1B5F83D040CB3972597639EC9 /* FKFlickrPushUnsubscribe.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5BD4605EA8874F27A6F8EF6FF9C51EAE /* FKFlickrPhotosLicensesGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 7989360C396A744DA7AE8A0332029BE7 /* FKFlickrPhotosLicensesGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5C20DE89B3F25BABBC8146252DF365FF /* FKFlickrPandaGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = CC8B217C4109B21A4CAFF3F1310180C8 /* FKFlickrPandaGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5D24ED2AAF0A57D60A9631B7CD6AC02F /* FKFlickrCollectionsGetTree.h in Headers */ = {isa = PBXBuildFile; fileRef = 776087FA1F7781FB44FDACE9EC603B80 /* FKFlickrCollectionsGetTree.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5D2FBBA62F8BCF0F092B051CEEB81DF8 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D41FF25CAB09250728E4E9E58BEB67F /* Extensions.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5E14C1E0EB1701103F76139CE39489C7 /* FKFlickrStatsGetCollectionStats.m in Sources */ = {isa = PBXBuildFile; fileRef = 224FEFEDE693A99E32B32A86CB8B7CFC /* FKFlickrStatsGetCollectionStats.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5ED684417613EBEA604D02D93CA80E50 /* FKFlickrPhotosGeoRemoveLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = 58B1F7CB794F8B299565381596E21058 /* FKFlickrPhotosGeoRemoveLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5FAA82204D35F77A942943D60244840D /* FKFlickrUrlsLookupGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = F1606FB26854FCF52E49D31CAF1C5B59 /* FKFlickrUrlsLookupGroup.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 5FE6B64ABE76EB08FECB04CD32B2162F /* FKFlickrPhotosCommentsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = AA767E791CE77E84C738FBF310D5C2E9 /* FKFlickrPhotosCommentsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 60263A8940316D2BA77360703887CBF5 /* FKFlickrContactsGetPublicList.h in Headers */ = {isa = PBXBuildFile; fileRef = 98C012731A66905D5D3C1321D5891BBD /* FKFlickrContactsGetPublicList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 60A8A1A227777FCBA25945082C5FEAB0 /* FKFlickrPhotosCommentsEditComment.h in Headers */ = {isa = PBXBuildFile; fileRef = 436E0A6ED24D6FCEC88118FE6F56028D /* FKFlickrPhotosCommentsEditComment.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 60E93DD547983DE30DA0B796B0E02AB3 /* FKFlickrPlacesPlacesForBoundingBox.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A813E8BC823C3FC37F150F4647586B7 /* FKFlickrPlacesPlacesForBoundingBox.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 621E01ADF2677132354A870875BC0E63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + 631D5BFC552F5387D513AE5317673B63 /* FKFlickrAuthGetFrob.m in Sources */ = {isa = PBXBuildFile; fileRef = 86A1CC36FCB8E823F82A50F2836B4BA2 /* FKFlickrAuthGetFrob.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 654A78B3CEDC41D57F565DBAADE0815A /* FKFlickrPeopleGetUploadStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = E4A471785339925C773448BBF0B823A4 /* FKFlickrPeopleGetUploadStatus.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 663492B5E482C52965A570E913EFA81E /* FKFlickrAuthCheckToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 14CC079745EB432F8F8E27D18BFEBDE9 /* FKFlickrAuthCheckToken.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 665C0FB97E01537E6AF752C6D8A926DD /* FKFlickrStatsGetPhotoDomains.m in Sources */ = {isa = PBXBuildFile; fileRef = 01B779D3345B294572E27F2F1E039FB5 /* FKFlickrStatsGetPhotoDomains.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 669431B3978125CAA529DCD3BAC4499F /* FKFlickrGalleriesEditPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 89CDDD9AF48B07FB4C4EBD311569CF67 /* FKFlickrGalleriesEditPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 66A9EEEB4A7A1E75B00851B714011F1B /* FKFlickrPeopleGetPhotosOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 253DF665F6E5468BCFAC0417B0C81271 /* FKFlickrPeopleGetPhotosOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 66CFB93A67231D6DD0788CBDE3E0555D /* Cartography-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 91EC25501E271B4D0D91C191B7DB87E8 /* Cartography-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6786F1164DCDF2C7C2498F5B61051727 /* Lato-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 14ED3127B4684D018B81830CB4E5D121 /* Lato-Regular.ttf */; }; + 678AF916207494ACA23FB057FBADD69A /* FKFlickrPandaGetPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 63A1A5333615001757A8C762413468C8 /* FKFlickrPandaGetPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 682567E05E201D5C4D04655F111D5DC5 /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95D69EB123AAB5C2B14E5C5007DCFA9E /* Download.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 687B84811A8133011B6D115276673C50 /* FKFlickrBlogsGetServices.h in Headers */ = {isa = PBXBuildFile; fileRef = 3934A9DBD5233514CFA900E5073D8BEF /* FKFlickrBlogsGetServices.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6893F04EFFA537A181411E938B39D124 /* FKFlickrContactsGetTaggingSuggestions.m in Sources */ = {isa = PBXBuildFile; fileRef = F734FB067654294C596C07F73BCB34EC /* FKFlickrContactsGetTaggingSuggestions.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 698F95C3D1B32E1EA952ED11C9EDDCBF /* FKFlickrBlogsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 431EA8FA2F2E4A26BC268EF1605B4036 /* FKFlickrBlogsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 69FAEFF292D04597E4B4A41FDEF907D6 /* FKDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 450F2217FCEA3A662B596A2023418158 /* FKDataTypes.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 6A3C286E2329432072920B1C5A645DF2 /* FKFlickrPeopleGetLimits.h in Headers */ = {isa = PBXBuildFile; fileRef = B468C1250BC9BA413A0B41DB6B25A2F3 /* FKFlickrPeopleGetLimits.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6A9FFB093D95621DAD070A56830D08DB /* FKFlickrPhotosSuggestionsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 4DD9724D2EFDF848146C93E152EBF131 /* FKFlickrPhotosSuggestionsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6AB93F57DE0AAB6457CE0253F0672584 /* Lato-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 14C86F63B3B677C74505C16B504AE9A6 /* Lato-Light.ttf */; }; + 6B206EB3D7E1AD6E9AC0F3F9F87A4667 /* FKFlickrPlacesGetChildrenWithPhotosPublic.m in Sources */ = {isa = PBXBuildFile; fileRef = 006F4D96452E14EDB8223260D5C7C0F5 /* FKFlickrPlacesGetChildrenWithPhotosPublic.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 6B3881B6D9EE1826B77069C7440BB6C6 /* FKFlickrActivityUserComments.h in Headers */ = {isa = PBXBuildFile; fileRef = D3E3590BEF3BBC9437A86BCE44C9E373 /* FKFlickrActivityUserComments.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6BA38E42F50D9AE0E1CBD9DF8104D57D /* Pods-PrettyWeatherApp-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E6E4531F70E411925C2DB9B8B9421F7A /* Pods-PrettyWeatherApp-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6C32A6125064133FD87288C8018B3431 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97CB6436075C286D7DC7126B25410539 /* ParameterEncoding.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 6C661E92E25F491A6EC5DB005A48F466 /* FKFlickrPlacesFindByLatLon.h in Headers */ = {isa = PBXBuildFile; fileRef = 95FBE1AF7F0E3AB81599D111E4FE62F3 /* FKFlickrPlacesFindByLatLon.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6D0B4B56C64D067E595C265E35DCA75A /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = F75DA8E5F08D6B775170A06B6B579599 /* Error.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 6DEEBDB83F20C94E023FFC66823901EB /* FKFlickrPhotosetsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = CB396A3901524CD1DC196E9AB08D258A /* FKFlickrPhotosetsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6E397F536FD9086F77C8A4FCA08C5255 /* FKFlickrGalleriesCreate.h in Headers */ = {isa = PBXBuildFile; fileRef = D52C3C2026F9DC6B51206B4D7421EB34 /* FKFlickrGalleriesCreate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6E50FC227919D8BAD526648010AF5FD4 /* FKFlickrPhotosGetRecent.h in Headers */ = {isa = PBXBuildFile; fileRef = 9526ADEEB58340702B61EEE55D57B87D /* FKFlickrPhotosGetRecent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6E939CA62F9CAAFC9B539ACA27B23D61 /* FKFlickrPhotosGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = A4C4671AE548EB6B1AE6C9352C384A27 /* FKFlickrPhotosGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6FBABA44E8AEA1A3AACF5155C661D900 /* FKFlickrStatsGetPhotostreamReferrers.m in Sources */ = {isa = PBXBuildFile; fileRef = 803357F22175352F4D41FE3508D83E43 /* FKFlickrStatsGetPhotostreamReferrers.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 6FF34EB6FFF2F8F10DDE02AC096841DC /* FKFlickrPlacesPlacesForTags.m in Sources */ = {isa = PBXBuildFile; fileRef = ED7F339A5A3B95646D3ED679144C72AA /* FKFlickrPlacesPlacesForTags.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 705C110A8F5B7330619D5707187A624D /* FKFlickrContactsGetPublicList.m in Sources */ = {isa = PBXBuildFile; fileRef = 84CEE756D74EF113F6320CFB35BB5872 /* FKFlickrContactsGetPublicList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7159290EA13F4084EBE3EE4925A6DEBB /* FKFlickrStatsGetPhotosetDomains.m in Sources */ = {isa = PBXBuildFile; fileRef = D61518A47652E885D27D365EA9DA2529 /* FKFlickrStatsGetPhotosetDomains.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 71717C33314232E66C21CF2F2EDBBD02 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02BCC741770FBE4C466F93DD9A074A1B /* Request.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 725D75C2400703084731CFC422C079FA /* FKFlickrStatsGetPhotoReferrers.m in Sources */ = {isa = PBXBuildFile; fileRef = 97E53377DC5D263998EC01A4F87236C6 /* FKFlickrStatsGetPhotoReferrers.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 72B22D1A576AC87CC89A82620BC230E6 /* FKFlickrGroupsDiscussTopicsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FBDA55152D8E5ABB7A83071FB132EAE /* FKFlickrGroupsDiscussTopicsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 72D6614E8320AD5ADF7CAC3B0E747746 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F9A698BA8CAA6EE57BD0B2B5AA0AA22 /* Alamofire.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7326F6FC965626FADBAA4DAF30522254 /* WIKFontIcon.h in Headers */ = {isa = PBXBuildFile; fileRef = 9965C949B64B0FDAA914CA934BC48C80 /* WIKFontIcon.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7327866BAC4FF72FDB2E938BF61B98F5 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 239C1B613683031A0DF0ABB81C5CF61F /* Stream.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 739634B0219C7E343C2527050E20A238 /* FKFlickrPhotosetsCommentsEditComment.m in Sources */ = {isa = PBXBuildFile; fileRef = D443E181F5B796179085FC9DC2286BA2 /* FKFlickrPhotosetsCommentsEditComment.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 73F6EF23963286D3C53FACA0F91AE05C /* FKFlickrPhotosNotesDelete.m in Sources */ = {isa = PBXBuildFile; fileRef = FFCB2A3EFC379EBE82E3B3B3F36B1E95 /* FKFlickrPhotosNotesDelete.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 74292E31ED549537A2288872B5772C6E /* FKFlickrActivityUserPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = A0900BDB0B5EF340E7FC93B0B5CEF462 /* FKFlickrActivityUserPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 777C7EF8920074061D7678E1490BCECF /* FKFlickrPhotosGeoGetPerms.h in Headers */ = {isa = PBXBuildFile; fileRef = F325B25F47BD1E393D93D7631CEB3D98 /* FKFlickrPhotosGeoGetPerms.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 77B5437A550B3D4D7BD4B73D41A02202 /* FKFlickrPhotosetsSetPrimaryPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B7D373F693178E8FE064A426E8E08D5 /* FKFlickrPhotosetsSetPrimaryPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 77C5EB8077EB922D8F8C48DE58C1400D /* FKFlickrPhotosetsCommentsAddComment.m in Sources */ = {isa = PBXBuildFile; fileRef = F5A8B9DAAC2C34C99E0401FA8331B605 /* FKFlickrPhotosetsCommentsAddComment.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7850ECA55ACE1B78BFED14B83582F89B /* FKFlickrPeopleGetUploadStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = 80AC789BB9DC3DF6EDF14D9F6B97FC3E /* FKFlickrPeopleGetUploadStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 78D56BBBAF6AFB044C15420ECE13C452 /* Lato-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 98F23F12499F8B6BAA0BF58B47B0615E /* Lato-LightItalic.ttf */; }; + 7ACC754E401A36D450012CE27771B1A1 /* FKFlickrPhotosGetFavorites.h in Headers */ = {isa = PBXBuildFile; fileRef = 82F06B77D70BBA78AC235011A9592568 /* FKFlickrPhotosGetFavorites.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7AD51230E702C16E4678F252B566ABAA /* FKFlickrPhotosGetPerms.h in Headers */ = {isa = PBXBuildFile; fileRef = 362E622003C3A6D526E7D40E8559EA07 /* FKFlickrPhotosGetPerms.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7AF50AC4CA9CEF8DC07A24761B0053C6 /* FKReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 636C8AD09767949B30C0549A6CEC686A /* FKReachability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7B7086DFE0842781989F29D6AAFF0ED2 /* FKFlickrPandaGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A9E008810CCAC5FCDA4C066F048E0A7 /* FKFlickrPandaGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7BAE0FD71F074010A6F3C9C8A96AB54F /* FKFlickrPhotosAddTags.m in Sources */ = {isa = PBXBuildFile; fileRef = 666049A7A812A831541A166631FB2501 /* FKFlickrPhotosAddTags.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7C03A3BF69AFE68AB3E56A36E2D9FC11 /* FKFlickrPhotosGeoSetLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = EAC1128B943A86A3420BF811EC2264A0 /* FKFlickrPhotosGeoSetLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7C51DAF3C9D5F414F98712F3C9A2F2A0 /* FKFlickrPeopleGetGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = B359F4CB2D561A86339E0EE7A46C0CB7 /* FKFlickrPeopleGetGroups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7CCC13A894DC2FFEEA28A8482A7B38DE /* FKFlickrGroupsGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 95D0CAF70F9C458AEB809F7E34939C83 /* FKFlickrGroupsGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7CE8478FB6229FCD3B10B1E8586707D4 /* FKFlickrPlacesGetPlaceTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 34A3E47EDAA9FAFDF705FBF87F824012 /* FKFlickrPlacesGetPlaceTypes.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7D8908CD8C2A053DCFB8ADEB9F244A03 /* FKFlickrBlogsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 93F82E97F245CA1C6DE244EEC87F32DE /* FKFlickrBlogsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7EDCECA82EF4EAA42DD57E227607C4AB /* FKFlickrPhotosNotesEdit.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C91DCAB8E263B386BCF92F28D6CD23A /* FKFlickrPhotosNotesEdit.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7F65CAF9691925C4E2DCB69145B8CE1B /* FKDUBlocks.m in Sources */ = {isa = PBXBuildFile; fileRef = C965BB5F58B28C627EA2B2932783BCBF /* FKDUBlocks.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7F706EA2304B473950E1DEC0864560D6 /* FKFlickrGroupsPoolsGetContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 7885E112C0C688BF15F61946D7E327D5 /* FKFlickrGroupsPoolsGetContext.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7FDE7F27BFDBC0B33FFE022F7655A7E6 /* FKFlickrInterestingnessGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = D348C9C99F346ADB495F269818DC7F17 /* FKFlickrInterestingnessGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 7FFAEB315A0F09F74C0E5A871E9993B9 /* FKFlickrFavoritesGetPublicList.h in Headers */ = {isa = PBXBuildFile; fileRef = 3AFD15B659995E81F1B71422E5A314CB /* FKFlickrFavoritesGetPublicList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8005AB14D7F26FC6ED9D59DA0207F7B5 /* Priority.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CD97FC440AD312C04944BF34C0B3B90 /* Priority.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 80180768FE6AC596EC9A545707346D87 /* UIFont+Lato.m in Sources */ = {isa = PBXBuildFile; fileRef = E4B8F734265DDA008B761CA6CC1B1AED /* UIFont+Lato.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 807AE45B17D0C9F98D3967DE7DFE6483 /* FKUploadRespone.m in Sources */ = {isa = PBXBuildFile; fileRef = D6521145005E2985DF06F0D11DFF7D9C /* FKUploadRespone.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 80D7444A5626EA6B8151CD831724AA54 /* FKFlickrPhotosNotesAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 202B17D969055513FA16B3E03D54CF7D /* FKFlickrPhotosNotesAdd.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 80F1CD949E53D2DE79E87DCF922AA556 /* FKFlickrUrlsGetUserPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = FC5479D0DBFE13A6FFFA47910643E017 /* FKFlickrUrlsGetUserPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 80F3B513C14F08F5B56C7493DB037A8F /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E7BCF98AE233ABD9608D9122B9FDA0 /* CoreText.framework */; }; + 829BB6FACD2A97C17FE085BC642A2538 /* FKFlickrPhotosGeoCorrectLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A319C1DF26F31B0D273F9C5A8E42948 /* FKFlickrPhotosGeoCorrectLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 83CF82403AF5E0BF08C745A4BEE23FCD /* Lato-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7053C94FCE9D1063F1CACDE05A02DF96 /* Lato-Black.ttf */; }; + 844FB1C868A5E80EEA3786DC0C6B987D /* FKImageUploadNetworkOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 17E26035C0EE675C3C46C6EB282090AF /* FKImageUploadNetworkOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 84761A21BEE73DA428BFF6A04BBBD2CE /* FKFlickrGroupsMembersGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 2ED37D0FF7BE84CA2DE093A4E76DDBBF /* FKFlickrGroupsMembersGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 847B304A9AB835C57610A19D2007FE64 /* FKFlickrPhotosRecentlyUpdated.m in Sources */ = {isa = PBXBuildFile; fileRef = A4BCA23F10041DF44CD6B2C7F3A11B47 /* FKFlickrPhotosRecentlyUpdated.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 84BE12C3BB74848F79C3B49058FCBCE3 /* FKFlickrGroupsLeave.m in Sources */ = {isa = PBXBuildFile; fileRef = B66F713A823902FBF316FF0795753B60 /* FKFlickrGroupsLeave.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 8541148EE3C1DE33C66390867C104338 /* Constraint.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAAE2288AD3563476489FE6990DE97D3 /* Constraint.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 864D63C6A17E15FD6CB6F4577B25F609 /* FKFlickrUrlsGetUserProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = A88773854A4C9C3E3F686D3ABDA81FDE /* FKFlickrUrlsGetUserProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 86B310AEA62E4BECA6E59F7A80D10392 /* FKFlickrPhotosSuggestionsRemoveSuggestion.m in Sources */ = {isa = PBXBuildFile; fileRef = 85893394C7131F7653E743766F3FA650 /* FKFlickrPhotosSuggestionsRemoveSuggestion.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 881274A50E2986F95A00A7637CAD160D /* FXBlurView.h in Headers */ = {isa = PBXBuildFile; fileRef = A2658200530D34B28296CFA5A6FD2362 /* FXBlurView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 88B737DC9568EC5CFD61D6B939F2288D /* FKFlickrPhotosetsDelete.m in Sources */ = {isa = PBXBuildFile; fileRef = C51B17FD53C9E56C511B82C623FD8422 /* FKFlickrPhotosetsDelete.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 89858238F6E4B7A7A285FA3D3DC47B56 /* FKFlickrGroupsSearch.h in Headers */ = {isa = PBXBuildFile; fileRef = 91A0F9301D63B2C4A66F1C0FD0C6DFE2 /* FKFlickrGroupsSearch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8AC17FFF24C2F2809A7A4AAACB721911 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4FEAE3551BC447028F251C907A24741 /* Result.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 8B5AE3F50B78DD1181388DC2F9E3144E /* FKFlickrPhotosNotesAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 2000348275027F4E9538BABAC9760E61 /* FKFlickrPhotosNotesAdd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8B7B563EE2BE333A80BCF1D7CCF2FFE6 /* FKFlickrGroupsDiscussRepliesDelete.h in Headers */ = {isa = PBXBuildFile; fileRef = 6359EB4D1DD4319636746234463FC2E3 /* FKFlickrGroupsDiscussRepliesDelete.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8BC8AC894690B950CBB1C8D847D4D824 /* FKFlickrGroupsPoolsGetPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E9FC0D00069780981F1FA9A64BA1BCE /* FKFlickrGroupsPoolsGetPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8C1EF61D5A2C8391FFAB8CDD5C0CC562 /* FKFlickrBlogsPostPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F7ABAFCC7FF014DBE0336A6295FCFBC /* FKFlickrBlogsPostPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 8C2ABFB8277B0084C5A9D64647717185 /* FKFlickrTestEcho.h in Headers */ = {isa = PBXBuildFile; fileRef = 922144900B9F4D2DA3E0C77165B9C2E3 /* FKFlickrTestEcho.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8CB0DD45F7546C3A139A3C526D3C3DDC /* FKFlickrPeopleGetPhotosOf.m in Sources */ = {isa = PBXBuildFile; fileRef = C5D6B6E79A3A3B12E80ED606E28881A2 /* FKFlickrPeopleGetPhotosOf.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 8CCEA3E5307B84E8271C0067F0A541B2 /* FKFlickrGroupsDiscussRepliesAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E84A855D85822C81DB3320625C58844 /* FKFlickrGroupsDiscussRepliesAdd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8D8148426D86F7A40318CD0D1A2575B6 /* FKFlickrPhotosRecentlyUpdated.h in Headers */ = {isa = PBXBuildFile; fileRef = 9ED5B5462DB4E2B61B347842E94AD60D /* FKFlickrPhotosRecentlyUpdated.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8D935352E878CDD3A2263F0EE5A076E8 /* FKFlickrGroupsSearch.m in Sources */ = {isa = PBXBuildFile; fileRef = 7CDC2BA58EC426419EA70F5753B633AD /* FKFlickrGroupsSearch.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 8E6547FAC3B9D94A6BBD9D1E91975F0B /* Pods-PrettyWeatherApp-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6A16C33AEB5BBB5AD110E674154D8C /* Pods-PrettyWeatherApp-dummy.m */; }; + 8FFC05F4F6D139F92BDAC40D09C31B1D /* FKFlickrPhotosUploadCheckTickets.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E3E2C5CCCA90A3BCEEBF549F3D9CC3C /* FKFlickrPhotosUploadCheckTickets.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9002BD5EA169464DDE189666DBF3E4EC /* FKFlickrStatsGetPhotostreamDomains.m in Sources */ = {isa = PBXBuildFile; fileRef = 964139A93D49D936EFE96322F4110314 /* FKFlickrStatsGetPhotostreamDomains.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9098298859DEB344E3758F2426F06CB7 /* FKFlickrMachinetagsGetPredicates.h in Headers */ = {isa = PBXBuildFile; fileRef = 52E92D18A9FDA963AE3B0B421BBDDC62 /* FKFlickrMachinetagsGetPredicates.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 92084B2B3AD5A4674AF84F0871076986 /* FKFlickrPhotosDelete.m in Sources */ = {isa = PBXBuildFile; fileRef = 1B6B23FD6B8F707F01F980C07D8870BE /* FKFlickrPhotosDelete.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9280EF71C5083E9A8EBCAEC3FC7757FD /* FKFlickrFavoritesRemove.m in Sources */ = {isa = PBXBuildFile; fileRef = 626A5BC25A3C5326100BB3D680D6EE0D /* FKFlickrFavoritesRemove.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 938876C666E945B3F0F5D2E0A165CF30 /* FKFlickrUrlsLookupGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 481586FB4BD0814B338A7A83EC11DBF2 /* FKFlickrUrlsLookupGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 93BF61930E49A70722CCF38683B7D773 /* FKFlickrPeopleGetLimits.m in Sources */ = {isa = PBXBuildFile; fileRef = F03E33B44EA0D6F33B591EDFCB7C22D1 /* FKFlickrPeopleGetLimits.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 942E64FBD627AC8888611B3CF158595D /* FKDUDefaultDiskCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 7FE68E005B98EDD5740FB8BEED733141 /* FKDUDefaultDiskCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 944F56D67295B0313739FE703818F986 /* FKFlickrPhotosSetSafetyLevel.m in Sources */ = {isa = PBXBuildFile; fileRef = 7ADC968DD1BC47BF11DA81C113F30638 /* FKFlickrPhotosSetSafetyLevel.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 957A9AD90A4937B210AAD4A443D9855B /* FKFlickrStatsGetTotalViews.m in Sources */ = {isa = PBXBuildFile; fileRef = D0127191DFC00836A97A88C2D58E328E /* FKFlickrStatsGetTotalViews.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 95B6BC1FF774AFFF1856A3CD9F486B24 /* FKFlickrContactsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = BF0BB632206FDAC96814B5BE6F04C87C /* FKFlickrContactsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 964A368F805C0A31680771BB10D3D520 /* FKFlickrPhotosGetWithoutGeoData.m in Sources */ = {isa = PBXBuildFile; fileRef = E59B896154B0A4B3C77B63D8573C4D92 /* FKFlickrPhotosGetWithoutGeoData.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9723A9803C548835E48D6C21BDAB179D /* FKFlickrPlacesFindByLatLon.m in Sources */ = {isa = PBXBuildFile; fileRef = 365C70ECF7057B4A7DB5872B75B52316 /* FKFlickrPlacesFindByLatLon.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 972567BD7BDC44AFAFA449EAA1B19801 /* FKFlickrPlacesTagsForPlace.h in Headers */ = {isa = PBXBuildFile; fileRef = E24D095FE8DA80ED856C7E5DDFCC1055 /* FKFlickrPlacesTagsForPlace.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 98492E36A8D032E06F335C35A3EF87EA /* FKFlickrPhotosetsGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 408BFC2623640876BE29B6FCB885254E /* FKFlickrPhotosetsGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 98BA22539AB09F79440EDB6DA1F1AFFB /* FKFlickrReflectionGetMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A980DAF32619112BC8C6480BE3CD2C0 /* FKFlickrReflectionGetMethods.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9A624C559F1667A4BE9AA69E1187E131 /* Distribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 985A71510FF743619C67C9D523D5F3F5 /* Distribute.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9A85BF4C42D94AFE56A918D17EA800C7 /* FKFlickrPhotosGeoSetPerms.m in Sources */ = {isa = PBXBuildFile; fileRef = E6997B2151DA6A6E00E26EBE52A7348C /* FKFlickrPhotosGeoSetPerms.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9B58CD066103A219CF3AB91FB3112FF8 /* FKFlickrPhotosSuggestionsRejectSuggestion.h in Headers */ = {isa = PBXBuildFile; fileRef = 7DFDFCBE358049E29D03236C42E76784 /* FKFlickrPhotosSuggestionsRejectSuggestion.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9B8D882A821746CC209D83AE4E1868AD /* FKFlickrStatsGetPopularPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 9E4EE4ABBA6D00FF3EA8521E47BCF2AD /* FKFlickrStatsGetPopularPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9BF43B67FB1CA500D455745AC4EBBA91 /* Lato-Hairline.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BF32E3763CA56A749CE329AD53C3CEEB /* Lato-Hairline.ttf */; }; + 9C32079D2830371D641555744CFAA840 /* FKFlickrTagsGetListUser.h in Headers */ = {isa = PBXBuildFile; fileRef = EB35B0040F0FF8F25D81CC5C2163BF2B /* FKFlickrTagsGetListUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9CCBF2B3A133C527604A019C61D587A3 /* FKFlickrMachinetagsGetPairs.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A37A38A9A8232220F0BABFF80ED7D0E /* FKFlickrMachinetagsGetPairs.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9D5146814963CB93744D6AD4F935BFBF /* FKFlickrActivityUserPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = F2D795C9C22DDD4E744D4113E165EC6B /* FKFlickrActivityUserPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9DC129FDC399EFD20E61412F5F67033B /* FKFlickrPhotosetsGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 2033ECC33DD48734ADBA621CCFDBF89F /* FKFlickrPhotosetsGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9DF48DE628369C61BFDCCA5CC0A02E76 /* Size.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5ABF3E79180996C3B7556568DBEA7EB1 /* Size.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9DF852C9748060B7842CEA0AFF31C212 /* FKFlickrPrefsGetGeoPerms.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C2AF05D9DB39C64A0394F9D6395A767 /* FKFlickrPrefsGetGeoPerms.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + 9E182212637077BE6893E92412F62CCA /* FKFlickrPhotosGeoPhotosForLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B1C6F2F387C1F374B6BF3FD6B001739 /* FKFlickrPhotosGeoPhotosForLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9E1FB6CD494B042A55553E098DD621C2 /* FKFlickrFavoritesGetContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 07CD152977E81630D01084C92A53EA1E /* FKFlickrFavoritesGetContext.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9EBDAF9BF3D0E9535FB5A1E8C408D394 /* FKFlickrStatsGetPhotostreamReferrers.h in Headers */ = {isa = PBXBuildFile; fileRef = 78755C9BF5304A9312DE9EED37A233E7 /* FKFlickrStatsGetPhotostreamReferrers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9F1E44E09E82E6A7E1F076C6681115B6 /* FKFlickrPhotosGetAllContexts.h in Headers */ = {isa = PBXBuildFile; fileRef = ADF41BC7723B783991A0563E25309EFC /* FKFlickrPhotosGetAllContexts.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9F5B375B80402C73A9331A8196567A61 /* LatoFont-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 757F988E8F3B43F8DCF48DABA068BED8 /* LatoFont-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9F9DC70D9877F084B5186F57BD4245D3 /* FKFlickrTagsGetRelated.m in Sources */ = {isa = PBXBuildFile; fileRef = 2299060AA290F28D3A6BCC4FAAC2E3C3 /* FKFlickrTagsGetRelated.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A0CEF4AC3DA13D0AD7E977CE4641FC28 /* FKFlickrPrefsGetContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = F62AEC73A6F662A5F7AEC41F88DF488A /* FKFlickrPrefsGetContentType.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A1F26608A520C904937C24EA847C3A79 /* FKFlickrPhotosGetExif.h in Headers */ = {isa = PBXBuildFile; fileRef = DE7056F3A10AFB1231D9451CE71A30CE /* FKFlickrPhotosGetExif.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A21623AA61EC0639598E6D73059F173C /* FKFlickrGalleriesGetListForPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = 03B64114929CCC07CFB12EC5371EACA0 /* FKFlickrGalleriesGetListForPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A2D63E49221543BD262BD2D8BF596B65 /* FKFlickrPlacesFind.m in Sources */ = {isa = PBXBuildFile; fileRef = 6A11BC08D701F2889FB7B4555733E543 /* FKFlickrPlacesFind.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A2F18343284881EFCFED59658AE29A2E /* FKFlickrPhotosSuggestionsRejectSuggestion.m in Sources */ = {isa = PBXBuildFile; fileRef = 01226FF2FB91EEF4383B319D93317C40 /* FKFlickrPhotosSuggestionsRejectSuggestion.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A526D22AFE418A7BAE3F5B0FC162B2A0 /* FKFlickrPushUnsubscribe.h in Headers */ = {isa = PBXBuildFile; fileRef = 45E008A4A92EDF965DB762C9D3001FA2 /* FKFlickrPushUnsubscribe.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A6676E135D00A9438540843899C8E165 /* FKFlickrPhotosGeoSetLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 93EF485C05D61D72629ECAE2736D94A8 /* FKFlickrPhotosGeoSetLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A6B2E6704C53AFDD3C7B71777372B64D /* FKFlickrStatsGetPhotosetDomains.h in Headers */ = {isa = PBXBuildFile; fileRef = 895CC13A45FC24B94242C17040E0590B /* FKFlickrStatsGetPhotosetDomains.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A7004E98704CFD670BC9E251DF36A54A /* FKFlickrFavoritesGetPublicList.m in Sources */ = {isa = PBXBuildFile; fileRef = 5952FCF83BCDAD5F555B091C98AFD0BD /* FKFlickrFavoritesGetPublicList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A75DEACE7D55DCD9E64B7E99612D0919 /* FKFlickrPhotosetsRemovePhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 30AB9814B44F36E9A0D43933DAEA1729 /* FKFlickrPhotosetsRemovePhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A7DB7932E0B86ACA8072BE61A92C42BD /* FKFlickrPhotosetsEditMeta.h in Headers */ = {isa = PBXBuildFile; fileRef = C21F72F664CB34DCC3F0E78DF0F3FA8F /* FKFlickrPhotosetsEditMeta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A8A0E46F66E8F5FE389535FB6531A707 /* FKFlickrPhotosDelete.h in Headers */ = {isa = PBXBuildFile; fileRef = B28E0A1BB17CF104159456D2DBF1EDC3 /* FKFlickrPhotosDelete.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A8C0DC14C1863EB4F14C7A31A074EF5D /* FKFlickrTagsGetHotList.h in Headers */ = {isa = PBXBuildFile; fileRef = 37BE3A9434B02EE62EEB6ACCBB378FFA /* FKFlickrTagsGetHotList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A908FFEC764A954AD6AF09CE3A85B9DC /* FKFlickrPhotosPeopleGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 6A97C8B179E3BFEEE877F6797B7FB710 /* FKFlickrPhotosPeopleGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A96051AD64BF64C245C5F1E9BE313E00 /* FKFlickrTestEcho.m in Sources */ = {isa = PBXBuildFile; fileRef = F2BC022645090364685B082794786B26 /* FKFlickrTestEcho.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + A9C0871643D07B362E78782B40033678 /* FKFlickrPhotosGetContactsPublicPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 19DBF6C7F36C039F4B4F558EF8872EBC /* FKFlickrPhotosGetContactsPublicPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A9EC28436753F5AB7C8A311E0B982F9C /* FKFlickrPeopleGetPublicPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = A1EA28A027AC5F5701E30286A2DA1B6E /* FKFlickrPeopleGetPublicPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AA1F35169409DEA083182E9412095400 /* FKFlickrPhotosTransformRotate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5184ADF41569F7E0D562EFBD3D36E25E /* FKFlickrPhotosTransformRotate.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + AA25B97472CD039DBCB8508868758728 /* Lato-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7382C6D787C95A1E285EBC082BFD704A /* Lato-Italic.ttf */; }; + AB23797798306AE7CA63787684BAAF63 /* FKFlickrGalleriesGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 31F3637A4BC76CBA971D28871164E8B1 /* FKFlickrGalleriesGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + AC053A17C0DFF6242BF87BAB798A26EE /* FKFlickrPhotosSearch.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DE64CC109C4E7069F9DBC5AA2682E22 /* FKFlickrPhotosSearch.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + AC26EB4ED523FD904D75D457CE114CB0 /* WeatherIconsKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 5CE8F39FA1731C82D764BD011640ACC2 /* WeatherIconsKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AC39671E258A63B84D0551C758D18206 /* FKFlickrAuthCheckToken.h in Headers */ = {isa = PBXBuildFile; fileRef = B0A9779927B1890D8386E1C1396A0ACD /* FKFlickrAuthCheckToken.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AC7B96F959896BA83FF0B2A089F6F268 /* FKFlickrPhotosGetContactsPublicPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F70BFCCD5E34818CE3F212A464CCBBB /* FKFlickrPhotosGetContactsPublicPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + ACBC18AF52D4C36EE6CAD30B61C266A5 /* FKFlickrPhotosSuggestionsGetList.m in Sources */ = {isa = PBXBuildFile; fileRef = 188D74D164DAFD6BF2D2FEB3F694631F /* FKFlickrPhotosSuggestionsGetList.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + ACEA726B665E439FC52EA7D1853579ED /* FKFlickrUrlsGetUserPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E475AC2CBD8F13CC23AEFE6249AA95A /* FKFlickrUrlsGetUserPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + ADD41B0E3C2C89C249534C66027FE3B0 /* FKFlickrAuthOauthCheckToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 304C6D12E1691B2A599575763E265F81 /* FKFlickrAuthOauthCheckToken.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + AFF7E89A6A8B590121624266951DEBD5 /* FKFlickrTagsGetListUserPopular.h in Headers */ = {isa = PBXBuildFile; fileRef = F65428BBB264ED311623F9205C5822B4 /* FKFlickrTagsGetListUserPopular.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B02285BB718B03CDD32DFC36E9B3E89F /* FKFlickrPeopleGetPublicGroups.m in Sources */ = {isa = PBXBuildFile; fileRef = 27EF459107FDFC0E75767CBD2E6E275B /* FKFlickrPeopleGetPublicGroups.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B037147E976D12DD308EF30255110E0C /* FKFlickrGroupsPoolsAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 563D02DA9C7132D58747773EAADA850B /* FKFlickrGroupsPoolsAdd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B11257147D80AADEDE7D31C73424BC44 /* FKFlickrStatsGetTotalViews.h in Headers */ = {isa = PBXBuildFile; fileRef = 936750EEB67913FBCA057AB2EB465EEC /* FKFlickrStatsGetTotalViews.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B18D8117926683FE49DC629E545FF219 /* FKFlickrPhotosGeoSetContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F3ED01DFF9AFC11415D7906A6157DEC /* FKFlickrPhotosGeoSetContext.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B1B8212AD39EFA34D7756F014B822217 /* FKFlickrPlacesPlacesForContacts.h in Headers */ = {isa = PBXBuildFile; fileRef = B92FDF8FA4EE82BA60430052400068DB /* FKFlickrPlacesPlacesForContacts.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B21CEE871CF69F7A62A17091A1A6EC86 /* FKFlickrPhotosCommentsGetRecentForContacts.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B3D1FE30857B48B530E768DA927DE75 /* FKFlickrPhotosCommentsGetRecentForContacts.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B245EE9E7E3A31019B033263507BACC0 /* FKFlickrPlacesPlacesForUser.m in Sources */ = {isa = PBXBuildFile; fileRef = 41CA6AEE4D0F9DDA7F034E5B5BA2922A /* FKFlickrPlacesPlacesForUser.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B270B8E1EDC35BCB4243D38906BE8B85 /* FKFlickrPlacesResolvePlaceURL.m in Sources */ = {isa = PBXBuildFile; fileRef = DC0704625F2800BFEDB077849A477CFD /* FKFlickrPlacesResolvePlaceURL.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B271F2CDBDD738CA159DDB18CA8E3EFC /* FKFlickrAuthGetFrob.h in Headers */ = {isa = PBXBuildFile; fileRef = CCE9DDBFE5F5FDE027D27EC23AA146BC /* FKFlickrAuthGetFrob.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B295FF4365E1C7406C366F25F910C746 /* Property.swift in Sources */ = {isa = PBXBuildFile; fileRef = 159F30CAE69C93688882AB93AA49605E /* Property.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B2997DF99ABDB5EAE0F9EC7789624060 /* FKFlickrPlacesResolvePlaceURL.h in Headers */ = {isa = PBXBuildFile; fileRef = C9557103FDD583BF55C24650A3F7F2E5 /* FKFlickrPlacesResolvePlaceURL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B30526A798EB030A26A61C76DB4E8315 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + B30584EB796C60BEEECB7BEB62C99ED9 /* FKFlickrPhotosetsGetPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = FDA23400207406537272248101B63A57 /* FKFlickrPhotosetsGetPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B4B8F86EE3305D2C1E715142785EE497 /* FKFlickrAPIMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = BE89D6A8FD9B0DB8AB87EE2BEC6A5337 /* FKFlickrAPIMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B5C921AB78F7A56038EA32567CB8CA88 /* FKFlickrGroupsDiscussRepliesGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 68C119658C7068A0AC1CC2B0FF982A95 /* FKFlickrGroupsDiscussRepliesGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B646A6DF3E54D7B1E1D21EFC81F56949 /* FKOFHMACSha1Base64.h in Headers */ = {isa = PBXBuildFile; fileRef = 70285E712B3CB40CA7C1B40AFD4EFE2B /* FKOFHMACSha1Base64.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B64D36FECF19106317B5C1FB87B50BF1 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89565BFB9E41C13FA3092B23DFF57B98 /* Accelerate.framework */; }; + B65D00EE0190BAA6612B6691A48D21AE /* FKFlickrNetworkOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 92811C72F76E7106A0CBFE42E5C86A80 /* FKFlickrNetworkOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B6F2A23E800A229E98C4C7AA8A85BA8F /* FKFlickrTagsGetListUserRaw.h in Headers */ = {isa = PBXBuildFile; fileRef = 617A758F1E189292F6CB4D0866F757D9 /* FKFlickrTagsGetListUserRaw.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B72018D0A09DD625FC24E614616A6775 /* FKFlickrGroupsPoolsGetGroups.m in Sources */ = {isa = PBXBuildFile; fileRef = B7B83A5DA6F3382AF5EBB53E97B0DBB3 /* FKFlickrGroupsPoolsGetGroups.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B7FA31208628198409B20EE7EDB56444 /* FKFlickrGroupsJoin.h in Headers */ = {isa = PBXBuildFile; fileRef = 3073A41FEAD621A08BF0F546A282A8B9 /* FKFlickrGroupsJoin.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B918B94AAEDA10224CE3EB13F880C177 /* Context.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFB4A9C22B4974645FD97B6525869C19 /* Context.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B9E2616C43D81EEFEB28B97FE6C20ACD /* FKFlickrTestLogin.m in Sources */ = {isa = PBXBuildFile; fileRef = CA79F43F8588CFF1E38ACB03BCF65810 /* FKFlickrTestLogin.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + B9E44EEA19EC5FCBBD625B7BE0369AB6 /* FKFlickrPlacesGetShapeHistory.h in Headers */ = {isa = PBXBuildFile; fileRef = 65EDEB0D7AAED74959827BE8E5730DC2 /* FKFlickrPlacesGetShapeHistory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BB1F43F84031C202E94E9E5664E569FB /* FKFlickrTagsGetListPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 28CCB65725813506DD1BB3759FA29CDB /* FKFlickrTagsGetListPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BB5254C353F2C35E1BDDC98CF2359402 /* FKDUReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 19D11EF7667046F3C922656BAE7D300D /* FKDUReachability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BB6BA76BF1561C3480B9221AEF1B1DEC /* FKFlickrPhotosGetNotInSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D0B399D8A58169C60036C380D5323E0 /* FKFlickrPhotosGetNotInSet.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BB72C24FF41C435C4EF1F1AD1AFD2547 /* FKFlickrPhotosGetContext.m in Sources */ = {isa = PBXBuildFile; fileRef = CC9AE20D2B4C94D664BFDAF4AF807E12 /* FKFlickrPhotosGetContext.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BBA2089DD0B7609F67CEEA8BF951609D /* FKFlickrGroupsGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = D87BEC115F266E1D8A3ACE252BB6E982 /* FKFlickrGroupsGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BBA77EAA4D4379421544DD1AF8C72403 /* FKReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 325E88556A8A778867CA7F4A2508C671 /* FKReachability.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BBBF2E057F29A7668E3E94DB1D33CB20 /* FKFlickrPhotosGetSizes.m in Sources */ = {isa = PBXBuildFile; fileRef = A00990D506410E3372A4B322AB5E2887 /* FKFlickrPhotosGetSizes.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BC1B691EBE261456E3DFC544E804AEE0 /* FlickrKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 16C0B4FD700380F8B5FC65EF0E3E7461 /* FlickrKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BC258EA3B288F5E942ABE927941CEB26 /* Cartography-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BA7C88CA9A43B1C80202B8CB460E3E58 /* Cartography-dummy.m */; }; + BF949553BBA4F5509EE788FA0AF6C86E /* FKFlickrGalleriesEditPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = D6DA05F0A2CEF1748E0D786E2ACA6E17 /* FKFlickrGalleriesEditPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BFCE484350F52D7F6C1E59CB3978A860 /* FKFlickrPeopleGetPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B2BE8DEA8AA16E77858B3A0A012421 /* FKFlickrPeopleGetPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BFDCA63FFF2BF069E4F693723A7A6621 /* FKFlickrPhotosSetDates.m in Sources */ = {isa = PBXBuildFile; fileRef = 67C6E44395123CCB5EBBF0739E1A4BDB /* FKFlickrPhotosSetDates.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BFE69935EC80E65B1F25716446584BD4 /* FKFlickrPhotosGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = EF82E4261B89A59F9E17B6E2A2D5D4CE /* FKFlickrPhotosGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + BFE9E1886AB364FA7EBDF2CABE7FBBF4 /* FKFlickrPhotosetsRemovePhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = C2B2171A67CDC1777C029B381C491BC7 /* FKFlickrPhotosetsRemovePhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C0238F419DEE6915A92302A7305BEA46 /* FKFlickrUrlsLookupGallery.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B1C146FD7A92A1FC0AF79229DE8312A /* FKFlickrUrlsLookupGallery.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C0F2851DD6405AB3D759FA66E1D67A6E /* FKFlickrPhotosPeopleAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 42AF63C3B7C628F64A95313940903899 /* FKFlickrPhotosPeopleAdd.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C0F35514B4524EF705C6735DE38164D7 /* FKFlickrPhotosLicensesSetLicense.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A19BD8D3B0F9CDAE9B1CCB4FBC782A2 /* FKFlickrPhotosLicensesSetLicense.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C165CCBFD4F47710AB85CD44805015C8 /* FKFlickrMachinetagsGetValues.m in Sources */ = {isa = PBXBuildFile; fileRef = 44A14F32CD0595FE74F2B4564E18434F /* FKFlickrMachinetagsGetValues.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C18989ECF7FA6E93CF78C2230C112728 /* FKFlickrPandaGetPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 763820ABE4586300BF21DA004A9C53EE /* FKFlickrPandaGetPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C209A706FC46144C06D6CB98E0B27661 /* FKFlickrPhotosGeoGetPerms.m in Sources */ = {isa = PBXBuildFile; fileRef = 87E50890B8982309717892F248A10E72 /* FKFlickrPhotosGeoGetPerms.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C2B4106F5C3FD1918DD1D33B2D2AF3E7 /* FKFlickrPhotosSuggestionsRemoveSuggestion.h in Headers */ = {isa = PBXBuildFile; fileRef = F85294A7271E19B701C99C1242315778 /* FKFlickrPhotosSuggestionsRemoveSuggestion.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C3A99A2890AF492147C814B81D2421BC /* FKFlickrPhotosGeoGetLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = E5FE3336731DEECAACDBCF6CF1670415 /* FKFlickrPhotosGeoGetLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C3B8FDB5C9F997A18DFA131F9B8F5ADA /* FKFlickrPhotosGetUntagged.m in Sources */ = {isa = PBXBuildFile; fileRef = 370B125A9082DEBA6C22D0F12383F2A7 /* FKFlickrPhotosGetUntagged.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C3D56DA9B7702575D57A3DE700EE15F9 /* Compound.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3BDA679E528E45E127B9A35C81F4D35 /* Compound.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C40E445244B7A5A0B03398A1AD70E3E9 /* FKFlickrPlacesGetInfoByUrl.m in Sources */ = {isa = PBXBuildFile; fileRef = 81816DA5C61CEE524DD7555F424F6E38 /* FKFlickrPlacesGetInfoByUrl.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C4652F86ABF53CF8FEC1E82F6430E7A5 /* FKAPIMethods.h in Headers */ = {isa = PBXBuildFile; fileRef = B2531E3F56BD31C6582A25B544E3244C /* FKAPIMethods.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C46C89AF16E8E8C8A3099732B07617A0 /* FKFlickrPlacesGetPlaceTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 558121C1A2EB10DFBE4038880C9F33EE /* FKFlickrPlacesGetPlaceTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C49C6D47F7805E05B4BF5F40A83D1498 /* FKFlickrPushSubscribe.m in Sources */ = {isa = PBXBuildFile; fileRef = FCAC6A8AE1D840218446AE3B39FBB36E /* FKFlickrPushSubscribe.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C4F4656F3B3E2B52570D45AED8C8C1B5 /* LatoFont-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BFC8537BF2A303FA283D7A45AB25325 /* LatoFont-dummy.m */; }; + C5299F39B3AF0DC97240575CEA56B8E4 /* UIFont+Lato.h in Headers */ = {isa = PBXBuildFile; fileRef = 654E5D8CD229FB954417700E25C0E80E /* UIFont+Lato.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C67924EDB04B5041BC8BDF183F804C02 /* FKFlickrPhotosCommentsDeleteComment.h in Headers */ = {isa = PBXBuildFile; fileRef = A37A8B54D2B704FE16A1F8A5D4370D0A /* FKFlickrPhotosCommentsDeleteComment.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C6ABBF43CC183B8CC0F0A71655D5BEE2 /* FKFlickrPlacesGetTopPlacesList.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D36BC3A55EE0ACB814E5CEEA6F23773 /* FKFlickrPlacesGetTopPlacesList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C72BF60ED41D90D4C19482A9FD8E598F /* WIKFontIcon.m in Sources */ = {isa = PBXBuildFile; fileRef = A5AE4A1CE9FA3AA13A0C6D2FD43B16DE /* WIKFontIcon.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + C831F18A46D656F99CBDFE8903F264FA /* FKUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = BCC1082FD9789DC307F50EF7FC517AA8 /* FKUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C869C2FDB4F6D00DB8C3F26EBE6BC66D /* WeatherIconsKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F0EC038852B579091CAA1F1DAEBF1ADB /* WeatherIconsKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CAC1D5BC3382C1A6D71EDF31DA935AB3 /* FKURLBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 3DCF4019DBBBB91294CDEC6DA56A759B /* FKURLBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CC1516B55E07E3B6671CE1C7E0A23B3B /* FKFlickrPhotosetsReorderPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 8DB465D3D790046D9EE93571EC5CBB3F /* FKFlickrPhotosetsReorderPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CC1A5FB2C2A2322B01BDF2D1EB601A26 /* Dimension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 782ACE4A12324DE88166BB166C938DC3 /* Dimension.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + CC253E3874375D47B76E0B8443661DB4 /* FKFlickrPhotosRemoveTag.h in Headers */ = {isa = PBXBuildFile; fileRef = 21DB27C3BFFF9D525292F9540524E463 /* FKFlickrPhotosRemoveTag.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CC3035DC0059CF6CF13C053965D0B82C /* FKFlickrAuthOauthGetAccessToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 19F6686443D06651C55D22F0A426E0F4 /* FKFlickrAuthOauthGetAccessToken.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + CC7C2EDB34C6F2923DFC0222824ADB49 /* FKFlickrPhotosGetCounts.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AE668582F26187E3BB1E6F22BCF7905 /* FKFlickrPhotosGetCounts.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + CCB813AC4A663404C1FE86B3C1F48E96 /* FKFlickrPeopleGetGroups.m in Sources */ = {isa = PBXBuildFile; fileRef = 76862C93D46C8EF6FE93F689C39D74ED /* FKFlickrPeopleGetGroups.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + CCCD152FAB51F738251191817A0CF3F1 /* FKFlickrPhotosGeoBatchCorrectLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = E12FE781F9151D13B71748BF78D0EFA3 /* FKFlickrPhotosGeoBatchCorrectLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CD65C664B0E6B9ED4C28AE0D2E3A55B3 /* FKFlickrPhotosPeopleAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 42D585DA3E77BC6FCB58F2F5F17060FF /* FKFlickrPhotosPeopleAdd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CE410E1AD7413DBF042B9ECCEBC5AC53 /* FKFlickrStatsGetPhotoStats.h in Headers */ = {isa = PBXBuildFile; fileRef = 7CC51F61604721281F1540F64606C61B /* FKFlickrStatsGetPhotoStats.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CE9396BF52216FE34690DBAE73345957 /* FKFlickrPhotosSetSafetyLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6A162C7C58EEBE26C67737BA14CC71F6 /* FKFlickrPhotosSetSafetyLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CE93B997E25835F18ABC8938921DACE0 /* FKFlickrPhotosPeopleDelete.h in Headers */ = {isa = PBXBuildFile; fileRef = F9FA6D33E6C02894AA05CDD9B028934C /* FKFlickrPhotosPeopleDelete.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CEAE153B1024D54DCD431027B6E4ED3B /* FKFlickrPhotosPeopleEditCoords.h in Headers */ = {isa = PBXBuildFile; fileRef = CF652C491F3DC6626759C3EE41E89BFA /* FKFlickrPhotosPeopleEditCoords.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CF9AF25C16492F694331F0ACA83BAA82 /* FKFlickrCamerasGetBrands.h in Headers */ = {isa = PBXBuildFile; fileRef = B197047201C91E0AFF98D18F0132E46D /* FKFlickrCamerasGetBrands.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CFD18E9B189C0D50618DE684789896F2 /* FKFlickrPhotosetsDelete.h in Headers */ = {isa = PBXBuildFile; fileRef = 315DCD93D09CB82D24B8D4816FC5A398 /* FKFlickrPhotosetsDelete.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D15125FE45FDF0C2B25631954B8504DD /* FKFlickrPrefsGetPrivacy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2E93D12E3FDA99CD92A6D4D6868088A8 /* FKFlickrPrefsGetPrivacy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D1F4462BAF62233F33820DA36E6DAB53 /* FKFlickrStatsGetCollectionReferrers.h in Headers */ = {isa = PBXBuildFile; fileRef = 04D2DF6DB585824828B89BBF8A1867B5 /* FKFlickrStatsGetCollectionReferrers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D2FEE4A9941340298828935ACBC6D6D7 /* FKOFHMACSha1Base64.m in Sources */ = {isa = PBXBuildFile; fileRef = E31DD67DE5F286FAB4D41CA1EEBF83CF /* FKOFHMACSha1Base64.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D506A15CEC59EA1252FFD511BA739D1C /* FKFlickrGalleriesEditPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C7B33A0BB2259208F77204A78CBEA26 /* FKFlickrGalleriesEditPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D53BD63F66EE00FD7C0F83EA8D01B23D /* FKFlickrPhotosGetWithGeoData.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BF30D257B043C8A2055F2F79BA2A7B1 /* FKFlickrPhotosGetWithGeoData.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D5904B990671CB90E1703A9CAE27B6B4 /* FKFlickrPrefsGetSafetyLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F9F5F64258EF3B0C94FAA82B82C6EAA9 /* FKFlickrPrefsGetSafetyLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D5CA9B124310FAF362B9D77A36B09E25 /* FKUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = CC8EE84D7D569B35A31777818AD52237 /* FKUtilities.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D6B3A708A590CA891A1AA9313020A670 /* FKFlickrUrlsLookupUser.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E3B0CD23BE209D2647D3956E67877E5 /* FKFlickrUrlsLookupUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D70C168E95891D7318D5FD1728ACABBB /* FKFlickrTagsGetClusters.m in Sources */ = {isa = PBXBuildFile; fileRef = AC77953654955D1A65A309AFFE7605FE /* FKFlickrTagsGetClusters.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D71815E49A31C735C022866E738B3638 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + D734CE60FB0CF13ED367C4A63F0AE6A4 /* FKFlickrPlacesGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 385DDAA74AC8924F188F0868F71C7315 /* FKFlickrPlacesGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + D756050FE0A86CED0BE9E16F2F06FDFB /* FKFlickrGroupsDiscussRepliesGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = F31DF1EA4E3D2484FE44FAB6E46DFCCE /* FKFlickrGroupsDiscussRepliesGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D7CCB9135EC438F5FDF0300EC6DE71D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */; }; + D82D55766EC29CE88D37F3A20D98D25D /* FKFlickrGroupsMembersGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A4718634F2BA24384749B0526A64488 /* FKFlickrGroupsMembersGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D88D8AC6638E014312B88C69F2260CB9 /* FKFlickrPhotosetsReorderPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = E6BDF28E3BC1B1FCCCE1E0AF94804277 /* FKFlickrPhotosetsReorderPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DA1DA146E63E4F8DC70E4138F751FA54 /* FKFlickrStatsGetPhotoStats.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E06141B1885A8D13C10A4DC18C6EFF1 /* FKFlickrStatsGetPhotoStats.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DA3AF01FAE846D7541257A3217E07898 /* FKFlickrMachinetagsGetPredicates.m in Sources */ = {isa = PBXBuildFile; fileRef = F6D16F2F176308FCC215029922D56F55 /* FKFlickrMachinetagsGetPredicates.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DAAD34112BF3681599010CFDBC61E547 /* FKFlickrPushGetTopics.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A25693EFBC5C87A2C408403355A0024 /* FKFlickrPushGetTopics.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DC2BD15058576936B8577EEE9B51E548 /* FKFlickrFavoritesAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 96BBA14D59BEC60B7D594D78E80646A4 /* FKFlickrFavoritesAdd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DE27A77403BF863D38A9EC1A13BD71D1 /* FKFlickrGroupsDiscussTopicsAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 964887BC9E9B726000BCA291FA2DCEFE /* FKFlickrGroupsDiscussTopicsAdd.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DE6C301726F47FFE57FB33AABB834E80 /* FAKIcon.h in Headers */ = {isa = PBXBuildFile; fileRef = 60591738623805462BEB80A8456FC728 /* FAKIcon.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DEB86EFE1718355AD1C59EEBCB1667CE /* FKFlickrPhotosGetAllContexts.m in Sources */ = {isa = PBXBuildFile; fileRef = 593F41BAFD36AAC5DBDBAE4E12A650C0 /* FKFlickrPhotosGetAllContexts.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DEF132182F091C0A9D6D39A38E6241B7 /* Point.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1AC8C08935E76EEC821872F7904EA6C /* Point.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + DF5186CB0C6B19AEB226756D2A72CB12 /* FKFlickrGroupsPoolsRemove.h in Headers */ = {isa = PBXBuildFile; fileRef = EED3B711BFD86DB88DEBA87A74E078FF /* FKFlickrGroupsPoolsRemove.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DFD843BEA020C58E87BE1FD599054D16 /* FKFlickrUrlsGetGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 3F25359E2CD0B248B70E65F49291F49B /* FKFlickrUrlsGetGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E01A7BE6AC0C7D8A5AA65B324A360547 /* FKDUNetworkController.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DB060D55935048C23848C06AD56CC55 /* FKDUNetworkController.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E08C7C3564B5AC022060F4A5A7CB4636 /* FKFlickrUrlsGetUserProfile.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9316A0D235B92BA89FD028A9F3EB60 /* FKFlickrUrlsGetUserProfile.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + E10A9323DBD5A209DD815ECB85907EA4 /* FKDUConcurrentOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = AF6BDAB35CB7D0E2FACD59CBC39A7343 /* FKDUConcurrentOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E138C337946BEE5778DAF1E784E365E3 /* FKFlickrPhotosetsRemovePhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = E89F7244E2A50BBB10DDC88AD1EA663E /* FKFlickrPhotosetsRemovePhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + E1AB35A6DEAF2A7B40DA3FC55325D730 /* FKFlickrGroupsDiscussRepliesGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4FFD127BAAB7D8989FBD4D370887AEF3 /* FKFlickrGroupsDiscussRepliesGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E23EA110A48508E8D29EBC253BF85BFE /* FKFlickrPhotosetsAddPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = 82691779EBE7B999C62B811015422187 /* FKFlickrPhotosetsAddPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E2A1A0C6D1FE42158D5EBA99A5798678 /* FKFlickrPlacesFind.h in Headers */ = {isa = PBXBuildFile; fileRef = B60950D1AC2518C50C4F5C59F109F402 /* FKFlickrPlacesFind.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E34511E75C71D20AED8F50DF10D140DE /* FKFlickrPrefsGetSafetyLevel.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E6F8A196200E55BECE4AFF3FCA6A3 /* FKFlickrPrefsGetSafetyLevel.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + E38E4F6162E9940944DEF5E11962DBC9 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE634DA0DEF4DE944681831BF20BC81D /* SystemConfiguration.framework */; }; + E3AE00324196C738314BACE49AF64BAD /* FKFlickrGroupsDiscussRepliesDelete.m in Sources */ = {isa = PBXBuildFile; fileRef = 6234F909A80D2887892EC692958F9E0C /* FKFlickrGroupsDiscussRepliesDelete.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + E5BA274437E2DEF98A6F07C2198ED83B /* FKFlickrPhotosGetExif.m in Sources */ = {isa = PBXBuildFile; fileRef = 66BBB29E3677C0FD3D73C70663D200DD /* FKFlickrPhotosGetExif.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + E623BD4B760F3AD0A1C3AB67465DE02F /* FKFlickrAuthOauthCheckToken.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1FDDDFF87F5B6DD174A05D702279FD /* FKFlickrAuthOauthCheckToken.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E64E597FF9651ADEDEA71389CEA6910B /* FKFlickrPrefsGetPrivacy.h in Headers */ = {isa = PBXBuildFile; fileRef = 60C1FE0689B0A32EA140E7D071DC657A /* FKFlickrPrefsGetPrivacy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E7664663C1089F9B484B98815A877702 /* FKURLBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B8174F70B817BA212C46D73589BA428 /* FKURLBuilder.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + E7B8ACFA82B0B04567ED51C7EE3ADD2E /* FKFlickrPhotosTransformRotate.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A0F0C46D58011421011C5E177386DC3 /* FKFlickrPhotosTransformRotate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E8EFB22AEDCA0F7C6C9B8CB20EE0F075 /* FKFlickrGalleriesEditMeta.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B01F9A7CCB7A2EFF6D1ED93A4A7137B /* FKFlickrGalleriesEditMeta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E8F796E175043BA7F7FED6CA147F9268 /* FKFlickrPhotosSetContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A58D57C65109FF35BF54610C2B3BDB2 /* FKFlickrPhotosSetContentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E954A2448B9235FE4EBCAA737236CB18 /* FKFlickrPushGetSubscriptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B423DA1790902A740A51B4D7C94E0C9 /* FKFlickrPushGetSubscriptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E98976269D55BDA9D6445D036C84ED4A /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68836EFC0063E0D218C315FF062F4908 /* Validation.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + EA609FC80E502B04149BED6624E5FD39 /* FKFlickrInterestingnessGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 391436F92D8A072209CFB536B31E057B /* FKFlickrInterestingnessGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EA83673C524BB11F8667149D465F2362 /* FKFlickrPlacesTagsForPlace.m in Sources */ = {isa = PBXBuildFile; fileRef = DFB4ACEA516E82D87384AEA9F9272CD7 /* FKFlickrPlacesTagsForPlace.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + EA8E9BE25D2AA4750E4E8410E40B830C /* FKFlickrGroupsDiscussTopicsGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = F1129E301CA5B9EEB66BFB546FC87584 /* FKFlickrGroupsDiscussTopicsGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + EAD2740375CF441D53D6637B558F3BE0 /* FKFlickrGroupsJoinRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 9C0DDB53FF6992E04AE5F67474AB2A95 /* FKFlickrGroupsJoinRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EC2E6D0B35D565C1E4AD15B1BC1F71D9 /* FKFlickrPhotosCommentsAddComment.h in Headers */ = {isa = PBXBuildFile; fileRef = 214306AF0BF4EF4A6D26F8D6A626A7FF /* FKFlickrPhotosCommentsAddComment.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EC3F01BAB40C3E13946B9900F3833F32 /* FKFlickrPhotosetsGetPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = F48E8B1424104192882DC37C6595DADB /* FKFlickrPhotosetsGetPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + EC7F91A4DA5AACEBCCBF2A5E04985E81 /* FKFlickrPlacesResolvePlaceId.h in Headers */ = {isa = PBXBuildFile; fileRef = 51C1755E89F50FEC50824B844243CE45 /* FKFlickrPlacesResolvePlaceId.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EDDB53408B6A739B7FD001C6C4CCD16C /* FKFlickrPhotosGeoRemoveLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 72BACCDA774D8100A8198413E1465894 /* FKFlickrPhotosGeoRemoveLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + EE81DF3D28FAFCA358F4116EA00DCB9E /* FKFlickrPlacesGetChildrenWithPhotosPublic.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FE12EDE0EC8BF967E8F929AB2653688 /* FKFlickrPlacesGetChildrenWithPhotosPublic.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EEE652880FC70FCD239122ABC70377B2 /* FKFlickrCamerasGetBrandModels.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BB3BEC022E42E8A7D8355DFA341C788 /* FKFlickrCamerasGetBrandModels.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + EF19AC6EB8A36848F36841079622F898 /* FKFlickrPhotosetsCommentsGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = 153DFB1AA20DE9BCEA9F7CFD160178F8 /* FKFlickrPhotosetsCommentsGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F0B8BD48159CA88D15DB1B4D59E5233F /* FKFlickrPeopleGetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C572437504CC39901C839EF58DFF141 /* FKFlickrPeopleGetInfo.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F0EEBEEEEDC035EF8A7091B3F01104D9 /* FKFlickrGalleriesAddPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF907340A435D8543F0DFCE14C90C4 /* FKFlickrGalleriesAddPhoto.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F1D4909A0179991E0C1F6C49E2EFD72B /* FXBlurView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 08F293D7D3E9AA58D956039BBB9C0AD2 /* FXBlurView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F2ED3DAC01108DF81E44B21DB327FABB /* FKFlickrPhotosGetContactsPhotos.m in Sources */ = {isa = PBXBuildFile; fileRef = 9CE00C0ACDC89535EF5C551470196380 /* FKFlickrPhotosGetContactsPhotos.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F332A028AA206234773F82C85090AB91 /* FKFlickrUrlsLookupGallery.h in Headers */ = {isa = PBXBuildFile; fileRef = 70B9C3253E28B99E62AF94AA3E91D803 /* FKFlickrUrlsLookupGallery.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3755F347781E3057E1AB380178B1D14 /* ConstraintGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = E26AAE20114DAF2B8E5AEB86998603B7 /* ConstraintGroup.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F38D64A61589F32138E6C4B237AF2A72 /* FKFlickrTestNull.m in Sources */ = {isa = PBXBuildFile; fileRef = 32991B9B74B268815C81DFF9A8F88BD7 /* FKFlickrTestNull.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F5A8E76B23B713B48254838CF81264C4 /* FKFlickrPhotosGetSizes.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FE775A64B731F6B7389719E89F27ECE /* FKFlickrPhotosGetSizes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F5C4AF0411C9E26F002417E86B9D6900 /* Lato-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7FD5210621D27D79593A2C55CB6C613D /* Lato-BlackItalic.ttf */; }; + F5CA726C382DF55F07E80EE56C16BFE0 /* FKFlickrAuthGetFullToken.h in Headers */ = {isa = PBXBuildFile; fileRef = CCA0E3AB77FB0BEB0B90DD4EFB661ACD /* FKFlickrAuthGetFullToken.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F61AA2E33C51B1C36BF4EA342187B6E9 /* FlickrKit.m in Sources */ = {isa = PBXBuildFile; fileRef = D0EB19EEC123C6B0CA7F3B1A5CD90FD2 /* FlickrKit.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F667E4B5EF12336F6B7BF091815072AA /* FKFlickrPhotosSetMeta.m in Sources */ = {isa = PBXBuildFile; fileRef = B46A98E6B297F10A4A678AE5451AF4E9 /* FKFlickrPhotosSetMeta.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F78A926258DD87B3C4124E71B50E8FA4 /* FKFlickrPhotosSetDates.h in Headers */ = {isa = PBXBuildFile; fileRef = 38C87457EE9AF72A004D02F727F29EB7 /* FKFlickrPhotosSetDates.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F80784F640BAC904C20DDE52790A8B80 /* FKFlickrPhotosSuggestionsApproveSuggestion.m in Sources */ = {isa = PBXBuildFile; fileRef = DA45767DED265E1C2411E24665E4EB81 /* FKFlickrPhotosSuggestionsApproveSuggestion.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + F87736C7625401CF054E0D7E0B07017E /* FKFlickrAuthOauthGetAccessToken.h in Headers */ = {isa = PBXBuildFile; fileRef = 17847EE6D0904F6E083302CCD21BB6B7 /* FKFlickrAuthOauthGetAccessToken.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F92B9D675F63507070A74BBB7504434D /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F77F97FF729C5F976BACC854AD38F5F6 /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F98E29FA5B714D04EE9040340F402565 /* FKFlickrTagsGetListPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = F525CA68C8EDE751D9B31E6FA85317F1 /* FKFlickrTagsGetListPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99A35865D32CBD3269C524EC8CF1192 /* FKFlickrPhotosSuggestionsSuggestLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 476F75CEC388A1002C9CE10688E73D53 /* FKFlickrPhotosSuggestionsSuggestLocation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FA0B1AB2358EE101CE5D6F631EC560FE /* FKFlickrTagsGetListUserPopular.m in Sources */ = {isa = PBXBuildFile; fileRef = 2F25AC398188A0F241AF1FE2BA8A692B /* FKFlickrTagsGetListUserPopular.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FA3319CF007AEDE489B0D3E9977B07F8 /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB319E5FBC767996B741F5AE37EF8A0C /* Manager.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FA4D931D13B0A229044BC3A0A31A3E25 /* FKFlickrPeopleFindByEmail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F893B7D3F6AFCA7487F67771245B574 /* FKFlickrPeopleFindByEmail.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FA6961613BC702D29B4C26A7E7FF7798 /* FKFlickrGroupsPoolsAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 14AFE3A631BC3DF2C2BB2CA15C161AE0 /* FKFlickrGroupsPoolsAdd.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FB476C2B366F5014B9024080B8FD2669 /* FKFlickrPhotosSetContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = F3AA29F870FB96FC4A1BA29FF13ADE7C /* FKFlickrPhotosSetContentType.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FBBC386396DDCE117DE7EA76B4ECA227 /* FKFlickrCommonsGetInstitutions.m in Sources */ = {isa = PBXBuildFile; fileRef = FA7EE33A56E00102C9E4C1B26DF0FA6E /* FKFlickrCommonsGetInstitutions.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FCBFC2157C3553CEB1169717F61E7F68 /* FKFlickrPhotosPeopleDeleteCoords.m in Sources */ = {isa = PBXBuildFile; fileRef = 79259156399BD9A6743EA3EB1505338E /* FKFlickrPhotosPeopleDeleteCoords.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FCD113EAEA98D3D1A97A2BCF0A47D698 /* FKFlickrPlacesGetInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 96201AD4AB0A3327FB5D44FAD2628A7C /* FKFlickrPlacesGetInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FCFD371656BAF6BE8E13A045B469D5E3 /* FKFlickrTagsGetClusterPhotos.h in Headers */ = {isa = PBXBuildFile; fileRef = 3F02FEA1DDEAE8AF95BEACDCADA7FCF5 /* FKFlickrTagsGetClusterPhotos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FD2C6F3CB97ED219A7F9788427DBAFA5 /* FKDUStreamUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D9EC65C4809C6929867652489DF41AF /* FKDUStreamUtil.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FD56A1A1D8D9A65A3888B1CF2DC8165B /* FKFlickrPhotosetsEditMeta.m in Sources */ = {isa = PBXBuildFile; fileRef = 474C1978F714F3D26FA111D88D15E831 /* FKFlickrPhotosetsEditMeta.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FD7ED8B2D67E53D791252C3A17386DCA /* FKFlickrStatsGetPhotoDomains.h in Headers */ = {isa = PBXBuildFile; fileRef = EFDF363D7001B0772C09DF298FD7EFFB /* FKFlickrStatsGetPhotoDomains.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FE89B9AFEB946267DEA3A4230102E8BE /* FKFlickrStatsGetCSVFiles.m in Sources */ = {isa = PBXBuildFile; fileRef = 3647C8EE34B425818D8667A8EE7EF5A6 /* FKFlickrStatsGetCSVFiles.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FE98F4736B8D3885BF08482BE8D7717B /* FKFlickrStatsGetCollectionDomains.h in Headers */ = {isa = PBXBuildFile; fileRef = 8361B64B30EF854066D094FFF06D38CF /* FKFlickrStatsGetCollectionDomains.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FEA24F3CC646D004A9907FB70691AC73 /* FKFlickrPhotosetsGetContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 89B655462E09AF5355B45870D5879E11 /* FKFlickrPhotosetsGetContext.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FF2C504EB2C683C621FDD9773CC9C2D1 /* SwiftyJSON-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A974D6C50BB1AB8FAAEF49D0BE11B66 /* SwiftyJSON-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FF5B4D48B313EC1F3C3920D2058DFDC1 /* FKFlickrPhotosLicensesSetLicense.h in Headers */ = {isa = PBXBuildFile; fileRef = 07F53D17975BE9C8B5E0ACC929890E30 /* FKFlickrPhotosLicensesSetLicense.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FF5FFB4333DC49EF6DD987338E25E1E6 /* FKImageUploadNetworkOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = FAF61A524E1849C9D30386BB7B4C0650 /* FKImageUploadNetworkOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; + FF8A0EE7F5FFA13F2D389898F6931D84 /* FKFlickrGalleriesGetList.h in Headers */ = {isa = PBXBuildFile; fileRef = EF1F900CF520E2905DED3898977EF809 /* FKFlickrGalleriesGetList.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 08430A8EC03F1ED4717D7132027E8426 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1BA6EC064C4CD7E73A507FAA7E9BB35A; + remoteInfo = Cartography; + }; + 095AA445C74F65DBB00CC5BA3A854E91 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5F62D490B4007F58D75F65B5AC12B981; + remoteInfo = "LatoFont-LatoFont"; + }; + 728ED657AB16E2F260FE8702D9802777 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = AE3A1B3794CF2920DD36B50B0D6222EE; + remoteInfo = Alamofire; + }; + 789FB4A21AD72EA85777F93579E13BA9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 65B88C76CA16E992F8AC6847707D9010; + remoteInfo = WeatherIconsKit; + }; + 8CC30659772E69BFFB0E85C519D714AC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = F5FE6C3679EC1E2DD7E9D5FEC6B442C0; + remoteInfo = SwiftyJSON; + }; + 99F09267583305C4F398A2DF3AEF53AE /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = CAD0E1117D4E9F9D4EA0EFF50D087197; + remoteInfo = FlickrKit; + }; + DB173E9DD6C518D41FD1C6518F0B1A5B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = B1FFB9A25C58794327E8C5C884BF8634; + remoteInfo = LatoFont; + }; + F5D872500EEE354E4CF90A4033DFD8FA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 216303361BC095C1E2133C17471E97AE; + remoteInfo = FXBlurView; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 006F4D96452E14EDB8223260D5C7C0F5 /* FKFlickrPlacesGetChildrenWithPhotosPublic.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesGetChildrenWithPhotosPublic.m; path = Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.m; sourceTree = ""; }; + 01226FF2FB91EEF4383B319D93317C40 /* FKFlickrPhotosSuggestionsRejectSuggestion.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSuggestionsRejectSuggestion.m; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.m; sourceTree = ""; }; + 019327ACE0D7D372A054A77E453748FA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 01B779D3345B294572E27F2F1E039FB5 /* FKFlickrStatsGetPhotoDomains.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotoDomains.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.m; sourceTree = ""; }; + 026AC9B6CB0CEFAFCEAEBAC72F8FBB0C /* FKFlickrPhotosCommentsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosCommentsGetList.m; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.m; sourceTree = ""; }; + 02BCC741770FBE4C466F93DD9A074A1B /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = ""; }; + 03284C8ED956401C85E6BACC0D3E4DD3 /* FKDUReachability.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUReachability.m; path = Classes/Network/FKDUReachability.m; sourceTree = ""; }; + 03A9A2EDD643E74659354D283EF74DD1 /* FKFlickrCollectionsGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrCollectionsGetInfo.m; path = Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.m; sourceTree = ""; }; + 03B64114929CCC07CFB12EC5371EACA0 /* FKFlickrGalleriesGetListForPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesGetListForPhoto.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.h; sourceTree = ""; }; + 03D4257F766C2DD93E89C1B5266ADC60 /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = ""; }; + 03E87EE2BB436337E7A7DB7D9C34E17B /* View.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = View.swift; path = Cartography/View.swift; sourceTree = ""; }; + 03F09AAD62C3F4407BFDCB7CDF4355A6 /* FKFlickrCollectionsGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrCollectionsGetInfo.h; path = Classes/Model/Generated/Collections/FKFlickrCollectionsGetInfo.h; sourceTree = ""; }; + 04D2DF6DB585824828B89BBF8A1867B5 /* FKFlickrStatsGetCollectionReferrers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetCollectionReferrers.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.h; sourceTree = ""; }; + 059A03947ECE6DDF87770898065434CB /* FKFlickrPhotosetsGetContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsGetContext.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.m; sourceTree = ""; }; + 06594F74A6373BDC1050C7D2FDD0CDDC /* FKFlickrContactsGetTaggingSuggestions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrContactsGetTaggingSuggestions.h; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.h; sourceTree = ""; }; + 07CD152977E81630D01084C92A53EA1E /* FKFlickrFavoritesGetContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrFavoritesGetContext.h; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.h; sourceTree = ""; }; + 07F53D17975BE9C8B5E0ACC929890E30 /* FKFlickrPhotosLicensesSetLicense.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosLicensesSetLicense.h; path = Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.h; sourceTree = ""; }; + 07FEB028CF8C6629CD95ED8088177385 /* FKDUBlocks.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUBlocks.h; path = Classes/DevedUpKit/FKDUBlocks.h; sourceTree = ""; }; + 08F293D7D3E9AA58D956039BBB9C0AD2 /* FXBlurView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FXBlurView-umbrella.h"; sourceTree = ""; }; + 09FAA7CEFC8428B8F9B8ED0A979EEE5D /* WeatherIconsKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WeatherIconsKit-prefix.pch"; sourceTree = ""; }; + 0AEA6D69744537B4865D8E280E9D8377 /* Lato-Bold.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-Bold.ttf"; path = "Source/Fonts/Lato-Bold.ttf"; sourceTree = ""; }; + 0B01F9A7CCB7A2EFF6D1ED93A4A7137B /* FKFlickrGalleriesEditMeta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesEditMeta.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.h; sourceTree = ""; }; + 0B2FC87685B6221008E2CA57A17C185E /* FKFlickrGalleriesGetPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesGetPhotos.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m; sourceTree = ""; }; + 0B3D1FE30857B48B530E768DA927DE75 /* FKFlickrPhotosCommentsGetRecentForContacts.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosCommentsGetRecentForContacts.m; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m; sourceTree = ""; }; + 0C2AF05D9DB39C64A0394F9D6395A767 /* FKFlickrPrefsGetGeoPerms.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPrefsGetGeoPerms.m; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.m; sourceTree = ""; }; + 0CE385B0E8AF01F0064EA4E6D3144AE9 /* Edges.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Edges.swift; path = Cartography/Edges.swift; sourceTree = ""; }; + 0D1D59F8135C5120F51D912624C6D3C2 /* Alamofire.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.xcconfig; sourceTree = ""; }; + 0D9D03FB140B2535C35B3CE33D7D8B67 /* FKFlickrPhotosGetWithGeoData.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetWithGeoData.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h; sourceTree = ""; }; + 0F70BFCCD5E34818CE3F212A464CCBBB /* FKFlickrPhotosGetContactsPublicPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetContactsPublicPhotos.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m; sourceTree = ""; }; + 0F7ABAFCC7FF014DBE0336A6295FCFBC /* FKFlickrBlogsPostPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrBlogsPostPhoto.m; path = Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.m; sourceTree = ""; }; + 0F9A698BA8CAA6EE57BD0B2B5AA0AA22 /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = ""; }; + 0FE12EDE0EC8BF967E8F929AB2653688 /* FKFlickrPlacesGetChildrenWithPhotosPublic.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesGetChildrenWithPhotosPublic.h; path = Classes/Model/Generated/Places/FKFlickrPlacesGetChildrenWithPhotosPublic.h; sourceTree = ""; }; + 101A52D465CA7C193A3E6F1713674C65 /* FKFlickrStatsGetPhotostreamStats.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotostreamStats.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.h; sourceTree = ""; }; + 10978F9E42BEC178F156E98A92228376 /* LayoutProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LayoutProxy.swift; path = Cartography/LayoutProxy.swift; sourceTree = ""; }; + 11BB827B36898B30B1422DDE5CFF5CA0 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 12E356A96E515A49A48EEC0943E35554 /* FKFlickrStatsGetPhotosetStats.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotosetStats.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.h; sourceTree = ""; }; + 141A8C26945F69AA3861EF145413A619 /* FKFlickrPrefsGetHidden.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPrefsGetHidden.h; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.h; sourceTree = ""; }; + 14AFE3A631BC3DF2C2BB2CA15C161AE0 /* FKFlickrGroupsPoolsAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsPoolsAdd.m; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.m; sourceTree = ""; }; + 14C86F63B3B677C74505C16B504AE9A6 /* Lato-Light.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-Light.ttf"; path = "Source/Fonts/Lato-Light.ttf"; sourceTree = ""; }; + 14CC079745EB432F8F8E27D18BFEBDE9 /* FKFlickrAuthCheckToken.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrAuthCheckToken.m; path = Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.m; sourceTree = ""; }; + 14D786790FD20A01EE4568BD0327E70F /* Expression.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expression.swift; path = Cartography/Expression.swift; sourceTree = ""; }; + 14ED3127B4684D018B81830CB4E5D121 /* Lato-Regular.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-Regular.ttf"; path = "Source/Fonts/Lato-Regular.ttf"; sourceTree = ""; }; + 153DFB1AA20DE9BCEA9F7CFD160178F8 /* FKFlickrPhotosetsCommentsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsCommentsGetList.h; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.h; sourceTree = ""; }; + 1542EA547446B54BBF950FD1EFB7CFB9 /* FKFlickrPhotosGetFavorites.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetFavorites.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.m; sourceTree = ""; }; + 159F30CAE69C93688882AB93AA49605E /* Property.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Property.swift; path = Cartography/Property.swift; sourceTree = ""; }; + 16AD0D1E13BB3FC82AF667A98176566E /* FKFlickrPrefsGetGeoPerms.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPrefsGetGeoPerms.h; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetGeoPerms.h; sourceTree = ""; }; + 16C0B4FD700380F8B5FC65EF0E3E7461 /* FlickrKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FlickrKit-umbrella.h"; sourceTree = ""; }; + 174D90DC784E817E891E864B731C7838 /* FKFlickrPlacesGetShapeHistory.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesGetShapeHistory.m; path = Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.m; sourceTree = ""; }; + 17847EE6D0904F6E083302CCD21BB6B7 /* FKFlickrAuthOauthGetAccessToken.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAuthOauthGetAccessToken.h; path = Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.h; sourceTree = ""; }; + 17E26035C0EE675C3C46C6EB282090AF /* FKImageUploadNetworkOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKImageUploadNetworkOperation.h; path = Classes/Network/FKImageUploadNetworkOperation.h; sourceTree = ""; }; + 182441916FC7C0C4A6657F4576D64EEA /* Cartography.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Cartography.xcconfig; sourceTree = ""; }; + 188D74D164DAFD6BF2D2FEB3F694631F /* FKFlickrPhotosSuggestionsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSuggestionsGetList.m; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.m; sourceTree = ""; }; + 18D63CB916C75BF12B0B0A469AB6E1C8 /* Cartography.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Cartography.modulemap; sourceTree = ""; }; + 19D11EF7667046F3C922656BAE7D300D /* FKDUReachability.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUReachability.h; path = Classes/Network/FKDUReachability.h; sourceTree = ""; }; + 19DBF6C7F36C039F4B4F558EF8872EBC /* FKFlickrPhotosGetContactsPublicPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetContactsPublicPhotos.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h; sourceTree = ""; }; + 19F6686443D06651C55D22F0A426E0F4 /* FKFlickrAuthOauthGetAccessToken.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrAuthOauthGetAccessToken.m; path = Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthGetAccessToken.m; sourceTree = ""; }; + 1A177E291C95915CC19B0B4222EBC47A /* FKFlickrStatsGetCollectionStats.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetCollectionStats.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h; sourceTree = ""; }; + 1A1FDDDFF87F5B6DD174A05D702279FD /* FKFlickrAuthOauthCheckToken.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAuthOauthCheckToken.h; path = Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.h; sourceTree = ""; }; + 1A9E008810CCAC5FCDA4C066F048E0A7 /* FKFlickrPandaGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPandaGetList.h; path = Classes/Model/Generated/Panda/FKFlickrPandaGetList.h; sourceTree = ""; }; + 1AAC241A5C4068FD0303E670D4B6EDF1 /* FKFlickrPhotosCommentsEditComment.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosCommentsEditComment.m; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.m; sourceTree = ""; }; + 1B6B23FD6B8F707F01F980C07D8870BE /* FKFlickrPhotosDelete.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosDelete.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosDelete.m; sourceTree = ""; }; + 1BF87D1D993C703E6909E074EBFF3082 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1C2D9A35E58FF29F50A40FFF190CDF44 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = ""; }; + 1D41FF25CAB09250728E4E9E58BEB67F /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = Cartography/Extensions.swift; sourceTree = ""; }; + 1DEB331914523E03B95144233AF2EC6A /* FKFlickrStatsGetPhotoReferrers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotoReferrers.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.h; sourceTree = ""; }; + 1E57BE36CC081BFF4482FA38BFC2ABDF /* Upload.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Upload.swift; path = Source/Upload.swift; sourceTree = ""; }; + 1EC1BB5263B2E7D43610DA948A4F429A /* FKFlickrPhotosetsAddPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsAddPhoto.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.m; sourceTree = ""; }; + 1F893B7D3F6AFCA7487F67771245B574 /* FKFlickrPeopleFindByEmail.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleFindByEmail.m; path = Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.m; sourceTree = ""; }; + 1FBDA55152D8E5ABB7A83071FB132EAE /* FKFlickrGroupsDiscussTopicsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussTopicsGetList.m; path = Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.m; sourceTree = ""; }; + 2000348275027F4E9538BABAC9760E61 /* FKFlickrPhotosNotesAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosNotesAdd.h; path = Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.h; sourceTree = ""; }; + 20170740BC1EB4AE2769EE7F06335998 /* FKFlickrPhotosetsRemovePhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsRemovePhotos.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.h; sourceTree = ""; }; + 202B17D969055513FA16B3E03D54CF7D /* FKFlickrPhotosNotesAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosNotesAdd.m; path = Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesAdd.m; sourceTree = ""; }; + 2033ECC33DD48734ADBA621CCFDBF89F /* FKFlickrPhotosetsGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsGetInfo.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.h; sourceTree = ""; }; + 20825D00B820563EC02F9B49F3CFF7AD /* FXBlurView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = FXBlurView.modulemap; sourceTree = ""; }; + 214306AF0BF4EF4A6D26F8D6A626A7FF /* FKFlickrPhotosCommentsAddComment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosCommentsAddComment.h; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.h; sourceTree = ""; }; + 21609C957151FE3CF146D2A954F25F1A /* SwiftyJSON.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftyJSON.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2199DB049DBB72097023AB2B4B5A3522 /* FAKIcon.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FAKIcon.m; path = WeatherIconsKit/FAKIcon.m; sourceTree = ""; }; + 21DB27C3BFFF9D525292F9540524E463 /* FKFlickrPhotosRemoveTag.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosRemoveTag.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h; sourceTree = ""; }; + 224FEFEDE693A99E32B32A86CB8B7CFC /* FKFlickrStatsGetCollectionStats.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetCollectionStats.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.m; sourceTree = ""; }; + 2299060AA290F28D3A6BCC4FAAC2E3C3 /* FKFlickrTagsGetRelated.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetRelated.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.m; sourceTree = ""; }; + 22B5E046D8E7B4F434E0B5B65F58F6F3 /* FKFlickrPhotosNotesDelete.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosNotesDelete.h; path = Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.h; sourceTree = ""; }; + 22C1B2BB3CC88F54EC34E02469DA32D2 /* Pods-PrettyWeatherApp-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PrettyWeatherApp-acknowledgements.markdown"; sourceTree = ""; }; + 232E85153BED28F7A4CE52B23A00715E /* LatoFont.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LatoFont.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 239C1B613683031A0DF0ABB81C5CF61F /* Stream.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stream.swift; path = Source/Stream.swift; sourceTree = ""; }; + 253DF665F6E5468BCFAC0417B0C81271 /* FKFlickrPeopleGetPhotosOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetPhotosOf.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h; sourceTree = ""; }; + 2668CE5B3138C3C8CF87FB74392429AD /* FlickrKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FlickrKit.xcconfig; sourceTree = ""; }; + 26D0D9FB6E1585712ED5C33944E27CAC /* FKFlickrPhotosSearch.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSearch.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSearch.h; sourceTree = ""; }; + 26DC3FA7BA611DE26A94D1DF71F42DC5 /* FlickrKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FlickrKit-dummy.m"; sourceTree = ""; }; + 27EF459107FDFC0E75767CBD2E6E275B /* FKFlickrPeopleGetPublicGroups.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetPublicGroups.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.m; sourceTree = ""; }; + 28084535FC1BAC99CCFDEEED1AA23FEC /* FKDUDefaultDiskCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUDefaultDiskCache.h; path = Classes/DevedUpKit/FKDUDefaultDiskCache.h; sourceTree = ""; }; + 28CCB65725813506DD1BB3759FA29CDB /* FKFlickrTagsGetListPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetListPhoto.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.m; sourceTree = ""; }; + 28E0DB333BF0676A89072AA4421D9AB6 /* FKFlickrFavoritesRemove.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrFavoritesRemove.h; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h; sourceTree = ""; }; + 290830A9B8FFD3E19F4008EA7324B1A1 /* FKFlickrGroupsDiscussRepliesAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussRepliesAdd.m; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.m; sourceTree = ""; }; + 2A813E8BC823C3FC37F150F4647586B7 /* FKFlickrPlacesPlacesForBoundingBox.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesPlacesForBoundingBox.m; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m; sourceTree = ""; }; + 2AAF97D654772DC838CDEF15EE225145 /* FKFlickrReflectionGetMethods.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrReflectionGetMethods.h; path = Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.h; sourceTree = ""; }; + 2C91DCAB8E263B386BCF92F28D6CD23A /* FKFlickrPhotosNotesEdit.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosNotesEdit.m; path = Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.m; sourceTree = ""; }; + 2E93D12E3FDA99CD92A6D4D6868088A8 /* FKFlickrPrefsGetPrivacy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPrefsGetPrivacy.m; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.m; sourceTree = ""; }; + 2ED0656FF94113C653378EB292FEF3D0 /* FKFlickrPhotosetsCreate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsCreate.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.h; sourceTree = ""; }; + 2ED37D0FF7BE84CA2DE093A4E76DDBBF /* FKFlickrGroupsMembersGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsMembersGetList.m; path = Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.m; sourceTree = ""; }; + 2F25AC398188A0F241AF1FE2BA8A692B /* FKFlickrTagsGetListUserPopular.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetListUserPopular.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.m; sourceTree = ""; }; + 2FC4D6E737F5570D480D27F388E775D6 /* WeatherIconsKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = WeatherIconsKit.modulemap; sourceTree = ""; }; + 304C6D12E1691B2A599575763E265F81 /* FKFlickrAuthOauthCheckToken.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrAuthOauthCheckToken.m; path = Classes/Model/Generated/Auth/Oauth/FKFlickrAuthOauthCheckToken.m; sourceTree = ""; }; + 3062A9AD7C73C60217A5279B41271B89 /* FKFlickrPushGetTopics.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPushGetTopics.h; path = Classes/Model/Generated/Push/FKFlickrPushGetTopics.h; sourceTree = ""; }; + 3073A41FEAD621A08BF0F546A282A8B9 /* FKFlickrGroupsJoin.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsJoin.h; path = Classes/Model/Generated/Groups/FKFlickrGroupsJoin.h; sourceTree = ""; }; + 30AB9814B44F36E9A0D43933DAEA1729 /* FKFlickrPhotosetsRemovePhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsRemovePhoto.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.m; sourceTree = ""; }; + 314C33D1D4F1C9A0AE25169193657963 /* FKFlickrPlacesPlacesForContacts.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesPlacesForContacts.m; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m; sourceTree = ""; }; + 315DCD93D09CB82D24B8D4816FC5A398 /* FKFlickrPhotosetsDelete.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsDelete.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.h; sourceTree = ""; }; + 31D3D2937FD9E4F1EC3FA594BA9B66E3 /* FlickrKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = FlickrKit.modulemap; sourceTree = ""; }; + 31F3637A4BC76CBA971D28871164E8B1 /* FKFlickrGalleriesGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesGetInfo.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.m; sourceTree = ""; }; + 325E88556A8A778867CA7F4A2508C671 /* FKReachability.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKReachability.m; path = Classes/Network/Reachability/FKReachability.m; sourceTree = ""; }; + 32991B9B74B268815C81DFF9A8F88BD7 /* FKFlickrTestNull.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTestNull.m; path = Classes/Model/Generated/Test/FKFlickrTestNull.m; sourceTree = ""; }; + 33282D85DF68733CC54E14FC1C914135 /* FKFlickrContactsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrContactsGetList.m; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetList.m; sourceTree = ""; }; + 34A3E47EDAA9FAFDF705FBF87F824012 /* FKFlickrPlacesGetPlaceTypes.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesGetPlaceTypes.m; path = Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.m; sourceTree = ""; }; + 362E622003C3A6D526E7D40E8559EA07 /* FKFlickrPhotosGetPerms.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetPerms.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h; sourceTree = ""; }; + 3647C8EE34B425818D8667A8EE7EF5A6 /* FKFlickrStatsGetCSVFiles.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetCSVFiles.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.m; sourceTree = ""; }; + 365C70ECF7057B4A7DB5872B75B52316 /* FKFlickrPlacesFindByLatLon.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesFindByLatLon.m; path = Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.m; sourceTree = ""; }; + 369F555A63D2AFA07F0A594215E016EF /* FKFlickrPhotosSuggestionsApproveSuggestion.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSuggestionsApproveSuggestion.h; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.h; sourceTree = ""; }; + 370B125A9082DEBA6C22D0F12383F2A7 /* FKFlickrPhotosGetUntagged.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetUntagged.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m; sourceTree = ""; }; + 37BE3A9434B02EE62EEB6ACCBB378FFA /* FKFlickrTagsGetHotList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetHotList.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.h; sourceTree = ""; }; + 3842FD98877536BCF097BC932B5DA6A0 /* Pods-PrettyWeatherApp-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PrettyWeatherApp-acknowledgements.plist"; sourceTree = ""; }; + 385DDAA74AC8924F188F0868F71C7315 /* FKFlickrPlacesGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesGetInfo.m; path = Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.m; sourceTree = ""; }; + 38C87457EE9AF72A004D02F727F29EB7 /* FKFlickrPhotosSetDates.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSetDates.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.h; sourceTree = ""; }; + 391436F92D8A072209CFB536B31E057B /* FKFlickrInterestingnessGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrInterestingnessGetList.h; path = Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.h; sourceTree = ""; }; + 3934A9DBD5233514CFA900E5073D8BEF /* FKFlickrBlogsGetServices.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrBlogsGetServices.h; path = Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.h; sourceTree = ""; }; + 39BDE9EF894609CC676DCF89F839FAFA /* FKFlickrPlacesPlacesForTags.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesPlacesForTags.h; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h; sourceTree = ""; }; + 3A0BE916FC588231BD0D7118D92604EE /* FKFlickrBlogsPostPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrBlogsPostPhoto.h; path = Classes/Model/Generated/Blogs/FKFlickrBlogsPostPhoto.h; sourceTree = ""; }; + 3A19BD8D3B0F9CDAE9B1CCB4FBC782A2 /* FKFlickrPhotosLicensesSetLicense.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosLicensesSetLicense.m; path = Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesSetLicense.m; sourceTree = ""; }; + 3A58D57C65109FF35BF54610C2B3BDB2 /* FKFlickrPhotosSetContentType.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSetContentType.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h; sourceTree = ""; }; + 3A974D6C50BB1AB8FAAEF49D0BE11B66 /* SwiftyJSON-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftyJSON-umbrella.h"; sourceTree = ""; }; + 3A980DAF32619112BC8C6480BE3CD2C0 /* FKFlickrReflectionGetMethods.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrReflectionGetMethods.m; path = Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethods.m; sourceTree = ""; }; + 3AFD15B659995E81F1B71422E5A314CB /* FKFlickrFavoritesGetPublicList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrFavoritesGetPublicList.h; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h; sourceTree = ""; }; + 3B62042555AF9FF873F3A9544437B075 /* FKFlickrPlacesGetTopPlacesList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesGetTopPlacesList.m; path = Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m; sourceTree = ""; }; + 3B783E13DE2626C665656C4360204863 /* FKFlickrPhotosGeoSetPerms.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoSetPerms.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.h; sourceTree = ""; }; + 3CD594C1B5F83D040CB3972597639EC9 /* FKFlickrPushUnsubscribe.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPushUnsubscribe.m; path = Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.m; sourceTree = ""; }; + 3CD97FC440AD312C04944BF34C0B3B90 /* Priority.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Priority.swift; path = Cartography/Priority.swift; sourceTree = ""; }; + 3DCF4019DBBBB91294CDEC6DA56A759B /* FKURLBuilder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKURLBuilder.h; path = Classes/Network/FKURLBuilder.h; sourceTree = ""; }; + 3DD27F004ADA49385CEEEA569A51DED7 /* SwiftyJSON-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SwiftyJSON-dummy.m"; sourceTree = ""; }; + 3E06141B1885A8D13C10A4DC18C6EFF1 /* FKFlickrStatsGetPhotoStats.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotoStats.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.m; sourceTree = ""; }; + 3E3D5900687526FEA474FE5D4F1C8521 /* FKFlickrTagsGetClusters.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetClusters.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.h; sourceTree = ""; }; + 3E9FC0D00069780981F1FA9A64BA1BCE /* FKFlickrGroupsPoolsGetPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsPoolsGetPhotos.h; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.h; sourceTree = ""; }; + 3EC0C3BB1383F443F6DC03C4D706BD86 /* FKFlickrStatsGetPhotosetReferrers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotosetReferrers.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.m; sourceTree = ""; }; + 3EC77DAE646791D91C4BCBCBBF5C4B4F /* FKFlickrGalleriesCreate.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesCreate.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.m; sourceTree = ""; }; + 3F02FEA1DDEAE8AF95BEACDCADA7FCF5 /* FKFlickrTagsGetClusterPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetClusterPhotos.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.h; sourceTree = ""; }; + 3F25359E2CD0B248B70E65F49291F49B /* FKFlickrUrlsGetGroup.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrUrlsGetGroup.h; path = Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.h; sourceTree = ""; }; + 408BFC2623640876BE29B6FCB885254E /* FKFlickrPhotosetsGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsGetInfo.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetInfo.m; sourceTree = ""; }; + 40F2CACF75CDD931159A0860B0FD7B59 /* FKFlickrTagsGetListUserRaw.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetListUserRaw.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.m; sourceTree = ""; }; + 41C24667C110FF544CA53D75483DBC4C /* FKFlickrPhotosGetPerms.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetPerms.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.m; sourceTree = ""; }; + 41CA6AEE4D0F9DDA7F034E5B5BA2922A /* FKFlickrPlacesPlacesForUser.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesPlacesForUser.m; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m; sourceTree = ""; }; + 4242E6E0502C74C8B501F7F5D21785A7 /* FlickrKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FlickrKit.h; path = Classes/FlickrKit.h; sourceTree = ""; }; + 42AF63C3B7C628F64A95313940903899 /* FKFlickrPhotosPeopleAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosPeopleAdd.m; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.m; sourceTree = ""; }; + 42CA3ED85CD4448F0AD89573A864ED86 /* FKFlickrPhotosAddTags.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosAddTags.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h; sourceTree = ""; }; + 42D585DA3E77BC6FCB58F2F5F17060FF /* FKFlickrPhotosPeopleAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosPeopleAdd.h; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleAdd.h; sourceTree = ""; }; + 431EA8FA2F2E4A26BC268EF1605B4036 /* FKFlickrBlogsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrBlogsGetList.h; path = Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.h; sourceTree = ""; }; + 436E0A6ED24D6FCEC88118FE6F56028D /* FKFlickrPhotosCommentsEditComment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosCommentsEditComment.h; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsEditComment.h; sourceTree = ""; }; + 44777528FA33D5E58D7B4F5B386DA1BE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + 44A14F32CD0595FE74F2B4564E18434F /* FKFlickrMachinetagsGetValues.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrMachinetagsGetValues.m; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.m; sourceTree = ""; }; + 450F2217FCEA3A662B596A2023418158 /* FKDataTypes.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDataTypes.m; path = Classes/FlickrKit/FKDataTypes.m; sourceTree = ""; }; + 45180C7AC91E78DC3AB31CDB0038C7FC /* FKFlickrGalleriesAddPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesAddPhoto.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.h; sourceTree = ""; }; + 45E008A4A92EDF965DB762C9D3001FA2 /* FKFlickrPushUnsubscribe.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPushUnsubscribe.h; path = Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h; sourceTree = ""; }; + 474C1978F714F3D26FA111D88D15E831 /* FKFlickrPhotosetsEditMeta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsEditMeta.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.m; sourceTree = ""; }; + 476F75CEC388A1002C9CE10688E73D53 /* FKFlickrPhotosSuggestionsSuggestLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSuggestionsSuggestLocation.m; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.m; sourceTree = ""; }; + 47A826730353310971F454D192DF10BE /* FKFlickrPhotosPeopleEditCoords.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosPeopleEditCoords.m; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.m; sourceTree = ""; }; + 481586FB4BD0814B338A7A83EC11DBF2 /* FKFlickrUrlsLookupGroup.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrUrlsLookupGroup.h; path = Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.h; sourceTree = ""; }; + 48B2BE8DEA8AA16E77858B3A0A012421 /* FKFlickrPeopleGetPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetPhotos.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m; sourceTree = ""; }; + 4906968D845B2EAF012C7E063C2FF1D5 /* FKFlickrTagsGetMostFrequentlyUsed.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetMostFrequentlyUsed.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.m; sourceTree = ""; }; + 490F6DE757D4BA09619B94CAC93F847E /* FKFlickrPhotosSetMeta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSetMeta.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.h; sourceTree = ""; }; + 492771FBF4FEDF4D301C2EE2C65192EC /* FKFlickrAuthGetFullToken.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrAuthGetFullToken.m; path = Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.m; sourceTree = ""; }; + 4A0B906A2B3F22A519B9B4228277EC9A /* FKFlickrStatsGetCSVFiles.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetCSVFiles.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCSVFiles.h; sourceTree = ""; }; + 4A0F0C46D58011421011C5E177386DC3 /* FKFlickrPhotosTransformRotate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosTransformRotate.h; path = Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.h; sourceTree = ""; }; + 4AC483268D40BC80EDD179F7559FB918 /* FKFlickrPhotosetsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsGetList.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.m; sourceTree = ""; }; + 4B1C146FD7A92A1FC0AF79229DE8312A /* FKFlickrUrlsLookupGallery.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrUrlsLookupGallery.m; path = Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.m; sourceTree = ""; }; + 4B27793D17FA7756396C6273138D742C /* ViewUtils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ViewUtils.swift; path = Cartography/ViewUtils.swift; sourceTree = ""; }; + 4BA7E35306E55D2F09D63C08D9DB53EB /* FKFlickrPhotosGeoGetLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoGetLocation.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.m; sourceTree = ""; }; + 4BB3BEC022E42E8A7D8355DFA341C788 /* FKFlickrCamerasGetBrandModels.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrCamerasGetBrandModels.m; path = Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.m; sourceTree = ""; }; + 4BF30D257B043C8A2055F2F79BA2A7B1 /* FKFlickrPhotosGetWithGeoData.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetWithGeoData.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m; sourceTree = ""; }; + 4BFC8537BF2A303FA283D7A45AB25325 /* LatoFont-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LatoFont-dummy.m"; sourceTree = ""; }; + 4D0B399D8A58169C60036C380D5323E0 /* FKFlickrPhotosGetNotInSet.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetNotInSet.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.h; sourceTree = ""; }; + 4DD9724D2EFDF848146C93E152EBF131 /* FKFlickrPhotosSuggestionsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSuggestionsGetList.h; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsGetList.h; sourceTree = ""; }; + 4E475AC2CBD8F13CC23AEFE6249AA95A /* FKFlickrUrlsGetUserPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrUrlsGetUserPhotos.m; path = Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.m; sourceTree = ""; }; + 4FFD127BAAB7D8989FBD4D370887AEF3 /* FKFlickrGroupsDiscussRepliesGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussRepliesGetInfo.h; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.h; sourceTree = ""; }; + 50033626DA90C25735BC874946215BEE /* FKFlickrPhotosPeopleGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosPeopleGetList.m; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.m; sourceTree = ""; }; + 5059C0A9194AF9B6DF3A259C0876932D /* FXBlurView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FXBlurView.m; path = FXBlurView/FXBlurView.m; sourceTree = ""; }; + 5184ADF41569F7E0D562EFBD3D36E25E /* FKFlickrPhotosTransformRotate.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosTransformRotate.m; path = Classes/Model/Generated/Photos/Transform/FKFlickrPhotosTransformRotate.m; sourceTree = ""; }; + 51C1755E89F50FEC50824B844243CE45 /* FKFlickrPlacesResolvePlaceId.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesResolvePlaceId.h; path = Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h; sourceTree = ""; }; + 521970E040195ED85EB439CDDB64965E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 52E92D18A9FDA963AE3B0B421BBDDC62 /* FKFlickrMachinetagsGetPredicates.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrMachinetagsGetPredicates.h; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.h; sourceTree = ""; }; + 5308DA7748030C5B860329428CBD8037 /* Cartography.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Cartography.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 54F1A439AD7EF1A728555722DA46BE19 /* FKFlickrStatsGetPhotosetReferrers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotosetReferrers.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetReferrers.h; sourceTree = ""; }; + 558121C1A2EB10DFBE4038880C9F33EE /* FKFlickrPlacesGetPlaceTypes.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesGetPlaceTypes.h; path = Classes/Model/Generated/Places/FKFlickrPlacesGetPlaceTypes.h; sourceTree = ""; }; + 563D02DA9C7132D58747773EAADA850B /* FKFlickrGroupsPoolsAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsPoolsAdd.h; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsAdd.h; sourceTree = ""; }; + 58B1F7CB794F8B299565381596E21058 /* FKFlickrPhotosGeoRemoveLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoRemoveLocation.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h; sourceTree = ""; }; + 58EDDD3CAD92BE5DA71AFF40CE0A77DC /* FKFlickrStatsGetPopularPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPopularPhotos.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.m; sourceTree = ""; }; + 5914008AA0EE9DB085D8669AAE24D550 /* FKFlickrPhotosetsSetPrimaryPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsSetPrimaryPhoto.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.m; sourceTree = ""; }; + 593F41BAFD36AAC5DBDBAE4E12A650C0 /* FKFlickrPhotosGetAllContexts.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetAllContexts.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.m; sourceTree = ""; }; + 5952FCF83BCDAD5F555B091C98AFD0BD /* FKFlickrFavoritesGetPublicList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrFavoritesGetPublicList.m; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m; sourceTree = ""; }; + 5A37A38A9A8232220F0BABFF80ED7D0E /* FKFlickrMachinetagsGetPairs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrMachinetagsGetPairs.m; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.m; sourceTree = ""; }; + 5ABF3E79180996C3B7556568DBEA7EB1 /* Size.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Size.swift; path = Cartography/Size.swift; sourceTree = ""; }; + 5AFFFB64BD132E3AC63D003B2DA17535 /* FKFlickrPhotosPeopleDelete.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosPeopleDelete.m; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.m; sourceTree = ""; }; + 5CE8F39FA1731C82D764BD011640ACC2 /* WeatherIconsKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = WeatherIconsKit.h; path = WeatherIconsKit/WeatherIconsKit.h; sourceTree = ""; }; + 5D198A5B967809ADCCF4C2B418510A07 /* FKFlickrPhotosetsEditPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsEditPhotos.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.h; sourceTree = ""; }; + 5D1A88A62AF149549A73C9B9D4D72C30 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5D28BFBDC939B90D0C41E31C304FFAAA /* FKFlickrGalleriesEditMeta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesEditMeta.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesEditMeta.m; sourceTree = ""; }; + 5D9EC65C4809C6929867652489DF41AF /* FKDUStreamUtil.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUStreamUtil.m; path = Classes/DevedUpKit/FKDUStreamUtil.m; sourceTree = ""; }; + 5DB060D55935048C23848C06AD56CC55 /* FKDUNetworkController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUNetworkController.h; path = Classes/DevedUpKit/FKDUNetworkController.h; sourceTree = ""; }; + 5E352E390398CCDFA19E0FB0FDB84CBD /* FKFlickrPeopleGetPublicGroups.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetPublicGroups.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h; sourceTree = ""; }; + 5FC43A518840DCDA53CC91DFD0393EA1 /* FKFlickrPhotosPeopleDeleteCoords.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosPeopleDeleteCoords.h; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.h; sourceTree = ""; }; + 602187B65DDAC0B8824A7B7C1CC20AAF /* FKFlickrGalleriesGetPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesGetPhotos.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.h; sourceTree = ""; }; + 6058879C7892A1FC3160758DBD5A2146 /* FKFlickrGroupsPoolsRemove.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsPoolsRemove.m; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.m; sourceTree = ""; }; + 60591738623805462BEB80A8456FC728 /* FAKIcon.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FAKIcon.h; path = WeatherIconsKit/FAKIcon.h; sourceTree = ""; }; + 60C1FE0689B0A32EA140E7D071DC657A /* FKFlickrPrefsGetPrivacy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPrefsGetPrivacy.h; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetPrivacy.h; sourceTree = ""; }; + 60E564190486CF6FBA43374A4806CB21 /* FKFlickrActivityUserComments.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrActivityUserComments.m; path = Classes/Model/Generated/Activity/FKFlickrActivityUserComments.m; sourceTree = ""; }; + 617A758F1E189292F6CB4D0866F757D9 /* FKFlickrTagsGetListUserRaw.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetListUserRaw.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListUserRaw.h; sourceTree = ""; }; + 618F60099EAFEECD87B1D53B4EBFDAF1 /* FKFlickrPlacesResolvePlaceId.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesResolvePlaceId.m; path = Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.m; sourceTree = ""; }; + 6234F909A80D2887892EC692958F9E0C /* FKFlickrGroupsDiscussRepliesDelete.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussRepliesDelete.m; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.m; sourceTree = ""; }; + 626A5BC25A3C5326100BB3D680D6EE0D /* FKFlickrFavoritesRemove.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrFavoritesRemove.m; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.m; sourceTree = ""; }; + 631795E9047CB26DCDD7095842A8594F /* FKFlickrMachinetagsGetNamespaces.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrMachinetagsGetNamespaces.h; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h; sourceTree = ""; }; + 6359EB4D1DD4319636746234463FC2E3 /* FKFlickrGroupsDiscussRepliesDelete.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussRepliesDelete.h; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesDelete.h; sourceTree = ""; }; + 636C8AD09767949B30C0549A6CEC686A /* FKReachability.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKReachability.h; path = Classes/Network/Reachability/FKReachability.h; sourceTree = ""; }; + 63A1A5333615001757A8C762413468C8 /* FKFlickrPandaGetPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPandaGetPhotos.h; path = Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.h; sourceTree = ""; }; + 63CEBF53CC61D68EC6249C4BC4F593DD /* FKFlickrGroupsDiscussTopicsAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussTopicsAdd.h; path = Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.h; sourceTree = ""; }; + 642F856690A57A1C98EAA2A1D18AE6CD /* FKUploadRespone.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKUploadRespone.h; path = Classes/Network/FKUploadRespone.h; sourceTree = ""; }; + 64666F2EB0FA404ADE10F67CEE58CE1A /* FXBlurView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FXBlurView.xcconfig; sourceTree = ""; }; + 64E7BCF98AE233ABD9608D9122B9FDA0 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreText.framework; sourceTree = DEVELOPER_DIR; }; + 654E5D8CD229FB954417700E25C0E80E /* UIFont+Lato.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIFont+Lato.h"; path = "Source/UIFont+Lato.h"; sourceTree = ""; }; + 656B0D285E193853ABD2E23502F2890A /* WeatherIcons-Regular.otf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "WeatherIcons-Regular.otf"; path = "WeatherIconsKit/WeatherIcons-Regular.otf"; sourceTree = ""; }; + 65EDEB0D7AAED74959827BE8E5730DC2 /* FKFlickrPlacesGetShapeHistory.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesGetShapeHistory.h; path = Classes/Model/Generated/Places/FKFlickrPlacesGetShapeHistory.h; sourceTree = ""; }; + 666049A7A812A831541A166631FB2501 /* FKFlickrPhotosAddTags.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosAddTags.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.m; sourceTree = ""; }; + 666263B4409DFF8D4CA61335B0BE6040 /* Coefficients.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Coefficients.swift; path = Cartography/Coefficients.swift; sourceTree = ""; }; + 667BF3B5C9F8D64B8BE989E49AB9D32D /* WeatherIconsKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "WeatherIconsKit-dummy.m"; sourceTree = ""; }; + 66BBB29E3677C0FD3D73C70663D200DD /* FKFlickrPhotosGetExif.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetExif.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.m; sourceTree = ""; }; + 674CEBBE0A00B58ACC38114AD0797937 /* FKFlickrPhotosGetWithoutGeoData.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetWithoutGeoData.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h; sourceTree = ""; }; + 67C6E44395123CCB5EBBF0739E1A4BDB /* FKFlickrPhotosSetDates.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSetDates.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetDates.m; sourceTree = ""; }; + 67CC84A6A1855C54449FDAC29E44BD10 /* FKFlickrMachinetagsGetPairs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrMachinetagsGetPairs.h; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPairs.h; sourceTree = ""; }; + 68194AAC757BD6C017F2F6900AC412BB /* FKFlickrGalleriesGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesGetList.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.m; sourceTree = ""; }; + 68836EFC0063E0D218C315FF062F4908 /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = ""; }; + 68C119658C7068A0AC1CC2B0FF982A95 /* FKFlickrGroupsDiscussRepliesGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussRepliesGetInfo.m; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetInfo.m; sourceTree = ""; }; + 694B3B13D02B01DE13EC7F3417A8CAFF /* FKFlickrPeopleGetPublicPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetPublicPhotos.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m; sourceTree = ""; }; + 6A11BC08D701F2889FB7B4555733E543 /* FKFlickrPlacesFind.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesFind.m; path = Classes/Model/Generated/Places/FKFlickrPlacesFind.m; sourceTree = ""; }; + 6A162C7C58EEBE26C67737BA14CC71F6 /* FKFlickrPhotosSetSafetyLevel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSetSafetyLevel.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h; sourceTree = ""; }; + 6A97C8B179E3BFEEE877F6797B7FB710 /* FKFlickrPhotosPeopleGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosPeopleGetList.h; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleGetList.h; sourceTree = ""; }; + 6B8174F70B817BA212C46D73589BA428 /* FKURLBuilder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKURLBuilder.m; path = Classes/Network/FKURLBuilder.m; sourceTree = ""; }; + 6BC8164ABA6D84BBEF266E551DFD3724 /* FXBlurView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FXBlurView-dummy.m"; sourceTree = ""; }; + 6E6F7D9B91396412DEB5ADEDC0A3D93C /* FKFlickrFavoritesGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrFavoritesGetList.m; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m; sourceTree = ""; }; + 70285E712B3CB40CA7C1B40AFD4EFE2B /* FKOFHMACSha1Base64.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKOFHMACSha1Base64.h; path = Classes/Utilities/FKOFHMACSha1Base64.h; sourceTree = ""; }; + 7053C94FCE9D1063F1CACDE05A02DF96 /* Lato-Black.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-Black.ttf"; path = "Source/Fonts/Lato-Black.ttf"; sourceTree = ""; }; + 7062DD4BF250C65FB4823549D1C06624 /* FKFlickrTestLogin.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTestLogin.h; path = Classes/Model/Generated/Test/FKFlickrTestLogin.h; sourceTree = ""; }; + 70ADDB0D04A00E6321C701625EDE4AF3 /* SwiftyJSON.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftyJSON.xcconfig; sourceTree = ""; }; + 70B9C3253E28B99E62AF94AA3E91D803 /* FKFlickrUrlsLookupGallery.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrUrlsLookupGallery.h; path = Classes/Model/Generated/Urls/FKFlickrUrlsLookupGallery.h; sourceTree = ""; }; + 712A72985101F1B37F55AFE3B808F920 /* Edge.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Edge.swift; path = Cartography/Edge.swift; sourceTree = ""; }; + 7140446DB7C3BFE0F52E8D0521D626C7 /* FKFlickrGroupsPoolsGetPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsPoolsGetPhotos.m; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m; sourceTree = ""; }; + 71FE297BA6510AA7EFD06AB0BD4754D9 /* LatoFont-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LatoFont-prefix.pch"; sourceTree = ""; }; + 72B056BA8E352256913A5AD1CE50FD5A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 72BACCDA774D8100A8198413E1465894 /* FKFlickrPhotosGeoRemoveLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoRemoveLocation.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.m; sourceTree = ""; }; + 7382C6D787C95A1E285EBC082BFD704A /* Lato-Italic.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-Italic.ttf"; path = "Source/Fonts/Lato-Italic.ttf"; sourceTree = ""; }; + 73CB7829CB557EFDEC2B5DFFC10EC5FA /* FKFlickrPhotosCommentsAddComment.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosCommentsAddComment.m; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsAddComment.m; sourceTree = ""; }; + 757F988E8F3B43F8DCF48DABA068BED8 /* LatoFont-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LatoFont-umbrella.h"; sourceTree = ""; }; + 763820ABE4586300BF21DA004A9C53EE /* FKFlickrPandaGetPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPandaGetPhotos.m; path = Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m; sourceTree = ""; }; + 76862C93D46C8EF6FE93F689C39D74ED /* FKFlickrPeopleGetGroups.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetGroups.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m; sourceTree = ""; }; + 76EED4357222667CCBACEEA99A50E9A2 /* FKFlickrPhotosetsOrderSets.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsOrderSets.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.m; sourceTree = ""; }; + 776087FA1F7781FB44FDACE9EC603B80 /* FKFlickrCollectionsGetTree.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrCollectionsGetTree.h; path = Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.h; sourceTree = ""; }; + 782ACE4A12324DE88166BB166C938DC3 /* Dimension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Dimension.swift; path = Cartography/Dimension.swift; sourceTree = ""; }; + 785BA07273DA9561C311CA593D415A8E /* FKFlickrGroupsPoolsGetContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsPoolsGetContext.m; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.m; sourceTree = ""; }; + 78755C9BF5304A9312DE9EED37A233E7 /* FKFlickrStatsGetPhotostreamReferrers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotostreamReferrers.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.h; sourceTree = ""; }; + 7885E112C0C688BF15F61946D7E327D5 /* FKFlickrGroupsPoolsGetContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsPoolsGetContext.h; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetContext.h; sourceTree = ""; }; + 78D085A1B3D1C8213FA1916F38812C32 /* FKFlickrUrlsLookupUser.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrUrlsLookupUser.m; path = Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.m; sourceTree = ""; }; + 7902B79B020C112D09D994FA5D8CA77E /* FKFlickrTagsGetListUser.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetListUser.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.m; sourceTree = ""; }; + 79259156399BD9A6743EA3EB1505338E /* FKFlickrPhotosPeopleDeleteCoords.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosPeopleDeleteCoords.m; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDeleteCoords.m; sourceTree = ""; }; + 7989360C396A744DA7AE8A0332029BE7 /* FKFlickrPhotosLicensesGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosLicensesGetInfo.m; path = Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.m; sourceTree = ""; }; + 7A319C1DF26F31B0D273F9C5A8E42948 /* FKFlickrPhotosGeoCorrectLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoCorrectLocation.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.m; sourceTree = ""; }; + 7AA4E6E9936FABDF005F83ADEF4BF8EB /* FKFlickrFavoritesGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrFavoritesGetList.h; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.h; sourceTree = ""; }; + 7ADC968DD1BC47BF11DA81C113F30638 /* FKFlickrPhotosSetSafetyLevel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSetSafetyLevel.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.m; sourceTree = ""; }; + 7AE668582F26187E3BB1E6F22BCF7905 /* FKFlickrPhotosGetCounts.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetCounts.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.m; sourceTree = ""; }; + 7B423DA1790902A740A51B4D7C94E0C9 /* FKFlickrPushGetSubscriptions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPushGetSubscriptions.h; path = Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.h; sourceTree = ""; }; + 7CB72BD335C4E520283C03F67F7C113E /* FKFlickrFavoritesGetContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrFavoritesGetContext.m; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesGetContext.m; sourceTree = ""; }; + 7CC51F61604721281F1540F64606C61B /* FKFlickrStatsGetPhotoStats.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotoStats.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoStats.h; sourceTree = ""; }; + 7CC90FD57C52F5E629322EFE77CBAF12 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 7CDC2BA58EC426419EA70F5753B633AD /* FKFlickrGroupsSearch.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsSearch.m; path = Classes/Model/Generated/Groups/FKFlickrGroupsSearch.m; sourceTree = ""; }; + 7D28F36AAE036590E08EDBE69943270D /* FKFlickrStatsGetPhotostreamStats.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotostreamStats.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamStats.m; sourceTree = ""; }; + 7D36BC3A55EE0ACB814E5CEEA6F23773 /* FKFlickrPlacesGetTopPlacesList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesGetTopPlacesList.h; path = Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.h; sourceTree = ""; }; + 7DD1C259E661091FEA6FF5200E693D1F /* FKFlickrMachinetagsGetNamespaces.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrMachinetagsGetNamespaces.m; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.m; sourceTree = ""; }; + 7DFDFCBE358049E29D03236C42E76784 /* FKFlickrPhotosSuggestionsRejectSuggestion.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSuggestionsRejectSuggestion.h; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRejectSuggestion.h; sourceTree = ""; }; + 7E84A855D85822C81DB3320625C58844 /* FKFlickrGroupsDiscussRepliesAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussRepliesAdd.h; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h; sourceTree = ""; }; + 7ED4A107BD8CAFF7EF8883B1F78220D7 /* FKFlickrNetworkOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrNetworkOperation.m; path = Classes/Network/FKFlickrNetworkOperation.m; sourceTree = ""; }; + 7FD5210621D27D79593A2C55CB6C613D /* Lato-BlackItalic.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-BlackItalic.ttf"; path = "Source/Fonts/Lato-BlackItalic.ttf"; sourceTree = ""; }; + 7FE68E005B98EDD5740FB8BEED733141 /* FKDUDefaultDiskCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUDefaultDiskCache.m; path = Classes/DevedUpKit/FKDUDefaultDiskCache.m; sourceTree = ""; }; + 803357F22175352F4D41FE3508D83E43 /* FKFlickrStatsGetPhotostreamReferrers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotostreamReferrers.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamReferrers.m; sourceTree = ""; }; + 80AC789BB9DC3DF6EDF14D9F6B97FC3E /* FKFlickrPeopleGetUploadStatus.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetUploadStatus.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h; sourceTree = ""; }; + 80C4CE258CD1D01AA9E90303650C9EF4 /* FKFlickrStatsGetPhotosetStats.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotosetStats.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetStats.m; sourceTree = ""; }; + 80E2EFA7218E316BA1C54DE93B438BC2 /* LatoFont.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = LatoFont.modulemap; sourceTree = ""; }; + 81816DA5C61CEE524DD7555F424F6E38 /* FKFlickrPlacesGetInfoByUrl.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesGetInfoByUrl.m; path = Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.m; sourceTree = ""; }; + 823F682FF480DCDFB63EB4FE5F6B0077 /* FKFlickrPhotosetsCommentsEditComment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsCommentsEditComment.h; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.h; sourceTree = ""; }; + 8258940870E0D14F9ABC444628AC4CC7 /* FKFlickrPeopleFindByUsername.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleFindByUsername.h; path = Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.h; sourceTree = ""; }; + 82691779EBE7B999C62B811015422187 /* FKFlickrPhotosetsAddPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsAddPhoto.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsAddPhoto.h; sourceTree = ""; }; + 82C77C82F437D9F441F9E527CEDE1D30 /* FKDUStreamUtil.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUStreamUtil.h; path = Classes/DevedUpKit/FKDUStreamUtil.h; sourceTree = ""; }; + 82D4DAB727EA35BB1D7FB8733BC798E5 /* Pods_PrettyWeatherApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PrettyWeatherApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 82F06B77D70BBA78AC235011A9592568 /* FKFlickrPhotosGetFavorites.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetFavorites.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetFavorites.h; sourceTree = ""; }; + 8361B64B30EF854066D094FFF06D38CF /* FKFlickrStatsGetCollectionDomains.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetCollectionDomains.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.h; sourceTree = ""; }; + 84CEE756D74EF113F6320CFB35BB5872 /* FKFlickrContactsGetPublicList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrContactsGetPublicList.m; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.m; sourceTree = ""; }; + 85893394C7131F7653E743766F3FA650 /* FKFlickrPhotosSuggestionsRemoveSuggestion.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSuggestionsRemoveSuggestion.m; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.m; sourceTree = ""; }; + 863B5880A876CC44CCC66FFDC3FA768B /* FKFlickrGroupsJoin.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsJoin.m; path = Classes/Model/Generated/Groups/FKFlickrGroupsJoin.m; sourceTree = ""; }; + 86A1CC36FCB8E823F82A50F2836B4BA2 /* FKFlickrAuthGetFrob.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrAuthGetFrob.m; path = Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.m; sourceTree = ""; }; + 8731D93F710B98D8D36B449E15D05FD1 /* FKFlickrGroupsDiscussTopicsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussTopicsGetList.h; path = Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetList.h; sourceTree = ""; }; + 87E50890B8982309717892F248A10E72 /* FKFlickrPhotosGeoGetPerms.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoGetPerms.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.m; sourceTree = ""; }; + 89565BFB9E41C13FA3092B23DFF57B98 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Accelerate.framework; sourceTree = DEVELOPER_DIR; }; + 895CC13A45FC24B94242C17040E0590B /* FKFlickrStatsGetPhotosetDomains.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotosetDomains.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.h; sourceTree = ""; }; + 89B655462E09AF5355B45870D5879E11 /* FKFlickrPhotosetsGetContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsGetContext.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetContext.h; sourceTree = ""; }; + 89CDDD9AF48B07FB4C4EBD311569CF67 /* FKFlickrGalleriesEditPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesEditPhoto.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.m; sourceTree = ""; }; + 89CE643AF610705FC8DD26B1A43D76EB /* FKFlickrContactsGetListRecentlyUploaded.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrContactsGetListRecentlyUploaded.m; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.m; sourceTree = ""; }; + 8A25693EFBC5C87A2C408403355A0024 /* FKFlickrPushGetTopics.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPushGetTopics.m; path = Classes/Model/Generated/Push/FKFlickrPushGetTopics.m; sourceTree = ""; }; + 8A8E40BE4986CE46E31E63E449DDB135 /* Lato-HairlineItalic.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-HairlineItalic.ttf"; path = "Source/Fonts/Lato-HairlineItalic.ttf"; sourceTree = ""; }; + 8B1C6F2F387C1F374B6BF3FD6B001739 /* FKFlickrPhotosGeoPhotosForLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoPhotosForLocation.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.h; sourceTree = ""; }; + 8B7D373F693178E8FE064A426E8E08D5 /* FKFlickrPhotosetsSetPrimaryPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsSetPrimaryPhoto.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsSetPrimaryPhoto.h; sourceTree = ""; }; + 8C572437504CC39901C839EF58DFF141 /* FKFlickrPeopleGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetInfo.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetInfo.m; sourceTree = ""; }; + 8C7B33A0BB2259208F77204A78CBEA26 /* FKFlickrGalleriesEditPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesEditPhotos.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.m; sourceTree = ""; }; + 8D21CC09782D67CE090850CF2E01DEC2 /* FKFlickrPhotosGeoSetContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoSetContext.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.m; sourceTree = ""; }; + 8D8680A233A25C829E3F8A579163EBF5 /* FlickrKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FlickrKit-prefix.pch"; sourceTree = ""; }; + 8DB465D3D790046D9EE93571EC5CBB3F /* FKFlickrPhotosetsReorderPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsReorderPhotos.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.h; sourceTree = ""; }; + 8E3B0CD23BE209D2647D3956E67877E5 /* FKFlickrUrlsLookupUser.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrUrlsLookupUser.h; path = Classes/Model/Generated/Urls/FKFlickrUrlsLookupUser.h; sourceTree = ""; }; + 8E3E2C5CCCA90A3BCEEBF549F3D9CC3C /* FKFlickrPhotosUploadCheckTickets.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosUploadCheckTickets.m; path = Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.m; sourceTree = ""; }; + 8E9316A0D235B92BA89FD028A9F3EB60 /* FKFlickrUrlsGetUserProfile.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrUrlsGetUserProfile.m; path = Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.m; sourceTree = ""; }; + 8F3ED01DFF9AFC11415D7906A6157DEC /* FKFlickrPhotosGeoSetContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoSetContext.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetContext.h; sourceTree = ""; }; + 8F62A041F89DB33093EEF868F84419C8 /* FKFlickrGroupsLeave.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsLeave.h; path = Classes/Model/Generated/Groups/FKFlickrGroupsLeave.h; sourceTree = ""; }; + 918FA5A32CB33A2A4C4D6D7555E82425 /* FKFlickrCamerasGetBrands.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrCamerasGetBrands.m; path = Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.m; sourceTree = ""; }; + 91A0F9301D63B2C4A66F1C0FD0C6DFE2 /* FKFlickrGroupsSearch.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsSearch.h; path = Classes/Model/Generated/Groups/FKFlickrGroupsSearch.h; sourceTree = ""; }; + 91EC25501E271B4D0D91C191B7DB87E8 /* Cartography-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Cartography-umbrella.h"; sourceTree = ""; }; + 922144900B9F4D2DA3E0C77165B9C2E3 /* FKFlickrTestEcho.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTestEcho.h; path = Classes/Model/Generated/Test/FKFlickrTestEcho.h; sourceTree = ""; }; + 92811C72F76E7106A0CBFE42E5C86A80 /* FKFlickrNetworkOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrNetworkOperation.h; path = Classes/Network/FKFlickrNetworkOperation.h; sourceTree = ""; }; + 92D966CFAF3EC9200E07B778B095A56A /* FKFlickrGalleriesGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesGetInfo.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetInfo.h; sourceTree = ""; }; + 92F7A1B3DF6AF62BC3BEF2E3A3211A5D /* FKFlickrStatsGetPhotostreamDomains.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotostreamDomains.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.h; sourceTree = ""; }; + 930EB23B2A36D8A1FB9D6BDC11C8B566 /* FKFlickrPhotosSetTags.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSetTags.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.m; sourceTree = ""; }; + 936750EEB67913FBCA057AB2EB465EEC /* FKFlickrStatsGetTotalViews.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetTotalViews.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.h; sourceTree = ""; }; + 9384921ED3B19CD4374B11EAD29186B7 /* FKFlickrPhotosGeoPhotosForLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoPhotosForLocation.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m; sourceTree = ""; }; + 93EF485C05D61D72629ECAE2736D94A8 /* FKFlickrPhotosGeoSetLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoSetLocation.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.m; sourceTree = ""; }; + 93F82E97F245CA1C6DE244EEC87F32DE /* FKFlickrBlogsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrBlogsGetList.m; path = Classes/Model/Generated/Blogs/FKFlickrBlogsGetList.m; sourceTree = ""; }; + 9526ADEEB58340702B61EEE55D57B87D /* FKFlickrPhotosGetRecent.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetRecent.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.h; sourceTree = ""; }; + 95D0CAF70F9C458AEB809F7E34939C83 /* FKFlickrGroupsGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsGetInfo.m; path = Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.m; sourceTree = ""; }; + 95D69EB123AAB5C2B14E5C5007DCFA9E /* Download.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Download.swift; path = Source/Download.swift; sourceTree = ""; }; + 95FBE1AF7F0E3AB81599D111E4FE62F3 /* FKFlickrPlacesFindByLatLon.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesFindByLatLon.h; path = Classes/Model/Generated/Places/FKFlickrPlacesFindByLatLon.h; sourceTree = ""; }; + 96201AD4AB0A3327FB5D44FAD2628A7C /* FKFlickrPlacesGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesGetInfo.h; path = Classes/Model/Generated/Places/FKFlickrPlacesGetInfo.h; sourceTree = ""; }; + 964139A93D49D936EFE96322F4110314 /* FKFlickrStatsGetPhotostreamDomains.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotostreamDomains.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotostreamDomains.m; sourceTree = ""; }; + 964887BC9E9B726000BCA291FA2DCEFE /* FKFlickrGroupsDiscussTopicsAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussTopicsAdd.m; path = Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsAdd.m; sourceTree = ""; }; + 96BBA14D59BEC60B7D594D78E80646A4 /* FKFlickrFavoritesAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrFavoritesAdd.h; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.h; sourceTree = ""; }; + 970361968F92991B924DFDD6BC79F953 /* FKFlickrPlacesPlacesForBoundingBox.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesPlacesForBoundingBox.h; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h; sourceTree = ""; }; + 97CB6436075C286D7DC7126B25410539 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = ""; }; + 97E53377DC5D263998EC01A4F87236C6 /* FKFlickrStatsGetPhotoReferrers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotoReferrers.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoReferrers.m; sourceTree = ""; }; + 985A71510FF743619C67C9D523D5F3F5 /* Distribute.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Distribute.swift; path = Cartography/Distribute.swift; sourceTree = ""; }; + 98C012731A66905D5D3C1321D5891BBD /* FKFlickrContactsGetPublicList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrContactsGetPublicList.h; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetPublicList.h; sourceTree = ""; }; + 98F23F12499F8B6BAA0BF58B47B0615E /* Lato-LightItalic.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-LightItalic.ttf"; path = "Source/Fonts/Lato-LightItalic.ttf"; sourceTree = ""; }; + 994D44ADCFC2183025F81F5EB2B624BB /* FKFlickrPlacesPlacesForUser.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesPlacesForUser.h; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h; sourceTree = ""; }; + 9965C949B64B0FDAA914CA934BC48C80 /* WIKFontIcon.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = WIKFontIcon.h; path = WeatherIconsKit/WIKFontIcon.h; sourceTree = ""; }; + 99C98FFEAAC549869832AF287A0188DE /* FKFlickrPhotosSetPerms.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSetPerms.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.h; sourceTree = ""; }; + 99FB83608F406BAD6D43F7CDE841A043 /* FKFlickrAuthGetToken.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrAuthGetToken.m; path = Classes/Model/Generated/Auth/FKFlickrAuthGetToken.m; sourceTree = ""; }; + 9A4718634F2BA24384749B0526A64488 /* FKFlickrGroupsMembersGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsMembersGetList.h; path = Classes/Model/Generated/Groups/Members/FKFlickrGroupsMembersGetList.h; sourceTree = ""; }; + 9A4769AB8C6B52DA5DD7276B1CFAAC67 /* FKFlickrReflectionGetMethodInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrReflectionGetMethodInfo.h; path = Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.h; sourceTree = ""; }; + 9A8F2637B1C6928ED8C89382358071DC /* FKFlickrStatsGetCollectionDomains.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetCollectionDomains.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionDomains.m; sourceTree = ""; }; + 9C0DDB53FF6992E04AE5F67474AB2A95 /* FKFlickrGroupsJoinRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsJoinRequest.h; path = Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.h; sourceTree = ""; }; + 9CE00C0ACDC89535EF5C551470196380 /* FKFlickrPhotosGetContactsPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetContactsPhotos.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m; sourceTree = ""; }; + 9DE64CC109C4E7069F9DBC5AA2682E22 /* FKFlickrPhotosSearch.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSearch.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m; sourceTree = ""; }; + 9DFDA989A21DB14ED3F55C6A724B6A9A /* FKFlickrGroupsDiscussRepliesGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussRepliesGetList.m; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.m; sourceTree = ""; }; + 9E4EE4ABBA6D00FF3EA8521E47BCF2AD /* FKFlickrStatsGetPopularPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPopularPhotos.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPopularPhotos.h; sourceTree = ""; }; + 9EAC3CAA90E16640B9D39216C4760253 /* Constrain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Constrain.swift; path = Cartography/Constrain.swift; sourceTree = ""; }; + 9ED5B5462DB4E2B61B347842E94AD60D /* FKFlickrPhotosRecentlyUpdated.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosRecentlyUpdated.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h; sourceTree = ""; }; + 9F9DC02FF69C76CB5B760460FA497FCC /* FKFlickrPhotosSetPerms.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSetPerms.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m; sourceTree = ""; }; + 9FE17D34C28BA20DC8BD68CE3703C2D9 /* FKFlickrTagsGetRelated.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetRelated.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetRelated.h; sourceTree = ""; }; + 9FE775A64B731F6B7389719E89F27ECE /* FKFlickrPhotosGetSizes.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetSizes.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h; sourceTree = ""; }; + A00990D506410E3372A4B322AB5E2887 /* FKFlickrPhotosGetSizes.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetSizes.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.m; sourceTree = ""; }; + A0900BDB0B5EF340E7FC93B0B5CEF462 /* FKFlickrActivityUserPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrActivityUserPhotos.m; path = Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m; sourceTree = ""; }; + A1AC8C08935E76EEC821872F7904EA6C /* Point.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Point.swift; path = Cartography/Point.swift; sourceTree = ""; }; + A1EA28A027AC5F5701E30286A2DA1B6E /* FKFlickrPeopleGetPublicPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetPublicPhotos.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.h; sourceTree = ""; }; + A2658200530D34B28296CFA5A6FD2362 /* FXBlurView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FXBlurView.h; path = FXBlurView/FXBlurView.h; sourceTree = ""; }; + A307F40E67D0B15A8CED6073764BE37F /* FKFlickrPrefsGetHidden.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPrefsGetHidden.m; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetHidden.m; sourceTree = ""; }; + A37A8B54D2B704FE16A1F8A5D4370D0A /* FKFlickrPhotosCommentsDeleteComment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosCommentsDeleteComment.h; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.h; sourceTree = ""; }; + A3D401871A8428F35894D81DAF577EA9 /* FKFlickrPhotosetsOrderSets.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsOrderSets.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h; sourceTree = ""; }; + A4BCA23F10041DF44CD6B2C7F3A11B47 /* FKFlickrPhotosRecentlyUpdated.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosRecentlyUpdated.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m; sourceTree = ""; }; + A4C4671AE548EB6B1AE6C9352C384A27 /* FKFlickrPhotosGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetInfo.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.h; sourceTree = ""; }; + A4F110BAB26D21CBA971351E62A6F48C /* Pods-PrettyWeatherApp-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PrettyWeatherApp-frameworks.sh"; sourceTree = ""; }; + A5AE4A1CE9FA3AA13A0C6D2FD43B16DE /* WIKFontIcon.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = WIKFontIcon.m; path = WeatherIconsKit/WIKFontIcon.m; sourceTree = ""; }; + A7EE27306F5F3A25D45847C49524497D /* FKFlickrPhotosetsCreate.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsCreate.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsCreate.m; sourceTree = ""; }; + A804F83CED284461632613E3683028E0 /* FKDUNetworkOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUNetworkOperation.h; path = Classes/DevedUpKit/FKDUNetworkOperation.h; sourceTree = ""; }; + A88773854A4C9C3E3F686D3ABDA81FDE /* FKFlickrUrlsGetUserProfile.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrUrlsGetUserProfile.h; path = Classes/Model/Generated/Urls/FKFlickrUrlsGetUserProfile.h; sourceTree = ""; }; + A8A4255D7CE808A5AC6D4DA065505A0D /* FKFlickrGroupsDiscussRepliesEdit.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussRepliesEdit.m; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.m; sourceTree = ""; }; + AA4B046673212383128507EE6849F606 /* FKFlickrCommonsGetInstitutions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrCommonsGetInstitutions.h; path = Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.h; sourceTree = ""; }; + AA767E791CE77E84C738FBF310D5C2E9 /* FKFlickrPhotosCommentsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosCommentsGetList.h; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetList.h; sourceTree = ""; }; + AAAE2288AD3563476489FE6990DE97D3 /* Constraint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Constraint.swift; path = Cartography/Constraint.swift; sourceTree = ""; }; + AAD93E6803D2CA2923082DDB64844D27 /* FKFlickrReflectionGetMethodInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrReflectionGetMethodInfo.m; path = Classes/Model/Generated/Reflection/FKFlickrReflectionGetMethodInfo.m; sourceTree = ""; }; + AAE0C9B0F111486E8431FFC24693A547 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = ""; }; + AB872B5AF8D841977DD9C39F29D10C50 /* FKFlickrTagsGetClusterPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetClusterPhotos.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetClusterPhotos.m; sourceTree = ""; }; + AC77953654955D1A65A309AFFE7605FE /* FKFlickrTagsGetClusters.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetClusters.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetClusters.m; sourceTree = ""; }; + AD1DA9F7A665ECD2A9A89625C7369D38 /* FKFlickrMachinetagsGetRecentValues.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrMachinetagsGetRecentValues.h; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.h; sourceTree = ""; }; + ADF41BC7723B783991A0563E25309EFC /* FKFlickrPhotosGetAllContexts.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetAllContexts.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetAllContexts.h; sourceTree = ""; }; + ADF73F9FF8099F2E67D6D796BAB7BD47 /* LatoFont.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LatoFont.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; + AF6BDAB35CB7D0E2FACD59CBC39A7343 /* FKDUConcurrentOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUConcurrentOperation.h; path = Classes/DevedUpKit/FKDUConcurrentOperation.h; sourceTree = ""; }; + B0A9779927B1890D8386E1C1396A0ACD /* FKFlickrAuthCheckToken.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAuthCheckToken.h; path = Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h; sourceTree = ""; }; + B197047201C91E0AFF98D18F0132E46D /* FKFlickrCamerasGetBrands.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrCamerasGetBrands.h; path = Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrands.h; sourceTree = ""; }; + B23E24A97B161FCE53306E15F1908700 /* FKFlickrGroupsBrowse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsBrowse.m; path = Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.m; sourceTree = ""; }; + B2531E3F56BD31C6582A25B544E3244C /* FKAPIMethods.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKAPIMethods.h; path = Classes/Model/FKAPIMethods.h; sourceTree = ""; }; + B28E0A1BB17CF104159456D2DBF1EDC3 /* FKFlickrPhotosDelete.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosDelete.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosDelete.h; sourceTree = ""; }; + B2E1CBD0CB4972A93C86A3E758D66E2E /* FKFlickrPhotosGetUntagged.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetUntagged.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.h; sourceTree = ""; }; + B359F4CB2D561A86339E0EE7A46C0CB7 /* FKFlickrPeopleGetGroups.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetGroups.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetGroups.h; sourceTree = ""; }; + B3BDA679E528E45E127B9A35C81F4D35 /* Compound.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Compound.swift; path = Cartography/Compound.swift; sourceTree = ""; }; + B3D2D7940DB68C994CDF3E04803975FB /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = ""; }; + B4675BF37D36EA63A1520CB70EC53883 /* FKDUNetworkController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUNetworkController.m; path = Classes/DevedUpKit/FKDUNetworkController.m; sourceTree = ""; }; + B468C1250BC9BA413A0B41DB6B25A2F3 /* FKFlickrPeopleGetLimits.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetLimits.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetLimits.h; sourceTree = ""; }; + B46A98E6B297F10A4A678AE5451AF4E9 /* FKFlickrPhotosSetMeta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSetMeta.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetMeta.m; sourceTree = ""; }; + B4958D27AA9BD133497A221A6E0CAF36 /* FKFlickrPlacesGetInfoByUrl.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesGetInfoByUrl.h; path = Classes/Model/Generated/Places/FKFlickrPlacesGetInfoByUrl.h; sourceTree = ""; }; + B502C976AA3E861835CCA1D1A9A06F44 /* FKDUConcurrentOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUConcurrentOperation.m; path = Classes/DevedUpKit/FKDUConcurrentOperation.m; sourceTree = ""; }; + B60950D1AC2518C50C4F5C59F109F402 /* FKFlickrPlacesFind.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesFind.h; path = Classes/Model/Generated/Places/FKFlickrPlacesFind.h; sourceTree = ""; }; + B66F713A823902FBF316FF0795753B60 /* FKFlickrGroupsLeave.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsLeave.m; path = Classes/Model/Generated/Groups/FKFlickrGroupsLeave.m; sourceTree = ""; }; + B67B1B53E4B540E510E9ADEB49057A19 /* Pods-PrettyWeatherApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PrettyWeatherApp.debug.xcconfig"; sourceTree = ""; }; + B7B83A5DA6F3382AF5EBB53E97B0DBB3 /* FKFlickrGroupsPoolsGetGroups.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsPoolsGetGroups.m; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.m; sourceTree = ""; }; + B7C0B5725BEFFBDEDEC31BA52E357357 /* FKFlickrUrlsGetGroup.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrUrlsGetGroup.m; path = Classes/Model/Generated/Urls/FKFlickrUrlsGetGroup.m; sourceTree = ""; }; + B7C531A61291D547F6B0A965EF9FE848 /* FKFlickrPeopleGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetInfo.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h; sourceTree = ""; }; + B92FDF8FA4EE82BA60430052400068DB /* FKFlickrPlacesPlacesForContacts.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesPlacesForContacts.h; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h; sourceTree = ""; }; + BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + BA7C88CA9A43B1C80202B8CB460E3E58 /* Cartography-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Cartography-dummy.m"; sourceTree = ""; }; + BB0635CE4783D68996EEFC2756E527ED /* FKFlickrGroupsBrowse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsBrowse.h; path = Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h; sourceTree = ""; }; + BB44DBC3B27613B770F9B9E19CC58FE4 /* FKFlickrTagsGetMostFrequentlyUsed.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetMostFrequentlyUsed.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetMostFrequentlyUsed.h; sourceTree = ""; }; + BCBEC71CBC5ECA4931C70D7769BCB94C /* FKFlickrPhotosGetContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetContext.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h; sourceTree = ""; }; + BCC1082FD9789DC307F50EF7FC517AA8 /* FKUtilities.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKUtilities.h; path = Classes/Utilities/FKUtilities.h; sourceTree = ""; }; + BE89D6A8FD9B0DB8AB87EE2BEC6A5337 /* FKFlickrAPIMethod.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAPIMethod.h; path = Classes/Model/FKFlickrAPIMethod.h; sourceTree = ""; }; + BEC3BDB17E788AE0E398EDA556EE57E7 /* FKFlickrGroupsDiscussTopicsGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussTopicsGetInfo.h; path = Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.h; sourceTree = ""; }; + BF00048E7BFFFA618A213D4CBE4E479C /* WeatherIconsKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WeatherIconsKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BF054DEFADD5A08D513E813A0AF11693 /* FKFlickrBlogsGetServices.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrBlogsGetServices.m; path = Classes/Model/Generated/Blogs/FKFlickrBlogsGetServices.m; sourceTree = ""; }; + BF0BB632206FDAC96814B5BE6F04C87C /* FKFlickrContactsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrContactsGetList.h; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetList.h; sourceTree = ""; }; + BF32E3763CA56A749CE329AD53C3CEEB /* Lato-Hairline.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-Hairline.ttf"; path = "Source/Fonts/Lato-Hairline.ttf"; sourceTree = ""; }; + BF5F520AD42390A8BCBDE900E0BCCDDF /* FKFlickrPhotosetsCommentsGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsCommentsGetList.m; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsGetList.m; sourceTree = ""; }; + BFB4A9C22B4974645FD97B6525869C19 /* Context.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Context.swift; path = Cartography/Context.swift; sourceTree = ""; }; + C1CC3FFFA3B0606E0D6380E44CF45659 /* FKFlickrPhotosetsCommentsDeleteComment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsCommentsDeleteComment.h; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.h; sourceTree = ""; }; + C21F72F664CB34DCC3F0E78DF0F3FA8F /* FKFlickrPhotosetsEditMeta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsEditMeta.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditMeta.h; sourceTree = ""; }; + C2B2171A67CDC1777C029B381C491BC7 /* FKFlickrPhotosetsRemovePhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsRemovePhoto.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhoto.h; sourceTree = ""; }; + C30245170471B79F15F3159993A65863 /* FlickrKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FlickrKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C458B8D0A1F817539D851C352B666FCC /* FKFlickrAuthGetToken.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAuthGetToken.h; path = Classes/Model/Generated/Auth/FKFlickrAuthGetToken.h; sourceTree = ""; }; + C51B17FD53C9E56C511B82C623FD8422 /* FKFlickrPhotosetsDelete.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsDelete.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsDelete.m; sourceTree = ""; }; + C5A02B433087D3F3E144494291BAAB8D /* FKDataTypes.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDataTypes.h; path = Classes/FlickrKit/FKDataTypes.h; sourceTree = ""; }; + C5D6B6E79A3A3B12E80ED606E28881A2 /* FKFlickrPeopleGetPhotosOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetPhotosOf.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m; sourceTree = ""; }; + C5ED81A0BF6BFA12CBD1EE7E2FBD8913 /* Align.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Align.swift; path = Cartography/Align.swift; sourceTree = ""; }; + C824F88E7CD15FF8F98C443D06E8CEEE /* FKFlickrPhotosetsCommentsAddComment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsCommentsAddComment.h; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.h; sourceTree = ""; }; + C9557103FDD583BF55C24650A3F7F2E5 /* FKFlickrPlacesResolvePlaceURL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesResolvePlaceURL.h; path = Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.h; sourceTree = ""; }; + C965BB5F58B28C627EA2B2932783BCBF /* FKDUBlocks.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUBlocks.m; path = Classes/DevedUpKit/FKDUBlocks.m; sourceTree = ""; }; + C9DC03F50E3D2EF2F98466AC43541E65 /* FKFlickrPhotosetsEditPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsEditPhotos.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsEditPhotos.m; sourceTree = ""; }; + CA79F43F8588CFF1E38ACB03BCF65810 /* FKFlickrTestLogin.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTestLogin.m; path = Classes/Model/Generated/Test/FKFlickrTestLogin.m; sourceTree = ""; }; + CB396A3901524CD1DC196E9AB08D258A /* FKFlickrPhotosetsGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsGetList.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetList.h; sourceTree = ""; }; + CBBA243C3B01356B4E20D9AC24E90577 /* FKFlickrPhotosetsCommentsDeleteComment.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsCommentsDeleteComment.m; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsDeleteComment.m; sourceTree = ""; }; + CBD60E38A287CA1F28DB255F7175AAD4 /* FKFlickrTestNull.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTestNull.h; path = Classes/Model/Generated/Test/FKFlickrTestNull.h; sourceTree = ""; }; + CC8B217C4109B21A4CAFF3F1310180C8 /* FKFlickrPandaGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPandaGetList.m; path = Classes/Model/Generated/Panda/FKFlickrPandaGetList.m; sourceTree = ""; }; + CC8EE84D7D569B35A31777818AD52237 /* FKUtilities.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKUtilities.m; path = Classes/Utilities/FKUtilities.m; sourceTree = ""; }; + CC9AE20D2B4C94D664BFDAF4AF807E12 /* FKFlickrPhotosGetContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetContext.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m; sourceTree = ""; }; + CCA0E3AB77FB0BEB0B90DD4EFB661ACD /* FKFlickrAuthGetFullToken.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAuthGetFullToken.h; path = Classes/Model/Generated/Auth/FKFlickrAuthGetFullToken.h; sourceTree = ""; }; + CCE9DDBFE5F5FDE027D27EC23AA146BC /* FKFlickrAuthGetFrob.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrAuthGetFrob.h; path = Classes/Model/Generated/Auth/FKFlickrAuthGetFrob.h; sourceTree = ""; }; + CD4502A4C510F15686A14B438D01D0DD /* FXBlurView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FXBlurView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + CD58AF08AF3F64CDF0759CD1149E7614 /* SwiftyJSON-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftyJSON-prefix.pch"; sourceTree = ""; }; + CECE4CCA4A8B44AF568E6D0F1A57284A /* FKFlickrPhotosGeoCorrectLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoCorrectLocation.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoCorrectLocation.h; sourceTree = ""; }; + CF652C491F3DC6626759C3EE41E89BFA /* FKFlickrPhotosPeopleEditCoords.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosPeopleEditCoords.h; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleEditCoords.h; sourceTree = ""; }; + D0127191DFC00836A97A88C2D58E328E /* FKFlickrStatsGetTotalViews.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetTotalViews.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetTotalViews.m; sourceTree = ""; }; + D08AB3FE4BBD0439C48046F8847A6665 /* FKDUNetworkOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKDUNetworkOperation.m; path = Classes/DevedUpKit/FKDUNetworkOperation.m; sourceTree = ""; }; + D0EB19EEC123C6B0CA7F3B1A5CD90FD2 /* FlickrKit.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FlickrKit.m; path = Classes/FlickrKit/FlickrKit.m; sourceTree = ""; }; + D30F8DC5344ECEE984F9AC515D6BA523 /* FKFlickrCollectionsGetTree.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrCollectionsGetTree.m; path = Classes/Model/Generated/Collections/FKFlickrCollectionsGetTree.m; sourceTree = ""; }; + D348C9C99F346ADB495F269818DC7F17 /* FKFlickrInterestingnessGetList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrInterestingnessGetList.m; path = Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m; sourceTree = ""; }; + D395C09C4CF30A9B420E995D96102A29 /* Pods-PrettyWeatherApp-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PrettyWeatherApp-resources.sh"; sourceTree = ""; }; + D3B16253D5F6982A0E01F526C41BA0A4 /* FKFlickrPhotosSuggestionsSuggestLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSuggestionsSuggestLocation.h; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsSuggestLocation.h; sourceTree = ""; }; + D3E3590BEF3BBC9437A86BCE44C9E373 /* FKFlickrActivityUserComments.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrActivityUserComments.h; path = Classes/Model/Generated/Activity/FKFlickrActivityUserComments.h; sourceTree = ""; }; + D414FD9E3913CD4740A9718985B4360B /* FKFlickrGroupsPoolsGetGroups.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsPoolsGetGroups.h; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetGroups.h; sourceTree = ""; }; + D41C41174D9E5B956E36B2F4B8D8B50C /* FKFlickrTagsGetHotList.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTagsGetHotList.m; path = Classes/Model/Generated/Tags/FKFlickrTagsGetHotList.m; sourceTree = ""; }; + D443E181F5B796179085FC9DC2286BA2 /* FKFlickrPhotosetsCommentsEditComment.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsCommentsEditComment.m; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsEditComment.m; sourceTree = ""; }; + D4FEAE3551BC447028F251C907A24741 /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = ""; }; + D52C3C2026F9DC6B51206B4D7421EB34 /* FKFlickrGalleriesCreate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesCreate.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesCreate.h; sourceTree = ""; }; + D57F6E10B72B104FA1C1B8A81BC6F89F /* FKFlickrPhotosGetCounts.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetCounts.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h; sourceTree = ""; }; + D61518A47652E885D27D365EA9DA2529 /* FKFlickrStatsGetPhotosetDomains.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetPhotosetDomains.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotosetDomains.m; sourceTree = ""; }; + D6521145005E2985DF06F0D11DFF7D9C /* FKUploadRespone.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKUploadRespone.m; path = Classes/Network/FKUploadRespone.m; sourceTree = ""; }; + D6BA5C5C598B4076907EA1F63521B12A /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = ""; }; + D6DA05F0A2CEF1748E0D786E2ACA6E17 /* FKFlickrGalleriesEditPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesEditPhoto.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhoto.h; sourceTree = ""; }; + D8127C0F750EEC6B024C4F73B378B7D7 /* Pods-PrettyWeatherApp.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PrettyWeatherApp.modulemap"; sourceTree = ""; }; + D87BEC115F266E1D8A3ACE252BB6E982 /* FKFlickrGroupsGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsGetInfo.h; path = Classes/Model/Generated/Groups/FKFlickrGroupsGetInfo.h; sourceTree = ""; }; + DA41AFDB994945F5B4C213D2E42C66DD /* FKFlickrPhotosCommentsGetRecentForContacts.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosCommentsGetRecentForContacts.h; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.h; sourceTree = ""; }; + DA45767DED265E1C2411E24665E4EB81 /* FKFlickrPhotosSuggestionsApproveSuggestion.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSuggestionsApproveSuggestion.m; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsApproveSuggestion.m; sourceTree = ""; }; + DB6906BC067706DEA696173058C1F599 /* SwiftyJSON.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = SwiftyJSON.modulemap; sourceTree = ""; }; + DC0704625F2800BFEDB077849A477CFD /* FKFlickrPlacesResolvePlaceURL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesResolvePlaceURL.m; path = Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m; sourceTree = ""; }; + DCBFDDD2ADCAC58394CEDE0FF7DA1BEB /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Alamofire.modulemap; sourceTree = ""; }; + DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + DD2C20A94518AAF081C674BBC31127CF /* Pods-PrettyWeatherApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PrettyWeatherApp.release.xcconfig"; sourceTree = ""; }; + DE4CE4308E48F25444777CC81BA4A7DF /* LatoFont.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LatoFont.xcconfig; sourceTree = ""; }; + DE7056F3A10AFB1231D9451CE71A30CE /* FKFlickrPhotosGetExif.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetExif.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetExif.h; sourceTree = ""; }; + DF91F540E2E89C01080CAE3216B08553 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DFB4ACEA516E82D87384AEA9F9272CD7 /* FKFlickrPlacesTagsForPlace.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesTagsForPlace.m; path = Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m; sourceTree = ""; }; + E04213BA0D880DFB1645993ADEB003A2 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E04EC03EA367E1B39AD0391037753E13 /* FKFlickrMachinetagsGetRecentValues.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrMachinetagsGetRecentValues.m; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetRecentValues.m; sourceTree = ""; }; + E0FCDB76F8B996B2688BBF28081A7D4B /* FKFlickrGalleriesGetListForPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesGetListForPhoto.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetListForPhoto.m; sourceTree = ""; }; + E12D61747C44DC49A5D92192DE651737 /* FKFlickrPhotosCommentsDeleteComment.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosCommentsDeleteComment.m; path = Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsDeleteComment.m; sourceTree = ""; }; + E12FE781F9151D13B71748BF78D0EFA3 /* FKFlickrPhotosGeoBatchCorrectLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoBatchCorrectLocation.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.h; sourceTree = ""; }; + E1E07960EE6BC58DC4118AE099A9D362 /* FKDUDiskCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKDUDiskCache.h; path = Classes/DevedUpKit/FKDUDiskCache.h; sourceTree = ""; }; + E24D095FE8DA80ED856C7E5DDFCC1055 /* FKFlickrPlacesTagsForPlace.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPlacesTagsForPlace.h; path = Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h; sourceTree = ""; }; + E26AAE20114DAF2B8E5AEB86998603B7 /* ConstraintGroup.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintGroup.swift; path = Cartography/ConstraintGroup.swift; sourceTree = ""; }; + E31DD67DE5F286FAB4D41CA1EEBF83CF /* FKOFHMACSha1Base64.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKOFHMACSha1Base64.m; path = Classes/Utilities/FKOFHMACSha1Base64.m; sourceTree = ""; }; + E3CE154F5975D442BF70DDC9A76A1833 /* FXBlurView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FXBlurView-prefix.pch"; sourceTree = ""; }; + E4A471785339925C773448BBF0B823A4 /* FKFlickrPeopleGetUploadStatus.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetUploadStatus.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.m; sourceTree = ""; }; + E4B8F734265DDA008B761CA6CC1B1AED /* UIFont+Lato.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIFont+Lato.m"; path = "Source/UIFont+Lato.m"; sourceTree = ""; }; + E59B896154B0A4B3C77B63D8573C4D92 /* FKFlickrPhotosGetWithoutGeoData.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetWithoutGeoData.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m; sourceTree = ""; }; + E5FE3336731DEECAACDBCF6CF1670415 /* FKFlickrPhotosGeoGetLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoGetLocation.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetLocation.h; sourceTree = ""; }; + E610D1F2895BB9AE0339D29D47658AF6 /* Lato-BoldItalic.ttf */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = "Lato-BoldItalic.ttf"; path = "Source/Fonts/Lato-BoldItalic.ttf"; sourceTree = ""; }; + E6997B2151DA6A6E00E26EBE52A7348C /* FKFlickrPhotosGeoSetPerms.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoSetPerms.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetPerms.m; sourceTree = ""; }; + E6BDF28E3BC1B1FCCCE1E0AF94804277 /* FKFlickrPhotosetsReorderPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsReorderPhotos.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsReorderPhotos.m; sourceTree = ""; }; + E6E4531F70E411925C2DB9B8B9421F7A /* Pods-PrettyWeatherApp-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PrettyWeatherApp-umbrella.h"; sourceTree = ""; }; + E7DA2C4AD7D5D9891F0393426652BF7E /* FKFlickrCamerasGetBrandModels.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrCamerasGetBrandModels.h; path = Classes/Model/Generated/Cameras/FKFlickrCamerasGetBrandModels.h; sourceTree = ""; }; + E7F66671EEB7BC7983C67F6FA12D1274 /* FKFlickrPhotosRemoveTag.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosRemoveTag.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.m; sourceTree = ""; }; + E89F7244E2A50BBB10DDC88AD1EA663E /* FKFlickrPhotosetsRemovePhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsRemovePhotos.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsRemovePhotos.m; sourceTree = ""; }; + E99B8F6303554B1E6B6ACBDFBF84392F /* FKFlickrPushSubscribe.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPushSubscribe.h; path = Classes/Model/Generated/Push/FKFlickrPushSubscribe.h; sourceTree = ""; }; + E9AC3B07BF869FD0360EACAC63D57A0B /* FKFlickrContactsGetListRecentlyUploaded.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrContactsGetListRecentlyUploaded.h; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetListRecentlyUploaded.h; sourceTree = ""; }; + EA24129B6351D24779305BCE6018212E /* Cartography-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Cartography-prefix.pch"; sourceTree = ""; }; + EAC1128B943A86A3420BF811EC2264A0 /* FKFlickrPhotosGeoSetLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoSetLocation.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoSetLocation.h; sourceTree = ""; }; + EACF455B14751A432E254092747E4750 /* FKFlickrPhotosGetRecent.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetRecent.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m; sourceTree = ""; }; + EB319E5FBC767996B741F5AE37EF8A0C /* Manager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Manager.swift; path = Source/Manager.swift; sourceTree = ""; }; + EB35B0040F0FF8F25D81CC5C2163BF2B /* FKFlickrTagsGetListUser.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetListUser.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListUser.h; sourceTree = ""; }; + EB7F1CBA9BF2CD21578B3F5B9E27EFCE /* FKFlickrPushGetSubscriptions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPushGetSubscriptions.m; path = Classes/Model/Generated/Push/FKFlickrPushGetSubscriptions.m; sourceTree = ""; }; + EBC79A4EE589EC14F6BC8EF070E9B849 /* FKFlickrPeopleGetPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleGetPhotos.h; path = Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.h; sourceTree = ""; }; + ED7F339A5A3B95646D3ED679144C72AA /* FKFlickrPlacesPlacesForTags.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPlacesPlacesForTags.m; path = Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m; sourceTree = ""; }; + EDB6D8A4EF504DAE09045E46099115D6 /* FKFlickrPhotosLicensesGetInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosLicensesGetInfo.h; path = Classes/Model/Generated/Photos/Licenses/FKFlickrPhotosLicensesGetInfo.h; sourceTree = ""; }; + EDC23CEBE083BABC30F250E8F5CA79B8 /* WeatherIconsKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = WeatherIconsKit.xcconfig; sourceTree = ""; }; + EE634DA0DEF4DE944681831BF20BC81D /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; + EED3B711BFD86DB88DEBA87A74E078FF /* FKFlickrGroupsPoolsRemove.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsPoolsRemove.h; path = Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h; sourceTree = ""; }; + EF1F900CF520E2905DED3898977EF809 /* FKFlickrGalleriesGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesGetList.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesGetList.h; sourceTree = ""; }; + EF82E4261B89A59F9E17B6E2A2D5D4CE /* FKFlickrPhotosGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetInfo.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetInfo.m; sourceTree = ""; }; + EFDF363D7001B0772C09DF298FD7EFFB /* FKFlickrStatsGetPhotoDomains.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrStatsGetPhotoDomains.h; path = Classes/Model/Generated/Stats/FKFlickrStatsGetPhotoDomains.h; sourceTree = ""; }; + F02795AB03A214F582A9F50A9F202D90 /* FKFlickrPhotosGetNotInSet.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGetNotInSet.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m; sourceTree = ""; }; + F0320CA45EE61F41C568D6339B226C21 /* FKFlickrMachinetagsGetValues.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrMachinetagsGetValues.h; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetValues.h; sourceTree = ""; }; + F03E33B44EA0D6F33B591EDFCB7C22D1 /* FKFlickrPeopleGetLimits.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleGetLimits.m; path = Classes/Model/Generated/People/FKFlickrPeopleGetLimits.m; sourceTree = ""; }; + F0D2A9C3FD6EB803F1AC8428761EA7E5 /* FKFlickrPhotosSetTags.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSetTags.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetTags.h; sourceTree = ""; }; + F0E5BADBBB993E86C626996EFC8DF48D /* FKFlickrGalleriesEditPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGalleriesEditPhotos.h; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesEditPhotos.h; sourceTree = ""; }; + F0EC038852B579091CAA1F1DAEBF1ADB /* WeatherIconsKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WeatherIconsKit-umbrella.h"; sourceTree = ""; }; + F1129E301CA5B9EEB66BFB546FC87584 /* FKFlickrGroupsDiscussTopicsGetInfo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsDiscussTopicsGetInfo.m; path = Classes/Model/Generated/Groups/Discuss/Topics/FKFlickrGroupsDiscussTopicsGetInfo.m; sourceTree = ""; }; + F11EA85C9DC17E70CD39B93F67E1DAAE /* FKFlickrPhotosGetContactsPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGetContactsPhotos.h; path = Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.h; sourceTree = ""; }; + F15A2E56EE047648B24C3B41CDA0C3F5 /* FKFlickrPhotosNotesEdit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosNotesEdit.h; path = Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesEdit.h; sourceTree = ""; }; + F1606FB26854FCF52E49D31CAF1C5B59 /* FKFlickrUrlsLookupGroup.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrUrlsLookupGroup.m; path = Classes/Model/Generated/Urls/FKFlickrUrlsLookupGroup.m; sourceTree = ""; }; + F2BC022645090364685B082794786B26 /* FKFlickrTestEcho.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrTestEcho.m; path = Classes/Model/Generated/Test/FKFlickrTestEcho.m; sourceTree = ""; }; + F2D795C9C22DDD4E744D4113E165EC6B /* FKFlickrActivityUserPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrActivityUserPhotos.h; path = Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.h; sourceTree = ""; }; + F31DF1EA4E3D2484FE44FAB6E46DFCCE /* FKFlickrGroupsDiscussRepliesGetList.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussRepliesGetList.h; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesGetList.h; sourceTree = ""; }; + F325B25F47BD1E393D93D7631CEB3D98 /* FKFlickrPhotosGeoGetPerms.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosGeoGetPerms.h; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoGetPerms.h; sourceTree = ""; }; + F36B73B4E8957729F1761FF02883B87E /* FKFlickrPhotosGeoBatchCorrectLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosGeoBatchCorrectLocation.m; path = Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoBatchCorrectLocation.m; sourceTree = ""; }; + F3AA29F870FB96FC4A1BA29FF13ADE7C /* FKFlickrPhotosSetContentType.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosSetContentType.m; path = Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.m; sourceTree = ""; }; + F3C66B5B5503E86424DAE254AED24D5E /* FKFlickrPhotosUploadCheckTickets.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosUploadCheckTickets.h; path = Classes/Model/Generated/Photos/Upload/FKFlickrPhotosUploadCheckTickets.h; sourceTree = ""; }; + F4789460A788D482325957E5EFD65B99 /* FKFlickrPrefsGetContentType.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPrefsGetContentType.h; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h; sourceTree = ""; }; + F48E8B1424104192882DC37C6595DADB /* FKFlickrPhotosetsGetPhotos.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsGetPhotos.m; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m; sourceTree = ""; }; + F525CA68C8EDE751D9B31E6FA85317F1 /* FKFlickrTagsGetListPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetListPhoto.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListPhoto.h; sourceTree = ""; }; + F525FE4D8C561329716229EB6E24F576 /* FKFlickrGroupsDiscussRepliesEdit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrGroupsDiscussRepliesEdit.h; path = Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesEdit.h; sourceTree = ""; }; + F5A8B9DAAC2C34C99E0401FA8331B605 /* FKFlickrPhotosetsCommentsAddComment.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosetsCommentsAddComment.m; path = Classes/Model/Generated/Photosets/Comments/FKFlickrPhotosetsCommentsAddComment.m; sourceTree = ""; }; + F5C476C50297F51FC464E3C366B32C20 /* FKFlickrGroupsJoinRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGroupsJoinRequest.m; path = Classes/Model/Generated/Groups/FKFlickrGroupsJoinRequest.m; sourceTree = ""; }; + F62AEC73A6F662A5F7AEC41F88DF488A /* FKFlickrPrefsGetContentType.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPrefsGetContentType.m; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.m; sourceTree = ""; }; + F65428BBB264ED311623F9205C5822B4 /* FKFlickrTagsGetListUserPopular.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrTagsGetListUserPopular.h; path = Classes/Model/Generated/Tags/FKFlickrTagsGetListUserPopular.h; sourceTree = ""; }; + F6D16F2F176308FCC215029922D56F55 /* FKFlickrMachinetagsGetPredicates.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrMachinetagsGetPredicates.m; path = Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetPredicates.m; sourceTree = ""; }; + F6EF907340A435D8543F0DFCE14C90C4 /* FKFlickrGalleriesAddPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrGalleriesAddPhoto.m; path = Classes/Model/Generated/Galleries/FKFlickrGalleriesAddPhoto.m; sourceTree = ""; }; + F734FB067654294C596C07F73BCB34EC /* FKFlickrContactsGetTaggingSuggestions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrContactsGetTaggingSuggestions.m; path = Classes/Model/Generated/Contacts/FKFlickrContactsGetTaggingSuggestions.m; sourceTree = ""; }; + F75DA8E5F08D6B775170A06B6B579599 /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = Source/Error.swift; sourceTree = ""; }; + F77F97FF729C5F976BACC854AD38F5F6 /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = ""; }; + F82295F3F9FA3A341100D4ABB1A0D5C9 /* FKFlickrPeopleFindByEmail.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPeopleFindByEmail.h; path = Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h; sourceTree = ""; }; + F85294A7271E19B701C99C1242315778 /* FKFlickrPhotosSuggestionsRemoveSuggestion.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosSuggestionsRemoveSuggestion.h; path = Classes/Model/Generated/Photos/Suggestions/FKFlickrPhotosSuggestionsRemoveSuggestion.h; sourceTree = ""; }; + F99E6F8A196200E55BECE4AFF3FCA6A3 /* FKFlickrPrefsGetSafetyLevel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPrefsGetSafetyLevel.m; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.m; sourceTree = ""; }; + F9F5F64258EF3B0C94FAA82B82C6EAA9 /* FKFlickrPrefsGetSafetyLevel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPrefsGetSafetyLevel.h; path = Classes/Model/Generated/Prefs/FKFlickrPrefsGetSafetyLevel.h; sourceTree = ""; }; + F9FA6D33E6C02894AA05CDD9B028934C /* FKFlickrPhotosPeopleDelete.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosPeopleDelete.h; path = Classes/Model/Generated/Photos/People/FKFlickrPhotosPeopleDelete.h; sourceTree = ""; }; + FA7EE33A56E00102C9E4C1B26DF0FA6E /* FKFlickrCommonsGetInstitutions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrCommonsGetInstitutions.m; path = Classes/Model/Generated/Commons/FKFlickrCommonsGetInstitutions.m; sourceTree = ""; }; + FA8AFC0D4550A2EFEB8C1D2FF4D07559 /* FKFlickrPeopleFindByUsername.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPeopleFindByUsername.m; path = Classes/Model/Generated/People/FKFlickrPeopleFindByUsername.m; sourceTree = ""; }; + FADE15BF119F3A0EE61713B04F91F36F /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; + FAF61A524E1849C9D30386BB7B4C0650 /* FKImageUploadNetworkOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKImageUploadNetworkOperation.m; path = Classes/Network/FKImageUploadNetworkOperation.m; sourceTree = ""; }; + FC5479D0DBFE13A6FFFA47910643E017 /* FKFlickrUrlsGetUserPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrUrlsGetUserPhotos.h; path = Classes/Model/Generated/Urls/FKFlickrUrlsGetUserPhotos.h; sourceTree = ""; }; + FCAC6A8AE1D840218446AE3B39FBB36E /* FKFlickrPushSubscribe.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPushSubscribe.m; path = Classes/Model/Generated/Push/FKFlickrPushSubscribe.m; sourceTree = ""; }; + FCD361C4918D97DD98CEB1DCF315E784 /* FKFlickrStatsGetCollectionReferrers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrStatsGetCollectionReferrers.m; path = Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionReferrers.m; sourceTree = ""; }; + FD1AFC4C673D42ADCC4740AD0902B8FB /* SwiftyJSON.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwiftyJSON.swift; path = Source/SwiftyJSON.swift; sourceTree = ""; }; + FDA23400207406537272248101B63A57 /* FKFlickrPhotosetsGetPhotos.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FKFlickrPhotosetsGetPhotos.h; path = Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.h; sourceTree = ""; }; + FDA2ED8954A47FE9E318CFFA06C1D59E /* FKFlickrFavoritesAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrFavoritesAdd.m; path = Classes/Model/Generated/Favorites/FKFlickrFavoritesAdd.m; sourceTree = ""; }; + FE6A16C33AEB5BBB5AD110E674154D8C /* Pods-PrettyWeatherApp-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PrettyWeatherApp-dummy.m"; sourceTree = ""; }; + FFCB2A3EFC379EBE82E3B3B3F36B1E95 /* FKFlickrPhotosNotesDelete.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FKFlickrPhotosNotesDelete.m; path = Classes/Model/Generated/Photos/Notes/FKFlickrPhotosNotesDelete.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 09CB97B9DF5ECE094EC0DD5734B65993 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 80F3B513C14F08F5B56C7493DB037A8F /* CoreText.framework in Frameworks */, + 33D258335FE6C48DF00BA661BF3419A8 /* Foundation.framework in Frameworks */, + 3882B65E13288A6B30B35FF83157EFDD /* UIKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 78FB7CDA991A3AA88E9064C13FEA188B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B64D36FECF19106317B5C1FB87B50BF1 /* Accelerate.framework in Frameworks */, + 5B6DA82C9E692B732A492B0ABA1BC653 /* Foundation.framework in Frameworks */, + 382C3439518256CED0DED74CCA4BC696 /* QuartzCore.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7F478A15782C236143ACDB352E66BA1D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 98E25CA18D5299DA85FA66362C7E6E4A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B30526A798EB030A26A61C76DB4E8315 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D0236216C80348F08723519BD3067016 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D7CCB9135EC438F5FDF0300EC6DE71D9 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D2EFC5A6828BFF27BCB32917C4E721C1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 268B1B039722D7382FA5144DE935BBD3 /* CoreText.framework in Frameworks */, + 621E01ADF2677132354A870875BC0E63 /* Foundation.framework in Frameworks */, + 2BCE2643980FF77AED27FCCA578305E6 /* UIKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F02053924B9B403E3100B22BAAAF24AC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D71815E49A31C735C022866E738B3638 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F3BC4E69921A895AC14DE0F3A42116CD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 29E91326FE4416B5DAAA06912EB8AE8D /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F3E1255066E0252A3DB725CF992CDB8D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4DE8E10D7ADBDFD3D8C2FB10169CC6DB /* Foundation.framework in Frameworks */, + E38E4F6162E9940944DEF5E11962DBC9 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0AF4CDBAEA9897AAB322EB9E332C1C99 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + DF6475C83BFFC69DE2B5B7426FD9F3AB /* Pods-PrettyWeatherApp */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 0C5E83576EC0F99E73BA200F66244C35 /* Cartography */ = { + isa = PBXGroup; + children = ( + C5ED81A0BF6BFA12CBD1EE7E2FBD8913 /* Align.swift */, + 666263B4409DFF8D4CA61335B0BE6040 /* Coefficients.swift */, + B3BDA679E528E45E127B9A35C81F4D35 /* Compound.swift */, + 9EAC3CAA90E16640B9D39216C4760253 /* Constrain.swift */, + AAAE2288AD3563476489FE6990DE97D3 /* Constraint.swift */, + E26AAE20114DAF2B8E5AEB86998603B7 /* ConstraintGroup.swift */, + BFB4A9C22B4974645FD97B6525869C19 /* Context.swift */, + 782ACE4A12324DE88166BB166C938DC3 /* Dimension.swift */, + 985A71510FF743619C67C9D523D5F3F5 /* Distribute.swift */, + 712A72985101F1B37F55AFE3B808F920 /* Edge.swift */, + 0CE385B0E8AF01F0064EA4E6D3144AE9 /* Edges.swift */, + 14D786790FD20A01EE4568BD0327E70F /* Expression.swift */, + 1D41FF25CAB09250728E4E9E58BEB67F /* Extensions.swift */, + 10978F9E42BEC178F156E98A92228376 /* LayoutProxy.swift */, + A1AC8C08935E76EEC821872F7904EA6C /* Point.swift */, + 3CD97FC440AD312C04944BF34C0B3B90 /* Priority.swift */, + 159F30CAE69C93688882AB93AA49605E /* Property.swift */, + 5ABF3E79180996C3B7556568DBEA7EB1 /* Size.swift */, + 03E87EE2BB436337E7A7DB7D9C34E17B /* View.swift */, + 4B27793D17FA7756396C6273138D742C /* ViewUtils.swift */, + D56DC81496C2261A420C15BF5E55ED33 /* Support Files */, + ); + path = Cartography; + sourceTree = ""; + }; + 0F75DF6C7C5F002280EC53F48E80B587 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 4C415C54DFF6AAD71421677591477033 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + 0FDED8CAA5C9644513530BD3C7E43417 /* Products */ = { + isa = PBXGroup; + children = ( + E04213BA0D880DFB1645993ADEB003A2 /* Alamofire.framework */, + 5308DA7748030C5B860329428CBD8037 /* Cartography.framework */, + C30245170471B79F15F3159993A65863 /* FlickrKit.framework */, + CD4502A4C510F15686A14B438D01D0DD /* FXBlurView.framework */, + ADF73F9FF8099F2E67D6D796BAB7BD47 /* LatoFont.bundle */, + 232E85153BED28F7A4CE52B23A00715E /* LatoFont.framework */, + 82D4DAB727EA35BB1D7FB8733BC798E5 /* Pods_PrettyWeatherApp.framework */, + 21609C957151FE3CF146D2A954F25F1A /* SwiftyJSON.framework */, + BF00048E7BFFFA618A213D4CBE4E479C /* WeatherIconsKit.framework */, + ); + name = Products; + sourceTree = ""; + }; + 1F9D567A75DC3C5D39FDA3DF767888B6 /* FlickrKit */ = { + isa = PBXGroup; + children = ( + B2531E3F56BD31C6582A25B544E3244C /* FKAPIMethods.h */, + C5A02B433087D3F3E144494291BAAB8D /* FKDataTypes.h */, + 450F2217FCEA3A662B596A2023418158 /* FKDataTypes.m */, + 07FEB028CF8C6629CD95ED8088177385 /* FKDUBlocks.h */, + C965BB5F58B28C627EA2B2932783BCBF /* FKDUBlocks.m */, + AF6BDAB35CB7D0E2FACD59CBC39A7343 /* FKDUConcurrentOperation.h */, + B502C976AA3E861835CCA1D1A9A06F44 /* FKDUConcurrentOperation.m */, + 28084535FC1BAC99CCFDEEED1AA23FEC /* FKDUDefaultDiskCache.h */, + 7FE68E005B98EDD5740FB8BEED733141 /* FKDUDefaultDiskCache.m */, + E1E07960EE6BC58DC4118AE099A9D362 /* FKDUDiskCache.h */, + 5DB060D55935048C23848C06AD56CC55 /* FKDUNetworkController.h */, + B4675BF37D36EA63A1520CB70EC53883 /* FKDUNetworkController.m */, + A804F83CED284461632613E3683028E0 /* FKDUNetworkOperation.h */, + D08AB3FE4BBD0439C48046F8847A6665 /* FKDUNetworkOperation.m */, + 19D11EF7667046F3C922656BAE7D300D /* FKDUReachability.h */, + 03284C8ED956401C85E6BACC0D3E4DD3 /* FKDUReachability.m */, + 82C77C82F437D9F441F9E527CEDE1D30 /* FKDUStreamUtil.h */, + 5D9EC65C4809C6929867652489DF41AF /* FKDUStreamUtil.m */, + D3E3590BEF3BBC9437A86BCE44C9E373 /* FKFlickrActivityUserComments.h */, + 60E564190486CF6FBA43374A4806CB21 /* FKFlickrActivityUserComments.m */, + F2D795C9C22DDD4E744D4113E165EC6B /* FKFlickrActivityUserPhotos.h */, + A0900BDB0B5EF340E7FC93B0B5CEF462 /* FKFlickrActivityUserPhotos.m */, + BE89D6A8FD9B0DB8AB87EE2BEC6A5337 /* FKFlickrAPIMethod.h */, + B0A9779927B1890D8386E1C1396A0ACD /* FKFlickrAuthCheckToken.h */, + 14CC079745EB432F8F8E27D18BFEBDE9 /* FKFlickrAuthCheckToken.m */, + CCE9DDBFE5F5FDE027D27EC23AA146BC /* FKFlickrAuthGetFrob.h */, + 86A1CC36FCB8E823F82A50F2836B4BA2 /* FKFlickrAuthGetFrob.m */, + CCA0E3AB77FB0BEB0B90DD4EFB661ACD /* FKFlickrAuthGetFullToken.h */, + 492771FBF4FEDF4D301C2EE2C65192EC /* FKFlickrAuthGetFullToken.m */, + C458B8D0A1F817539D851C352B666FCC /* FKFlickrAuthGetToken.h */, + 99FB83608F406BAD6D43F7CDE841A043 /* FKFlickrAuthGetToken.m */, + 1A1FDDDFF87F5B6DD174A05D702279FD /* FKFlickrAuthOauthCheckToken.h */, + 304C6D12E1691B2A599575763E265F81 /* FKFlickrAuthOauthCheckToken.m */, + 17847EE6D0904F6E083302CCD21BB6B7 /* FKFlickrAuthOauthGetAccessToken.h */, + 19F6686443D06651C55D22F0A426E0F4 /* FKFlickrAuthOauthGetAccessToken.m */, + 431EA8FA2F2E4A26BC268EF1605B4036 /* FKFlickrBlogsGetList.h */, + 93F82E97F245CA1C6DE244EEC87F32DE /* FKFlickrBlogsGetList.m */, + 3934A9DBD5233514CFA900E5073D8BEF /* FKFlickrBlogsGetServices.h */, + BF054DEFADD5A08D513E813A0AF11693 /* FKFlickrBlogsGetServices.m */, + 3A0BE916FC588231BD0D7118D92604EE /* FKFlickrBlogsPostPhoto.h */, + 0F7ABAFCC7FF014DBE0336A6295FCFBC /* FKFlickrBlogsPostPhoto.m */, + E7DA2C4AD7D5D9891F0393426652BF7E /* FKFlickrCamerasGetBrandModels.h */, + 4BB3BEC022E42E8A7D8355DFA341C788 /* FKFlickrCamerasGetBrandModels.m */, + B197047201C91E0AFF98D18F0132E46D /* FKFlickrCamerasGetBrands.h */, + 918FA5A32CB33A2A4C4D6D7555E82425 /* FKFlickrCamerasGetBrands.m */, + 03F09AAD62C3F4407BFDCB7CDF4355A6 /* FKFlickrCollectionsGetInfo.h */, + 03A9A2EDD643E74659354D283EF74DD1 /* FKFlickrCollectionsGetInfo.m */, + 776087FA1F7781FB44FDACE9EC603B80 /* FKFlickrCollectionsGetTree.h */, + D30F8DC5344ECEE984F9AC515D6BA523 /* FKFlickrCollectionsGetTree.m */, + AA4B046673212383128507EE6849F606 /* FKFlickrCommonsGetInstitutions.h */, + FA7EE33A56E00102C9E4C1B26DF0FA6E /* FKFlickrCommonsGetInstitutions.m */, + BF0BB632206FDAC96814B5BE6F04C87C /* FKFlickrContactsGetList.h */, + 33282D85DF68733CC54E14FC1C914135 /* FKFlickrContactsGetList.m */, + E9AC3B07BF869FD0360EACAC63D57A0B /* FKFlickrContactsGetListRecentlyUploaded.h */, + 89CE643AF610705FC8DD26B1A43D76EB /* FKFlickrContactsGetListRecentlyUploaded.m */, + 98C012731A66905D5D3C1321D5891BBD /* FKFlickrContactsGetPublicList.h */, + 84CEE756D74EF113F6320CFB35BB5872 /* FKFlickrContactsGetPublicList.m */, + 06594F74A6373BDC1050C7D2FDD0CDDC /* FKFlickrContactsGetTaggingSuggestions.h */, + F734FB067654294C596C07F73BCB34EC /* FKFlickrContactsGetTaggingSuggestions.m */, + 96BBA14D59BEC60B7D594D78E80646A4 /* FKFlickrFavoritesAdd.h */, + FDA2ED8954A47FE9E318CFFA06C1D59E /* FKFlickrFavoritesAdd.m */, + 07CD152977E81630D01084C92A53EA1E /* FKFlickrFavoritesGetContext.h */, + 7CB72BD335C4E520283C03F67F7C113E /* FKFlickrFavoritesGetContext.m */, + 7AA4E6E9936FABDF005F83ADEF4BF8EB /* FKFlickrFavoritesGetList.h */, + 6E6F7D9B91396412DEB5ADEDC0A3D93C /* FKFlickrFavoritesGetList.m */, + 3AFD15B659995E81F1B71422E5A314CB /* FKFlickrFavoritesGetPublicList.h */, + 5952FCF83BCDAD5F555B091C98AFD0BD /* FKFlickrFavoritesGetPublicList.m */, + 28E0DB333BF0676A89072AA4421D9AB6 /* FKFlickrFavoritesRemove.h */, + 626A5BC25A3C5326100BB3D680D6EE0D /* FKFlickrFavoritesRemove.m */, + 45180C7AC91E78DC3AB31CDB0038C7FC /* FKFlickrGalleriesAddPhoto.h */, + F6EF907340A435D8543F0DFCE14C90C4 /* FKFlickrGalleriesAddPhoto.m */, + D52C3C2026F9DC6B51206B4D7421EB34 /* FKFlickrGalleriesCreate.h */, + 3EC77DAE646791D91C4BCBCBBF5C4B4F /* FKFlickrGalleriesCreate.m */, + 0B01F9A7CCB7A2EFF6D1ED93A4A7137B /* FKFlickrGalleriesEditMeta.h */, + 5D28BFBDC939B90D0C41E31C304FFAAA /* FKFlickrGalleriesEditMeta.m */, + D6DA05F0A2CEF1748E0D786E2ACA6E17 /* FKFlickrGalleriesEditPhoto.h */, + 89CDDD9AF48B07FB4C4EBD311569CF67 /* FKFlickrGalleriesEditPhoto.m */, + F0E5BADBBB993E86C626996EFC8DF48D /* FKFlickrGalleriesEditPhotos.h */, + 8C7B33A0BB2259208F77204A78CBEA26 /* FKFlickrGalleriesEditPhotos.m */, + 92D966CFAF3EC9200E07B778B095A56A /* FKFlickrGalleriesGetInfo.h */, + 31F3637A4BC76CBA971D28871164E8B1 /* FKFlickrGalleriesGetInfo.m */, + EF1F900CF520E2905DED3898977EF809 /* FKFlickrGalleriesGetList.h */, + 68194AAC757BD6C017F2F6900AC412BB /* FKFlickrGalleriesGetList.m */, + 03B64114929CCC07CFB12EC5371EACA0 /* FKFlickrGalleriesGetListForPhoto.h */, + E0FCDB76F8B996B2688BBF28081A7D4B /* FKFlickrGalleriesGetListForPhoto.m */, + 602187B65DDAC0B8824A7B7C1CC20AAF /* FKFlickrGalleriesGetPhotos.h */, + 0B2FC87685B6221008E2CA57A17C185E /* FKFlickrGalleriesGetPhotos.m */, + BB0635CE4783D68996EEFC2756E527ED /* FKFlickrGroupsBrowse.h */, + B23E24A97B161FCE53306E15F1908700 /* FKFlickrGroupsBrowse.m */, + 7E84A855D85822C81DB3320625C58844 /* FKFlickrGroupsDiscussRepliesAdd.h */, + 290830A9B8FFD3E19F4008EA7324B1A1 /* FKFlickrGroupsDiscussRepliesAdd.m */, + 6359EB4D1DD4319636746234463FC2E3 /* FKFlickrGroupsDiscussRepliesDelete.h */, + 6234F909A80D2887892EC692958F9E0C /* FKFlickrGroupsDiscussRepliesDelete.m */, + F525FE4D8C561329716229EB6E24F576 /* FKFlickrGroupsDiscussRepliesEdit.h */, + A8A4255D7CE808A5AC6D4DA065505A0D /* FKFlickrGroupsDiscussRepliesEdit.m */, + 4FFD127BAAB7D8989FBD4D370887AEF3 /* FKFlickrGroupsDiscussRepliesGetInfo.h */, + 68C119658C7068A0AC1CC2B0FF982A95 /* FKFlickrGroupsDiscussRepliesGetInfo.m */, + F31DF1EA4E3D2484FE44FAB6E46DFCCE /* FKFlickrGroupsDiscussRepliesGetList.h */, + 9DFDA989A21DB14ED3F55C6A724B6A9A /* FKFlickrGroupsDiscussRepliesGetList.m */, + 63CEBF53CC61D68EC6249C4BC4F593DD /* FKFlickrGroupsDiscussTopicsAdd.h */, + 964887BC9E9B726000BCA291FA2DCEFE /* FKFlickrGroupsDiscussTopicsAdd.m */, + BEC3BDB17E788AE0E398EDA556EE57E7 /* FKFlickrGroupsDiscussTopicsGetInfo.h */, + F1129E301CA5B9EEB66BFB546FC87584 /* FKFlickrGroupsDiscussTopicsGetInfo.m */, + 8731D93F710B98D8D36B449E15D05FD1 /* FKFlickrGroupsDiscussTopicsGetList.h */, + 1FBDA55152D8E5ABB7A83071FB132EAE /* FKFlickrGroupsDiscussTopicsGetList.m */, + D87BEC115F266E1D8A3ACE252BB6E982 /* FKFlickrGroupsGetInfo.h */, + 95D0CAF70F9C458AEB809F7E34939C83 /* FKFlickrGroupsGetInfo.m */, + 3073A41FEAD621A08BF0F546A282A8B9 /* FKFlickrGroupsJoin.h */, + 863B5880A876CC44CCC66FFDC3FA768B /* FKFlickrGroupsJoin.m */, + 9C0DDB53FF6992E04AE5F67474AB2A95 /* FKFlickrGroupsJoinRequest.h */, + F5C476C50297F51FC464E3C366B32C20 /* FKFlickrGroupsJoinRequest.m */, + 8F62A041F89DB33093EEF868F84419C8 /* FKFlickrGroupsLeave.h */, + B66F713A823902FBF316FF0795753B60 /* FKFlickrGroupsLeave.m */, + 9A4718634F2BA24384749B0526A64488 /* FKFlickrGroupsMembersGetList.h */, + 2ED37D0FF7BE84CA2DE093A4E76DDBBF /* FKFlickrGroupsMembersGetList.m */, + 563D02DA9C7132D58747773EAADA850B /* FKFlickrGroupsPoolsAdd.h */, + 14AFE3A631BC3DF2C2BB2CA15C161AE0 /* FKFlickrGroupsPoolsAdd.m */, + 7885E112C0C688BF15F61946D7E327D5 /* FKFlickrGroupsPoolsGetContext.h */, + 785BA07273DA9561C311CA593D415A8E /* FKFlickrGroupsPoolsGetContext.m */, + D414FD9E3913CD4740A9718985B4360B /* FKFlickrGroupsPoolsGetGroups.h */, + B7B83A5DA6F3382AF5EBB53E97B0DBB3 /* FKFlickrGroupsPoolsGetGroups.m */, + 3E9FC0D00069780981F1FA9A64BA1BCE /* FKFlickrGroupsPoolsGetPhotos.h */, + 7140446DB7C3BFE0F52E8D0521D626C7 /* FKFlickrGroupsPoolsGetPhotos.m */, + EED3B711BFD86DB88DEBA87A74E078FF /* FKFlickrGroupsPoolsRemove.h */, + 6058879C7892A1FC3160758DBD5A2146 /* FKFlickrGroupsPoolsRemove.m */, + 91A0F9301D63B2C4A66F1C0FD0C6DFE2 /* FKFlickrGroupsSearch.h */, + 7CDC2BA58EC426419EA70F5753B633AD /* FKFlickrGroupsSearch.m */, + 391436F92D8A072209CFB536B31E057B /* FKFlickrInterestingnessGetList.h */, + D348C9C99F346ADB495F269818DC7F17 /* FKFlickrInterestingnessGetList.m */, + 631795E9047CB26DCDD7095842A8594F /* FKFlickrMachinetagsGetNamespaces.h */, + 7DD1C259E661091FEA6FF5200E693D1F /* FKFlickrMachinetagsGetNamespaces.m */, + 67CC84A6A1855C54449FDAC29E44BD10 /* FKFlickrMachinetagsGetPairs.h */, + 5A37A38A9A8232220F0BABFF80ED7D0E /* FKFlickrMachinetagsGetPairs.m */, + 52E92D18A9FDA963AE3B0B421BBDDC62 /* FKFlickrMachinetagsGetPredicates.h */, + F6D16F2F176308FCC215029922D56F55 /* FKFlickrMachinetagsGetPredicates.m */, + AD1DA9F7A665ECD2A9A89625C7369D38 /* FKFlickrMachinetagsGetRecentValues.h */, + E04EC03EA367E1B39AD0391037753E13 /* FKFlickrMachinetagsGetRecentValues.m */, + F0320CA45EE61F41C568D6339B226C21 /* FKFlickrMachinetagsGetValues.h */, + 44A14F32CD0595FE74F2B4564E18434F /* FKFlickrMachinetagsGetValues.m */, + 92811C72F76E7106A0CBFE42E5C86A80 /* FKFlickrNetworkOperation.h */, + 7ED4A107BD8CAFF7EF8883B1F78220D7 /* FKFlickrNetworkOperation.m */, + 1A9E008810CCAC5FCDA4C066F048E0A7 /* FKFlickrPandaGetList.h */, + CC8B217C4109B21A4CAFF3F1310180C8 /* FKFlickrPandaGetList.m */, + 63A1A5333615001757A8C762413468C8 /* FKFlickrPandaGetPhotos.h */, + 763820ABE4586300BF21DA004A9C53EE /* FKFlickrPandaGetPhotos.m */, + F82295F3F9FA3A341100D4ABB1A0D5C9 /* FKFlickrPeopleFindByEmail.h */, + 1F893B7D3F6AFCA7487F67771245B574 /* FKFlickrPeopleFindByEmail.m */, + 8258940870E0D14F9ABC444628AC4CC7 /* FKFlickrPeopleFindByUsername.h */, + FA8AFC0D4550A2EFEB8C1D2FF4D07559 /* FKFlickrPeopleFindByUsername.m */, + B359F4CB2D561A86339E0EE7A46C0CB7 /* FKFlickrPeopleGetGroups.h */, + 76862C93D46C8EF6FE93F689C39D74ED /* FKFlickrPeopleGetGroups.m */, + B7C531A61291D547F6B0A965EF9FE848 /* FKFlickrPeopleGetInfo.h */, + 8C572437504CC39901C839EF58DFF141 /* FKFlickrPeopleGetInfo.m */, + B468C1250BC9BA413A0B41DB6B25A2F3 /* FKFlickrPeopleGetLimits.h */, + F03E33B44EA0D6F33B591EDFCB7C22D1 /* FKFlickrPeopleGetLimits.m */, + EBC79A4EE589EC14F6BC8EF070E9B849 /* FKFlickrPeopleGetPhotos.h */, + 48B2BE8DEA8AA16E77858B3A0A012421 /* FKFlickrPeopleGetPhotos.m */, + 253DF665F6E5468BCFAC0417B0C81271 /* FKFlickrPeopleGetPhotosOf.h */, + C5D6B6E79A3A3B12E80ED606E28881A2 /* FKFlickrPeopleGetPhotosOf.m */, + 5E352E390398CCDFA19E0FB0FDB84CBD /* FKFlickrPeopleGetPublicGroups.h */, + 27EF459107FDFC0E75767CBD2E6E275B /* FKFlickrPeopleGetPublicGroups.m */, + A1EA28A027AC5F5701E30286A2DA1B6E /* FKFlickrPeopleGetPublicPhotos.h */, + 694B3B13D02B01DE13EC7F3417A8CAFF /* FKFlickrPeopleGetPublicPhotos.m */, + 80AC789BB9DC3DF6EDF14D9F6B97FC3E /* FKFlickrPeopleGetUploadStatus.h */, + E4A471785339925C773448BBF0B823A4 /* FKFlickrPeopleGetUploadStatus.m */, + 42CA3ED85CD4448F0AD89573A864ED86 /* FKFlickrPhotosAddTags.h */, + 666049A7A812A831541A166631FB2501 /* FKFlickrPhotosAddTags.m */, + 214306AF0BF4EF4A6D26F8D6A626A7FF /* FKFlickrPhotosCommentsAddComment.h */, + 73CB7829CB557EFDEC2B5DFFC10EC5FA /* FKFlickrPhotosCommentsAddComment.m */, + A37A8B54D2B704FE16A1F8A5D4370D0A /* FKFlickrPhotosCommentsDeleteComment.h */, + E12D61747C44DC49A5D92192DE651737 /* FKFlickrPhotosCommentsDeleteComment.m */, + 436E0A6ED24D6FCEC88118FE6F56028D /* FKFlickrPhotosCommentsEditComment.h */, + 1AAC241A5C4068FD0303E670D4B6EDF1 /* FKFlickrPhotosCommentsEditComment.m */, + AA767E791CE77E84C738FBF310D5C2E9 /* FKFlickrPhotosCommentsGetList.h */, + 026AC9B6CB0CEFAFCEAEBAC72F8FBB0C /* FKFlickrPhotosCommentsGetList.m */, + DA41AFDB994945F5B4C213D2E42C66DD /* FKFlickrPhotosCommentsGetRecentForContacts.h */, + 0B3D1FE30857B48B530E768DA927DE75 /* FKFlickrPhotosCommentsGetRecentForContacts.m */, + B28E0A1BB17CF104159456D2DBF1EDC3 /* FKFlickrPhotosDelete.h */, + 1B6B23FD6B8F707F01F980C07D8870BE /* FKFlickrPhotosDelete.m */, + 82691779EBE7B999C62B811015422187 /* FKFlickrPhotosetsAddPhoto.h */, + 1EC1BB5263B2E7D43610DA948A4F429A /* FKFlickrPhotosetsAddPhoto.m */, + C824F88E7CD15FF8F98C443D06E8CEEE /* FKFlickrPhotosetsCommentsAddComment.h */, + F5A8B9DAAC2C34C99E0401FA8331B605 /* FKFlickrPhotosetsCommentsAddComment.m */, + C1CC3FFFA3B0606E0D6380E44CF45659 /* FKFlickrPhotosetsCommentsDeleteComment.h */, + CBBA243C3B01356B4E20D9AC24E90577 /* FKFlickrPhotosetsCommentsDeleteComment.m */, + 823F682FF480DCDFB63EB4FE5F6B0077 /* FKFlickrPhotosetsCommentsEditComment.h */, + D443E181F5B796179085FC9DC2286BA2 /* FKFlickrPhotosetsCommentsEditComment.m */, + 153DFB1AA20DE9BCEA9F7CFD160178F8 /* FKFlickrPhotosetsCommentsGetList.h */, + BF5F520AD42390A8BCBDE900E0BCCDDF /* FKFlickrPhotosetsCommentsGetList.m */, + 2ED0656FF94113C653378EB292FEF3D0 /* FKFlickrPhotosetsCreate.h */, + A7EE27306F5F3A25D45847C49524497D /* FKFlickrPhotosetsCreate.m */, + 315DCD93D09CB82D24B8D4816FC5A398 /* FKFlickrPhotosetsDelete.h */, + C51B17FD53C9E56C511B82C623FD8422 /* FKFlickrPhotosetsDelete.m */, + C21F72F664CB34DCC3F0E78DF0F3FA8F /* FKFlickrPhotosetsEditMeta.h */, + 474C1978F714F3D26FA111D88D15E831 /* FKFlickrPhotosetsEditMeta.m */, + 5D198A5B967809ADCCF4C2B418510A07 /* FKFlickrPhotosetsEditPhotos.h */, + C9DC03F50E3D2EF2F98466AC43541E65 /* FKFlickrPhotosetsEditPhotos.m */, + 89B655462E09AF5355B45870D5879E11 /* FKFlickrPhotosetsGetContext.h */, + 059A03947ECE6DDF87770898065434CB /* FKFlickrPhotosetsGetContext.m */, + 2033ECC33DD48734ADBA621CCFDBF89F /* FKFlickrPhotosetsGetInfo.h */, + 408BFC2623640876BE29B6FCB885254E /* FKFlickrPhotosetsGetInfo.m */, + CB396A3901524CD1DC196E9AB08D258A /* FKFlickrPhotosetsGetList.h */, + 4AC483268D40BC80EDD179F7559FB918 /* FKFlickrPhotosetsGetList.m */, + FDA23400207406537272248101B63A57 /* FKFlickrPhotosetsGetPhotos.h */, + F48E8B1424104192882DC37C6595DADB /* FKFlickrPhotosetsGetPhotos.m */, + A3D401871A8428F35894D81DAF577EA9 /* FKFlickrPhotosetsOrderSets.h */, + 76EED4357222667CCBACEEA99A50E9A2 /* FKFlickrPhotosetsOrderSets.m */, + C2B2171A67CDC1777C029B381C491BC7 /* FKFlickrPhotosetsRemovePhoto.h */, + 30AB9814B44F36E9A0D43933DAEA1729 /* FKFlickrPhotosetsRemovePhoto.m */, + 20170740BC1EB4AE2769EE7F06335998 /* FKFlickrPhotosetsRemovePhotos.h */, + E89F7244E2A50BBB10DDC88AD1EA663E /* FKFlickrPhotosetsRemovePhotos.m */, + 8DB465D3D790046D9EE93571EC5CBB3F /* FKFlickrPhotosetsReorderPhotos.h */, + E6BDF28E3BC1B1FCCCE1E0AF94804277 /* FKFlickrPhotosetsReorderPhotos.m */, + 8B7D373F693178E8FE064A426E8E08D5 /* FKFlickrPhotosetsSetPrimaryPhoto.h */, + 5914008AA0EE9DB085D8669AAE24D550 /* FKFlickrPhotosetsSetPrimaryPhoto.m */, + E12FE781F9151D13B71748BF78D0EFA3 /* FKFlickrPhotosGeoBatchCorrectLocation.h */, + F36B73B4E8957729F1761FF02883B87E /* FKFlickrPhotosGeoBatchCorrectLocation.m */, + CECE4CCA4A8B44AF568E6D0F1A57284A /* FKFlickrPhotosGeoCorrectLocation.h */, + 7A319C1DF26F31B0D273F9C5A8E42948 /* FKFlickrPhotosGeoCorrectLocation.m */, + E5FE3336731DEECAACDBCF6CF1670415 /* FKFlickrPhotosGeoGetLocation.h */, + 4BA7E35306E55D2F09D63C08D9DB53EB /* FKFlickrPhotosGeoGetLocation.m */, + F325B25F47BD1E393D93D7631CEB3D98 /* FKFlickrPhotosGeoGetPerms.h */, + 87E50890B8982309717892F248A10E72 /* FKFlickrPhotosGeoGetPerms.m */, + 8B1C6F2F387C1F374B6BF3FD6B001739 /* FKFlickrPhotosGeoPhotosForLocation.h */, + 9384921ED3B19CD4374B11EAD29186B7 /* FKFlickrPhotosGeoPhotosForLocation.m */, + 58B1F7CB794F8B299565381596E21058 /* FKFlickrPhotosGeoRemoveLocation.h */, + 72BACCDA774D8100A8198413E1465894 /* FKFlickrPhotosGeoRemoveLocation.m */, + 8F3ED01DFF9AFC11415D7906A6157DEC /* FKFlickrPhotosGeoSetContext.h */, + 8D21CC09782D67CE090850CF2E01DEC2 /* FKFlickrPhotosGeoSetContext.m */, + EAC1128B943A86A3420BF811EC2264A0 /* FKFlickrPhotosGeoSetLocation.h */, + 93EF485C05D61D72629ECAE2736D94A8 /* FKFlickrPhotosGeoSetLocation.m */, + 3B783E13DE2626C665656C4360204863 /* FKFlickrPhotosGeoSetPerms.h */, + E6997B2151DA6A6E00E26EBE52A7348C /* FKFlickrPhotosGeoSetPerms.m */, + ADF41BC7723B783991A0563E25309EFC /* FKFlickrPhotosGetAllContexts.h */, + 593F41BAFD36AAC5DBDBAE4E12A650C0 /* FKFlickrPhotosGetAllContexts.m */, + F11EA85C9DC17E70CD39B93F67E1DAAE /* FKFlickrPhotosGetContactsPhotos.h */, + 9CE00C0ACDC89535EF5C551470196380 /* FKFlickrPhotosGetContactsPhotos.m */, + 19DBF6C7F36C039F4B4F558EF8872EBC /* FKFlickrPhotosGetContactsPublicPhotos.h */, + 0F70BFCCD5E34818CE3F212A464CCBBB /* FKFlickrPhotosGetContactsPublicPhotos.m */, + BCBEC71CBC5ECA4931C70D7769BCB94C /* FKFlickrPhotosGetContext.h */, + CC9AE20D2B4C94D664BFDAF4AF807E12 /* FKFlickrPhotosGetContext.m */, + D57F6E10B72B104FA1C1B8A81BC6F89F /* FKFlickrPhotosGetCounts.h */, + 7AE668582F26187E3BB1E6F22BCF7905 /* FKFlickrPhotosGetCounts.m */, + DE7056F3A10AFB1231D9451CE71A30CE /* FKFlickrPhotosGetExif.h */, + 66BBB29E3677C0FD3D73C70663D200DD /* FKFlickrPhotosGetExif.m */, + 82F06B77D70BBA78AC235011A9592568 /* FKFlickrPhotosGetFavorites.h */, + 1542EA547446B54BBF950FD1EFB7CFB9 /* FKFlickrPhotosGetFavorites.m */, + A4C4671AE548EB6B1AE6C9352C384A27 /* FKFlickrPhotosGetInfo.h */, + EF82E4261B89A59F9E17B6E2A2D5D4CE /* FKFlickrPhotosGetInfo.m */, + 4D0B399D8A58169C60036C380D5323E0 /* FKFlickrPhotosGetNotInSet.h */, + F02795AB03A214F582A9F50A9F202D90 /* FKFlickrPhotosGetNotInSet.m */, + 362E622003C3A6D526E7D40E8559EA07 /* FKFlickrPhotosGetPerms.h */, + 41C24667C110FF544CA53D75483DBC4C /* FKFlickrPhotosGetPerms.m */, + 9526ADEEB58340702B61EEE55D57B87D /* FKFlickrPhotosGetRecent.h */, + EACF455B14751A432E254092747E4750 /* FKFlickrPhotosGetRecent.m */, + 9FE775A64B731F6B7389719E89F27ECE /* FKFlickrPhotosGetSizes.h */, + A00990D506410E3372A4B322AB5E2887 /* FKFlickrPhotosGetSizes.m */, + B2E1CBD0CB4972A93C86A3E758D66E2E /* FKFlickrPhotosGetUntagged.h */, + 370B125A9082DEBA6C22D0F12383F2A7 /* FKFlickrPhotosGetUntagged.m */, + 0D9D03FB140B2535C35B3CE33D7D8B67 /* FKFlickrPhotosGetWithGeoData.h */, + 4BF30D257B043C8A2055F2F79BA2A7B1 /* FKFlickrPhotosGetWithGeoData.m */, + 674CEBBE0A00B58ACC38114AD0797937 /* FKFlickrPhotosGetWithoutGeoData.h */, + E59B896154B0A4B3C77B63D8573C4D92 /* FKFlickrPhotosGetWithoutGeoData.m */, + EDB6D8A4EF504DAE09045E46099115D6 /* FKFlickrPhotosLicensesGetInfo.h */, + 7989360C396A744DA7AE8A0332029BE7 /* FKFlickrPhotosLicensesGetInfo.m */, + 07F53D17975BE9C8B5E0ACC929890E30 /* FKFlickrPhotosLicensesSetLicense.h */, + 3A19BD8D3B0F9CDAE9B1CCB4FBC782A2 /* FKFlickrPhotosLicensesSetLicense.m */, + 2000348275027F4E9538BABAC9760E61 /* FKFlickrPhotosNotesAdd.h */, + 202B17D969055513FA16B3E03D54CF7D /* FKFlickrPhotosNotesAdd.m */, + 22B5E046D8E7B4F434E0B5B65F58F6F3 /* FKFlickrPhotosNotesDelete.h */, + FFCB2A3EFC379EBE82E3B3B3F36B1E95 /* FKFlickrPhotosNotesDelete.m */, + F15A2E56EE047648B24C3B41CDA0C3F5 /* FKFlickrPhotosNotesEdit.h */, + 2C91DCAB8E263B386BCF92F28D6CD23A /* FKFlickrPhotosNotesEdit.m */, + 42D585DA3E77BC6FCB58F2F5F17060FF /* FKFlickrPhotosPeopleAdd.h */, + 42AF63C3B7C628F64A95313940903899 /* FKFlickrPhotosPeopleAdd.m */, + F9FA6D33E6C02894AA05CDD9B028934C /* FKFlickrPhotosPeopleDelete.h */, + 5AFFFB64BD132E3AC63D003B2DA17535 /* FKFlickrPhotosPeopleDelete.m */, + 5FC43A518840DCDA53CC91DFD0393EA1 /* FKFlickrPhotosPeopleDeleteCoords.h */, + 79259156399BD9A6743EA3EB1505338E /* FKFlickrPhotosPeopleDeleteCoords.m */, + CF652C491F3DC6626759C3EE41E89BFA /* FKFlickrPhotosPeopleEditCoords.h */, + 47A826730353310971F454D192DF10BE /* FKFlickrPhotosPeopleEditCoords.m */, + 6A97C8B179E3BFEEE877F6797B7FB710 /* FKFlickrPhotosPeopleGetList.h */, + 50033626DA90C25735BC874946215BEE /* FKFlickrPhotosPeopleGetList.m */, + 9ED5B5462DB4E2B61B347842E94AD60D /* FKFlickrPhotosRecentlyUpdated.h */, + A4BCA23F10041DF44CD6B2C7F3A11B47 /* FKFlickrPhotosRecentlyUpdated.m */, + 21DB27C3BFFF9D525292F9540524E463 /* FKFlickrPhotosRemoveTag.h */, + E7F66671EEB7BC7983C67F6FA12D1274 /* FKFlickrPhotosRemoveTag.m */, + 26D0D9FB6E1585712ED5C33944E27CAC /* FKFlickrPhotosSearch.h */, + 9DE64CC109C4E7069F9DBC5AA2682E22 /* FKFlickrPhotosSearch.m */, + 3A58D57C65109FF35BF54610C2B3BDB2 /* FKFlickrPhotosSetContentType.h */, + F3AA29F870FB96FC4A1BA29FF13ADE7C /* FKFlickrPhotosSetContentType.m */, + 38C87457EE9AF72A004D02F727F29EB7 /* FKFlickrPhotosSetDates.h */, + 67C6E44395123CCB5EBBF0739E1A4BDB /* FKFlickrPhotosSetDates.m */, + 490F6DE757D4BA09619B94CAC93F847E /* FKFlickrPhotosSetMeta.h */, + B46A98E6B297F10A4A678AE5451AF4E9 /* FKFlickrPhotosSetMeta.m */, + 99C98FFEAAC549869832AF287A0188DE /* FKFlickrPhotosSetPerms.h */, + 9F9DC02FF69C76CB5B760460FA497FCC /* FKFlickrPhotosSetPerms.m */, + 6A162C7C58EEBE26C67737BA14CC71F6 /* FKFlickrPhotosSetSafetyLevel.h */, + 7ADC968DD1BC47BF11DA81C113F30638 /* FKFlickrPhotosSetSafetyLevel.m */, + F0D2A9C3FD6EB803F1AC8428761EA7E5 /* FKFlickrPhotosSetTags.h */, + 930EB23B2A36D8A1FB9D6BDC11C8B566 /* FKFlickrPhotosSetTags.m */, + 369F555A63D2AFA07F0A594215E016EF /* FKFlickrPhotosSuggestionsApproveSuggestion.h */, + DA45767DED265E1C2411E24665E4EB81 /* FKFlickrPhotosSuggestionsApproveSuggestion.m */, + 4DD9724D2EFDF848146C93E152EBF131 /* FKFlickrPhotosSuggestionsGetList.h */, + 188D74D164DAFD6BF2D2FEB3F694631F /* FKFlickrPhotosSuggestionsGetList.m */, + 7DFDFCBE358049E29D03236C42E76784 /* FKFlickrPhotosSuggestionsRejectSuggestion.h */, + 01226FF2FB91EEF4383B319D93317C40 /* FKFlickrPhotosSuggestionsRejectSuggestion.m */, + F85294A7271E19B701C99C1242315778 /* FKFlickrPhotosSuggestionsRemoveSuggestion.h */, + 85893394C7131F7653E743766F3FA650 /* FKFlickrPhotosSuggestionsRemoveSuggestion.m */, + D3B16253D5F6982A0E01F526C41BA0A4 /* FKFlickrPhotosSuggestionsSuggestLocation.h */, + 476F75CEC388A1002C9CE10688E73D53 /* FKFlickrPhotosSuggestionsSuggestLocation.m */, + 4A0F0C46D58011421011C5E177386DC3 /* FKFlickrPhotosTransformRotate.h */, + 5184ADF41569F7E0D562EFBD3D36E25E /* FKFlickrPhotosTransformRotate.m */, + F3C66B5B5503E86424DAE254AED24D5E /* FKFlickrPhotosUploadCheckTickets.h */, + 8E3E2C5CCCA90A3BCEEBF549F3D9CC3C /* FKFlickrPhotosUploadCheckTickets.m */, + B60950D1AC2518C50C4F5C59F109F402 /* FKFlickrPlacesFind.h */, + 6A11BC08D701F2889FB7B4555733E543 /* FKFlickrPlacesFind.m */, + 95FBE1AF7F0E3AB81599D111E4FE62F3 /* FKFlickrPlacesFindByLatLon.h */, + 365C70ECF7057B4A7DB5872B75B52316 /* FKFlickrPlacesFindByLatLon.m */, + 0FE12EDE0EC8BF967E8F929AB2653688 /* FKFlickrPlacesGetChildrenWithPhotosPublic.h */, + 006F4D96452E14EDB8223260D5C7C0F5 /* FKFlickrPlacesGetChildrenWithPhotosPublic.m */, + 96201AD4AB0A3327FB5D44FAD2628A7C /* FKFlickrPlacesGetInfo.h */, + 385DDAA74AC8924F188F0868F71C7315 /* FKFlickrPlacesGetInfo.m */, + B4958D27AA9BD133497A221A6E0CAF36 /* FKFlickrPlacesGetInfoByUrl.h */, + 81816DA5C61CEE524DD7555F424F6E38 /* FKFlickrPlacesGetInfoByUrl.m */, + 558121C1A2EB10DFBE4038880C9F33EE /* FKFlickrPlacesGetPlaceTypes.h */, + 34A3E47EDAA9FAFDF705FBF87F824012 /* FKFlickrPlacesGetPlaceTypes.m */, + 65EDEB0D7AAED74959827BE8E5730DC2 /* FKFlickrPlacesGetShapeHistory.h */, + 174D90DC784E817E891E864B731C7838 /* FKFlickrPlacesGetShapeHistory.m */, + 7D36BC3A55EE0ACB814E5CEEA6F23773 /* FKFlickrPlacesGetTopPlacesList.h */, + 3B62042555AF9FF873F3A9544437B075 /* FKFlickrPlacesGetTopPlacesList.m */, + 970361968F92991B924DFDD6BC79F953 /* FKFlickrPlacesPlacesForBoundingBox.h */, + 2A813E8BC823C3FC37F150F4647586B7 /* FKFlickrPlacesPlacesForBoundingBox.m */, + B92FDF8FA4EE82BA60430052400068DB /* FKFlickrPlacesPlacesForContacts.h */, + 314C33D1D4F1C9A0AE25169193657963 /* FKFlickrPlacesPlacesForContacts.m */, + 39BDE9EF894609CC676DCF89F839FAFA /* FKFlickrPlacesPlacesForTags.h */, + ED7F339A5A3B95646D3ED679144C72AA /* FKFlickrPlacesPlacesForTags.m */, + 994D44ADCFC2183025F81F5EB2B624BB /* FKFlickrPlacesPlacesForUser.h */, + 41CA6AEE4D0F9DDA7F034E5B5BA2922A /* FKFlickrPlacesPlacesForUser.m */, + 51C1755E89F50FEC50824B844243CE45 /* FKFlickrPlacesResolvePlaceId.h */, + 618F60099EAFEECD87B1D53B4EBFDAF1 /* FKFlickrPlacesResolvePlaceId.m */, + C9557103FDD583BF55C24650A3F7F2E5 /* FKFlickrPlacesResolvePlaceURL.h */, + DC0704625F2800BFEDB077849A477CFD /* FKFlickrPlacesResolvePlaceURL.m */, + E24D095FE8DA80ED856C7E5DDFCC1055 /* FKFlickrPlacesTagsForPlace.h */, + DFB4ACEA516E82D87384AEA9F9272CD7 /* FKFlickrPlacesTagsForPlace.m */, + F4789460A788D482325957E5EFD65B99 /* FKFlickrPrefsGetContentType.h */, + F62AEC73A6F662A5F7AEC41F88DF488A /* FKFlickrPrefsGetContentType.m */, + 16AD0D1E13BB3FC82AF667A98176566E /* FKFlickrPrefsGetGeoPerms.h */, + 0C2AF05D9DB39C64A0394F9D6395A767 /* FKFlickrPrefsGetGeoPerms.m */, + 141A8C26945F69AA3861EF145413A619 /* FKFlickrPrefsGetHidden.h */, + A307F40E67D0B15A8CED6073764BE37F /* FKFlickrPrefsGetHidden.m */, + 60C1FE0689B0A32EA140E7D071DC657A /* FKFlickrPrefsGetPrivacy.h */, + 2E93D12E3FDA99CD92A6D4D6868088A8 /* FKFlickrPrefsGetPrivacy.m */, + F9F5F64258EF3B0C94FAA82B82C6EAA9 /* FKFlickrPrefsGetSafetyLevel.h */, + F99E6F8A196200E55BECE4AFF3FCA6A3 /* FKFlickrPrefsGetSafetyLevel.m */, + 7B423DA1790902A740A51B4D7C94E0C9 /* FKFlickrPushGetSubscriptions.h */, + EB7F1CBA9BF2CD21578B3F5B9E27EFCE /* FKFlickrPushGetSubscriptions.m */, + 3062A9AD7C73C60217A5279B41271B89 /* FKFlickrPushGetTopics.h */, + 8A25693EFBC5C87A2C408403355A0024 /* FKFlickrPushGetTopics.m */, + E99B8F6303554B1E6B6ACBDFBF84392F /* FKFlickrPushSubscribe.h */, + FCAC6A8AE1D840218446AE3B39FBB36E /* FKFlickrPushSubscribe.m */, + 45E008A4A92EDF965DB762C9D3001FA2 /* FKFlickrPushUnsubscribe.h */, + 3CD594C1B5F83D040CB3972597639EC9 /* FKFlickrPushUnsubscribe.m */, + 9A4769AB8C6B52DA5DD7276B1CFAAC67 /* FKFlickrReflectionGetMethodInfo.h */, + AAD93E6803D2CA2923082DDB64844D27 /* FKFlickrReflectionGetMethodInfo.m */, + 2AAF97D654772DC838CDEF15EE225145 /* FKFlickrReflectionGetMethods.h */, + 3A980DAF32619112BC8C6480BE3CD2C0 /* FKFlickrReflectionGetMethods.m */, + 8361B64B30EF854066D094FFF06D38CF /* FKFlickrStatsGetCollectionDomains.h */, + 9A8F2637B1C6928ED8C89382358071DC /* FKFlickrStatsGetCollectionDomains.m */, + 04D2DF6DB585824828B89BBF8A1867B5 /* FKFlickrStatsGetCollectionReferrers.h */, + FCD361C4918D97DD98CEB1DCF315E784 /* FKFlickrStatsGetCollectionReferrers.m */, + 1A177E291C95915CC19B0B4222EBC47A /* FKFlickrStatsGetCollectionStats.h */, + 224FEFEDE693A99E32B32A86CB8B7CFC /* FKFlickrStatsGetCollectionStats.m */, + 4A0B906A2B3F22A519B9B4228277EC9A /* FKFlickrStatsGetCSVFiles.h */, + 3647C8EE34B425818D8667A8EE7EF5A6 /* FKFlickrStatsGetCSVFiles.m */, + EFDF363D7001B0772C09DF298FD7EFFB /* FKFlickrStatsGetPhotoDomains.h */, + 01B779D3345B294572E27F2F1E039FB5 /* FKFlickrStatsGetPhotoDomains.m */, + 1DEB331914523E03B95144233AF2EC6A /* FKFlickrStatsGetPhotoReferrers.h */, + 97E53377DC5D263998EC01A4F87236C6 /* FKFlickrStatsGetPhotoReferrers.m */, + 895CC13A45FC24B94242C17040E0590B /* FKFlickrStatsGetPhotosetDomains.h */, + D61518A47652E885D27D365EA9DA2529 /* FKFlickrStatsGetPhotosetDomains.m */, + 54F1A439AD7EF1A728555722DA46BE19 /* FKFlickrStatsGetPhotosetReferrers.h */, + 3EC0C3BB1383F443F6DC03C4D706BD86 /* FKFlickrStatsGetPhotosetReferrers.m */, + 12E356A96E515A49A48EEC0943E35554 /* FKFlickrStatsGetPhotosetStats.h */, + 80C4CE258CD1D01AA9E90303650C9EF4 /* FKFlickrStatsGetPhotosetStats.m */, + 7CC51F61604721281F1540F64606C61B /* FKFlickrStatsGetPhotoStats.h */, + 3E06141B1885A8D13C10A4DC18C6EFF1 /* FKFlickrStatsGetPhotoStats.m */, + 92F7A1B3DF6AF62BC3BEF2E3A3211A5D /* FKFlickrStatsGetPhotostreamDomains.h */, + 964139A93D49D936EFE96322F4110314 /* FKFlickrStatsGetPhotostreamDomains.m */, + 78755C9BF5304A9312DE9EED37A233E7 /* FKFlickrStatsGetPhotostreamReferrers.h */, + 803357F22175352F4D41FE3508D83E43 /* FKFlickrStatsGetPhotostreamReferrers.m */, + 101A52D465CA7C193A3E6F1713674C65 /* FKFlickrStatsGetPhotostreamStats.h */, + 7D28F36AAE036590E08EDBE69943270D /* FKFlickrStatsGetPhotostreamStats.m */, + 9E4EE4ABBA6D00FF3EA8521E47BCF2AD /* FKFlickrStatsGetPopularPhotos.h */, + 58EDDD3CAD92BE5DA71AFF40CE0A77DC /* FKFlickrStatsGetPopularPhotos.m */, + 936750EEB67913FBCA057AB2EB465EEC /* FKFlickrStatsGetTotalViews.h */, + D0127191DFC00836A97A88C2D58E328E /* FKFlickrStatsGetTotalViews.m */, + 3F02FEA1DDEAE8AF95BEACDCADA7FCF5 /* FKFlickrTagsGetClusterPhotos.h */, + AB872B5AF8D841977DD9C39F29D10C50 /* FKFlickrTagsGetClusterPhotos.m */, + 3E3D5900687526FEA474FE5D4F1C8521 /* FKFlickrTagsGetClusters.h */, + AC77953654955D1A65A309AFFE7605FE /* FKFlickrTagsGetClusters.m */, + 37BE3A9434B02EE62EEB6ACCBB378FFA /* FKFlickrTagsGetHotList.h */, + D41C41174D9E5B956E36B2F4B8D8B50C /* FKFlickrTagsGetHotList.m */, + F525CA68C8EDE751D9B31E6FA85317F1 /* FKFlickrTagsGetListPhoto.h */, + 28CCB65725813506DD1BB3759FA29CDB /* FKFlickrTagsGetListPhoto.m */, + EB35B0040F0FF8F25D81CC5C2163BF2B /* FKFlickrTagsGetListUser.h */, + 7902B79B020C112D09D994FA5D8CA77E /* FKFlickrTagsGetListUser.m */, + F65428BBB264ED311623F9205C5822B4 /* FKFlickrTagsGetListUserPopular.h */, + 2F25AC398188A0F241AF1FE2BA8A692B /* FKFlickrTagsGetListUserPopular.m */, + 617A758F1E189292F6CB4D0866F757D9 /* FKFlickrTagsGetListUserRaw.h */, + 40F2CACF75CDD931159A0860B0FD7B59 /* FKFlickrTagsGetListUserRaw.m */, + BB44DBC3B27613B770F9B9E19CC58FE4 /* FKFlickrTagsGetMostFrequentlyUsed.h */, + 4906968D845B2EAF012C7E063C2FF1D5 /* FKFlickrTagsGetMostFrequentlyUsed.m */, + 9FE17D34C28BA20DC8BD68CE3703C2D9 /* FKFlickrTagsGetRelated.h */, + 2299060AA290F28D3A6BCC4FAAC2E3C3 /* FKFlickrTagsGetRelated.m */, + 922144900B9F4D2DA3E0C77165B9C2E3 /* FKFlickrTestEcho.h */, + F2BC022645090364685B082794786B26 /* FKFlickrTestEcho.m */, + 7062DD4BF250C65FB4823549D1C06624 /* FKFlickrTestLogin.h */, + CA79F43F8588CFF1E38ACB03BCF65810 /* FKFlickrTestLogin.m */, + CBD60E38A287CA1F28DB255F7175AAD4 /* FKFlickrTestNull.h */, + 32991B9B74B268815C81DFF9A8F88BD7 /* FKFlickrTestNull.m */, + 3F25359E2CD0B248B70E65F49291F49B /* FKFlickrUrlsGetGroup.h */, + B7C0B5725BEFFBDEDEC31BA52E357357 /* FKFlickrUrlsGetGroup.m */, + FC5479D0DBFE13A6FFFA47910643E017 /* FKFlickrUrlsGetUserPhotos.h */, + 4E475AC2CBD8F13CC23AEFE6249AA95A /* FKFlickrUrlsGetUserPhotos.m */, + A88773854A4C9C3E3F686D3ABDA81FDE /* FKFlickrUrlsGetUserProfile.h */, + 8E9316A0D235B92BA89FD028A9F3EB60 /* FKFlickrUrlsGetUserProfile.m */, + 70B9C3253E28B99E62AF94AA3E91D803 /* FKFlickrUrlsLookupGallery.h */, + 4B1C146FD7A92A1FC0AF79229DE8312A /* FKFlickrUrlsLookupGallery.m */, + 481586FB4BD0814B338A7A83EC11DBF2 /* FKFlickrUrlsLookupGroup.h */, + F1606FB26854FCF52E49D31CAF1C5B59 /* FKFlickrUrlsLookupGroup.m */, + 8E3B0CD23BE209D2647D3956E67877E5 /* FKFlickrUrlsLookupUser.h */, + 78D085A1B3D1C8213FA1916F38812C32 /* FKFlickrUrlsLookupUser.m */, + 17E26035C0EE675C3C46C6EB282090AF /* FKImageUploadNetworkOperation.h */, + FAF61A524E1849C9D30386BB7B4C0650 /* FKImageUploadNetworkOperation.m */, + 70285E712B3CB40CA7C1B40AFD4EFE2B /* FKOFHMACSha1Base64.h */, + E31DD67DE5F286FAB4D41CA1EEBF83CF /* FKOFHMACSha1Base64.m */, + 636C8AD09767949B30C0549A6CEC686A /* FKReachability.h */, + 325E88556A8A778867CA7F4A2508C671 /* FKReachability.m */, + 642F856690A57A1C98EAA2A1D18AE6CD /* FKUploadRespone.h */, + D6521145005E2985DF06F0D11DFF7D9C /* FKUploadRespone.m */, + 3DCF4019DBBBB91294CDEC6DA56A759B /* FKURLBuilder.h */, + 6B8174F70B817BA212C46D73589BA428 /* FKURLBuilder.m */, + BCC1082FD9789DC307F50EF7FC517AA8 /* FKUtilities.h */, + CC8EE84D7D569B35A31777818AD52237 /* FKUtilities.m */, + 4242E6E0502C74C8B501F7F5D21785A7 /* FlickrKit.h */, + D0EB19EEC123C6B0CA7F3B1A5CD90FD2 /* FlickrKit.m */, + C6906E2B8EC70C69EA45436AD0B20ACA /* Support Files */, + ); + path = FlickrKit; + sourceTree = ""; + }; + 2BD4902BDD4F90D6D72BB02BFE74DA6C /* LatoFont */ = { + isa = PBXGroup; + children = ( + 654E5D8CD229FB954417700E25C0E80E /* UIFont+Lato.h */, + E4B8F734265DDA008B761CA6CC1B1AED /* UIFont+Lato.m */, + C37F39B3814F1E0D0FF2785BE6E7F41A /* Resources */, + C5F0D38AF3F02EE170F0BC81D406CA85 /* Support Files */, + ); + path = LatoFont; + sourceTree = ""; + }; + 34CE2451AD3016EE56DFB35F7BE1A60F /* FXBlurView */ = { + isa = PBXGroup; + children = ( + A2658200530D34B28296CFA5A6FD2362 /* FXBlurView.h */, + 5059C0A9194AF9B6DF3A259C0876932D /* FXBlurView.m */, + DEFFF1D3AB4FFD4D3266F4EC1124FF5E /* Support Files */, + ); + path = FXBlurView; + sourceTree = ""; + }; + 4BE3798942D941424612780342B27228 /* Support Files */ = { + isa = PBXGroup; + children = ( + 5D1A88A62AF149549A73C9B9D4D72C30 /* Info.plist */, + DB6906BC067706DEA696173058C1F599 /* SwiftyJSON.modulemap */, + 70ADDB0D04A00E6321C701625EDE4AF3 /* SwiftyJSON.xcconfig */, + 3DD27F004ADA49385CEEEA569A51DED7 /* SwiftyJSON-dummy.m */, + CD58AF08AF3F64CDF0759CD1149E7614 /* SwiftyJSON-prefix.pch */, + 3A974D6C50BB1AB8FAAEF49D0BE11B66 /* SwiftyJSON-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/SwiftyJSON"; + sourceTree = ""; + }; + 4C415C54DFF6AAD71421677591477033 /* iOS */ = { + isa = PBXGroup; + children = ( + 89565BFB9E41C13FA3092B23DFF57B98 /* Accelerate.framework */, + 64E7BCF98AE233ABD9608D9122B9FDA0 /* CoreText.framework */, + DCE5B57628AD3E11FC36CBAA1A9C5833 /* Foundation.framework */, + FADE15BF119F3A0EE61713B04F91F36F /* QuartzCore.framework */, + EE634DA0DEF4DE944681831BF20BC81D /* SystemConfiguration.framework */, + 44777528FA33D5E58D7B4F5B386DA1BE /* UIKit.framework */, + ); + name = iOS; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, + 0F75DF6C7C5F002280EC53F48E80B587 /* Frameworks */, + FA9F5B6D17CD6428B9E29A80092BDCF4 /* Pods */, + 0FDED8CAA5C9644513530BD3C7E43417 /* Products */, + 0AF4CDBAEA9897AAB322EB9E332C1C99 /* Targets Support Files */, + ); + sourceTree = ""; + }; + 874C3050EE9009A89A51945AAACE4135 /* WeatherIconsKit */ = { + isa = PBXGroup; + children = ( + 60591738623805462BEB80A8456FC728 /* FAKIcon.h */, + 2199DB049DBB72097023AB2B4B5A3522 /* FAKIcon.m */, + 5CE8F39FA1731C82D764BD011640ACC2 /* WeatherIconsKit.h */, + 9965C949B64B0FDAA914CA934BC48C80 /* WIKFontIcon.h */, + A5AE4A1CE9FA3AA13A0C6D2FD43B16DE /* WIKFontIcon.m */, + CF5A603F4D89A5E847D19812EF0C3C68 /* Resources */, + CB2FDA17D9E5FEE3CF6CD2C662480231 /* Support Files */, + ); + path = WeatherIconsKit; + sourceTree = ""; + }; + C37F39B3814F1E0D0FF2785BE6E7F41A /* Resources */ = { + isa = PBXGroup; + children = ( + 7053C94FCE9D1063F1CACDE05A02DF96 /* Lato-Black.ttf */, + 7FD5210621D27D79593A2C55CB6C613D /* Lato-BlackItalic.ttf */, + 0AEA6D69744537B4865D8E280E9D8377 /* Lato-Bold.ttf */, + E610D1F2895BB9AE0339D29D47658AF6 /* Lato-BoldItalic.ttf */, + BF32E3763CA56A749CE329AD53C3CEEB /* Lato-Hairline.ttf */, + 8A8E40BE4986CE46E31E63E449DDB135 /* Lato-HairlineItalic.ttf */, + 7382C6D787C95A1E285EBC082BFD704A /* Lato-Italic.ttf */, + 14C86F63B3B677C74505C16B504AE9A6 /* Lato-Light.ttf */, + 98F23F12499F8B6BAA0BF58B47B0615E /* Lato-LightItalic.ttf */, + 14ED3127B4684D018B81830CB4E5D121 /* Lato-Regular.ttf */, + ); + name = Resources; + sourceTree = ""; + }; + C5F0D38AF3F02EE170F0BC81D406CA85 /* Support Files */ = { + isa = PBXGroup; + children = ( + 7CC90FD57C52F5E629322EFE77CBAF12 /* Info.plist */, + 80E2EFA7218E316BA1C54DE93B438BC2 /* LatoFont.modulemap */, + DE4CE4308E48F25444777CC81BA4A7DF /* LatoFont.xcconfig */, + 4BFC8537BF2A303FA283D7A45AB25325 /* LatoFont-dummy.m */, + 71FE297BA6510AA7EFD06AB0BD4754D9 /* LatoFont-prefix.pch */, + 757F988E8F3B43F8DCF48DABA068BED8 /* LatoFont-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/LatoFont"; + sourceTree = ""; + }; + C6906E2B8EC70C69EA45436AD0B20ACA /* Support Files */ = { + isa = PBXGroup; + children = ( + 31D3D2937FD9E4F1EC3FA594BA9B66E3 /* FlickrKit.modulemap */, + 2668CE5B3138C3C8CF87FB74392429AD /* FlickrKit.xcconfig */, + 26DC3FA7BA611DE26A94D1DF71F42DC5 /* FlickrKit-dummy.m */, + 8D8680A233A25C829E3F8A579163EBF5 /* FlickrKit-prefix.pch */, + 16C0B4FD700380F8B5FC65EF0E3E7461 /* FlickrKit-umbrella.h */, + 521970E040195ED85EB439CDDB64965E /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/FlickrKit"; + sourceTree = ""; + }; + CB2FDA17D9E5FEE3CF6CD2C662480231 /* Support Files */ = { + isa = PBXGroup; + children = ( + 1BF87D1D993C703E6909E074EBFF3082 /* Info.plist */, + 2FC4D6E737F5570D480D27F388E775D6 /* WeatherIconsKit.modulemap */, + EDC23CEBE083BABC30F250E8F5CA79B8 /* WeatherIconsKit.xcconfig */, + 667BF3B5C9F8D64B8BE989E49AB9D32D /* WeatherIconsKit-dummy.m */, + 09FAA7CEFC8428B8F9B8ED0A979EEE5D /* WeatherIconsKit-prefix.pch */, + F0EC038852B579091CAA1F1DAEBF1ADB /* WeatherIconsKit-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/WeatherIconsKit"; + sourceTree = ""; + }; + CEB7A5BE347BCF303D77C0995BA12FAB /* Support Files */ = { + isa = PBXGroup; + children = ( + DCBFDDD2ADCAC58394CEDE0FF7DA1BEB /* Alamofire.modulemap */, + 0D1D59F8135C5120F51D912624C6D3C2 /* Alamofire.xcconfig */, + B3D2D7940DB68C994CDF3E04803975FB /* Alamofire-dummy.m */, + D6BA5C5C598B4076907EA1F63521B12A /* Alamofire-prefix.pch */, + F77F97FF729C5F976BACC854AD38F5F6 /* Alamofire-umbrella.h */, + 72B056BA8E352256913A5AD1CE50FD5A /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/Alamofire"; + sourceTree = ""; + }; + CF5A603F4D89A5E847D19812EF0C3C68 /* Resources */ = { + isa = PBXGroup; + children = ( + 656B0D285E193853ABD2E23502F2890A /* WeatherIcons-Regular.otf */, + ); + name = Resources; + sourceTree = ""; + }; + D56DC81496C2261A420C15BF5E55ED33 /* Support Files */ = { + isa = PBXGroup; + children = ( + 18D63CB916C75BF12B0B0A469AB6E1C8 /* Cartography.modulemap */, + 182441916FC7C0C4A6657F4576D64EEA /* Cartography.xcconfig */, + BA7C88CA9A43B1C80202B8CB460E3E58 /* Cartography-dummy.m */, + EA24129B6351D24779305BCE6018212E /* Cartography-prefix.pch */, + 91EC25501E271B4D0D91C191B7DB87E8 /* Cartography-umbrella.h */, + 11BB827B36898B30B1422DDE5CFF5CA0 /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/Cartography"; + sourceTree = ""; + }; + DCB2E1C716E3B21F2D3C6491D1DB9A9D /* SwiftyJSON */ = { + isa = PBXGroup; + children = ( + FD1AFC4C673D42ADCC4740AD0902B8FB /* SwiftyJSON.swift */, + 4BE3798942D941424612780342B27228 /* Support Files */, + ); + path = SwiftyJSON; + sourceTree = ""; + }; + DEFFF1D3AB4FFD4D3266F4EC1124FF5E /* Support Files */ = { + isa = PBXGroup; + children = ( + 20825D00B820563EC02F9B49F3CFF7AD /* FXBlurView.modulemap */, + 64666F2EB0FA404ADE10F67CEE58CE1A /* FXBlurView.xcconfig */, + 6BC8164ABA6D84BBEF266E551DFD3724 /* FXBlurView-dummy.m */, + E3CE154F5975D442BF70DDC9A76A1833 /* FXBlurView-prefix.pch */, + 08F293D7D3E9AA58D956039BBB9C0AD2 /* FXBlurView-umbrella.h */, + DF91F540E2E89C01080CAE3216B08553 /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/FXBlurView"; + sourceTree = ""; + }; + DF6475C83BFFC69DE2B5B7426FD9F3AB /* Pods-PrettyWeatherApp */ = { + isa = PBXGroup; + children = ( + 019327ACE0D7D372A054A77E453748FA /* Info.plist */, + D8127C0F750EEC6B024C4F73B378B7D7 /* Pods-PrettyWeatherApp.modulemap */, + 22C1B2BB3CC88F54EC34E02469DA32D2 /* Pods-PrettyWeatherApp-acknowledgements.markdown */, + 3842FD98877536BCF097BC932B5DA6A0 /* Pods-PrettyWeatherApp-acknowledgements.plist */, + FE6A16C33AEB5BBB5AD110E674154D8C /* Pods-PrettyWeatherApp-dummy.m */, + A4F110BAB26D21CBA971351E62A6F48C /* Pods-PrettyWeatherApp-frameworks.sh */, + D395C09C4CF30A9B420E995D96102A29 /* Pods-PrettyWeatherApp-resources.sh */, + E6E4531F70E411925C2DB9B8B9421F7A /* Pods-PrettyWeatherApp-umbrella.h */, + B67B1B53E4B540E510E9ADEB49057A19 /* Pods-PrettyWeatherApp.debug.xcconfig */, + DD2C20A94518AAF081C674BBC31127CF /* Pods-PrettyWeatherApp.release.xcconfig */, + ); + name = "Pods-PrettyWeatherApp"; + path = "Target Support Files/Pods-PrettyWeatherApp"; + sourceTree = ""; + }; + F5C27A62E182873AFD77F1D51187D739 /* Alamofire */ = { + isa = PBXGroup; + children = ( + 0F9A698BA8CAA6EE57BD0B2B5AA0AA22 /* Alamofire.swift */, + 95D69EB123AAB5C2B14E5C5007DCFA9E /* Download.swift */, + F75DA8E5F08D6B775170A06B6B579599 /* Error.swift */, + EB319E5FBC767996B741F5AE37EF8A0C /* Manager.swift */, + 03D4257F766C2DD93E89C1B5266ADC60 /* MultipartFormData.swift */, + 97CB6436075C286D7DC7126B25410539 /* ParameterEncoding.swift */, + 02BCC741770FBE4C466F93DD9A074A1B /* Request.swift */, + 1C2D9A35E58FF29F50A40FFF190CDF44 /* ResponseSerialization.swift */, + D4FEAE3551BC447028F251C907A24741 /* Result.swift */, + AAE0C9B0F111486E8431FFC24693A547 /* ServerTrustPolicy.swift */, + 239C1B613683031A0DF0ABB81C5CF61F /* Stream.swift */, + 1E57BE36CC081BFF4482FA38BFC2ABDF /* Upload.swift */, + 68836EFC0063E0D218C315FF062F4908 /* Validation.swift */, + CEB7A5BE347BCF303D77C0995BA12FAB /* Support Files */, + ); + path = Alamofire; + sourceTree = ""; + }; + FA9F5B6D17CD6428B9E29A80092BDCF4 /* Pods */ = { + isa = PBXGroup; + children = ( + F5C27A62E182873AFD77F1D51187D739 /* Alamofire */, + 0C5E83576EC0F99E73BA200F66244C35 /* Cartography */, + 1F9D567A75DC3C5D39FDA3DF767888B6 /* FlickrKit */, + 34CE2451AD3016EE56DFB35F7BE1A60F /* FXBlurView */, + 2BD4902BDD4F90D6D72BB02BFE74DA6C /* LatoFont */, + DCB2E1C716E3B21F2D3C6491D1DB9A9D /* SwiftyJSON */, + 874C3050EE9009A89A51945AAACE4135 /* WeatherIconsKit */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 35FF6D5ECF248FEDB41E1670294904BC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F92B9D675F63507070A74BBB7504434D /* Alamofire-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3C52F4DB885BE047DA26A131344065BD /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + DE6C301726F47FFE57FB33AABB834E80 /* FAKIcon.h in Headers */, + C869C2FDB4F6D00DB8C3F26EBE6BC66D /* WeatherIconsKit-umbrella.h in Headers */, + AC26EB4ED523FD904D75D457CE114CB0 /* WeatherIconsKit.h in Headers */, + 7326F6FC965626FADBAA4DAF30522254 /* WIKFontIcon.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 53BC468930B0BF45DFEF9DFCF7834C42 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C4652F86ABF53CF8FEC1E82F6430E7A5 /* FKAPIMethods.h in Headers */, + 54D93CF49C4643F3AEF892E5A958ED47 /* FKDataTypes.h in Headers */, + 3A7E37F457AF1711D5117372AE4B96C2 /* FKDUBlocks.h in Headers */, + E10A9323DBD5A209DD815ECB85907EA4 /* FKDUConcurrentOperation.h in Headers */, + 0C5AB81678F27D262D81551B0F6ABB0E /* FKDUDefaultDiskCache.h in Headers */, + 126A75B8664FF08C3D6094293FAB2778 /* FKDUDiskCache.h in Headers */, + E01A7BE6AC0C7D8A5AA65B324A360547 /* FKDUNetworkController.h in Headers */, + 4D2B532C550098940141CD167756D85B /* FKDUNetworkOperation.h in Headers */, + BB5254C353F2C35E1BDDC98CF2359402 /* FKDUReachability.h in Headers */, + 1160551FF226D62A026861D2630F4743 /* FKDUStreamUtil.h in Headers */, + 6B3881B6D9EE1826B77069C7440BB6C6 /* FKFlickrActivityUserComments.h in Headers */, + 9D5146814963CB93744D6AD4F935BFBF /* FKFlickrActivityUserPhotos.h in Headers */, + B4B8F86EE3305D2C1E715142785EE497 /* FKFlickrAPIMethod.h in Headers */, + AC39671E258A63B84D0551C758D18206 /* FKFlickrAuthCheckToken.h in Headers */, + B271F2CDBDD738CA159DDB18CA8E3EFC /* FKFlickrAuthGetFrob.h in Headers */, + F5CA726C382DF55F07E80EE56C16BFE0 /* FKFlickrAuthGetFullToken.h in Headers */, + 47878DB0DAD76168F8193F9831EA0C31 /* FKFlickrAuthGetToken.h in Headers */, + E623BD4B760F3AD0A1C3AB67465DE02F /* FKFlickrAuthOauthCheckToken.h in Headers */, + F87736C7625401CF054E0D7E0B07017E /* FKFlickrAuthOauthGetAccessToken.h in Headers */, + 698F95C3D1B32E1EA952ED11C9EDDCBF /* FKFlickrBlogsGetList.h in Headers */, + 687B84811A8133011B6D115276673C50 /* FKFlickrBlogsGetServices.h in Headers */, + 269574ECE0522455E8CF86DC915AAC1C /* FKFlickrBlogsPostPhoto.h in Headers */, + 235E89EEA06650D453A67DE55AB9330B /* FKFlickrCamerasGetBrandModels.h in Headers */, + CF9AF25C16492F694331F0ACA83BAA82 /* FKFlickrCamerasGetBrands.h in Headers */, + 1C74AFD3163E26EAED5969F3B4E25127 /* FKFlickrCollectionsGetInfo.h in Headers */, + 5D24ED2AAF0A57D60A9631B7CD6AC02F /* FKFlickrCollectionsGetTree.h in Headers */, + 3C6CD2EC0D998F67D58635EBAA631FC2 /* FKFlickrCommonsGetInstitutions.h in Headers */, + 95B6BC1FF774AFFF1856A3CD9F486B24 /* FKFlickrContactsGetList.h in Headers */, + 4CF3737D0D144FE32CD912AF12EB4112 /* FKFlickrContactsGetListRecentlyUploaded.h in Headers */, + 60263A8940316D2BA77360703887CBF5 /* FKFlickrContactsGetPublicList.h in Headers */, + 53B0823878A8516B1F06D749BA374E32 /* FKFlickrContactsGetTaggingSuggestions.h in Headers */, + DC2BD15058576936B8577EEE9B51E548 /* FKFlickrFavoritesAdd.h in Headers */, + 9E1FB6CD494B042A55553E098DD621C2 /* FKFlickrFavoritesGetContext.h in Headers */, + 1619DD91487D2E6318DFCA836C57F09F /* FKFlickrFavoritesGetList.h in Headers */, + 7FFAEB315A0F09F74C0E5A871E9993B9 /* FKFlickrFavoritesGetPublicList.h in Headers */, + 2268514F307931A072E34E0A6C52552E /* FKFlickrFavoritesRemove.h in Headers */, + 06DD1670A0C3A4315E285EBBFCB210EA /* FKFlickrGalleriesAddPhoto.h in Headers */, + 6E397F536FD9086F77C8A4FCA08C5255 /* FKFlickrGalleriesCreate.h in Headers */, + E8EFB22AEDCA0F7C6C9B8CB20EE0F075 /* FKFlickrGalleriesEditMeta.h in Headers */, + BF949553BBA4F5509EE788FA0AF6C86E /* FKFlickrGalleriesEditPhoto.h in Headers */, + 3F8D716D0513140E870316D164593BE2 /* FKFlickrGalleriesEditPhotos.h in Headers */, + 4C38183FFC9F36336CBEEA23C7BBAF43 /* FKFlickrGalleriesGetInfo.h in Headers */, + FF8A0EE7F5FFA13F2D389898F6931D84 /* FKFlickrGalleriesGetList.h in Headers */, + A21623AA61EC0639598E6D73059F173C /* FKFlickrGalleriesGetListForPhoto.h in Headers */, + 14244DF600BB7743DF2949EDAD3130E6 /* FKFlickrGalleriesGetPhotos.h in Headers */, + 3812F0FCD8CDF292258A2377F6E64242 /* FKFlickrGroupsBrowse.h in Headers */, + 8CCEA3E5307B84E8271C0067F0A541B2 /* FKFlickrGroupsDiscussRepliesAdd.h in Headers */, + 8B7B563EE2BE333A80BCF1D7CCF2FFE6 /* FKFlickrGroupsDiscussRepliesDelete.h in Headers */, + 3675864246FC338B70267BD55FEB9C5D /* FKFlickrGroupsDiscussRepliesEdit.h in Headers */, + E1AB35A6DEAF2A7B40DA3FC55325D730 /* FKFlickrGroupsDiscussRepliesGetInfo.h in Headers */, + D756050FE0A86CED0BE9E16F2F06FDFB /* FKFlickrGroupsDiscussRepliesGetList.h in Headers */, + 47598E0CC6CE2347F3B143EFCCF4B297 /* FKFlickrGroupsDiscussTopicsAdd.h in Headers */, + 329DC579A6367A5AC8093F709D944B8A /* FKFlickrGroupsDiscussTopicsGetInfo.h in Headers */, + 2292930DA9EE74B19967D5EB43773FB7 /* FKFlickrGroupsDiscussTopicsGetList.h in Headers */, + BBA2089DD0B7609F67CEEA8BF951609D /* FKFlickrGroupsGetInfo.h in Headers */, + B7FA31208628198409B20EE7EDB56444 /* FKFlickrGroupsJoin.h in Headers */, + EAD2740375CF441D53D6637B558F3BE0 /* FKFlickrGroupsJoinRequest.h in Headers */, + 4856F8F2490C7CE7387B01BFD0BA7E67 /* FKFlickrGroupsLeave.h in Headers */, + D82D55766EC29CE88D37F3A20D98D25D /* FKFlickrGroupsMembersGetList.h in Headers */, + B037147E976D12DD308EF30255110E0C /* FKFlickrGroupsPoolsAdd.h in Headers */, + 7F706EA2304B473950E1DEC0864560D6 /* FKFlickrGroupsPoolsGetContext.h in Headers */, + 531D6537A779F5F5A9AD7BB03F945B92 /* FKFlickrGroupsPoolsGetGroups.h in Headers */, + 8BC8AC894690B950CBB1C8D847D4D824 /* FKFlickrGroupsPoolsGetPhotos.h in Headers */, + DF5186CB0C6B19AEB226756D2A72CB12 /* FKFlickrGroupsPoolsRemove.h in Headers */, + 89858238F6E4B7A7A285FA3D3DC47B56 /* FKFlickrGroupsSearch.h in Headers */, + EA609FC80E502B04149BED6624E5FD39 /* FKFlickrInterestingnessGetList.h in Headers */, + 0CC64048CF95022C6D8390D24490B486 /* FKFlickrMachinetagsGetNamespaces.h in Headers */, + 134CD5AF91F91D2802015C41AE85F13E /* FKFlickrMachinetagsGetPairs.h in Headers */, + 9098298859DEB344E3758F2426F06CB7 /* FKFlickrMachinetagsGetPredicates.h in Headers */, + 2FEC2ECA3F51BE53690BC4DEA8A75931 /* FKFlickrMachinetagsGetRecentValues.h in Headers */, + 094109EEDAEBBEDADFD82EFE60C4C03B /* FKFlickrMachinetagsGetValues.h in Headers */, + B65D00EE0190BAA6612B6691A48D21AE /* FKFlickrNetworkOperation.h in Headers */, + 7B7086DFE0842781989F29D6AAFF0ED2 /* FKFlickrPandaGetList.h in Headers */, + 678AF916207494ACA23FB057FBADD69A /* FKFlickrPandaGetPhotos.h in Headers */, + 39963D68835F30B5143D4209AC9E8043 /* FKFlickrPeopleFindByEmail.h in Headers */, + 16C37AA3C34DD50D65908D798BB155CB /* FKFlickrPeopleFindByUsername.h in Headers */, + 7C51DAF3C9D5F414F98712F3C9A2F2A0 /* FKFlickrPeopleGetGroups.h in Headers */, + 0AAB66DA27551371EBCB8350549834F2 /* FKFlickrPeopleGetInfo.h in Headers */, + 6A3C286E2329432072920B1C5A645DF2 /* FKFlickrPeopleGetLimits.h in Headers */, + 0559D0806CB6C70D986B0899AAA0567B /* FKFlickrPeopleGetPhotos.h in Headers */, + 66A9EEEB4A7A1E75B00851B714011F1B /* FKFlickrPeopleGetPhotosOf.h in Headers */, + 2BD4D06AA927C334DCAE7750A734BCCC /* FKFlickrPeopleGetPublicGroups.h in Headers */, + A9EC28436753F5AB7C8A311E0B982F9C /* FKFlickrPeopleGetPublicPhotos.h in Headers */, + 7850ECA55ACE1B78BFED14B83582F89B /* FKFlickrPeopleGetUploadStatus.h in Headers */, + 3D4B891CA8826196D4B3F25E3BA46ED9 /* FKFlickrPhotosAddTags.h in Headers */, + EC2E6D0B35D565C1E4AD15B1BC1F71D9 /* FKFlickrPhotosCommentsAddComment.h in Headers */, + C67924EDB04B5041BC8BDF183F804C02 /* FKFlickrPhotosCommentsDeleteComment.h in Headers */, + 60A8A1A227777FCBA25945082C5FEAB0 /* FKFlickrPhotosCommentsEditComment.h in Headers */, + 5FE6B64ABE76EB08FECB04CD32B2162F /* FKFlickrPhotosCommentsGetList.h in Headers */, + 367B0AD45ED99FD3E2506AE550E0B258 /* FKFlickrPhotosCommentsGetRecentForContacts.h in Headers */, + A8A0E46F66E8F5FE389535FB6531A707 /* FKFlickrPhotosDelete.h in Headers */, + E23EA110A48508E8D29EBC253BF85BFE /* FKFlickrPhotosetsAddPhoto.h in Headers */, + 4BE203E8E534739A21E3EE0C70AF197D /* FKFlickrPhotosetsCommentsAddComment.h in Headers */, + 58CFF29148B90C40000540421C91BEB9 /* FKFlickrPhotosetsCommentsDeleteComment.h in Headers */, + 51B7DDEBBEB75FC126A37E81BB1E5932 /* FKFlickrPhotosetsCommentsEditComment.h in Headers */, + EF19AC6EB8A36848F36841079622F898 /* FKFlickrPhotosetsCommentsGetList.h in Headers */, + 1820A7E8DB8975737307FA2D88FFFBE8 /* FKFlickrPhotosetsCreate.h in Headers */, + CFD18E9B189C0D50618DE684789896F2 /* FKFlickrPhotosetsDelete.h in Headers */, + A7DB7932E0B86ACA8072BE61A92C42BD /* FKFlickrPhotosetsEditMeta.h in Headers */, + 45CFE048CA18B85A318D7B2EE8D8988D /* FKFlickrPhotosetsEditPhotos.h in Headers */, + FEA24F3CC646D004A9907FB70691AC73 /* FKFlickrPhotosetsGetContext.h in Headers */, + 9DC129FDC399EFD20E61412F5F67033B /* FKFlickrPhotosetsGetInfo.h in Headers */, + 6DEEBDB83F20C94E023FFC66823901EB /* FKFlickrPhotosetsGetList.h in Headers */, + B30584EB796C60BEEECB7BEB62C99ED9 /* FKFlickrPhotosetsGetPhotos.h in Headers */, + 4687609EC07441F6AEB899F28C4756DA /* FKFlickrPhotosetsOrderSets.h in Headers */, + BFE9E1886AB364FA7EBDF2CABE7FBBF4 /* FKFlickrPhotosetsRemovePhoto.h in Headers */, + 20750C91AB30A56A0428E52E57F0BF84 /* FKFlickrPhotosetsRemovePhotos.h in Headers */, + CC1516B55E07E3B6671CE1C7E0A23B3B /* FKFlickrPhotosetsReorderPhotos.h in Headers */, + 77B5437A550B3D4D7BD4B73D41A02202 /* FKFlickrPhotosetsSetPrimaryPhoto.h in Headers */, + CCCD152FAB51F738251191817A0CF3F1 /* FKFlickrPhotosGeoBatchCorrectLocation.h in Headers */, + 491CE7E728A107B71AB88946880D82F4 /* FKFlickrPhotosGeoCorrectLocation.h in Headers */, + C3A99A2890AF492147C814B81D2421BC /* FKFlickrPhotosGeoGetLocation.h in Headers */, + 777C7EF8920074061D7678E1490BCECF /* FKFlickrPhotosGeoGetPerms.h in Headers */, + 9E182212637077BE6893E92412F62CCA /* FKFlickrPhotosGeoPhotosForLocation.h in Headers */, + 5ED684417613EBEA604D02D93CA80E50 /* FKFlickrPhotosGeoRemoveLocation.h in Headers */, + B18D8117926683FE49DC629E545FF219 /* FKFlickrPhotosGeoSetContext.h in Headers */, + 7C03A3BF69AFE68AB3E56A36E2D9FC11 /* FKFlickrPhotosGeoSetLocation.h in Headers */, + 559D393C985AF4A5211FEFC46E39D3F1 /* FKFlickrPhotosGeoSetPerms.h in Headers */, + 9F1E44E09E82E6A7E1F076C6681115B6 /* FKFlickrPhotosGetAllContexts.h in Headers */, + 357B34CA3FBC78696B568F323C7E17E5 /* FKFlickrPhotosGetContactsPhotos.h in Headers */, + A9C0871643D07B362E78782B40033678 /* FKFlickrPhotosGetContactsPublicPhotos.h in Headers */, + 0D02A4841E460E5FD3E7DF9B1C7B662A /* FKFlickrPhotosGetContext.h in Headers */, + 1DB2B683DCE67D3B8294E2D988653794 /* FKFlickrPhotosGetCounts.h in Headers */, + A1F26608A520C904937C24EA847C3A79 /* FKFlickrPhotosGetExif.h in Headers */, + 7ACC754E401A36D450012CE27771B1A1 /* FKFlickrPhotosGetFavorites.h in Headers */, + 6E939CA62F9CAAFC9B539ACA27B23D61 /* FKFlickrPhotosGetInfo.h in Headers */, + BB6BA76BF1561C3480B9221AEF1B1DEC /* FKFlickrPhotosGetNotInSet.h in Headers */, + 7AD51230E702C16E4678F252B566ABAA /* FKFlickrPhotosGetPerms.h in Headers */, + 6E50FC227919D8BAD526648010AF5FD4 /* FKFlickrPhotosGetRecent.h in Headers */, + F5A8E76B23B713B48254838CF81264C4 /* FKFlickrPhotosGetSizes.h in Headers */, + 2D42290D3B7F7493FCECD77E9E463DE6 /* FKFlickrPhotosGetUntagged.h in Headers */, + 26663CAB1FADD3E6437C1E30D14A7256 /* FKFlickrPhotosGetWithGeoData.h in Headers */, + 3C50C8E71BA7C20B9F0ED470321D78E5 /* FKFlickrPhotosGetWithoutGeoData.h in Headers */, + 394501EAD584D2DE54323A2E5C5AFA1C /* FKFlickrPhotosLicensesGetInfo.h in Headers */, + FF5B4D48B313EC1F3C3920D2058DFDC1 /* FKFlickrPhotosLicensesSetLicense.h in Headers */, + 8B5AE3F50B78DD1181388DC2F9E3144E /* FKFlickrPhotosNotesAdd.h in Headers */, + 21487EBD25A10ED2C724D1978B7735EC /* FKFlickrPhotosNotesDelete.h in Headers */, + 3F267FE9281D048E0767C5D6623760BE /* FKFlickrPhotosNotesEdit.h in Headers */, + CD65C664B0E6B9ED4C28AE0D2E3A55B3 /* FKFlickrPhotosPeopleAdd.h in Headers */, + CE93B997E25835F18ABC8938921DACE0 /* FKFlickrPhotosPeopleDelete.h in Headers */, + 2423DA056928A1AD1D15A35CBA5C0176 /* FKFlickrPhotosPeopleDeleteCoords.h in Headers */, + CEAE153B1024D54DCD431027B6E4ED3B /* FKFlickrPhotosPeopleEditCoords.h in Headers */, + A908FFEC764A954AD6AF09CE3A85B9DC /* FKFlickrPhotosPeopleGetList.h in Headers */, + 8D8148426D86F7A40318CD0D1A2575B6 /* FKFlickrPhotosRecentlyUpdated.h in Headers */, + CC253E3874375D47B76E0B8443661DB4 /* FKFlickrPhotosRemoveTag.h in Headers */, + 049176F4B62D562BE46A0EB93E632463 /* FKFlickrPhotosSearch.h in Headers */, + E8F796E175043BA7F7FED6CA147F9268 /* FKFlickrPhotosSetContentType.h in Headers */, + F78A926258DD87B3C4124E71B50E8FA4 /* FKFlickrPhotosSetDates.h in Headers */, + 46EF64ABF83F67DCE1B395CD82A77765 /* FKFlickrPhotosSetMeta.h in Headers */, + 4851484FC2D13CBDA3189918B4A1B420 /* FKFlickrPhotosSetPerms.h in Headers */, + CE9396BF52216FE34690DBAE73345957 /* FKFlickrPhotosSetSafetyLevel.h in Headers */, + 22AD513E3F6783847A28FC5A544E1D10 /* FKFlickrPhotosSetTags.h in Headers */, + 483E70F90542DAF21B7F6ECD56E0B618 /* FKFlickrPhotosSuggestionsApproveSuggestion.h in Headers */, + 6A9FFB093D95621DAD070A56830D08DB /* FKFlickrPhotosSuggestionsGetList.h in Headers */, + 9B58CD066103A219CF3AB91FB3112FF8 /* FKFlickrPhotosSuggestionsRejectSuggestion.h in Headers */, + C2B4106F5C3FD1918DD1D33B2D2AF3E7 /* FKFlickrPhotosSuggestionsRemoveSuggestion.h in Headers */, + 30A6D663EE7E9EDBD1569A0E67D10BC7 /* FKFlickrPhotosSuggestionsSuggestLocation.h in Headers */, + E7B8ACFA82B0B04567ED51C7EE3ADD2E /* FKFlickrPhotosTransformRotate.h in Headers */, + 24EFBBE04D96BB8857EC241E16BB5F0D /* FKFlickrPhotosUploadCheckTickets.h in Headers */, + E2A1A0C6D1FE42158D5EBA99A5798678 /* FKFlickrPlacesFind.h in Headers */, + 6C661E92E25F491A6EC5DB005A48F466 /* FKFlickrPlacesFindByLatLon.h in Headers */, + EE81DF3D28FAFCA358F4116EA00DCB9E /* FKFlickrPlacesGetChildrenWithPhotosPublic.h in Headers */, + FCD113EAEA98D3D1A97A2BCF0A47D698 /* FKFlickrPlacesGetInfo.h in Headers */, + 4BB013FA9BF775199211A26BC89E6D50 /* FKFlickrPlacesGetInfoByUrl.h in Headers */, + C46C89AF16E8E8C8A3099732B07617A0 /* FKFlickrPlacesGetPlaceTypes.h in Headers */, + B9E44EEA19EC5FCBBD625B7BE0369AB6 /* FKFlickrPlacesGetShapeHistory.h in Headers */, + C6ABBF43CC183B8CC0F0A71655D5BEE2 /* FKFlickrPlacesGetTopPlacesList.h in Headers */, + 1F4B8C186E9CFE369CCD1ED97EED5738 /* FKFlickrPlacesPlacesForBoundingBox.h in Headers */, + B1B8212AD39EFA34D7756F014B822217 /* FKFlickrPlacesPlacesForContacts.h in Headers */, + 47109A1566924A920801910693F37CDB /* FKFlickrPlacesPlacesForTags.h in Headers */, + 0B9FFD3991B1517D9577581A2D3D8AAF /* FKFlickrPlacesPlacesForUser.h in Headers */, + EC7F91A4DA5AACEBCCBF2A5E04985E81 /* FKFlickrPlacesResolvePlaceId.h in Headers */, + B2997DF99ABDB5EAE0F9EC7789624060 /* FKFlickrPlacesResolvePlaceURL.h in Headers */, + 972567BD7BDC44AFAFA449EAA1B19801 /* FKFlickrPlacesTagsForPlace.h in Headers */, + 19FD60F72F76A9975424E6061E7FAC00 /* FKFlickrPrefsGetContentType.h in Headers */, + 30B13FAD9C5B5EF5A19A1174FE5AFF51 /* FKFlickrPrefsGetGeoPerms.h in Headers */, + 3EF30A66F74F64E2861D40E22CEC9D07 /* FKFlickrPrefsGetHidden.h in Headers */, + E64E597FF9651ADEDEA71389CEA6910B /* FKFlickrPrefsGetPrivacy.h in Headers */, + D5904B990671CB90E1703A9CAE27B6B4 /* FKFlickrPrefsGetSafetyLevel.h in Headers */, + E954A2448B9235FE4EBCAA737236CB18 /* FKFlickrPushGetSubscriptions.h in Headers */, + 2DFE3A53EB94ED883845B32E2ECF0663 /* FKFlickrPushGetTopics.h in Headers */, + 0FC9F98FBD38D5E17985D47C1EA06FD5 /* FKFlickrPushSubscribe.h in Headers */, + A526D22AFE418A7BAE3F5B0FC162B2A0 /* FKFlickrPushUnsubscribe.h in Headers */, + 193837ADA7A47E06FC72D652DF148B29 /* FKFlickrReflectionGetMethodInfo.h in Headers */, + 49BE778F955110FEDDCACBF5384D4ABC /* FKFlickrReflectionGetMethods.h in Headers */, + FE98F4736B8D3885BF08482BE8D7717B /* FKFlickrStatsGetCollectionDomains.h in Headers */, + D1F4462BAF62233F33820DA36E6DAB53 /* FKFlickrStatsGetCollectionReferrers.h in Headers */, + 26402A32CF2B35205F80824ABE321E04 /* FKFlickrStatsGetCollectionStats.h in Headers */, + 37E2E776552DDFAC62DCD8DCC767ACA5 /* FKFlickrStatsGetCSVFiles.h in Headers */, + FD7ED8B2D67E53D791252C3A17386DCA /* FKFlickrStatsGetPhotoDomains.h in Headers */, + 4036C28FE2CEF89FF889E143CA8FF9BC /* FKFlickrStatsGetPhotoReferrers.h in Headers */, + A6B2E6704C53AFDD3C7B71777372B64D /* FKFlickrStatsGetPhotosetDomains.h in Headers */, + 303A5BD1BCEBA9C598770BF4C345DCF5 /* FKFlickrStatsGetPhotosetReferrers.h in Headers */, + 0D5DE422587264CCF6259F619ABF5592 /* FKFlickrStatsGetPhotosetStats.h in Headers */, + CE410E1AD7413DBF042B9ECCEBC5AC53 /* FKFlickrStatsGetPhotoStats.h in Headers */, + 129FCC655C0A6BB7C6C54F8E546255B1 /* FKFlickrStatsGetPhotostreamDomains.h in Headers */, + 9EBDAF9BF3D0E9535FB5A1E8C408D394 /* FKFlickrStatsGetPhotostreamReferrers.h in Headers */, + 3A86B2B0826AAEDCEDFE959E8D3D7CA1 /* FKFlickrStatsGetPhotostreamStats.h in Headers */, + 9B8D882A821746CC209D83AE4E1868AD /* FKFlickrStatsGetPopularPhotos.h in Headers */, + B11257147D80AADEDE7D31C73424BC44 /* FKFlickrStatsGetTotalViews.h in Headers */, + FCFD371656BAF6BE8E13A045B469D5E3 /* FKFlickrTagsGetClusterPhotos.h in Headers */, + 0308BA9E5713F9A2FF4949FE63B9A646 /* FKFlickrTagsGetClusters.h in Headers */, + A8C0DC14C1863EB4F14C7A31A074EF5D /* FKFlickrTagsGetHotList.h in Headers */, + F98E29FA5B714D04EE9040340F402565 /* FKFlickrTagsGetListPhoto.h in Headers */, + 9C32079D2830371D641555744CFAA840 /* FKFlickrTagsGetListUser.h in Headers */, + AFF7E89A6A8B590121624266951DEBD5 /* FKFlickrTagsGetListUserPopular.h in Headers */, + B6F2A23E800A229E98C4C7AA8A85BA8F /* FKFlickrTagsGetListUserRaw.h in Headers */, + 0688BF7DFD8128A31C47EBEF2D80F901 /* FKFlickrTagsGetMostFrequentlyUsed.h in Headers */, + 003D2FF9FDB0400956CDEB576EDDF434 /* FKFlickrTagsGetRelated.h in Headers */, + 8C2ABFB8277B0084C5A9D64647717185 /* FKFlickrTestEcho.h in Headers */, + 2E54E61FA36BE6330A0B12B78D0F2B03 /* FKFlickrTestLogin.h in Headers */, + 4FF0AB2B7514B39DE23A1F7403C3EADF /* FKFlickrTestNull.h in Headers */, + DFD843BEA020C58E87BE1FD599054D16 /* FKFlickrUrlsGetGroup.h in Headers */, + 80F1CD949E53D2DE79E87DCF922AA556 /* FKFlickrUrlsGetUserPhotos.h in Headers */, + 864D63C6A17E15FD6CB6F4577B25F609 /* FKFlickrUrlsGetUserProfile.h in Headers */, + F332A028AA206234773F82C85090AB91 /* FKFlickrUrlsLookupGallery.h in Headers */, + 938876C666E945B3F0F5D2E0A165CF30 /* FKFlickrUrlsLookupGroup.h in Headers */, + D6B3A708A590CA891A1AA9313020A670 /* FKFlickrUrlsLookupUser.h in Headers */, + 844FB1C868A5E80EEA3786DC0C6B987D /* FKImageUploadNetworkOperation.h in Headers */, + B646A6DF3E54D7B1E1D21EFC81F56949 /* FKOFHMACSha1Base64.h in Headers */, + 7AF50AC4CA9CEF8DC07A24761B0053C6 /* FKReachability.h in Headers */, + 268DBC8E591E877249B7A6867AE131E7 /* FKUploadRespone.h in Headers */, + CAC1D5BC3382C1A6D71EDF31DA935AB3 /* FKURLBuilder.h in Headers */, + C831F18A46D656F99CBDFE8903F264FA /* FKUtilities.h in Headers */, + BC1B691EBE261456E3DFC544E804AEE0 /* FlickrKit-umbrella.h in Headers */, + 486E791713A64AAB2DE9D6CCC683C7BF /* FlickrKit.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6C8D9C23267CA7A24A94C6A6EF749274 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 66CFB93A67231D6DD0788CBDE3E0555D /* Cartography-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88285C12AD482475B9E8A72F9A248A40 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 6BA38E42F50D9AE0E1CBD9DF8104D57D /* Pods-PrettyWeatherApp-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 968E4B4CF355876944061A2922BE1479 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + FF2C504EB2C683C621FDD9773CC9C2D1 /* SwiftyJSON-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BE9452AE691C5650216CFBA040B5FB58 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F1D4909A0179991E0C1F6C49E2EFD72B /* FXBlurView-umbrella.h in Headers */, + 881274A50E2986F95A00A7637CAD160D /* FXBlurView.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E36920E81CD85EA40FE4BD57480B7394 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 9F5B375B80402C73A9331A8196567A61 /* LatoFont-umbrella.h in Headers */, + C5299F39B3AF0DC97240575CEA56B8E4 /* UIFont+Lato.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 1BA6EC064C4CD7E73A507FAA7E9BB35A /* Cartography */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9463EB78204EA12786C071D28EB16986 /* Build configuration list for PBXNativeTarget "Cartography" */; + buildPhases = ( + 8EA49D3ED96E5E14D238F4DE5EB90AF0 /* Sources */, + D0236216C80348F08723519BD3067016 /* Frameworks */, + 6C8D9C23267CA7A24A94C6A6EF749274 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Cartography; + productName = Cartography; + productReference = 5308DA7748030C5B860329428CBD8037 /* Cartography.framework */; + productType = "com.apple.product-type.framework"; + }; + 216303361BC095C1E2133C17471E97AE /* FXBlurView */ = { + isa = PBXNativeTarget; + buildConfigurationList = FA048F90958A838716CFDF71A3EF6730 /* Build configuration list for PBXNativeTarget "FXBlurView" */; + buildPhases = ( + B8D089A7CEA658FD2F6C1846051C8862 /* Sources */, + 78FB7CDA991A3AA88E9064C13FEA188B /* Frameworks */, + BE9452AE691C5650216CFBA040B5FB58 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FXBlurView; + productName = FXBlurView; + productReference = CD4502A4C510F15686A14B438D01D0DD /* FXBlurView.framework */; + productType = "com.apple.product-type.framework"; + }; + 4457E659FE399290DFDAA986263F63EC /* Pods-PrettyWeatherApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 884963451370B39F8B83A541C3630EE7 /* Build configuration list for PBXNativeTarget "Pods-PrettyWeatherApp" */; + buildPhases = ( + F8347B35297B251943172BDF6691BA07 /* Sources */, + F3BC4E69921A895AC14DE0F3A42116CD /* Frameworks */, + 88285C12AD482475B9E8A72F9A248A40 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + F0F971BBD0C0154BB8158C9517D50432 /* PBXTargetDependency */, + F535BF38F95575D3C14F8348C909876C /* PBXTargetDependency */, + 2264C29E9B11C3D1855BBE996C94F2E0 /* PBXTargetDependency */, + 3F08C12B5136707C8A03971D0EC4214F /* PBXTargetDependency */, + 431019057C94726B5814269D41D6E799 /* PBXTargetDependency */, + F179F1D44DCEEE453243843D823D915B /* PBXTargetDependency */, + F58621DBFCDEC9AF3F960E6D9A200DAD /* PBXTargetDependency */, + ); + name = "Pods-PrettyWeatherApp"; + productName = "Pods-PrettyWeatherApp"; + productReference = 82D4DAB727EA35BB1D7FB8733BC798E5 /* Pods_PrettyWeatherApp.framework */; + productType = "com.apple.product-type.framework"; + }; + 5F62D490B4007F58D75F65B5AC12B981 /* LatoFont-LatoFont */ = { + isa = PBXNativeTarget; + buildConfigurationList = AEC4300321C8B07C4F04075B4E59188A /* Build configuration list for PBXNativeTarget "LatoFont-LatoFont" */; + buildPhases = ( + 2F1B4AD30C2138CC864F2F6D59BE15E5 /* Sources */, + 7F478A15782C236143ACDB352E66BA1D /* Frameworks */, + D6B4808FE3FB130701DDAD401270018E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "LatoFont-LatoFont"; + productName = "LatoFont-LatoFont"; + productReference = ADF73F9FF8099F2E67D6D796BAB7BD47 /* LatoFont.bundle */; + productType = "com.apple.product-type.bundle"; + }; + 65B88C76CA16E992F8AC6847707D9010 /* WeatherIconsKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = B87C581B05D9B7601DFB192F5656AB17 /* Build configuration list for PBXNativeTarget "WeatherIconsKit" */; + buildPhases = ( + D75A98946812D0833BFB43CA084C4179 /* Sources */, + 09CB97B9DF5ECE094EC0DD5734B65993 /* Frameworks */, + 3C52F4DB885BE047DA26A131344065BD /* Headers */, + 17AA3CD1D8D3C58847186BB0C2682B6D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = WeatherIconsKit; + productName = WeatherIconsKit; + productReference = BF00048E7BFFFA618A213D4CBE4E479C /* WeatherIconsKit.framework */; + productType = "com.apple.product-type.framework"; + }; + AE3A1B3794CF2920DD36B50B0D6222EE /* Alamofire */ = { + isa = PBXNativeTarget; + buildConfigurationList = A78BE263E8C405C040CD211EB62AFE67 /* Build configuration list for PBXNativeTarget "Alamofire" */; + buildPhases = ( + 3FE6000E9C8D3C80FB67489BB82716B9 /* Sources */, + 98E25CA18D5299DA85FA66362C7E6E4A /* Frameworks */, + 35FF6D5ECF248FEDB41E1670294904BC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Alamofire; + productName = Alamofire; + productReference = E04213BA0D880DFB1645993ADEB003A2 /* Alamofire.framework */; + productType = "com.apple.product-type.framework"; + }; + B1FFB9A25C58794327E8C5C884BF8634 /* LatoFont */ = { + isa = PBXNativeTarget; + buildConfigurationList = C59A1B8958FDF14B46C8E398A2CE9D76 /* Build configuration list for PBXNativeTarget "LatoFont" */; + buildPhases = ( + 1EC2BBBE2E89D336AD1B6593AEDF19A2 /* Sources */, + D2EFC5A6828BFF27BCB32917C4E721C1 /* Frameworks */, + 283EA23693C92422DB212A50D8D0F83A /* Resources */, + E36920E81CD85EA40FE4BD57480B7394 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + DE63BCFE9DA01DBF76D226E2ABD6331A /* PBXTargetDependency */, + ); + name = LatoFont; + productName = LatoFont; + productReference = 232E85153BED28F7A4CE52B23A00715E /* LatoFont.framework */; + productType = "com.apple.product-type.framework"; + }; + CAD0E1117D4E9F9D4EA0EFF50D087197 /* FlickrKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = 83EB1ADD4056647D4F9425AFF861D386 /* Build configuration list for PBXNativeTarget "FlickrKit" */; + buildPhases = ( + C24DD2E307829A0089FA0D566801246F /* Sources */, + F3E1255066E0252A3DB725CF992CDB8D /* Frameworks */, + 53BC468930B0BF45DFEF9DFCF7834C42 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FlickrKit; + productName = FlickrKit; + productReference = C30245170471B79F15F3159993A65863 /* FlickrKit.framework */; + productType = "com.apple.product-type.framework"; + }; + F5FE6C3679EC1E2DD7E9D5FEC6B442C0 /* SwiftyJSON */ = { + isa = PBXNativeTarget; + buildConfigurationList = 639868A1743C3C69EF3FEFA0791FF002 /* Build configuration list for PBXNativeTarget "SwiftyJSON" */; + buildPhases = ( + 3B1B4CBE646DFAC5D3E1CBE8E45E0AB4 /* Sources */, + F02053924B9B403E3100B22BAAAF24AC /* Frameworks */, + 968E4B4CF355876944061A2922BE1479 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwiftyJSON; + productName = SwiftyJSON; + productReference = 21609C957151FE3CF146D2A954F25F1A /* SwiftyJSON.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0700; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = 0FDED8CAA5C9644513530BD3C7E43417 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + AE3A1B3794CF2920DD36B50B0D6222EE /* Alamofire */, + 1BA6EC064C4CD7E73A507FAA7E9BB35A /* Cartography */, + CAD0E1117D4E9F9D4EA0EFF50D087197 /* FlickrKit */, + 216303361BC095C1E2133C17471E97AE /* FXBlurView */, + B1FFB9A25C58794327E8C5C884BF8634 /* LatoFont */, + 5F62D490B4007F58D75F65B5AC12B981 /* LatoFont-LatoFont */, + 4457E659FE399290DFDAA986263F63EC /* Pods-PrettyWeatherApp */, + F5FE6C3679EC1E2DD7E9D5FEC6B442C0 /* SwiftyJSON */, + 65B88C76CA16E992F8AC6847707D9010 /* WeatherIconsKit */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 17AA3CD1D8D3C58847186BB0C2682B6D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 36E5F4006ACF6A3C7A73FB19144201DF /* WeatherIcons-Regular.otf in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 283EA23693C92422DB212A50D8D0F83A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1A0040CC718F3252A4B79CF7CCFB3044 /* LatoFont.bundle in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D6B4808FE3FB130701DDAD401270018E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 83CF82403AF5E0BF08C745A4BEE23FCD /* Lato-Black.ttf in Resources */, + F5C4AF0411C9E26F002417E86B9D6900 /* Lato-BlackItalic.ttf in Resources */, + 0BAE22AE871F9FBF7DD7234F5CA92356 /* Lato-Bold.ttf in Resources */, + 142F53D6C388731A5BA68BD59CF23C04 /* Lato-BoldItalic.ttf in Resources */, + 9BF43B67FB1CA500D455745AC4EBBA91 /* Lato-Hairline.ttf in Resources */, + 474969995A86A846354F46FC339D3FCA /* Lato-HairlineItalic.ttf in Resources */, + AA25B97472CD039DBCB8508868758728 /* Lato-Italic.ttf in Resources */, + 6AB93F57DE0AAB6457CE0253F0672584 /* Lato-Light.ttf in Resources */, + 78D56BBBAF6AFB044C15420ECE13C452 /* Lato-LightItalic.ttf in Resources */, + 6786F1164DCDF2C7C2498F5B61051727 /* Lato-Regular.ttf in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1EC2BBBE2E89D336AD1B6593AEDF19A2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C4F4656F3B3E2B52570D45AED8C8C1B5 /* LatoFont-dummy.m in Sources */, + 80180768FE6AC596EC9A545707346D87 /* UIFont+Lato.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F1B4AD30C2138CC864F2F6D59BE15E5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3B1B4CBE646DFAC5D3E1CBE8E45E0AB4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 17941F45A52C34CAF31D102A257BCCF4 /* SwiftyJSON-dummy.m in Sources */, + 23994ADA89C0EA961303FAF4E323FFBB /* SwiftyJSON.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3FE6000E9C8D3C80FB67489BB82716B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 28AEDF65BE79937D02AF9987FDA82882 /* Alamofire-dummy.m in Sources */, + 72D6614E8320AD5ADF7CAC3B0E747746 /* Alamofire.swift in Sources */, + 682567E05E201D5C4D04655F111D5DC5 /* Download.swift in Sources */, + 6D0B4B56C64D067E595C265E35DCA75A /* Error.swift in Sources */, + FA3319CF007AEDE489B0D3E9977B07F8 /* Manager.swift in Sources */, + 27DF0174845F1B4EF21B98DF584383E1 /* MultipartFormData.swift in Sources */, + 6C32A6125064133FD87288C8018B3431 /* ParameterEncoding.swift in Sources */, + 71717C33314232E66C21CF2F2EDBBD02 /* Request.swift in Sources */, + 46A4128B85D0C10F111F7E51E82CAF66 /* ResponseSerialization.swift in Sources */, + 8AC17FFF24C2F2809A7A4AAACB721911 /* Result.swift in Sources */, + 510EA1011CF1FF7367E1480F2D061219 /* ServerTrustPolicy.swift in Sources */, + 7327866BAC4FF72FDB2E938BF61B98F5 /* Stream.swift in Sources */, + 2339EECC82779121CDF22038D1AC5E3C /* Upload.swift in Sources */, + E98976269D55BDA9D6445D036C84ED4A /* Validation.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8EA49D3ED96E5E14D238F4DE5EB90AF0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3301CE63F6E99FFFA96FBC292B585705 /* Align.swift in Sources */, + BC258EA3B288F5E942ABE927941CEB26 /* Cartography-dummy.m in Sources */, + 4608F450BDB1344C97BAE2AF044040B9 /* Coefficients.swift in Sources */, + C3D56DA9B7702575D57A3DE700EE15F9 /* Compound.swift in Sources */, + 59937392C8946A161FF91D7C05146C02 /* Constrain.swift in Sources */, + 8541148EE3C1DE33C66390867C104338 /* Constraint.swift in Sources */, + F3755F347781E3057E1AB380178B1D14 /* ConstraintGroup.swift in Sources */, + B918B94AAEDA10224CE3EB13F880C177 /* Context.swift in Sources */, + CC1A5FB2C2A2322B01BDF2D1EB601A26 /* Dimension.swift in Sources */, + 9A624C559F1667A4BE9AA69E1187E131 /* Distribute.swift in Sources */, + 108D9FCDCEEBFFAE487F50FA6F1ABB09 /* Edge.swift in Sources */, + 38C652837FE3FE66C44F17B98465628B /* Edges.swift in Sources */, + 15F2256B36F2B6BC56F3E976D2BFE757 /* Expression.swift in Sources */, + 5D2FBBA62F8BCF0F092B051CEEB81DF8 /* Extensions.swift in Sources */, + 1E1F588D012F89F9A77FDD5435D1590C /* LayoutProxy.swift in Sources */, + DEF132182F091C0A9D6D39A38E6241B7 /* Point.swift in Sources */, + 8005AB14D7F26FC6ED9D59DA0207F7B5 /* Priority.swift in Sources */, + B295FF4365E1C7406C366F25F910C746 /* Property.swift in Sources */, + 9DF48DE628369C61BFDCCA5CC0A02E76 /* Size.swift in Sources */, + 2DB3A96BBC1FB59C995BAE5978F9EC29 /* View.swift in Sources */, + 10E6ECA36F7D0BA5DBB8737FD4D15E4B /* ViewUtils.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8D089A7CEA658FD2F6C1846051C8862 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3DCEF7E270EC92DA10636A791C6EDE6E /* FXBlurView-dummy.m in Sources */, + 477663167652C32DBD26B995704173C5 /* FXBlurView.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C24DD2E307829A0089FA0D566801246F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69FAEFF292D04597E4B4A41FDEF907D6 /* FKDataTypes.m in Sources */, + 7F65CAF9691925C4E2DCB69145B8CE1B /* FKDUBlocks.m in Sources */, + 50A39BBC5666CCECBBE9C8183C673B7F /* FKDUConcurrentOperation.m in Sources */, + 942E64FBD627AC8888611B3CF158595D /* FKDUDefaultDiskCache.m in Sources */, + 23A305C3CA60C87E7E9C66722359B2C6 /* FKDUNetworkController.m in Sources */, + 48437BF3A476DC164B7A24C592B95DB4 /* FKDUNetworkOperation.m in Sources */, + 15A3E49FFA7D6F6CAE068DF72A5D441E /* FKDUReachability.m in Sources */, + FD2C6F3CB97ED219A7F9788427DBAFA5 /* FKDUStreamUtil.m in Sources */, + 0AC69FDE593F1CCB34147172982C8049 /* FKFlickrActivityUserComments.m in Sources */, + 74292E31ED549537A2288872B5772C6E /* FKFlickrActivityUserPhotos.m in Sources */, + 663492B5E482C52965A570E913EFA81E /* FKFlickrAuthCheckToken.m in Sources */, + 631D5BFC552F5387D513AE5317673B63 /* FKFlickrAuthGetFrob.m in Sources */, + 4585989B912B7DB5A65AE0C9A5FC989C /* FKFlickrAuthGetFullToken.m in Sources */, + 21AFE90B4F2405683BF23C32A9FD8319 /* FKFlickrAuthGetToken.m in Sources */, + ADD41B0E3C2C89C249534C66027FE3B0 /* FKFlickrAuthOauthCheckToken.m in Sources */, + CC3035DC0059CF6CF13C053965D0B82C /* FKFlickrAuthOauthGetAccessToken.m in Sources */, + 7D8908CD8C2A053DCFB8ADEB9F244A03 /* FKFlickrBlogsGetList.m in Sources */, + 183A387EF9E1D8FB69B382E4D3681435 /* FKFlickrBlogsGetServices.m in Sources */, + 8C1EF61D5A2C8391FFAB8CDD5C0CC562 /* FKFlickrBlogsPostPhoto.m in Sources */, + EEE652880FC70FCD239122ABC70377B2 /* FKFlickrCamerasGetBrandModels.m in Sources */, + 0609765D1014212FEA5BE4CACB5609FA /* FKFlickrCamerasGetBrands.m in Sources */, + 0E4BF0D5D5F36B9D92A44835C5B44712 /* FKFlickrCollectionsGetInfo.m in Sources */, + 179C491B0A8AB7A4E5C9D5BFB45A6693 /* FKFlickrCollectionsGetTree.m in Sources */, + FBBC386396DDCE117DE7EA76B4ECA227 /* FKFlickrCommonsGetInstitutions.m in Sources */, + 05ACFFA4CC0137996C331E63D08A8F0D /* FKFlickrContactsGetList.m in Sources */, + 5767B3DFFE13FBCAA1878267C10FE732 /* FKFlickrContactsGetListRecentlyUploaded.m in Sources */, + 705C110A8F5B7330619D5707187A624D /* FKFlickrContactsGetPublicList.m in Sources */, + 6893F04EFFA537A181411E938B39D124 /* FKFlickrContactsGetTaggingSuggestions.m in Sources */, + 1DC676FB36B8BD4AA2AFCFD93EAB9A98 /* FKFlickrFavoritesAdd.m in Sources */, + 187A0230B680BCD29ED8CDF4F49BD207 /* FKFlickrFavoritesGetContext.m in Sources */, + 3CAF1C8429C74108E2FB0961F743EE62 /* FKFlickrFavoritesGetList.m in Sources */, + A7004E98704CFD670BC9E251DF36A54A /* FKFlickrFavoritesGetPublicList.m in Sources */, + 9280EF71C5083E9A8EBCAEC3FC7757FD /* FKFlickrFavoritesRemove.m in Sources */, + F0EEBEEEEDC035EF8A7091B3F01104D9 /* FKFlickrGalleriesAddPhoto.m in Sources */, + 51B141B22DBE27F7FE0838899E048E78 /* FKFlickrGalleriesCreate.m in Sources */, + 4899F78BF7EA547B0194194D84F4400F /* FKFlickrGalleriesEditMeta.m in Sources */, + 669431B3978125CAA529DCD3BAC4499F /* FKFlickrGalleriesEditPhoto.m in Sources */, + D506A15CEC59EA1252FFD511BA739D1C /* FKFlickrGalleriesEditPhotos.m in Sources */, + AB23797798306AE7CA63787684BAAF63 /* FKFlickrGalleriesGetInfo.m in Sources */, + 542436A2055E1C3F8C5EEE8D32C1E057 /* FKFlickrGalleriesGetList.m in Sources */, + 304CE19C228743EE66A4846D95DDE8BF /* FKFlickrGalleriesGetListForPhoto.m in Sources */, + 262CA8A74E45608770637CCE4D920ADE /* FKFlickrGalleriesGetPhotos.m in Sources */, + 015102C764D12A6D679838190CBC9CA2 /* FKFlickrGroupsBrowse.m in Sources */, + 4E022A87D83636D3E7D74E23A3908ABB /* FKFlickrGroupsDiscussRepliesAdd.m in Sources */, + E3AE00324196C738314BACE49AF64BAD /* FKFlickrGroupsDiscussRepliesDelete.m in Sources */, + 1EA7243CCE75E85E05BC9E653C52DE47 /* FKFlickrGroupsDiscussRepliesEdit.m in Sources */, + B5C921AB78F7A56038EA32567CB8CA88 /* FKFlickrGroupsDiscussRepliesGetInfo.m in Sources */, + 5B6381549FF6BCAFADCB07B3F6EA4B3E /* FKFlickrGroupsDiscussRepliesGetList.m in Sources */, + DE27A77403BF863D38A9EC1A13BD71D1 /* FKFlickrGroupsDiscussTopicsAdd.m in Sources */, + EA8E9BE25D2AA4750E4E8410E40B830C /* FKFlickrGroupsDiscussTopicsGetInfo.m in Sources */, + 72B22D1A576AC87CC89A82620BC230E6 /* FKFlickrGroupsDiscussTopicsGetList.m in Sources */, + 7CCC13A894DC2FFEEA28A8482A7B38DE /* FKFlickrGroupsGetInfo.m in Sources */, + 2DE95C118594F435524F2794D3E8F21C /* FKFlickrGroupsJoin.m in Sources */, + 489853F395BC5EB730DEE6FEF0FBEEE6 /* FKFlickrGroupsJoinRequest.m in Sources */, + 84BE12C3BB74848F79C3B49058FCBCE3 /* FKFlickrGroupsLeave.m in Sources */, + 84761A21BEE73DA428BFF6A04BBBD2CE /* FKFlickrGroupsMembersGetList.m in Sources */, + FA6961613BC702D29B4C26A7E7FF7798 /* FKFlickrGroupsPoolsAdd.m in Sources */, + 236FD254969429985B3B672F02F4E0E9 /* FKFlickrGroupsPoolsGetContext.m in Sources */, + B72018D0A09DD625FC24E614616A6775 /* FKFlickrGroupsPoolsGetGroups.m in Sources */, + 0B0BFB2A467D6A29E7BAF15FAFBC1FD3 /* FKFlickrGroupsPoolsGetPhotos.m in Sources */, + 3C6335C08B4A86CE4673E417889EB27E /* FKFlickrGroupsPoolsRemove.m in Sources */, + 8D935352E878CDD3A2263F0EE5A076E8 /* FKFlickrGroupsSearch.m in Sources */, + 7FDE7F27BFDBC0B33FFE022F7655A7E6 /* FKFlickrInterestingnessGetList.m in Sources */, + 027E99CDE78D61A8C1193A13A8D37906 /* FKFlickrMachinetagsGetNamespaces.m in Sources */, + 9CCBF2B3A133C527604A019C61D587A3 /* FKFlickrMachinetagsGetPairs.m in Sources */, + DA3AF01FAE846D7541257A3217E07898 /* FKFlickrMachinetagsGetPredicates.m in Sources */, + 43938E85F890818AD92D64748DBD1309 /* FKFlickrMachinetagsGetRecentValues.m in Sources */, + C165CCBFD4F47710AB85CD44805015C8 /* FKFlickrMachinetagsGetValues.m in Sources */, + 1A76AFD853E9655A1E5E360EF9A9E526 /* FKFlickrNetworkOperation.m in Sources */, + 5C20DE89B3F25BABBC8146252DF365FF /* FKFlickrPandaGetList.m in Sources */, + C18989ECF7FA6E93CF78C2230C112728 /* FKFlickrPandaGetPhotos.m in Sources */, + FA4D931D13B0A229044BC3A0A31A3E25 /* FKFlickrPeopleFindByEmail.m in Sources */, + 3D213A0817E1468548BE3CFE94977D32 /* FKFlickrPeopleFindByUsername.m in Sources */, + CCB813AC4A663404C1FE86B3C1F48E96 /* FKFlickrPeopleGetGroups.m in Sources */, + F0B8BD48159CA88D15DB1B4D59E5233F /* FKFlickrPeopleGetInfo.m in Sources */, + 93BF61930E49A70722CCF38683B7D773 /* FKFlickrPeopleGetLimits.m in Sources */, + BFCE484350F52D7F6C1E59CB3978A860 /* FKFlickrPeopleGetPhotos.m in Sources */, + 8CB0DD45F7546C3A139A3C526D3C3DDC /* FKFlickrPeopleGetPhotosOf.m in Sources */, + B02285BB718B03CDD32DFC36E9B3E89F /* FKFlickrPeopleGetPublicGroups.m in Sources */, + 3CC371779E989209C05EA9AEBA2FA9FB /* FKFlickrPeopleGetPublicPhotos.m in Sources */, + 654A78B3CEDC41D57F565DBAADE0815A /* FKFlickrPeopleGetUploadStatus.m in Sources */, + 7BAE0FD71F074010A6F3C9C8A96AB54F /* FKFlickrPhotosAddTags.m in Sources */, + 13AC0142D57DA00350DDE347A1D8BBAC /* FKFlickrPhotosCommentsAddComment.m in Sources */, + 43CC7F89DB16B2CD3595870437C7D2CC /* FKFlickrPhotosCommentsDeleteComment.m in Sources */, + 34D6BDAF6E9FDF030C530F4BF866AAF4 /* FKFlickrPhotosCommentsEditComment.m in Sources */, + 19454D5489DE30C788F68CD0AA02C9F4 /* FKFlickrPhotosCommentsGetList.m in Sources */, + B21CEE871CF69F7A62A17091A1A6EC86 /* FKFlickrPhotosCommentsGetRecentForContacts.m in Sources */, + 92084B2B3AD5A4674AF84F0871076986 /* FKFlickrPhotosDelete.m in Sources */, + 2BD4DC762642C876F625E90D05A0FFA2 /* FKFlickrPhotosetsAddPhoto.m in Sources */, + 77C5EB8077EB922D8F8C48DE58C1400D /* FKFlickrPhotosetsCommentsAddComment.m in Sources */, + 1030EE0A4C3BFB5C5084DE037E1E1297 /* FKFlickrPhotosetsCommentsDeleteComment.m in Sources */, + 739634B0219C7E343C2527050E20A238 /* FKFlickrPhotosetsCommentsEditComment.m in Sources */, + 49C540B60EFBE51E46145CD8FC9D59DB /* FKFlickrPhotosetsCommentsGetList.m in Sources */, + 1919340C20F2DF05BE2E86112E8513EE /* FKFlickrPhotosetsCreate.m in Sources */, + 88B737DC9568EC5CFD61D6B939F2288D /* FKFlickrPhotosetsDelete.m in Sources */, + FD56A1A1D8D9A65A3888B1CF2DC8165B /* FKFlickrPhotosetsEditMeta.m in Sources */, + 3A5B73A77C503D7C5D499DEB9316779C /* FKFlickrPhotosetsEditPhotos.m in Sources */, + 141872DE3E6D51EEFD897A5BEE1BB028 /* FKFlickrPhotosetsGetContext.m in Sources */, + 98492E36A8D032E06F335C35A3EF87EA /* FKFlickrPhotosetsGetInfo.m in Sources */, + 38B6643FEF67D2C48582509AC9B3EA33 /* FKFlickrPhotosetsGetList.m in Sources */, + EC3F01BAB40C3E13946B9900F3833F32 /* FKFlickrPhotosetsGetPhotos.m in Sources */, + 41F48EDC8EB0D59167C75143D825A01E /* FKFlickrPhotosetsOrderSets.m in Sources */, + A75DEACE7D55DCD9E64B7E99612D0919 /* FKFlickrPhotosetsRemovePhoto.m in Sources */, + E138C337946BEE5778DAF1E784E365E3 /* FKFlickrPhotosetsRemovePhotos.m in Sources */, + D88D8AC6638E014312B88C69F2260CB9 /* FKFlickrPhotosetsReorderPhotos.m in Sources */, + 2A123A9867CAF542D427B6F3F7787E84 /* FKFlickrPhotosetsSetPrimaryPhoto.m in Sources */, + 56021E2BD432296B87089880DF4FA021 /* FKFlickrPhotosGeoBatchCorrectLocation.m in Sources */, + 829BB6FACD2A97C17FE085BC642A2538 /* FKFlickrPhotosGeoCorrectLocation.m in Sources */, + 1B814C31D441593E4C97C24C8A86CDEF /* FKFlickrPhotosGeoGetLocation.m in Sources */, + C209A706FC46144C06D6CB98E0B27661 /* FKFlickrPhotosGeoGetPerms.m in Sources */, + 2AFE2A4BD3B7FD343CF404A11398E505 /* FKFlickrPhotosGeoPhotosForLocation.m in Sources */, + EDDB53408B6A739B7FD001C6C4CCD16C /* FKFlickrPhotosGeoRemoveLocation.m in Sources */, + 1189AAE192FCDC63BD40DF9E50D5FB38 /* FKFlickrPhotosGeoSetContext.m in Sources */, + A6676E135D00A9438540843899C8E165 /* FKFlickrPhotosGeoSetLocation.m in Sources */, + 9A85BF4C42D94AFE56A918D17EA800C7 /* FKFlickrPhotosGeoSetPerms.m in Sources */, + DEB86EFE1718355AD1C59EEBCB1667CE /* FKFlickrPhotosGetAllContexts.m in Sources */, + F2ED3DAC01108DF81E44B21DB327FABB /* FKFlickrPhotosGetContactsPhotos.m in Sources */, + AC7B96F959896BA83FF0B2A089F6F268 /* FKFlickrPhotosGetContactsPublicPhotos.m in Sources */, + BB72C24FF41C435C4EF1F1AD1AFD2547 /* FKFlickrPhotosGetContext.m in Sources */, + CC7C2EDB34C6F2923DFC0222824ADB49 /* FKFlickrPhotosGetCounts.m in Sources */, + E5BA274437E2DEF98A6F07C2198ED83B /* FKFlickrPhotosGetExif.m in Sources */, + 4C46F17ADD6B311044214016525CD940 /* FKFlickrPhotosGetFavorites.m in Sources */, + BFE69935EC80E65B1F25716446584BD4 /* FKFlickrPhotosGetInfo.m in Sources */, + 2F8F20419F110996EC3886E244EE24A5 /* FKFlickrPhotosGetNotInSet.m in Sources */, + 24DA21B2DA1A33141E7AB7C0382B9224 /* FKFlickrPhotosGetPerms.m in Sources */, + 1A2E9471CF1BA5C6B7AD330FF413DBA9 /* FKFlickrPhotosGetRecent.m in Sources */, + BBBF2E057F29A7668E3E94DB1D33CB20 /* FKFlickrPhotosGetSizes.m in Sources */, + C3B8FDB5C9F997A18DFA131F9B8F5ADA /* FKFlickrPhotosGetUntagged.m in Sources */, + D53BD63F66EE00FD7C0F83EA8D01B23D /* FKFlickrPhotosGetWithGeoData.m in Sources */, + 964A368F805C0A31680771BB10D3D520 /* FKFlickrPhotosGetWithoutGeoData.m in Sources */, + 5BD4605EA8874F27A6F8EF6FF9C51EAE /* FKFlickrPhotosLicensesGetInfo.m in Sources */, + C0F35514B4524EF705C6735DE38164D7 /* FKFlickrPhotosLicensesSetLicense.m in Sources */, + 80D7444A5626EA6B8151CD831724AA54 /* FKFlickrPhotosNotesAdd.m in Sources */, + 73F6EF23963286D3C53FACA0F91AE05C /* FKFlickrPhotosNotesDelete.m in Sources */, + 7EDCECA82EF4EAA42DD57E227607C4AB /* FKFlickrPhotosNotesEdit.m in Sources */, + C0F2851DD6405AB3D759FA66E1D67A6E /* FKFlickrPhotosPeopleAdd.m in Sources */, + 22FDEFCFEBF9ECB8E5F649E16A1BA6A2 /* FKFlickrPhotosPeopleDelete.m in Sources */, + FCBFC2157C3553CEB1169717F61E7F68 /* FKFlickrPhotosPeopleDeleteCoords.m in Sources */, + 3D31231BFCD4B7D6F2D73BBC8A97DFD5 /* FKFlickrPhotosPeopleEditCoords.m in Sources */, + 1ABC64E8433AF41D17B9BE9B4C0B0698 /* FKFlickrPhotosPeopleGetList.m in Sources */, + 847B304A9AB835C57610A19D2007FE64 /* FKFlickrPhotosRecentlyUpdated.m in Sources */, + 0254FE36A139CB86FFE3B45F9059DC1A /* FKFlickrPhotosRemoveTag.m in Sources */, + AC053A17C0DFF6242BF87BAB798A26EE /* FKFlickrPhotosSearch.m in Sources */, + FB476C2B366F5014B9024080B8FD2669 /* FKFlickrPhotosSetContentType.m in Sources */, + BFDCA63FFF2BF069E4F693723A7A6621 /* FKFlickrPhotosSetDates.m in Sources */, + F667E4B5EF12336F6B7BF091815072AA /* FKFlickrPhotosSetMeta.m in Sources */, + 592C62B8F930CCDCB1B11FA57CA5A14F /* FKFlickrPhotosSetPerms.m in Sources */, + 944F56D67295B0313739FE703818F986 /* FKFlickrPhotosSetSafetyLevel.m in Sources */, + 1042DB7B26A5168ED44ECF61F152D1A8 /* FKFlickrPhotosSetTags.m in Sources */, + F80784F640BAC904C20DDE52790A8B80 /* FKFlickrPhotosSuggestionsApproveSuggestion.m in Sources */, + ACBC18AF52D4C36EE6CAD30B61C266A5 /* FKFlickrPhotosSuggestionsGetList.m in Sources */, + A2F18343284881EFCFED59658AE29A2E /* FKFlickrPhotosSuggestionsRejectSuggestion.m in Sources */, + 86B310AEA62E4BECA6E59F7A80D10392 /* FKFlickrPhotosSuggestionsRemoveSuggestion.m in Sources */, + F99A35865D32CBD3269C524EC8CF1192 /* FKFlickrPhotosSuggestionsSuggestLocation.m in Sources */, + AA1F35169409DEA083182E9412095400 /* FKFlickrPhotosTransformRotate.m in Sources */, + 8FFC05F4F6D139F92BDAC40D09C31B1D /* FKFlickrPhotosUploadCheckTickets.m in Sources */, + A2D63E49221543BD262BD2D8BF596B65 /* FKFlickrPlacesFind.m in Sources */, + 9723A9803C548835E48D6C21BDAB179D /* FKFlickrPlacesFindByLatLon.m in Sources */, + 6B206EB3D7E1AD6E9AC0F3F9F87A4667 /* FKFlickrPlacesGetChildrenWithPhotosPublic.m in Sources */, + D734CE60FB0CF13ED367C4A63F0AE6A4 /* FKFlickrPlacesGetInfo.m in Sources */, + C40E445244B7A5A0B03398A1AD70E3E9 /* FKFlickrPlacesGetInfoByUrl.m in Sources */, + 7CE8478FB6229FCD3B10B1E8586707D4 /* FKFlickrPlacesGetPlaceTypes.m in Sources */, + 3964779315B4CF269F2BA3BE109292A7 /* FKFlickrPlacesGetShapeHistory.m in Sources */, + 21E40FEB70C803F975CC3F96836DAE3C /* FKFlickrPlacesGetTopPlacesList.m in Sources */, + 60E93DD547983DE30DA0B796B0E02AB3 /* FKFlickrPlacesPlacesForBoundingBox.m in Sources */, + 003722DD43AF414970D03EEF786E5E5E /* FKFlickrPlacesPlacesForContacts.m in Sources */, + 6FF34EB6FFF2F8F10DDE02AC096841DC /* FKFlickrPlacesPlacesForTags.m in Sources */, + B245EE9E7E3A31019B033263507BACC0 /* FKFlickrPlacesPlacesForUser.m in Sources */, + 221E7FD70D466000528180E4E841C83A /* FKFlickrPlacesResolvePlaceId.m in Sources */, + B270B8E1EDC35BCB4243D38906BE8B85 /* FKFlickrPlacesResolvePlaceURL.m in Sources */, + EA83673C524BB11F8667149D465F2362 /* FKFlickrPlacesTagsForPlace.m in Sources */, + A0CEF4AC3DA13D0AD7E977CE4641FC28 /* FKFlickrPrefsGetContentType.m in Sources */, + 9DF852C9748060B7842CEA0AFF31C212 /* FKFlickrPrefsGetGeoPerms.m in Sources */, + 1F23A083E7FC12740996A0CD943F0DE6 /* FKFlickrPrefsGetHidden.m in Sources */, + D15125FE45FDF0C2B25631954B8504DD /* FKFlickrPrefsGetPrivacy.m in Sources */, + E34511E75C71D20AED8F50DF10D140DE /* FKFlickrPrefsGetSafetyLevel.m in Sources */, + 079290724614504C6B5BB3BA5F75189E /* FKFlickrPushGetSubscriptions.m in Sources */, + DAAD34112BF3681599010CFDBC61E547 /* FKFlickrPushGetTopics.m in Sources */, + C49C6D47F7805E05B4BF5F40A83D1498 /* FKFlickrPushSubscribe.m in Sources */, + 5B89CDF198B568A45A43C97289824FA9 /* FKFlickrPushUnsubscribe.m in Sources */, + 282E794EB9D612BFBD5413924B2D602F /* FKFlickrReflectionGetMethodInfo.m in Sources */, + 98BA22539AB09F79440EDB6DA1F1AFFB /* FKFlickrReflectionGetMethods.m in Sources */, + 23BC9007A6C07E0E3B4407B9826C210C /* FKFlickrStatsGetCollectionDomains.m in Sources */, + 0D878D8CD0521D4036D2716F1B644654 /* FKFlickrStatsGetCollectionReferrers.m in Sources */, + 5E14C1E0EB1701103F76139CE39489C7 /* FKFlickrStatsGetCollectionStats.m in Sources */, + FE89B9AFEB946267DEA3A4230102E8BE /* FKFlickrStatsGetCSVFiles.m in Sources */, + 665C0FB97E01537E6AF752C6D8A926DD /* FKFlickrStatsGetPhotoDomains.m in Sources */, + 725D75C2400703084731CFC422C079FA /* FKFlickrStatsGetPhotoReferrers.m in Sources */, + 7159290EA13F4084EBE3EE4925A6DEBB /* FKFlickrStatsGetPhotosetDomains.m in Sources */, + 22D437D56E60FEB38B7D9BFCE45F70D8 /* FKFlickrStatsGetPhotosetReferrers.m in Sources */, + 30FCD7FB5E53156E0DE933E721B639BB /* FKFlickrStatsGetPhotosetStats.m in Sources */, + DA1DA146E63E4F8DC70E4138F751FA54 /* FKFlickrStatsGetPhotoStats.m in Sources */, + 9002BD5EA169464DDE189666DBF3E4EC /* FKFlickrStatsGetPhotostreamDomains.m in Sources */, + 6FBABA44E8AEA1A3AACF5155C661D900 /* FKFlickrStatsGetPhotostreamReferrers.m in Sources */, + 00AD58DC88CBE3816C1ED8F615F99F11 /* FKFlickrStatsGetPhotostreamStats.m in Sources */, + 2431B3C6525A82C7C1F8306F1D121FB8 /* FKFlickrStatsGetPopularPhotos.m in Sources */, + 957A9AD90A4937B210AAD4A443D9855B /* FKFlickrStatsGetTotalViews.m in Sources */, + 267602557E2C348E5271A6457D83DD90 /* FKFlickrTagsGetClusterPhotos.m in Sources */, + D70C168E95891D7318D5FD1728ACABBB /* FKFlickrTagsGetClusters.m in Sources */, + 4A42BFB5C7302F95F2E0D2CB5E82A078 /* FKFlickrTagsGetHotList.m in Sources */, + BB1F43F84031C202E94E9E5664E569FB /* FKFlickrTagsGetListPhoto.m in Sources */, + 28D7A10280322808CDB3A06E48227CCC /* FKFlickrTagsGetListUser.m in Sources */, + FA0B1AB2358EE101CE5D6F631EC560FE /* FKFlickrTagsGetListUserPopular.m in Sources */, + 285D9B3BEF6BB905D6EDB8C6F6F4F281 /* FKFlickrTagsGetListUserRaw.m in Sources */, + 3EA57890A2441D94AEB748DD0C4117D6 /* FKFlickrTagsGetMostFrequentlyUsed.m in Sources */, + 9F9DC70D9877F084B5186F57BD4245D3 /* FKFlickrTagsGetRelated.m in Sources */, + A96051AD64BF64C245C5F1E9BE313E00 /* FKFlickrTestEcho.m in Sources */, + B9E2616C43D81EEFEB28B97FE6C20ACD /* FKFlickrTestLogin.m in Sources */, + F38D64A61589F32138E6C4B237AF2A72 /* FKFlickrTestNull.m in Sources */, + 183A25E4E393C65E0BFE3C918F437089 /* FKFlickrUrlsGetGroup.m in Sources */, + ACEA726B665E439FC52EA7D1853579ED /* FKFlickrUrlsGetUserPhotos.m in Sources */, + E08C7C3564B5AC022060F4A5A7CB4636 /* FKFlickrUrlsGetUserProfile.m in Sources */, + C0238F419DEE6915A92302A7305BEA46 /* FKFlickrUrlsLookupGallery.m in Sources */, + 5FAA82204D35F77A942943D60244840D /* FKFlickrUrlsLookupGroup.m in Sources */, + 345E801A72B05958AD1A203168C967CB /* FKFlickrUrlsLookupUser.m in Sources */, + FF5FFB4333DC49EF6DD987338E25E1E6 /* FKImageUploadNetworkOperation.m in Sources */, + D2FEE4A9941340298828935ACBC6D6D7 /* FKOFHMACSha1Base64.m in Sources */, + BBA77EAA4D4379421544DD1AF8C72403 /* FKReachability.m in Sources */, + 807AE45B17D0C9F98D3967DE7DFE6483 /* FKUploadRespone.m in Sources */, + E7664663C1089F9B484B98815A877702 /* FKURLBuilder.m in Sources */, + D5CA9B124310FAF362B9D77A36B09E25 /* FKUtilities.m in Sources */, + 09142222047C1B252105ECEA5D98C2D5 /* FlickrKit-dummy.m in Sources */, + F61AA2E33C51B1C36BF4EA342187B6E9 /* FlickrKit.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D75A98946812D0833BFB43CA084C4179 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 58D05E3C900AEF625FA7579D80223F31 /* FAKIcon.m in Sources */, + 1420FA2A4B1ECA35CB728A4867A755C8 /* WeatherIconsKit-dummy.m in Sources */, + C72BF60ED41D90D4C19482A9FD8E598F /* WIKFontIcon.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F8347B35297B251943172BDF6691BA07 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E6547FAC3B9D94A6BBD9D1E91975F0B /* Pods-PrettyWeatherApp-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 2264C29E9B11C3D1855BBE996C94F2E0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FXBlurView; + target = 216303361BC095C1E2133C17471E97AE /* FXBlurView */; + targetProxy = F5D872500EEE354E4CF90A4033DFD8FA /* PBXContainerItemProxy */; + }; + 3F08C12B5136707C8A03971D0EC4214F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FlickrKit; + target = CAD0E1117D4E9F9D4EA0EFF50D087197 /* FlickrKit */; + targetProxy = 99F09267583305C4F398A2DF3AEF53AE /* PBXContainerItemProxy */; + }; + 431019057C94726B5814269D41D6E799 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = LatoFont; + target = B1FFB9A25C58794327E8C5C884BF8634 /* LatoFont */; + targetProxy = DB173E9DD6C518D41FD1C6518F0B1A5B /* PBXContainerItemProxy */; + }; + DE63BCFE9DA01DBF76D226E2ABD6331A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "LatoFont-LatoFont"; + target = 5F62D490B4007F58D75F65B5AC12B981 /* LatoFont-LatoFont */; + targetProxy = 095AA445C74F65DBB00CC5BA3A854E91 /* PBXContainerItemProxy */; + }; + F0F971BBD0C0154BB8158C9517D50432 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Alamofire; + target = AE3A1B3794CF2920DD36B50B0D6222EE /* Alamofire */; + targetProxy = 728ED657AB16E2F260FE8702D9802777 /* PBXContainerItemProxy */; + }; + F179F1D44DCEEE453243843D823D915B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SwiftyJSON; + target = F5FE6C3679EC1E2DD7E9D5FEC6B442C0 /* SwiftyJSON */; + targetProxy = 8CC30659772E69BFFB0E85C519D714AC /* PBXContainerItemProxy */; + }; + F535BF38F95575D3C14F8348C909876C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Cartography; + target = 1BA6EC064C4CD7E73A507FAA7E9BB35A /* Cartography */; + targetProxy = 08430A8EC03F1ED4717D7132027E8426 /* PBXContainerItemProxy */; + }; + F58621DBFCDEC9AF3F960E6D9A200DAD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = WeatherIconsKit; + target = 65B88C76CA16E992F8AC6847707D9010 /* WeatherIconsKit */; + targetProxy = 789FB4A21AD72EA85777F93579E13BA9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 171E6362A8170CAF5063532FD8F9CC00 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2668CE5B3138C3C8CF87FB74392429AD /* FlickrKit.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.0.5; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/FlickrKit/FlickrKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FlickrKit/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FlickrKit/FlickrKit.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = FlickrKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 2B882F31C4EA714C9B8FDCD3435B87E4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 182441916FC7C0C4A6657F4576D64EEA /* Cartography.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 0.5.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 0.5.0; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/Cartography/Cartography-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Cartography/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Cartography/Cartography.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = Cartography; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 2E8B9DA1CA2D265E077619FA88BE549D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 64666F2EB0FA404ADE10F67CEE58CE1A /* FXBlurView.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.6.4; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/FXBlurView/FXBlurView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FXBlurView/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FXBlurView/FXBlurView.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = FXBlurView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 3D744E3AD1DE3A6F102B133D20054DA8 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 70ADDB0D04A00E6321C701625EDE4AF3 /* SwiftyJSON.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 2.3.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 2; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/SwiftyJSON/SwiftyJSON-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SwiftyJSON/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SwiftyJSON/SwiftyJSON.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = SwiftyJSON; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 40F484AE9C96AF006756994D483FDAA8 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EDC23CEBE083BABC30F250E8F5CA79B8 /* WeatherIconsKit.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.0.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/WeatherIconsKit/WeatherIconsKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/WeatherIconsKit/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/WeatherIconsKit/WeatherIconsKit.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = WeatherIconsKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4BE82DDA8E053B843F90AEDF72F22A3B /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0D1D59F8135C5120F51D912624C6D3C2 /* Alamofire.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 2.0.2; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 2; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = Alamofire; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 7B077200C77E64909C7D63DF5F08E801 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DE4CE4308E48F25444777CC81BA4A7DF /* LatoFont.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + PRODUCT_NAME = LatoFont; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + WRAPPER_EXTENSION = bundle; + }; + name = Release; + }; + 8B3B8E2C904D2D3D10C798A9981A06EF /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 182441916FC7C0C4A6657F4576D64EEA /* Cartography.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 0.5.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 0.5.0; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/Cartography/Cartography-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Cartography/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Cartography/Cartography.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = Cartography; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 8D4E4B56898377217768CFA31AEA1A98 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 70ADDB0D04A00E6321C701625EDE4AF3 /* SwiftyJSON.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 2.3.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 2; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/SwiftyJSON/SwiftyJSON-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SwiftyJSON/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SwiftyJSON/SwiftyJSON.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = SwiftyJSON; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A638F4EBCBEC301A372E7AA96FC864CF /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DD2C20A94518AAF081C674BBC31127CF /* Pods-PrettyWeatherApp.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + INFOPLIST_FILE = "Target Support Files/Pods-PrettyWeatherApp/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = Pods_PrettyWeatherApp; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + ABB85D1177294D2967CB4872C046CF2E /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0D1D59F8135C5120F51D912624C6D3C2 /* Alamofire.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 2.0.2; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 2; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = Alamofire; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + AF86812F19C1B1E579066D42929E5F1E /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DE4CE4308E48F25444777CC81BA4A7DF /* LatoFont.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + PRODUCT_NAME = LatoFont; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + WRAPPER_EXTENSION = bundle; + }; + name = Debug; + }; + B26E3BA4DB87DB7CA68FF971839805C3 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DE4CE4308E48F25444777CC81BA4A7DF /* LatoFont.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.0.1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/LatoFont/LatoFont-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/LatoFont/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/LatoFont/LatoFont.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = LatoFont; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + BC3EB80359E4F8E0C914CC6AD1BEFF48 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DE4CE4308E48F25444777CC81BA4A7DF /* LatoFont.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.0.1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/LatoFont/LatoFont-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/LatoFont/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/LatoFont/LatoFont.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = LatoFont; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + C074F63C9EE7CB4D8C618390A32CEC35 /* 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; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + 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 = 9.1; + ONLY_ACTIVE_ARCH = YES; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + C2E6DFC99DF4BC43D3C4C896CBCBFB43 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2668CE5B3138C3C8CF87FB74392429AD /* FlickrKit.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.0.5; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/FlickrKit/FlickrKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FlickrKit/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FlickrKit/FlickrKit.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = FlickrKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E43846B588E1892F3093F3B7082B6DFB /* 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; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; + 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 = 9.1; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EA86A86FF9DAEFC6D1B6DC2B6AEC6D51 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EDC23CEBE083BABC30F250E8F5CA79B8 /* WeatherIconsKit.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.0.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/WeatherIconsKit/WeatherIconsKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/WeatherIconsKit/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/WeatherIconsKit/WeatherIconsKit.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = WeatherIconsKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + EF853DD225FC3E51864FDCF6C73CF45C /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 64666F2EB0FA404ADE10F67CEE58CE1A /* FXBlurView.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1.6.4; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/FXBlurView/FXBlurView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FXBlurView/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FXBlurView/FXBlurView.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = FXBlurView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + F5A5D6EE260E88A05169BCC23F318D4D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B67B1B53E4B540E510E9ADEB49057A19 /* Pods-PrettyWeatherApp.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + INFOPLIST_FILE = "Target Support Files/Pods-PrettyWeatherApp/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = Pods_PrettyWeatherApp; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C074F63C9EE7CB4D8C618390A32CEC35 /* Debug */, + E43846B588E1892F3093F3B7082B6DFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 639868A1743C3C69EF3FEFA0791FF002 /* Build configuration list for PBXNativeTarget "SwiftyJSON" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8D4E4B56898377217768CFA31AEA1A98 /* Debug */, + 3D744E3AD1DE3A6F102B133D20054DA8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 83EB1ADD4056647D4F9425AFF861D386 /* Build configuration list for PBXNativeTarget "FlickrKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 171E6362A8170CAF5063532FD8F9CC00 /* Debug */, + C2E6DFC99DF4BC43D3C4C896CBCBFB43 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 884963451370B39F8B83A541C3630EE7 /* Build configuration list for PBXNativeTarget "Pods-PrettyWeatherApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F5A5D6EE260E88A05169BCC23F318D4D /* Debug */, + A638F4EBCBEC301A372E7AA96FC864CF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9463EB78204EA12786C071D28EB16986 /* Build configuration list for PBXNativeTarget "Cartography" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2B882F31C4EA714C9B8FDCD3435B87E4 /* Debug */, + 8B3B8E2C904D2D3D10C798A9981A06EF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A78BE263E8C405C040CD211EB62AFE67 /* Build configuration list for PBXNativeTarget "Alamofire" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4BE82DDA8E053B843F90AEDF72F22A3B /* Debug */, + ABB85D1177294D2967CB4872C046CF2E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + AEC4300321C8B07C4F04075B4E59188A /* Build configuration list for PBXNativeTarget "LatoFont-LatoFont" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AF86812F19C1B1E579066D42929E5F1E /* Debug */, + 7B077200C77E64909C7D63DF5F08E801 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B87C581B05D9B7601DFB192F5656AB17 /* Build configuration list for PBXNativeTarget "WeatherIconsKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 40F484AE9C96AF006756994D483FDAA8 /* Debug */, + EA86A86FF9DAEFC6D1B6DC2B6AEC6D51 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C59A1B8958FDF14B46C8E398A2CE9D76 /* Build configuration list for PBXNativeTarget "LatoFont" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BC3EB80359E4F8E0C914CC6AD1BEFF48 /* Debug */, + B26E3BA4DB87DB7CA68FF971839805C3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FA048F90958A838716CFDF71A3EF6730 /* Build configuration list for PBXNativeTarget "FXBlurView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EF853DD225FC3E51864FDCF6C73CF45C /* Debug */, + 2E8B9DA1CA2D265E077619FA88BE549D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/PrettyWeatherApp/Pods/SwiftyJSON/LICENSE b/PrettyWeatherApp/Pods/SwiftyJSON/LICENSE new file mode 100644 index 0000000..a7af196 --- /dev/null +++ b/PrettyWeatherApp/Pods/SwiftyJSON/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Ruoyu Fu + +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. diff --git a/PrettyWeatherApp/Pods/SwiftyJSON/README.md b/PrettyWeatherApp/Pods/SwiftyJSON/README.md new file mode 100644 index 0000000..6c772d9 --- /dev/null +++ b/PrettyWeatherApp/Pods/SwiftyJSON/README.md @@ -0,0 +1,373 @@ +#SwiftyJSON [中文介绍](http://tangplin.github.io/swiftyjson/) + +SwiftyJSON makes it easy to deal with JSON data in Swift. + +1. [Why is the typical JSON handling in Swift NOT good](#why-is-the-typical-json-handling-in-swift-not-good) +1. [Requirements](#requirements) +1. [Integration](#integration) +1. [Usage](#usage) + - [Initialization](#initialization) + - [Subscript](#subscript) + - [Loop](#loop) + - [Error](#error) + - [Optional getter](#optional-getter) + - [Non-optional getter](#non-optional-getter) + - [Setter](#setter) + - [Raw object](#raw-object) + - [Literal convertibles](#literal-convertibles) +1. [Work with Alamofire](#work-with-alamofire) + +##Why is the typical JSON handling in Swift NOT good? +Swift is very strict about types. But although explicit typing is good for saving us from mistakes, it becomes painful when dealing with JSON and other areas that are, by nature, implicit about types. + +Take the Twitter API for example. Say we want to retrieve a user's "name" value of some tweet in Swift (according to Twitter's API https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline). + +The code would look like this: + +```swift + +let JSONObject: AnyObject? = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil) + +if let statusesArray = JSONObject as? [AnyObject], + let status = statusesArray[0] as? [String: AnyObject], + let user = status["user"] as? [String: AnyObject], + let username = user["name"] as? String { + // Finally we got the username +} + +``` + +It's not good. + +Even if we use optional chaining, it would be messy: + +```swift + +let JSONObject: AnyObject? = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil) + +if let username = (((JSONObject as? [AnyObject])?[0] as? [String: AnyObject])?["user"] as? [String: AnyObject])?["name"] as? String { + // What a disaster +} + +``` +An unreadable mess--for something that should really be simple! + +With SwiftyJSON all you have to do is: + +```swift + +let json = JSON(data: dataFromNetworking) +if let userName = json[0]["user"]["name"].string { + //Now you got your value +} + +``` + +And don't worry about the Optional Wrapping thing. It's done for you automatically. + +```swift + +let json = JSON(data: dataFromNetworking) +if let userName = json[999999]["wrong_key"]["wrong_name"].string { + //Calm down, take it easy, the ".string" property still produces the correct Optional String type with safety +} else { + //Print the error + println(json[999999]["wrong_key"]["wrong_name"]) +} + +``` + +## Requirements + +- iOS 7.0+ / Mac OS X 10.9+ +- Xcode 7 + +##Integration + +####CocoaPods (iOS 8+, OS X 10.9+) +You can use [Cocoapods](http://cocoapods.org/) to install `SwiftyJSON`by adding it to your `Podfile`: +```ruby +platform :ios, '8.0' +use_frameworks! + +target 'MyApp' do + pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git' +end +``` +Note that this requires CocoaPods version 36, and your iOS deployment target to be at least 8.0: + +####Carthage (iOS 8+, OS X 10.9+) +You can use [Carthage](https://github.com/Carthage/Carthage) to install `SwiftyJSON` by adding it to your `Cartfile`: +``` +github "SwiftyJSON/SwiftyJSON" +``` + +####Manually (iOS 7+, OS X 10.9+) + +To use this library in your project manually you may: + +1. for Projects, just drag SwiftyJSON.swift to the project tree +2. for Workspaces, include the whole SwiftyJSON.xcodeproj + +## Usage + +####Initialization +```swift +import SwiftyJSON +``` +```swift +let json = JSON(data: dataFromNetworking) +``` +```swift +let json = JSON(jsonObject) +``` +```swift +if let dataFromString = jsonString.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false) { + let json = JSON(data: dataFromString) +} +``` + +####Subscript +```swift +//Getting a double from a JSON Array +let name = json[0].double +``` +```swift +//Getting a string from a JSON Dictionary +let name = json["name"].stringValue +``` +```swift +//Getting a string using a path to the element +let path = [1,"list",2,"name"] +let name = json[path].string +//Just the same +let name = json[1]["list"][2]["name"].string +//Alternatively +let name = json[1,"list",2,"name"].string +``` +```swift +//With a hard way +let name = json[].string +``` +```swift +//With a custom way +let keys:[SubscriptType] = [1,"list",2,"name"] +let name = json[keys].string +``` +####Loop +```swift +//If json is .Dictionary +for (key,subJson):(String, JSON) in json { + //Do something you want +} +``` +*The first element is always a String, even if the JSON is an Array* +```swift +//If json is .Array +//The `index` is 0.. = json["list"].arrayValue +``` +```swift +//If not a Dictionary or nil, return [:] +let user: Dictionary = json["user"].dictionaryValue +``` + +####Setter +```swift +json["name"] = JSON("new-name") +json[0] = JSON(1) +``` +```swift +json["id"].int = 1234567890 +json["coordinate"].double = 8766.766 +json["name"].string = "Jack" +json.arrayObject = [1,2,3,4] +json.dictionary = ["name":"Jack", "age":25] +``` + +####Raw object +```swift +let jsonObject: AnyObject = json.object +``` +```swift +if let jsonObject: AnyObject = json.rawValue +``` +```swift +//convert the JSON to raw NSData +if let data = json.rawData() { + //Do something you want +} +``` +```swift +//convert the JSON to a raw String +if let string = json.rawString() { + //Do something you want +} +``` +####Literal convertibles +For more info about literal convertibles: [Swift Literal Convertibles](http://nshipster.com/swift-literal-convertible/) +```swift +//StringLiteralConvertible +let json: JSON = "I'm a json" +``` +```swift +//IntegerLiteralConvertible +let json: JSON = 12345 +``` +```swift +//BooleanLiteralConvertible +let json: JSON = true +``` +```swift +//FloatLiteralConvertible +let json: JSON = 2.8765 +``` +```swift +//DictionaryLiteralConvertible +let json: JSON = ["I":"am", "a":"json"] +``` +```swift +//ArrayLiteralConvertible +let json: JSON = ["I", "am", "a", "json"] +``` +```swift +//NilLiteralConvertible +let json: JSON = nil +``` +```swift +//With subscript in array +var json: JSON = [1,2,3] +json[0] = 100 +json[1] = 200 +json[2] = 300 +json[999] = 300 //Don't worry, nothing will happen +``` +```swift +//With subscript in dictionary +var json: JSON = ["name": "Jack", "age": 25] +json["name"] = "Mike" +json["age"] = "25" //It's OK to set String +json["address"] = "L.A." // Add the "address": "L.A." in json +``` +```swift +//Array & Dictionary +var json: JSON = ["name": "Jack", "age": 25, "list": ["a", "b", "c", ["what": "this"]]] +json["list"][3]["what"] = "that" +json["list",3,"what"] = "that" +let path = ["list",3,"what"] +json[path] = "that" +``` +##Work with Alamofire + +SwiftyJSON nicely wraps the result of the Alamofire JSON response handler: +```swift +Alamofire.request(.GET, url, parameters: parameters) + .responseJSON { (req, res, json, error) in + if(error != nil) { + NSLog("Error: \(error)") + println(req) + println(res) + } + else { + NSLog("Success: \(url)") + var json = JSON(json!) + } + } +``` diff --git a/PrettyWeatherApp/Pods/SwiftyJSON/Source/SwiftyJSON.swift b/PrettyWeatherApp/Pods/SwiftyJSON/Source/SwiftyJSON.swift new file mode 100644 index 0000000..61423a3 --- /dev/null +++ b/PrettyWeatherApp/Pods/SwiftyJSON/Source/SwiftyJSON.swift @@ -0,0 +1,1343 @@ +// SwiftyJSON.swift +// +// Copyright (c) 2014 Ruoyu Fu, Pinglin Tang +// +// 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 Foundation + +// MARK: - Error + +///Error domain +public let ErrorDomain: String! = "SwiftyJSONErrorDomain" + +///Error code +public let ErrorUnsupportedType: Int! = 999 +public let ErrorIndexOutOfBounds: Int! = 900 +public let ErrorWrongType: Int! = 901 +public let ErrorNotExist: Int! = 500 + +// MARK: - JSON Type + +/** +JSON's type definitions. + +See http://tools.ietf.org/html/rfc7231#section-4.3 +*/ +public enum Type :Int{ + + case Number + case String + case Bool + case Array + case Dictionary + case Null + case Unknown +} + +// MARK: - JSON Base + +public struct JSON { + + /** + Creates a JSON using the data. + + - parameter data: The NSData used to convert to json.Top level object in data is an NSArray or NSDictionary + - parameter opt: The JSON serialization reading options. `.AllowFragments` by default. + - parameter error: error The NSErrorPointer used to return the error. `nil` by default. + + - returns: The created JSON + */ + public init(data:NSData, options opt: NSJSONReadingOptions = .AllowFragments, error: NSErrorPointer = nil) { + do { + let object: AnyObject = try NSJSONSerialization.JSONObjectWithData(data, options: opt) + self.init(object) + } catch let aError as NSError { + if error != nil { + error.memory = aError + } + self.init(NSNull()) + } + } + + /** + Creates a JSON using the object. + + - parameter object: The object must have the following properties: All objects are NSString/String, NSNumber/Int/Float/Double/Bool, NSArray/Array, NSDictionary/Dictionary, or NSNull; All dictionary keys are NSStrings/String; NSNumbers are not NaN or infinity. + + - returns: The created JSON + */ + public init(_ object: AnyObject) { + self.object = object + } + + /** + Creates a JSON from a [JSON] + + - parameter jsonArray: A Swift array of JSON objects + + - returns: The created JSON + */ + public init(_ jsonArray:[JSON]) { + self.init(jsonArray.map { $0.object }) + } + + /** + Creates a JSON from a [String: JSON] + + :param: jsonDictionary A Swift dictionary of JSON objects + + :returns: The created JSON + */ + public init(_ jsonDictionary:[String: JSON]) { + var dictionary = [String: AnyObject]() + for (key, json) in jsonDictionary { + dictionary[key] = json.object + } + self.init(dictionary) + } + + /// Private object + private var rawArray: [AnyObject] = [] + private var rawDictionary: [String : AnyObject] = [:] + private var rawString: String = "" + private var rawNumber: NSNumber = 0 + private var rawNull: NSNull = NSNull() + /// Private type + private var _type: Type = .Null + /// prviate error + private var _error: NSError? = nil + + /// Object in JSON + public var object: AnyObject { + get { + switch self.type { + case .Array: + return self.rawArray + case .Dictionary: + return self.rawDictionary + case .String: + return self.rawString + case .Number: + return self.rawNumber + case .Bool: + return self.rawNumber + default: + return self.rawNull + } + } + set { + _error = nil + switch newValue { + case let number as NSNumber: + if number.isBool { + _type = .Bool + } else { + _type = .Number + } + self.rawNumber = number + case let string as String: + _type = .String + self.rawString = string + case _ as NSNull: + _type = .Null + case let array as [AnyObject]: + _type = .Array + self.rawArray = array + case let dictionary as [String : AnyObject]: + _type = .Dictionary + self.rawDictionary = dictionary + default: + _type = .Unknown + _error = NSError(domain: ErrorDomain, code: ErrorUnsupportedType, userInfo: [NSLocalizedDescriptionKey: "It is a unsupported type"]) + } + } + } + + /// json type + public var type: Type { get { return _type } } + + /// Error in JSON + public var error: NSError? { get { return self._error } } + + /// The static null json + @available(*, unavailable, renamed="null") + public static var nullJSON: JSON { get { return null } } + public static var null: JSON { get { return JSON(NSNull()) } } +} + +// MARK: - CollectionType, SequenceType, Indexable +extension JSON : Swift.CollectionType, Swift.SequenceType, Swift.Indexable { + + public typealias Generator = JSONGenerator + + public typealias Index = JSONIndex + + public var startIndex: JSON.Index { + switch self.type { + case .Array: + return JSONIndex(arrayIndex: self.rawArray.startIndex) + case .Dictionary: + return JSONIndex(dictionaryIndex: self.rawDictionary.startIndex) + default: + return JSONIndex() + } + } + + public var endIndex: JSON.Index { + switch self.type { + case .Array: + return JSONIndex(arrayIndex: self.rawArray.endIndex) + case .Dictionary: + return JSONIndex(dictionaryIndex: self.rawDictionary.endIndex) + default: + return JSONIndex() + } + } + + public subscript (position: JSON.Index) -> JSON.Generator.Element { + switch self.type { + case .Array: + return (String(position.arrayIndex), JSON(self.rawArray[position.arrayIndex!])) + case .Dictionary: + let (key, value) = self.rawDictionary[position.dictionaryIndex!] + return (key, JSON(value)) + default: + return ("", JSON.null) + } + } + + /// If `type` is `.Array` or `.Dictionary`, return `array.empty` or `dictonary.empty` otherwise return `false`. + public var isEmpty: Bool { + get { + switch self.type { + case .Array: + return self.rawArray.isEmpty + case .Dictionary: + return self.rawDictionary.isEmpty + default: + return true + } + } + } + + /// If `type` is `.Array` or `.Dictionary`, return `array.count` or `dictonary.count` otherwise return `0`. + public var count: Int { + switch self.type { + case .Array: + return self.rawArray.count + case .Dictionary: + return self.rawDictionary.count + default: + return 0 + } + } + + public func underestimateCount() -> Int { + switch self.type { + case .Array: + return self.rawArray.underestimateCount() + case .Dictionary: + return self.rawDictionary.underestimateCount() + default: + return 0 + } + } + + /** + If `type` is `.Array` or `.Dictionary`, return a generator over the elements like `Array` or `Dictionary`, otherwise return a generator over empty. + + - returns: Return a *generator* over the elements of JSON. + */ + public func generate() -> JSON.Generator { + return JSON.Generator(self) + } +} + +public struct JSONIndex: ForwardIndexType, _Incrementable, Equatable, Comparable { + + let arrayIndex: Int? + let dictionaryIndex: DictionaryIndex? + + let type: Type + + init(){ + self.arrayIndex = nil + self.dictionaryIndex = nil + self.type = .Unknown + } + + init(arrayIndex: Int) { + self.arrayIndex = arrayIndex + self.dictionaryIndex = nil + self.type = .Array + } + + init(dictionaryIndex: DictionaryIndex) { + self.arrayIndex = nil + self.dictionaryIndex = dictionaryIndex + self.type = .Dictionary + } + + public func successor() -> JSONIndex { + switch self.type { + case .Array: + return JSONIndex(arrayIndex: self.arrayIndex!.successor()) + case .Dictionary: + return JSONIndex(dictionaryIndex: self.dictionaryIndex!.successor()) + default: + return JSONIndex() + } + } +} + +public func ==(lhs: JSONIndex, rhs: JSONIndex) -> Bool { + switch (lhs.type, rhs.type) { + case (.Array, .Array): + return lhs.arrayIndex == rhs.arrayIndex + case (.Dictionary, .Dictionary): + return lhs.dictionaryIndex == rhs.dictionaryIndex + default: + return false + } +} + +public func <(lhs: JSONIndex, rhs: JSONIndex) -> Bool { + switch (lhs.type, rhs.type) { + case (.Array, .Array): + return lhs.arrayIndex < rhs.arrayIndex + case (.Dictionary, .Dictionary): + return lhs.dictionaryIndex < rhs.dictionaryIndex + default: + return false + } +} + +public func <=(lhs: JSONIndex, rhs: JSONIndex) -> Bool { + switch (lhs.type, rhs.type) { + case (.Array, .Array): + return lhs.arrayIndex <= rhs.arrayIndex + case (.Dictionary, .Dictionary): + return lhs.dictionaryIndex <= rhs.dictionaryIndex + default: + return false + } +} + +public func >=(lhs: JSONIndex, rhs: JSONIndex) -> Bool { + switch (lhs.type, rhs.type) { + case (.Array, .Array): + return lhs.arrayIndex >= rhs.arrayIndex + case (.Dictionary, .Dictionary): + return lhs.dictionaryIndex >= rhs.dictionaryIndex + default: + return false + } +} + +public func >(lhs: JSONIndex, rhs: JSONIndex) -> Bool { + switch (lhs.type, rhs.type) { + case (.Array, .Array): + return lhs.arrayIndex > rhs.arrayIndex + case (.Dictionary, .Dictionary): + return lhs.dictionaryIndex > rhs.dictionaryIndex + default: + return false + } +} + +public struct JSONGenerator : GeneratorType { + + public typealias Element = (String, JSON) + + private let type: Type + private var dictionayGenerate: DictionaryGenerator? + private var arrayGenerate: IndexingGenerator<[AnyObject]>? + private var arrayIndex: Int = 0 + + init(_ json: JSON) { + self.type = json.type + if type == .Array { + self.arrayGenerate = json.rawArray.generate() + }else { + self.dictionayGenerate = json.rawDictionary.generate() + } + } + + public mutating func next() -> JSONGenerator.Element? { + switch self.type { + case .Array: + if let o = self.arrayGenerate!.next() { + return (String(self.arrayIndex++), JSON(o)) + } else { + return nil + } + case .Dictionary: + if let (k, v): (String, AnyObject) = self.dictionayGenerate!.next() { + return (k, JSON(v)) + } else { + return nil + } + default: + return nil + } + } +} + +// MARK: - Subscript + +/** +* To mark both String and Int can be used in subscript. +*/ +public protocol JSONSubscriptType {} + +extension Int: JSONSubscriptType {} + +extension String: JSONSubscriptType {} + +extension JSON { + + /// If `type` is `.Array`, return json which's object is `array[index]`, otherwise return null json with error. + private subscript(index index: Int) -> JSON { + get { + if self.type != .Array { + var r = JSON.null + r._error = self._error ?? NSError(domain: ErrorDomain, code: ErrorWrongType, userInfo: [NSLocalizedDescriptionKey: "Array[\(index)] failure, It is not an array"]) + return r + } else if index >= 0 && index < self.rawArray.count { + return JSON(self.rawArray[index]) + } else { + var r = JSON.null + r._error = NSError(domain: ErrorDomain, code:ErrorIndexOutOfBounds , userInfo: [NSLocalizedDescriptionKey: "Array[\(index)] is out of bounds"]) + return r + } + } + set { + if self.type == .Array { + if self.rawArray.count > index && newValue.error == nil { + self.rawArray[index] = newValue.object + } + } + } + } + + /// If `type` is `.Dictionary`, return json which's object is `dictionary[key]` , otherwise return null json with error. + private subscript(key key: String) -> JSON { + get { + var r = JSON.null + if self.type == .Dictionary { + if let o = self.rawDictionary[key] { + r = JSON(o) + } else { + r._error = NSError(domain: ErrorDomain, code: ErrorNotExist, userInfo: [NSLocalizedDescriptionKey: "Dictionary[\"\(key)\"] does not exist"]) + } + } else { + r._error = self._error ?? NSError(domain: ErrorDomain, code: ErrorWrongType, userInfo: [NSLocalizedDescriptionKey: "Dictionary[\"\(key)\"] failure, It is not an dictionary"]) + } + return r + } + set { + if self.type == .Dictionary && newValue.error == nil { + self.rawDictionary[key] = newValue.object + } + } + } + + /// If `sub` is `Int`, return `subscript(index:)`; If `sub` is `String`, return `subscript(key:)`. + private subscript(sub sub: JSONSubscriptType) -> JSON { + get { + if sub is String { + return self[key:sub as! String] + } else { + return self[index:sub as! Int] + } + } + set { + if sub is String { + self[key:sub as! String] = newValue + } else { + self[index:sub as! Int] = newValue + } + } + } + + /** + Find a json in the complex data structuresby using the Int/String's array. + + - parameter path: The target json's path. Example: + + let json = JSON[data] + let path = [9,"list","person","name"] + let name = json[path] + + The same as: let name = json[9]["list"]["person"]["name"] + + - returns: Return a json found by the path or a null json with error + */ + public subscript(path: [JSONSubscriptType]) -> JSON { + get { + return path.reduce(self) { $0[sub: $1] } + } + set { + switch path.count { + case 0: + return + case 1: + self[sub:path[0]].object = newValue.object + default: + var aPath = path; aPath.removeAtIndex(0) + var nextJSON = self[sub: path[0]] + nextJSON[aPath] = newValue + self[sub: path[0]] = nextJSON + } + } + } + + /** + Find a json in the complex data structuresby using the Int/String's array. + + - parameter path: The target json's path. Example: + + let name = json[9,"list","person","name"] + + The same as: let name = json[9]["list"]["person"]["name"] + + - returns: Return a json found by the path or a null json with error + */ + public subscript(path: JSONSubscriptType...) -> JSON { + get { + return self[path] + } + set { + self[path] = newValue + } + } +} + +// MARK: - LiteralConvertible + +extension JSON: Swift.StringLiteralConvertible { + + public init(stringLiteral value: StringLiteralType) { + self.init(value) + } + + public init(extendedGraphemeClusterLiteral value: StringLiteralType) { + self.init(value) + } + + public init(unicodeScalarLiteral value: StringLiteralType) { + self.init(value) + } +} + +extension JSON: Swift.IntegerLiteralConvertible { + + public init(integerLiteral value: IntegerLiteralType) { + self.init(value) + } +} + +extension JSON: Swift.BooleanLiteralConvertible { + + public init(booleanLiteral value: BooleanLiteralType) { + self.init(value) + } +} + +extension JSON: Swift.FloatLiteralConvertible { + + public init(floatLiteral value: FloatLiteralType) { + self.init(value) + } +} + +extension JSON: Swift.DictionaryLiteralConvertible { + + public init(dictionaryLiteral elements: (String, AnyObject)...) { + self.init(elements.reduce([String : AnyObject]()){(dictionary: [String : AnyObject], element:(String, AnyObject)) -> [String : AnyObject] in + var d = dictionary + d[element.0] = element.1 + return d + }) + } +} + +extension JSON: Swift.ArrayLiteralConvertible { + + public init(arrayLiteral elements: AnyObject...) { + self.init(elements) + } +} + +extension JSON: Swift.NilLiteralConvertible { + + public init(nilLiteral: ()) { + self.init(NSNull()) + } +} + +// MARK: - Raw + +extension JSON: Swift.RawRepresentable { + + public init?(rawValue: AnyObject) { + if JSON(rawValue).type == .Unknown { + return nil + } else { + self.init(rawValue) + } + } + + public var rawValue: AnyObject { + return self.object + } + + public func rawData(options opt: NSJSONWritingOptions = NSJSONWritingOptions(rawValue: 0)) throws -> NSData { + return try NSJSONSerialization.dataWithJSONObject(self.object, options: opt) + } + + public func rawString(encoding: UInt = NSUTF8StringEncoding, options opt: NSJSONWritingOptions = .PrettyPrinted) -> String? { + switch self.type { + case .Array, .Dictionary: + do { + let data = try self.rawData(options: opt) + return NSString(data: data, encoding: encoding) as? String + } catch _ { + return nil + } + case .String: + return self.rawString + case .Number: + return self.rawNumber.stringValue + case .Bool: + return self.rawNumber.boolValue.description + case .Null: + return "null" + default: + return nil + } + } +} + +// MARK: - Printable, DebugPrintable + +extension JSON: Swift.Printable, Swift.DebugPrintable { + + public var description: String { + if let string = self.rawString(options:.PrettyPrinted) { + return string + } else { + return "unknown" + } + } + + public var debugDescription: String { + return description + } +} + +// MARK: - Array + +extension JSON { + + //Optional [JSON] + public var array: [JSON]? { + get { + if self.type == .Array { + return self.rawArray.map{ JSON($0) } + } else { + return nil + } + } + } + + //Non-optional [JSON] + public var arrayValue: [JSON] { + get { + return self.array ?? [] + } + } + + //Optional [AnyObject] + public var arrayObject: [AnyObject]? { + get { + switch self.type { + case .Array: + return self.rawArray + default: + return nil + } + } + set { + if let array = newValue { + self.object = array + } else { + self.object = NSNull() + } + } + } +} + +// MARK: - Dictionary + +extension JSON { + + //Optional [String : JSON] + public var dictionary: [String : JSON]? { + if self.type == .Dictionary { + return self.rawDictionary.reduce([String : JSON]()) { (dictionary: [String : JSON], element: (String, AnyObject)) -> [String : JSON] in + var d = dictionary + d[element.0] = JSON(element.1) + return d + } + } else { + return nil + } + } + + //Non-optional [String : JSON] + public var dictionaryValue: [String : JSON] { + return self.dictionary ?? [:] + } + + //Optional [String : AnyObject] + public var dictionaryObject: [String : AnyObject]? { + get { + switch self.type { + case .Dictionary: + return self.rawDictionary + default: + return nil + } + } + set { + if let v = newValue { + self.object = v + } else { + self.object = NSNull() + } + } + } +} + +// MARK: - Bool + +extension JSON: Swift.BooleanType { + + //Optional bool + public var bool: Bool? { + get { + switch self.type { + case .Bool: + return self.rawNumber.boolValue + default: + return nil + } + } + set { + if newValue != nil { + self.object = NSNumber(bool: newValue!) + } else { + self.object = NSNull() + } + } + } + + //Non-optional bool + public var boolValue: Bool { + get { + switch self.type { + case .Bool, .Number, .String: + return self.object.boolValue + default: + return false + } + } + set { + self.object = NSNumber(bool: newValue) + } + } +} + +// MARK: - String + +extension JSON { + + //Optional string + public var string: String? { + get { + switch self.type { + case .String: + return self.object as? String + default: + return nil + } + } + set { + if newValue != nil { + self.object = NSString(string:newValue!) + } else { + self.object = NSNull() + } + } + } + + //Non-optional string + public var stringValue: String { + get { + switch self.type { + case .String: + return self.object as! String + case .Number: + return self.object.stringValue + case .Bool: + return (self.object as! Bool).description + default: + return "" + } + } + set { + self.object = NSString(string:newValue) + } + } +} + +// MARK: - Number +extension JSON { + + //Optional number + public var number: NSNumber? { + get { + switch self.type { + case .Number, .Bool: + return self.rawNumber + default: + return nil + } + } + set { + self.object = newValue ?? NSNull() + } + } + + //Non-optional number + public var numberValue: NSNumber { + get { + switch self.type { + case .String: + let scanner = NSScanner(string: self.object as! String) + if scanner.scanDouble(nil){ + if (scanner.atEnd) { + return NSNumber(double:(self.object as! NSString).doubleValue) + } + } + return NSNumber(double: 0.0) + case .Number, .Bool: + return self.object as! NSNumber + default: + return NSNumber(double: 0.0) + } + } + set { + self.object = newValue + } + } +} + +//MARK: - Null +extension JSON { + + public var null: NSNull? { + get { + switch self.type { + case .Null: + return self.rawNull + default: + return nil + } + } + set { + self.object = NSNull() + } + } +} + +//MARK: - URL +extension JSON { + + //Optional URL + public var URL: NSURL? { + get { + switch self.type { + case .String: + if let encodedString_ = self.rawString.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLQueryAllowedCharacterSet()) { + return NSURL(string: encodedString_) + } else { + return nil + } + default: + return nil + } + } + set { + self.object = newValue?.absoluteString ?? NSNull() + } + } +} + +// MARK: - Int, Double, Float, Int8, Int16, Int32, Int64 + +extension JSON { + + public var double: Double? { + get { + return self.number?.doubleValue + } + set { + if newValue != nil { + self.object = NSNumber(double: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var doubleValue: Double { + get { + return self.numberValue.doubleValue + } + set { + self.object = NSNumber(double: newValue) + } + } + + public var float: Float? { + get { + return self.number?.floatValue + } + set { + if newValue != nil { + self.object = NSNumber(float: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var floatValue: Float { + get { + return self.numberValue.floatValue + } + set { + self.object = NSNumber(float: newValue) + } + } + + public var int: Int? { + get { + return self.number?.longValue + } + set { + if newValue != nil { + self.object = NSNumber(integer: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var intValue: Int { + get { + return self.numberValue.integerValue + } + set { + self.object = NSNumber(integer: newValue) + } + } + + public var uInt: UInt? { + get { + return self.number?.unsignedLongValue + } + set { + if newValue != nil { + self.object = NSNumber(unsignedLong: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var uIntValue: UInt { + get { + return self.numberValue.unsignedLongValue + } + set { + self.object = NSNumber(unsignedLong: newValue) + } + } + + public var int8: Int8? { + get { + return self.number?.charValue + } + set { + if newValue != nil { + self.object = NSNumber(char: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var int8Value: Int8 { + get { + return self.numberValue.charValue + } + set { + self.object = NSNumber(char: newValue) + } + } + + public var uInt8: UInt8? { + get { + return self.number?.unsignedCharValue + } + set { + if newValue != nil { + self.object = NSNumber(unsignedChar: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var uInt8Value: UInt8 { + get { + return self.numberValue.unsignedCharValue + } + set { + self.object = NSNumber(unsignedChar: newValue) + } + } + + public var int16: Int16? { + get { + return self.number?.shortValue + } + set { + if newValue != nil { + self.object = NSNumber(short: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var int16Value: Int16 { + get { + return self.numberValue.shortValue + } + set { + self.object = NSNumber(short: newValue) + } + } + + public var uInt16: UInt16? { + get { + return self.number?.unsignedShortValue + } + set { + if newValue != nil { + self.object = NSNumber(unsignedShort: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var uInt16Value: UInt16 { + get { + return self.numberValue.unsignedShortValue + } + set { + self.object = NSNumber(unsignedShort: newValue) + } + } + + public var int32: Int32? { + get { + return self.number?.intValue + } + set { + if newValue != nil { + self.object = NSNumber(int: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var int32Value: Int32 { + get { + return self.numberValue.intValue + } + set { + self.object = NSNumber(int: newValue) + } + } + + public var uInt32: UInt32? { + get { + return self.number?.unsignedIntValue + } + set { + if newValue != nil { + self.object = NSNumber(unsignedInt: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var uInt32Value: UInt32 { + get { + return self.numberValue.unsignedIntValue + } + set { + self.object = NSNumber(unsignedInt: newValue) + } + } + + public var int64: Int64? { + get { + return self.number?.longLongValue + } + set { + if newValue != nil { + self.object = NSNumber(longLong: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var int64Value: Int64 { + get { + return self.numberValue.longLongValue + } + set { + self.object = NSNumber(longLong: newValue) + } + } + + public var uInt64: UInt64? { + get { + return self.number?.unsignedLongLongValue + } + set { + if newValue != nil { + self.object = NSNumber(unsignedLongLong: newValue!) + } else { + self.object = NSNull() + } + } + } + + public var uInt64Value: UInt64 { + get { + return self.numberValue.unsignedLongLongValue + } + set { + self.object = NSNumber(unsignedLongLong: newValue) + } + } +} + +//MARK: - Comparable +extension JSON : Swift.Comparable {} + +public func ==(lhs: JSON, rhs: JSON) -> Bool { + + switch (lhs.type, rhs.type) { + case (.Number, .Number): + return lhs.rawNumber == rhs.rawNumber + case (.String, .String): + return lhs.rawString == rhs.rawString + case (.Bool, .Bool): + return lhs.rawNumber.boolValue == rhs.rawNumber.boolValue + case (.Array, .Array): + return lhs.rawArray as NSArray == rhs.rawArray as NSArray + case (.Dictionary, .Dictionary): + return lhs.rawDictionary as NSDictionary == rhs.rawDictionary as NSDictionary + case (.Null, .Null): + return true + default: + return false + } +} + +public func <=(lhs: JSON, rhs: JSON) -> Bool { + + switch (lhs.type, rhs.type) { + case (.Number, .Number): + return lhs.rawNumber <= rhs.rawNumber + case (.String, .String): + return lhs.rawString <= rhs.rawString + case (.Bool, .Bool): + return lhs.rawNumber.boolValue == rhs.rawNumber.boolValue + case (.Array, .Array): + return lhs.rawArray as NSArray == rhs.rawArray as NSArray + case (.Dictionary, .Dictionary): + return lhs.rawDictionary as NSDictionary == rhs.rawDictionary as NSDictionary + case (.Null, .Null): + return true + default: + return false + } +} + +public func >=(lhs: JSON, rhs: JSON) -> Bool { + + switch (lhs.type, rhs.type) { + case (.Number, .Number): + return lhs.rawNumber >= rhs.rawNumber + case (.String, .String): + return lhs.rawString >= rhs.rawString + case (.Bool, .Bool): + return lhs.rawNumber.boolValue == rhs.rawNumber.boolValue + case (.Array, .Array): + return lhs.rawArray as NSArray == rhs.rawArray as NSArray + case (.Dictionary, .Dictionary): + return lhs.rawDictionary as NSDictionary == rhs.rawDictionary as NSDictionary + case (.Null, .Null): + return true + default: + return false + } +} + +public func >(lhs: JSON, rhs: JSON) -> Bool { + + switch (lhs.type, rhs.type) { + case (.Number, .Number): + return lhs.rawNumber > rhs.rawNumber + case (.String, .String): + return lhs.rawString > rhs.rawString + default: + return false + } +} + +public func <(lhs: JSON, rhs: JSON) -> Bool { + + switch (lhs.type, rhs.type) { + case (.Number, .Number): + return lhs.rawNumber < rhs.rawNumber + case (.String, .String): + return lhs.rawString < rhs.rawString + default: + return false + } +} + +private let trueNumber = NSNumber(bool: true) +private let falseNumber = NSNumber(bool: false) +private let trueObjCType = String.fromCString(trueNumber.objCType) +private let falseObjCType = String.fromCString(falseNumber.objCType) + +// MARK: - NSNumber: Comparable + +extension NSNumber: Swift.Comparable { + var isBool:Bool { + get { + let objCType = String.fromCString(self.objCType) + if (self.compare(trueNumber) == NSComparisonResult.OrderedSame && objCType == trueObjCType) + || (self.compare(falseNumber) == NSComparisonResult.OrderedSame && objCType == falseObjCType){ + return true + } else { + return false + } + } + } +} + +public func ==(lhs: NSNumber, rhs: NSNumber) -> Bool { + switch (lhs.isBool, rhs.isBool) { + case (false, true): + return false + case (true, false): + return false + default: + return lhs.compare(rhs) == NSComparisonResult.OrderedSame + } +} + +public func !=(lhs: NSNumber, rhs: NSNumber) -> Bool { + return !(lhs == rhs) +} + +public func <(lhs: NSNumber, rhs: NSNumber) -> Bool { + + switch (lhs.isBool, rhs.isBool) { + case (false, true): + return false + case (true, false): + return false + default: + return lhs.compare(rhs) == NSComparisonResult.OrderedAscending + } +} + +public func >(lhs: NSNumber, rhs: NSNumber) -> Bool { + + switch (lhs.isBool, rhs.isBool) { + case (false, true): + return false + case (true, false): + return false + default: + return lhs.compare(rhs) == NSComparisonResult.OrderedDescending + } +} + +public func <=(lhs: NSNumber, rhs: NSNumber) -> Bool { + + switch (lhs.isBool, rhs.isBool) { + case (false, true): + return false + case (true, false): + return false + default: + return lhs.compare(rhs) != NSComparisonResult.OrderedDescending + } +} + +public func >=(lhs: NSNumber, rhs: NSNumber) -> Bool { + + switch (lhs.isBool, rhs.isBool) { + case (false, true): + return false + case (true, false): + return false + default: + return lhs.compare(rhs) != NSComparisonResult.OrderedAscending + } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-dummy.m new file mode 100644 index 0000000..a6c4594 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Alamofire : NSObject +@end +@implementation PodsDummy_Alamofire +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h new file mode 100644 index 0000000..6b71676 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double AlamofireVersionNumber; +FOUNDATION_EXPORT const unsigned char AlamofireVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire.modulemap b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire.modulemap new file mode 100644 index 0000000..d1f125f --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire.modulemap @@ -0,0 +1,6 @@ +framework module Alamofire { + umbrella header "Alamofire-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire.xcconfig new file mode 100644 index 0000000..baea9f3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Alamofire.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Alamofire" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Info.plist new file mode 100644 index 0000000..55d4a94 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Alamofire/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.0.2 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-dummy.m new file mode 100644 index 0000000..14b6bea --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Cartography : NSObject +@end +@implementation PodsDummy_Cartography +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-umbrella.h new file mode 100644 index 0000000..088af33 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double CartographyVersionNumber; +FOUNDATION_EXPORT const unsigned char CartographyVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography.modulemap b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography.modulemap new file mode 100644 index 0000000..412bab1 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography.modulemap @@ -0,0 +1,6 @@ +framework module Cartography { + umbrella header "Cartography-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography.xcconfig new file mode 100644 index 0000000..e3f8665 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Cartography.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Cartography" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/Cartography/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Info.plist new file mode 100644 index 0000000..0786b4f --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Cartography/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.5.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-dummy.m new file mode 100644 index 0000000..d2d0aef --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_FXBlurView : NSObject +@end +@implementation PodsDummy_FXBlurView +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-umbrella.h new file mode 100644 index 0000000..9c8351d --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView-umbrella.h @@ -0,0 +1,7 @@ +#import + +#import "FXBlurView.h" + +FOUNDATION_EXPORT double FXBlurViewVersionNumber; +FOUNDATION_EXPORT const unsigned char FXBlurViewVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView.modulemap b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView.modulemap new file mode 100644 index 0000000..721025a --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView.modulemap @@ -0,0 +1,6 @@ +framework module FXBlurView { + umbrella header "FXBlurView-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView.xcconfig new file mode 100644 index 0000000..1723933 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/FXBlurView.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FXBlurView" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "Accelerate" -framework "QuartzCore" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/Info.plist new file mode 100644 index 0000000..e859df7 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FXBlurView/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.6.4 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-dummy.m new file mode 100644 index 0000000..6932d8a --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_FlickrKit : NSObject +@end +@implementation PodsDummy_FlickrKit +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-umbrella.h new file mode 100644 index 0000000..b6cdbe3 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit-umbrella.h @@ -0,0 +1,231 @@ +#import + +#import "FlickrKit.h" +#import "FKDUBlocks.h" +#import "FKDUConcurrentOperation.h" +#import "FKDUDefaultDiskCache.h" +#import "FKDUDiskCache.h" +#import "FKDUNetworkController.h" +#import "FKDUNetworkOperation.h" +#import "FKDUStreamUtil.h" +#import "FKDataTypes.h" +#import "FKAPIMethods.h" +#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 "FKFlickrGroupsDiscussRepliesAdd.h" +#import "FKFlickrGroupsDiscussRepliesDelete.h" +#import "FKFlickrGroupsDiscussRepliesEdit.h" +#import "FKFlickrGroupsDiscussRepliesGetInfo.h" +#import "FKFlickrGroupsDiscussRepliesGetList.h" +#import "FKFlickrGroupsDiscussTopicsAdd.h" +#import "FKFlickrGroupsDiscussTopicsGetInfo.h" +#import "FKFlickrGroupsDiscussTopicsGetList.h" +#import "FKFlickrGroupsBrowse.h" +#import "FKFlickrGroupsGetInfo.h" +#import "FKFlickrGroupsJoin.h" +#import "FKFlickrGroupsJoinRequest.h" +#import "FKFlickrGroupsLeave.h" +#import "FKFlickrGroupsSearch.h" +#import "FKFlickrGroupsMembersGetList.h" +#import "FKFlickrGroupsPoolsAdd.h" +#import "FKFlickrGroupsPoolsGetContext.h" +#import "FKFlickrGroupsPoolsGetGroups.h" +#import "FKFlickrGroupsPoolsGetPhotos.h" +#import "FKFlickrGroupsPoolsRemove.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 "FKFlickrPhotosCommentsAddComment.h" +#import "FKFlickrPhotosCommentsDeleteComment.h" +#import "FKFlickrPhotosCommentsEditComment.h" +#import "FKFlickrPhotosCommentsGetList.h" +#import "FKFlickrPhotosCommentsGetRecentForContacts.h" +#import "FKFlickrPhotosAddTags.h" +#import "FKFlickrPhotosDelete.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 "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 "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 "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 "FKFlickrPhotosSuggestionsApproveSuggestion.h" +#import "FKFlickrPhotosSuggestionsGetList.h" +#import "FKFlickrPhotosSuggestionsRejectSuggestion.h" +#import "FKFlickrPhotosSuggestionsRemoveSuggestion.h" +#import "FKFlickrPhotosSuggestionsSuggestLocation.h" +#import "FKFlickrPhotosTransformRotate.h" +#import "FKFlickrPhotosUploadCheckTickets.h" +#import "FKFlickrPhotosetsCommentsAddComment.h" +#import "FKFlickrPhotosetsCommentsDeleteComment.h" +#import "FKFlickrPhotosetsCommentsEditComment.h" +#import "FKFlickrPhotosetsCommentsGetList.h" +#import "FKFlickrPhotosetsAddPhoto.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" +#import "FKDUReachability.h" +#import "FKFlickrNetworkOperation.h" +#import "FKImageUploadNetworkOperation.h" +#import "FKUploadRespone.h" +#import "FKURLBuilder.h" +#import "FKReachability.h" +#import "FKOFHMACSha1Base64.h" +#import "FKUtilities.h" + +FOUNDATION_EXPORT double FlickrKitVersionNumber; +FOUNDATION_EXPORT const unsigned char FlickrKitVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit.modulemap b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit.modulemap new file mode 100644 index 0000000..e732522 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit.modulemap @@ -0,0 +1,6 @@ +framework module FlickrKit { + umbrella header "FlickrKit-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit.xcconfig new file mode 100644 index 0000000..3e736cc --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/FlickrKit.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FlickrKit" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "SystemConfiguration" -weak_framework "AssetsLibrary" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/Info.plist new file mode 100644 index 0000000..135c3f4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/FlickrKit/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.5 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/LatoFont/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/Info.plist new file mode 100644 index 0000000..513ed9d --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.1 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-dummy.m new file mode 100644 index 0000000..b008b77 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_LatoFont : NSObject +@end +@implementation PodsDummy_LatoFont +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-umbrella.h new file mode 100644 index 0000000..4d2defe --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont-umbrella.h @@ -0,0 +1,7 @@ +#import + +#import "UIFont+Lato.h" + +FOUNDATION_EXPORT double LatoFontVersionNumber; +FOUNDATION_EXPORT const unsigned char LatoFontVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont.modulemap b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont.modulemap new file mode 100644 index 0000000..9c2008d --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont.modulemap @@ -0,0 +1,6 @@ +framework module LatoFont { + umbrella header "LatoFont-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont.xcconfig new file mode 100644 index 0000000..c364c4b --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/LatoFont/LatoFont.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/LatoFont" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "CoreText" -framework "UIKit" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Info.plist new file mode 100644 index 0000000..6974542 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-acknowledgements.markdown b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-acknowledgements.markdown new file mode 100644 index 0000000..90c55f8 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-acknowledgements.markdown @@ -0,0 +1,170 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## Alamofire + +Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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. + + +## Cartography + +Copyright (c) 2014 Robert Böhnke + +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. + +This license does not apply to the contents of the images folder. + +--- + +This project uses portions of code from FLKAutoLayout, +copyright (c) 2013 Florian Kugler + +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. + + +## FXBlurView + +FXBlurView + +Version 1.6.4, September 2nd, 2015 + +Copyright (C) 2013 Charcoal Design + +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. + +## LatoFont + +Copyright (c) 2014 Michal Konturek +LatoFont + +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. + +## SwiftyJSON + +The MIT License (MIT) + +Copyright (c) 2014 Ruoyu Fu + +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. + + +## WeatherIconsKit + +The MIT License (MIT) + +Copyright (c) 2015 Giordano Scalzo + +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 diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-acknowledgements.plist b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-acknowledgements.plist new file mode 100644 index 0000000..8de722c --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-acknowledgements.plist @@ -0,0 +1,220 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2014–2015 Alamofire Software Foundation (http://alamofire.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. + + Title + Alamofire + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2014 Robert Böhnke <robb@robb.is> + +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. + +This license does not apply to the contents of the images folder. + +--- + +This project uses portions of code from FLKAutoLayout, +copyright (c) 2013 Florian Kugler <mail@floriankugler.de> + +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 + Cartography + Type + PSGroupSpecifier + + + FooterText + FXBlurView + +Version 1.6.4, September 2nd, 2015 + +Copyright (C) 2013 Charcoal Design + +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. + Title + FXBlurView + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2014 Michal Konturek +LatoFont + +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 + LatoFont + Type + PSGroupSpecifier + + + FooterText + The MIT License (MIT) + +Copyright (c) 2014 Ruoyu Fu + +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 + SwiftyJSON + Type + PSGroupSpecifier + + + FooterText + The MIT License (MIT) + +Copyright (c) 2015 Giordano Scalzo + +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 + WeatherIconsKit + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - http://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-dummy.m new file mode 100644 index 0000000..14bf15f --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_PrettyWeatherApp : NSObject +@end +@implementation PodsDummy_Pods_PrettyWeatherApp +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-frameworks.sh b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-frameworks.sh new file mode 100755 index 0000000..54e711a --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-frameworks.sh @@ -0,0 +1,101 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "Pods-PrettyWeatherApp/Alamofire.framework" + install_framework "Pods-PrettyWeatherApp/Cartography.framework" + install_framework "Pods-PrettyWeatherApp/FXBlurView.framework" + install_framework "Pods-PrettyWeatherApp/FlickrKit.framework" + install_framework "Pods-PrettyWeatherApp/LatoFont.framework" + install_framework "Pods-PrettyWeatherApp/SwiftyJSON.framework" + install_framework "Pods-PrettyWeatherApp/WeatherIconsKit.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "Pods-PrettyWeatherApp/Alamofire.framework" + install_framework "Pods-PrettyWeatherApp/Cartography.framework" + install_framework "Pods-PrettyWeatherApp/FXBlurView.framework" + install_framework "Pods-PrettyWeatherApp/FlickrKit.framework" + install_framework "Pods-PrettyWeatherApp/LatoFont.framework" + install_framework "Pods-PrettyWeatherApp/SwiftyJSON.framework" + install_framework "Pods-PrettyWeatherApp/WeatherIconsKit.framework" +fi diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-resources.sh b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-resources.sh new file mode 100755 index 0000000..16774fb --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-resources.sh @@ -0,0 +1,95 @@ +#!/bin/sh +set -e + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +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" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" + xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + /*) + echo "$1" + echo "$1" >> "$RESOURCES_TO_COPY" + ;; + *) + echo "${PODS_ROOT}/$1" + echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + 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`" ] && [ -n "$XCASSET_FILES" ] +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 all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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 diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-umbrella.h new file mode 100644 index 0000000..6aba154 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double Pods_PrettyWeatherAppVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_PrettyWeatherAppVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.debug.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.debug.xcconfig new file mode 100644 index 0000000..f4cfbc4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.debug.xcconfig @@ -0,0 +1,7 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Alamofire.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/Cartography.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/FXBlurView.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/FlickrKit.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/LatoFont.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/SwiftyJSON.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/WeatherIconsKit.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "Cartography" -framework "FXBlurView" -framework "FlickrKit" -framework "LatoFont" -framework "SwiftyJSON" -framework "WeatherIconsKit" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PrettyWeatherApp +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.modulemap b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.modulemap new file mode 100644 index 0000000..de0be3c --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.modulemap @@ -0,0 +1,6 @@ +framework module Pods_PrettyWeatherApp { + umbrella header "Pods-PrettyWeatherApp-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.release.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.release.xcconfig new file mode 100644 index 0000000..f4cfbc4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.release.xcconfig @@ -0,0 +1,7 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Alamofire.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/Cartography.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/FXBlurView.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/FlickrKit.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/LatoFont.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/SwiftyJSON.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/WeatherIconsKit.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "Cartography" -framework "FXBlurView" -framework "FlickrKit" -framework "LatoFont" -framework "SwiftyJSON" -framework "WeatherIconsKit" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PrettyWeatherApp +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/Info.plist new file mode 100644 index 0000000..ad1d34e --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.3.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-dummy.m new file mode 100644 index 0000000..3159bec --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_SwiftyJSON : NSObject +@end +@implementation PodsDummy_SwiftyJSON +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-umbrella.h new file mode 100644 index 0000000..ce00ad0 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double SwiftyJSONVersionNumber; +FOUNDATION_EXPORT const unsigned char SwiftyJSONVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON.modulemap b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON.modulemap new file mode 100644 index 0000000..6f41751 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON.modulemap @@ -0,0 +1,6 @@ +framework module SwiftyJSON { + umbrella header "SwiftyJSON-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON.xcconfig new file mode 100644 index 0000000..6fb4cff --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/SwiftyJSON/SwiftyJSON.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SwiftyJSON" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/Info.plist b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/Info.plist new file mode 100644 index 0000000..6974542 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-dummy.m b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-dummy.m new file mode 100644 index 0000000..9edee5b --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_WeatherIconsKit : NSObject +@end +@implementation PodsDummy_WeatherIconsKit +@end diff --git a/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-prefix.pch b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-umbrella.h b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-umbrella.h new file mode 100644 index 0000000..246a721 --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit-umbrella.h @@ -0,0 +1,9 @@ +#import + +#import "WeatherIconsKit.h" +#import "FAKIcon.h" +#import "WIKFontIcon.h" + +FOUNDATION_EXPORT double WeatherIconsKitVersionNumber; +FOUNDATION_EXPORT const unsigned char WeatherIconsKitVersionString[]; + diff --git a/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit.modulemap b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit.modulemap new file mode 100644 index 0000000..39a56be --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit.modulemap @@ -0,0 +1,6 @@ +framework module WeatherIconsKit { + umbrella header "WeatherIconsKit-umbrella.h" + + export * + module * { export * } +} diff --git a/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit.xcconfig b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit.xcconfig new file mode 100644 index 0000000..403a24a --- /dev/null +++ b/PrettyWeatherApp/Pods/Target Support Files/WeatherIconsKit/WeatherIconsKit.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/WeatherIconsKit" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "CoreText" -framework "UIKit" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/LICENSE b/PrettyWeatherApp/Pods/WeatherIconsKit/LICENSE new file mode 100644 index 0000000..04e1afa --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Giordano Scalzo + +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. \ No newline at end of file diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/README.md.wip b/PrettyWeatherApp/Pods/WeatherIconsKit/README.md.wip new file mode 100644 index 0000000..75de0a2 --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/README.md.wip @@ -0,0 +1,180 @@ +WeatherIconsKit +============== +Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons. + +![image](http://i.minus.com/i3vNn0fTwcJeI.png) + +![image](http://i2.minus.com/ivKqhOLJLVvmJ.png) + +## Version 2.1 Notable Changes +### Not Just Awesome. New Icon Fonts Added + +Currently FontAwesomeKit supports **4** different icon fonts. + +- [FontAwesome 4.2](http://fortawesome.github.io/Font-Awesome/) Our old friend, contains **479** icons +- [Foundation icons](http://zurb.com/playground/foundation-icon-fonts-3) Contains **283** icons. +- [Zocial](http://zocial.smcllns.com/) Contains **99** social icons. +- [ionicons 2.0.0](http://ionicons.com/) Contains **733** icons, lots of iOS 7 style outlined icons. + +### API Reforged, Take Advantage of NSAttributedString +Thanks to `NSAttributedString` the API is more clean and object oriented. All hail `NSAttributedString`! + +### Notes on FontAwesome +Please notice that FontAwesome has renamed lots of it's icons in the recent 4.0 release, make sure to change you code accordingly if you're using FontAwesomeKit 2.1 version. + +## Installation +### Requirements +- Xcode 5 +- iOS 6.0 + +- ARC enabled +- CoreText framework + +### Install with CocoaPods (Strongly Recommended) +FontAwesomeKit now supports sub spec, only get the fonts you need. + +Add `pod 'FontAwesomeKit', '~> 2.1.0'` to Podfile to install all icon fonts. + +Or select icon fonts with: + +`pod 'FontAwesomeKit/FontAwesome'` +`pod 'FontAwesomeKit/FoundationIcons'` +`pod 'FontAwesomeKit/Zocial'` +`pod 'FontAwesomeKit/IonIcons'` + +Run `pod install` or `pod update` to install selected icon fonts. + +#### Importing Headers + +`#import FontAwesomeKit/FontAwesomeKit.h` If you installed all available icon fonts. + +Or import icon fonts you installed with sub specs + +`#import FontAwesomeKit/FAKFontAwesome.h` +`#import FontAwesomeKit/FAKFoundationIcons.h` +`#import FontAwesomeKit/FAKZocial.h` +`#import FontAwesomeKit/FAKIonIcons.h` + +#####*important:* +If you deleted a sub spec in Podfile, please delete Xcode's derived data in organizer(command+shift+2 to bring up). Otherwise Xcode will keep copying font files those supposed to be deleted to the app bundle. + +### Install Manually + +Download source code, then drag the folder `FontAwesomeKit` into your project, add CoreText framework to you project. + +##Example Usage + +### Creating Icons +```objective-c +FAKFontAwesome *starIcon = [FAKFontAwesome starIconWithSize:15]; +FAKFoundationIcons *bookmarkIcon = [FAKFoundationIcons bookmarkIconWithSize:15]; +FAKZocial *twitterIcon = [FAKZocial twitterIconWithSize:15]; +FAKIonIcons *mailIcon = [FAKIonIcons ios7EmailIconWithSize:48]; +``` +Now you can use these class methods and pass in the font size instead of finding an icon with constants. Corresponding icon fonts will automatically setup for you. + +### Setting Attributes for An Icon +```objective-c +[starIcon addAttribute:NSForegroundColorAttributeName value:[UIColor +whiteColor]]; +``` +`NSAttributedString` did all the magics behind the scene. So you can set those attributes supported by `NSAttributedString` to an icon. For all available attributes, see [NSAttributedString UIKit Additions Reference](https://developer.apple.com/library/ios/documentation/UIKit/Reference/NSAttributedString_UIKit_Additions/Reference/Reference.html#//apple_ref/doc/uid/TP40011688-CH1-SW16) + +#####*important:* +Some attributes apparently makes no sense for icon fonts, like `NSLigatureAttributeName` and `NSKernAttributeName`. You should not use these attributes, otherwise you app might crash. And you should not set the value of `NSFontAttributeName`, if you want to change the size of an icon, set it's `iconFontSize` property instead. + +### Other Methods for Setting or Getting Attributes +These methods in fact are just shorthand versions for the standard `NSAttributedString` API, should be pretty straightforward. + +`[starIcon setAttributes:attributes];` *Sets attributes with a dictionary, will override current attribute if there're different values for a same key.* + +`[starIcon removeAttribute:NSForegroundColorAttributeName];` *Removes an attribute by name.* + +`[starIcon attributes];` *Returns an dictionary contains the attribute values for the icon.* + +`[starIcon attribute:NSForegroundColorAttributeName];` *Returns the attribute value for a given key.* + +### Get The Attributed String +After you done setting attributes, you can get the attributed string by calling +`[starIcon attributedString]`. + +So you can use the icon on a label with one line of code: + +`self.label.attributedText = [starIcon attributedString];` + +You don't need to set the label's `font` property, it's already been taken care of. + +### Drawing The Icon on Image + +#### Basic Drawing +Instead of getting the attributed string, you can draw the icon onto an image like this: + +`UIImage *iconImage = [starIcon imageWithSize:CGSizeMake(15, 15)];` + +This will use the attributes you've set to draw that image, you only need to specify a size for the image. + +#### Drawing Offset +By default the icon is centered horizontally and vertically. I believe that's 99% what you want. However, if it's not centered properly, you can set the `drawingPositionAdjustment` property for the icon, like this: + +`starIcon.drawingPositionAdjustment = UIOffsetMake(2, 2);` + +#### Background Color +You can set the background color for the image like this: + +`starIcon.drawingBackgroundColor = [UIColor blackColor];` + +By default the background is transparent. As the name implies, this property only takes effect while drawing on image. You can specify a gradient color to create a gradient background, check the example project for details. + +### Those Controls Doesn't Support Attributed String + +Some UI elements doesn't have an attributed string property, using images might be a better idea. Take UIBarButtonItem as an example. + +```objc +FAKFontAwesome *cogIcon = [FAKFontAwesome cogIconWithSize:20]; +[cogIcon addAttribute:NSForegroundColorAttributeName value:[UIColor whiteColor]]; +UIImage *leftImage = [cogIcon imageWithSize:CGSizeMake(20, 20)]; +cogIcon.iconFontSize = 15; +UIImage *leftLandscapeImage = [cogIcon imageWithSize:CGSizeMake(15, 15)]; +self.navigationItem.leftBarButtonItem = +[[UIBarButtonItem alloc] initWithImage:leftImage + landscapeImagePhone:leftLandscapeImage + style:UIBarButtonItemStylePlain + target:nil + action:nil]; +``` +Same idea can be applied to tab bar or segmented control. + +### Generating Image with Stacked Icons (Since V2.1.5) +[Stacked icons is a feature of Font-Awesome](http://fortawesome.github.io/Font-Awesome/examples/#stacked) and now has been ported to FontAwesomeKit. You can generate an image with multiple icons stacked together. + +```objc +[UIImage imageWithStackedIcons:@[[FAKFontAwesome twitterIconWithSize:35], [FAKFontAwesome squareOIconWithSize:70]], + imageSize:CGSizeMake(80, 80)]; +``` + +The first icon in the array will be draw on the bottom. + +### More Examples +Please clone the master repo and take a look at the example project, everything is in it, all public methods and properties are documented. Feel free to open an issue if you went into trouble. + +## Using Custom Icon Font +You can use some web applications like [fontastic.me](https://fontastic.me) to generate your own icon font to reduce font file size. In this case, you need to implement your own `FAKIcon` subclass, here's a complete demo: [PrideChung / FontAwesomeKitCustomFont](https://github.com/PrideChung/FontAwesomeKitCustomFont) + +## Known Issues + +Check [Known Issuses](https://github.com/PrideChung/FontAwesomeKit/blob/master/KnownIssues.md) if you ran into strange crashes. + +## Changelog + +See [CHANGES.md](https://github.com/PrideChung/FontAwesomeKit/blob/master/CHANGES.md) + +## Contributors +- [Vasilis Akoinoglou](https://github.com/alladinian) +- [Isak Sky](https://github.com/isaksky) +- [Dominik Grygiel](https://github.com/dominikgrygiel) +- [Alex Shepard](https://github.com/PrideChung/FontAwesomeKit/pull/12) + + +## License +FontAwesomeKit is available under the MIT license. See the LICENSE file for more information. Attribution isn't required but is much appreciated. + +**Please notice that each icon font has it's own license agreement.** diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/FAKIcon.h b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/FAKIcon.h new file mode 100644 index 0000000..0adfc00 --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/FAKIcon.h @@ -0,0 +1,162 @@ +// +// FAKIcon.h +// FontAwesomeKit 2.2.0 +// +// Created by Pride Chung for FontAwesomeKit. +// https://github.com/PrideChung/FontAwesomeKit +// + +#import +#import + +/** + * Abstract superclass for icons, should not be used directly. You can subclass this class to provide new icon font support. + */ +@interface FAKIcon : NSObject + +/** + * The drawing offset of the icon in the image. If you do not specify this property, the icon is centered horizontally and vertically inside the image. + */ +@property (nonatomic) UIOffset drawingPositionAdjustment; + +/** + * The background color of the image while drawing. If you do not specify this property, no background color is drawn. + */ +@property (strong, nonatomic) UIColor *drawingBackgroundColor; + +/** + * The icon font size for the icon. + */ +@property (nonatomic) CGFloat iconFontSize; + +/** + * Register a icon font with it's file url. + * + * @param url The file url for the font, file must exists. + */ ++ (void)registerIconFontWithURL:(NSURL *)url; + +/** + * Returns an dictionary of icons available for this icon font. + * + * @return A dictionary of icons. The keys are character codes of icons, the corresponding value for a key is the name for that icon. + */ ++ (NSDictionary *)allIcons; + +/** + * Creates and returns an icon font object for the specified size. This is an abstract method and subclasses must provide an implementation. + * + * @param size The size (in points) to which the font is scaled. This value must be greater than 0.0. + * + * @return A font object of the specified name and size. + */ ++ (UIFont *)iconFontWithSize:(CGFloat)size; + +/** + * Creates and returns a FAKIcon object for the specified character code and size. + * + * @param code A string represents a character code. Like @"\uf000" + * @param size The desired size (in points) of the icon font that will be used for the icon. This value must be greater than 0.0. + * + * @return Returns a FAKIcon object. + */ ++ (instancetype)iconWithCode:(NSString *)code size:(CGFloat)size; + +/** + * Adds an attribute with the given name and value to the icon. + * + * @param attrs A dictionary containing the text attributes to set. These attributes will be used to create attributedString when you call -attributedString on the receiver. For information about system-supplied attribute keys, See NSAttributedString UIKit Additions Reference (https://developer.apple.com/library/ios/documentation/UIKit/Reference/NSAttributedString_UIKit_Additions/Reference/Reference.html#//apple_ref/doc/uid/TP40011688-CH1-SW16) + * @warning You should not set the NSFontAttributeName attribute to another font. + */ +- (void)setAttributes:(NSDictionary *)attrs; + +/** + * Adds an attribute with the given name and value to the icon. + * + * @param name A string specifying the attribute name. + * @param value Adds an attribute with the given name and value to the icon. + */ +- (void)addAttribute:(NSString *)name value:(id)value; + +/** + * Adds the given collection of attributes to the icon. + * + * @param attrs A dictionary containing the attributes to add. + */ +- (void)addAttributes:(NSDictionary *)attrs; + +/** + * Removes the named attribute from the icon. + * + * @param name A string specifying the attribute name to remove. + */ +- (void)removeAttribute:(NSString *)name; + +/** + * Returns the attributes for the icon. + * + * @return The attributes for the icon. + */ +- (NSDictionary *)attributes; + +/** + * Returns the value for an attribute with a given name of the icon. + * + * @param attrName The name of an attribute. + * + * @return The value for an attribute with a given name of the icon, or nil if there is no such attribute. + */ +- (id)attribute:(NSString *)attrName; + +/** + * Creates and returns a NSAttributedString with specified attributes for the receiver. + * + * @return A NSAttributedString with specifed attributes. + */ +- (NSAttributedString *)attributedString; + +/** + * Returns the character code of the icon. + * + * @return The character code of the icon. + */ +- (NSString *)characterCode; + +/** + * Returns the name of the icon. + * + * @return The name of the icon. + */ +- (NSString *)iconName; + +/** + * Returns the icon font of the icon. + * + * @return The icon font of the icon. + */ +- (UIFont *)iconFont; + +/** + * Draws the icon on an image. The icon will be centered horizontally and vertically by default. You can set the drawingPostionAdjustment property to adjust drawing offset. + * + * @param imageSize Height and width for the image. + * + * @return An image with the icon. + */ +- (UIImage *)imageWithSize:(CGSize)imageSize; + +@end + +@interface UIImage (FAKAddon) + +/** + * Draws the FAKIcons in an array on an image. These icons will be centered horizontally and vertically by default. You can set the drawingPostionAdjustment property to adjust drawing offset for each icon. + * + * @param icons The icons to be drawn. The first icon will be drawn on the bottom and the last icon will be drawn on the top. + * @param imageSize Height and width for the generated image. + * + * @return An image with the icons. + */ ++ (UIImage *)imageWithStackedIcons:(NSArray *)icons imageSize:(CGSize)imageSize; + +@end diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/FAKIcon.m b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/FAKIcon.m new file mode 100644 index 0000000..fc6a4fa --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/FAKIcon.m @@ -0,0 +1,187 @@ +// +// FAKIcon.m +// FontAwesomeKit 2.2.0 +// +// Created by Pride Chung for FontAwesomeKit. +// https://github.com/PrideChung/FontAwesomeKit +// + +#import "FAKIcon.h" +#import + +@interface FAKIcon () + +@property (strong, nonatomic) NSMutableAttributedString *mutableAttributedString; + +@end + +@implementation FAKIcon + ++ (void)registerIconFontWithURL:(NSURL *)url +{ + NSAssert([[NSFileManager defaultManager] fileExistsAtPath:[url path]], @"Font file doesn't exist"); + CGDataProviderRef fontDataProvider = CGDataProviderCreateWithURL((__bridge CFURLRef)url); + CGFontRef newFont = CGFontCreateWithDataProvider(fontDataProvider); + CGDataProviderRelease(fontDataProvider); + CFErrorRef error; + CTFontManagerRegisterGraphicsFont(newFont, &error); + CGFontRelease(newFont); +} + ++ (NSDictionary *)allIcons +{ + @throw @"You need to implement this method in subclass."; +} + ++ (UIFont *)iconFontWithSize:(CGFloat)size +{ + @throw @"You need to implement this method in subclass."; +} + ++ (instancetype)iconWithCode:(NSString *)code size:(CGFloat)size +{ + FAKIcon *icon = [[self alloc] init]; + icon.mutableAttributedString = [[NSMutableAttributedString alloc] initWithString:code attributes:@{NSFontAttributeName: [self iconFontWithSize:size]}]; + return icon; +} + +- (NSAttributedString *)attributedString +{ + return [self.mutableAttributedString copy]; +} + +- (NSString *)characterCode +{ + return [self.mutableAttributedString string]; +} + +- (NSString *)iconName +{ + return [[self class] allIcons][[self characterCode]]; +} + +- (CGFloat)iconFontSize +{ + return [self iconFont].pointSize; +} + +- (void)setIconFontSize:(CGFloat)iconSize +{ + [self addAttribute:NSFontAttributeName value:[[self iconFont] fontWithSize:iconSize]]; +} + +#pragma mark - Setting and Getting Attributes + +- (void)setAttributes:(NSDictionary *)attrs; +{ + if (!attrs[NSFontAttributeName]) { + NSMutableDictionary *mutableAttrs = [attrs mutableCopy]; + mutableAttrs[NSFontAttributeName] = self.iconFont; + attrs = [mutableAttrs copy]; + } + [self.mutableAttributedString setAttributes:attrs range:[self rangeForMutableAttributedText]] ; +} + +- (void)addAttribute:(NSString *)name value:(id)value +{ + [self.mutableAttributedString addAttribute:name value:value range:[self rangeForMutableAttributedText]]; +} + +- (void)addAttributes:(NSDictionary *)attrs +{ + [self.mutableAttributedString addAttributes:attrs range:[self rangeForMutableAttributedText]]; +} + +- (void)removeAttribute:(NSString *)name +{ + [self.mutableAttributedString removeAttribute:name range:[self rangeForMutableAttributedText]]; +} + +- (NSDictionary *)attributes +{ + return [self.mutableAttributedString attributesAtIndex:0 effectiveRange:NULL]; +} + +- (id)attribute:(NSString *)attrName +{ + return [self.mutableAttributedString attribute:attrName atIndex:0 effectiveRange:NULL]; +} + +- (NSRange)rangeForMutableAttributedText +{ + return NSMakeRange(0, [self.mutableAttributedString length]); +} + +- (UIFont *)iconFont +{ + return [self attribute:NSFontAttributeName]; +} + +#pragma mark - Image Drawing + +- (UIImage *)imageWithSize:(CGSize)imageSize +{ + UIGraphicsBeginImageContextWithOptions(imageSize, NO, 0.0); + + // ---------- begin context ---------- + CGContextRef context = UIGraphicsGetCurrentContext(); + + [self fillBackgroundForContext:context backgroundSize:imageSize]; + + [self.mutableAttributedString drawInRect:[self drawingRectWithImageSize:imageSize]]; + UIImage *iconImage = UIGraphicsGetImageFromCurrentImageContext(); + + // ---------- end context ---------- + UIGraphicsEndImageContext(); + + return iconImage; +} + +- (void)fillBackgroundForContext:(CGContextRef)context backgroundSize:(CGSize)size +{ + if (self.drawingBackgroundColor) { + [self.drawingBackgroundColor setFill]; + CGContextFillRect(context, CGRectMake(0, 0, size.width, size.height)); + } +} + +// Calculate the correct drawing position +- (CGRect)drawingRectWithImageSize:(CGSize)imageSize +{ + CGSize iconSize = [self.mutableAttributedString size]; + CGFloat xOffset = (imageSize.width - iconSize.width) / 2.0; + xOffset += self.drawingPositionAdjustment.horizontal; + CGFloat yOffset = (imageSize.height - iconSize.height) / 2.0; + yOffset += self.drawingPositionAdjustment.vertical; + return CGRectMake(xOffset, yOffset, iconSize.width, iconSize.height); +} + +@end + +#pragma mark - Stacked Icons + +@implementation UIImage (FAKAddon) + ++ (UIImage *)imageWithStackedIcons:(NSArray *)icons imageSize:(CGSize)imageSize +{ + UIGraphicsBeginImageContextWithOptions(imageSize, NO, 0.0); + + // ---------- begin context ---------- + CGContextRef context = UIGraphicsGetCurrentContext(); + + for (FAKIcon *icon in icons) { + NSAssert([icon isKindOfClass:[FAKIcon class]], @"You can only stack FAKIcon derived objects."); + [icon fillBackgroundForContext:context backgroundSize:imageSize]; + [icon.mutableAttributedString drawInRect:[icon drawingRectWithImageSize:imageSize]]; + } + + UIImage *iconImage = UIGraphicsGetImageFromCurrentImageContext(); + + // ---------- end context ---------- + UIGraphicsEndImageContext(); + + return iconImage; +} + +@end + diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WIKFontIcon.h b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WIKFontIcon.h new file mode 100644 index 0000000..0023b8b --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WIKFontIcon.h @@ -0,0 +1,184 @@ +#import "FAKIcon.h" + +@interface WIKFontIcon : FAKIcon + +// Generated Code ++ (instancetype)wiDayCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiDayCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiDayCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiDayFogIconWithSize:(CGFloat)size; ++ (instancetype)wiDayHailIconWithSize:(CGFloat)size; ++ (instancetype)wiDayLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiDayRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiDayRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiDayRainIconWithSize:(CGFloat)size; ++ (instancetype)wiDayShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySnowIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySunnyOvercastIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySunnyIconWithSize:(CGFloat)size; ++ (instancetype)wiDayStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiDayThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiFogIconWithSize:(CGFloat)size; ++ (instancetype)wiHailIconWithSize:(CGFloat)size; ++ (instancetype)wiLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiRainIconWithSize:(CGFloat)size; ++ (instancetype)wiShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiSnowIconWithSize:(CGFloat)size; ++ (instancetype)wiSprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltHailIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltRainIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSnowIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightClearIconWithSize:(CGFloat)size; ++ (instancetype)wiNightCloudyGustsIconWithSize:(CGFloat)size; ++ (instancetype)wiNightCloudyWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightHailIconWithSize:(CGFloat)size; ++ (instancetype)wiNightLightningIconWithSize:(CGFloat)size; ++ (instancetype)wiNightRainMixIconWithSize:(CGFloat)size; ++ (instancetype)wiNightRainWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightRainIconWithSize:(CGFloat)size; ++ (instancetype)wiNightShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSnowIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSprinkleIconWithSize:(CGFloat)size; ++ (instancetype)wiNightStormShowersIconWithSize:(CGFloat)size; ++ (instancetype)wiNightThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiCelsiusIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudDownIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudRefreshIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudUpIconWithSize:(CGFloat)size; ++ (instancetype)wiCloudIconWithSize:(CGFloat)size; ++ (instancetype)wiDegreesIconWithSize:(CGFloat)size; ++ (instancetype)wiDownLeftIconWithSize:(CGFloat)size; ++ (instancetype)wiDownIconWithSize:(CGFloat)size; ++ (instancetype)wiFahrenheitIconWithSize:(CGFloat)size; ++ (instancetype)wiHorizonAltIconWithSize:(CGFloat)size; ++ (instancetype)wiHorizonIconWithSize:(CGFloat)size; ++ (instancetype)wiLeftIconWithSize:(CGFloat)size; ++ (instancetype)wiNightFogIconWithSize:(CGFloat)size; ++ (instancetype)wiRefreshAltIconWithSize:(CGFloat)size; ++ (instancetype)wiRefreshIconWithSize:(CGFloat)size; ++ (instancetype)wiRightIconWithSize:(CGFloat)size; ++ (instancetype)wiSprinklesIconWithSize:(CGFloat)size; ++ (instancetype)wiStrongWindIconWithSize:(CGFloat)size; ++ (instancetype)wiSunriseIconWithSize:(CGFloat)size; ++ (instancetype)wiSunsetIconWithSize:(CGFloat)size; ++ (instancetype)wiThermometerExteriorIconWithSize:(CGFloat)size; ++ (instancetype)wiThermometerInternalIconWithSize:(CGFloat)size; ++ (instancetype)wiThermometerIconWithSize:(CGFloat)size; ++ (instancetype)wiTornadoIconWithSize:(CGFloat)size; ++ (instancetype)wiUpRightIconWithSize:(CGFloat)size; ++ (instancetype)wiUpIconWithSize:(CGFloat)size; ++ (instancetype)wiWindWestIconWithSize:(CGFloat)size; ++ (instancetype)wiWindSouthWestIconWithSize:(CGFloat)size; ++ (instancetype)wiWindSouthEastIconWithSize:(CGFloat)size; ++ (instancetype)wiWindSouthIconWithSize:(CGFloat)size; ++ (instancetype)wiWindNorthWestIconWithSize:(CGFloat)size; ++ (instancetype)wiWindNorthEastIconWithSize:(CGFloat)size; ++ (instancetype)wiWindNorthIconWithSize:(CGFloat)size; ++ (instancetype)wiWindEastIconWithSize:(CGFloat)size; ++ (instancetype)wiSmokeIconWithSize:(CGFloat)size; ++ (instancetype)wiDustIconWithSize:(CGFloat)size; ++ (instancetype)wiSnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSnowWindIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySleetStormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSleetStormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSleetStormIconWithSize:(CGFloat)size; ++ (instancetype)wiDaySnowThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSnowThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSnowThunderstormIconWithSize:(CGFloat)size; ++ (instancetype)wiSolarEclipseIconWithSize:(CGFloat)size; ++ (instancetype)wiLunarEclipseIconWithSize:(CGFloat)size; ++ (instancetype)wiMeteorIconWithSize:(CGFloat)size; ++ (instancetype)wiHotIconWithSize:(CGFloat)size; ++ (instancetype)wiHurricaneIconWithSize:(CGFloat)size; ++ (instancetype)wiSmogIconWithSize:(CGFloat)size; ++ (instancetype)wiAlienIconWithSize:(CGFloat)size; ++ (instancetype)wiSnowflakeColdIconWithSize:(CGFloat)size; ++ (instancetype)wiStarsIconWithSize:(CGFloat)size; ++ (instancetype)wiNightPartlyCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiUmbrellaIconWithSize:(CGFloat)size; ++ (instancetype)wiDayWindyIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltCloudyIconWithSize:(CGFloat)size; ++ (instancetype)wiUpLeftIconWithSize:(CGFloat)size; ++ (instancetype)wiDownRightIconWithSize:(CGFloat)size; ++ (instancetype)wiTime12IconWithSize:(CGFloat)size; ++ (instancetype)wiTime1IconWithSize:(CGFloat)size; ++ (instancetype)wiTime2IconWithSize:(CGFloat)size; ++ (instancetype)wiTime3IconWithSize:(CGFloat)size; ++ (instancetype)wiTime4IconWithSize:(CGFloat)size; ++ (instancetype)wiTime5IconWithSize:(CGFloat)size; ++ (instancetype)wiTime6IconWithSize:(CGFloat)size; ++ (instancetype)wiTime7IconWithSize:(CGFloat)size; ++ (instancetype)wiTime8IconWithSize:(CGFloat)size; ++ (instancetype)wiTime9IconWithSize:(CGFloat)size; ++ (instancetype)wiTime10IconWithSize:(CGFloat)size; ++ (instancetype)wiTime11IconWithSize:(CGFloat)size; ++ (instancetype)wiDaySleetIconWithSize:(CGFloat)size; ++ (instancetype)wiNightSleetIconWithSize:(CGFloat)size; ++ (instancetype)wiNightAltSleetIconWithSize:(CGFloat)size; ++ (instancetype)wiSleetIconWithSize:(CGFloat)size; ++ (instancetype)wiDayHazeIconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort0IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort1IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort2IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort3IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort4IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort5IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort6IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort7IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort8IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort9IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort10IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort11IconWithSize:(CGFloat)size; ++ (instancetype)wiBeafort12IconWithSize:(CGFloat)size; ++ (instancetype)wiWindDefaultIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonNewIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingCresent6IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonFirstQuarterIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaxingGibbous6IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonFullIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningGibbous6IconWithSize:(CGFloat)size; ++ (instancetype)wiMoon3rdQuarterIconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent1IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent2IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent3IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent4IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent5IconWithSize:(CGFloat)size; ++ (instancetype)wiMoonWaningCrescent6IconWithSize:(CGFloat)size; + +@end diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WIKFontIcon.m b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WIKFontIcon.m new file mode 100644 index 0000000..8847385 --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WIKFontIcon.m @@ -0,0 +1,381 @@ +#import +#import +#import "WIKFontIcon.h" + +@implementation WIKFontIcon + ++ (UIFont *)iconFontWithSize:(CGFloat)size +{ + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + [self registerIconFontWithURL:[[NSBundle bundleForClass:[WIKFontIcon class]] + URLForResource:@"WeatherIcons-Regular" withExtension:@"otf"]]; + }); + + UIFont *font = [UIFont fontWithName:@"Weather Icons" size:size]; + NSAssert(font, @"UIFont object should not be nil, check if the font file is added to the application bundle and you're using the correct font name."); + return font; +} + +// Generated Code ++ (instancetype)wiDayCloudyGustsIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf000" size:size]; } ++ (instancetype)wiDayCloudyWindyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf001" size:size]; } ++ (instancetype)wiDayCloudyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf002" size:size]; } ++ (instancetype)wiDayFogIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf003" size:size]; } ++ (instancetype)wiDayHailIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf004" size:size]; } ++ (instancetype)wiDayLightningIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf005" size:size]; } ++ (instancetype)wiDayRainMixIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf006" size:size]; } ++ (instancetype)wiDayRainWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf007" size:size]; } ++ (instancetype)wiDayRainIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf008" size:size]; } ++ (instancetype)wiDayShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf009" size:size]; } ++ (instancetype)wiDaySnowIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf00a" size:size]; } ++ (instancetype)wiDaySprinkleIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf00b" size:size]; } ++ (instancetype)wiDaySunnyOvercastIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf00c" size:size]; } ++ (instancetype)wiDaySunnyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf00d" size:size]; } ++ (instancetype)wiDayStormShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf00e" size:size]; } ++ (instancetype)wiDayThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf010" size:size]; } ++ (instancetype)wiCloudyGustsIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf011" size:size]; } ++ (instancetype)wiCloudyWindyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf012" size:size]; } ++ (instancetype)wiCloudyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf013" size:size]; } ++ (instancetype)wiFogIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf014" size:size]; } ++ (instancetype)wiHailIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf015" size:size]; } ++ (instancetype)wiLightningIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf016" size:size]; } ++ (instancetype)wiRainMixIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf017" size:size]; } ++ (instancetype)wiRainWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf018" size:size]; } ++ (instancetype)wiRainIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf019" size:size]; } ++ (instancetype)wiShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf01a" size:size]; } ++ (instancetype)wiSnowIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf01b" size:size]; } ++ (instancetype)wiSprinkleIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf01c" size:size]; } ++ (instancetype)wiStormShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf01d" size:size]; } ++ (instancetype)wiThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf01e" size:size]; } ++ (instancetype)wiWindyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf021" size:size]; } ++ (instancetype)wiNightAltCloudyGustsIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf022" size:size]; } ++ (instancetype)wiNightAltCloudyWindyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf023" size:size]; } ++ (instancetype)wiNightAltHailIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf024" size:size]; } ++ (instancetype)wiNightAltLightningIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf025" size:size]; } ++ (instancetype)wiNightAltRainMixIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf026" size:size]; } ++ (instancetype)wiNightAltRainWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf027" size:size]; } ++ (instancetype)wiNightAltRainIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf028" size:size]; } ++ (instancetype)wiNightAltShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf029" size:size]; } ++ (instancetype)wiNightAltSnowIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf02a" size:size]; } ++ (instancetype)wiNightAltSprinkleIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf02b" size:size]; } ++ (instancetype)wiNightAltStormShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf02c" size:size]; } ++ (instancetype)wiNightAltThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf02d" size:size]; } ++ (instancetype)wiNightClearIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf02e" size:size]; } ++ (instancetype)wiNightCloudyGustsIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf02f" size:size]; } ++ (instancetype)wiNightCloudyWindyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf030" size:size]; } ++ (instancetype)wiNightCloudyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf031" size:size]; } ++ (instancetype)wiNightHailIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf032" size:size]; } ++ (instancetype)wiNightLightningIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf033" size:size]; } ++ (instancetype)wiNightRainMixIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf034" size:size]; } ++ (instancetype)wiNightRainWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf035" size:size]; } ++ (instancetype)wiNightRainIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf036" size:size]; } ++ (instancetype)wiNightShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf037" size:size]; } ++ (instancetype)wiNightSnowIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf038" size:size]; } ++ (instancetype)wiNightSprinkleIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf039" size:size]; } ++ (instancetype)wiNightStormShowersIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf03a" size:size]; } ++ (instancetype)wiNightThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf03b" size:size]; } ++ (instancetype)wiCelsiusIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf03c" size:size]; } ++ (instancetype)wiCloudDownIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf03d" size:size]; } ++ (instancetype)wiCloudRefreshIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf03e" size:size]; } ++ (instancetype)wiCloudUpIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf040" size:size]; } ++ (instancetype)wiCloudIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf041" size:size]; } ++ (instancetype)wiDegreesIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf042" size:size]; } ++ (instancetype)wiDownLeftIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf043" size:size]; } ++ (instancetype)wiDownIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf044" size:size]; } ++ (instancetype)wiFahrenheitIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf045" size:size]; } ++ (instancetype)wiHorizonAltIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf046" size:size]; } ++ (instancetype)wiHorizonIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf047" size:size]; } ++ (instancetype)wiLeftIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf048" size:size]; } ++ (instancetype)wiNightFogIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf04a" size:size]; } ++ (instancetype)wiRefreshAltIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf04b" size:size]; } ++ (instancetype)wiRefreshIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf04c" size:size]; } ++ (instancetype)wiRightIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf04d" size:size]; } ++ (instancetype)wiSprinklesIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf04e" size:size]; } ++ (instancetype)wiStrongWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf050" size:size]; } ++ (instancetype)wiSunriseIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf051" size:size]; } ++ (instancetype)wiSunsetIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf052" size:size]; } ++ (instancetype)wiThermometerExteriorIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf053" size:size]; } ++ (instancetype)wiThermometerInternalIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf054" size:size]; } ++ (instancetype)wiThermometerIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf055" size:size]; } ++ (instancetype)wiTornadoIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf056" size:size]; } ++ (instancetype)wiUpRightIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf057" size:size]; } ++ (instancetype)wiUpIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf058" size:size]; } ++ (instancetype)wiWindWestIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf059" size:size]; } ++ (instancetype)wiWindSouthWestIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf05a" size:size]; } ++ (instancetype)wiWindSouthEastIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf05b" size:size]; } ++ (instancetype)wiWindSouthIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf05c" size:size]; } ++ (instancetype)wiWindNorthWestIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf05d" size:size]; } ++ (instancetype)wiWindNorthEastIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf05e" size:size]; } ++ (instancetype)wiWindNorthIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf060" size:size]; } ++ (instancetype)wiWindEastIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf061" size:size]; } ++ (instancetype)wiSmokeIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf062" size:size]; } ++ (instancetype)wiDustIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf063" size:size]; } ++ (instancetype)wiSnowWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf064" size:size]; } ++ (instancetype)wiDaySnowWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf065" size:size]; } ++ (instancetype)wiNightSnowWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf066" size:size]; } ++ (instancetype)wiNightAltSnowWindIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf067" size:size]; } ++ (instancetype)wiDaySleetStormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf068" size:size]; } ++ (instancetype)wiNightSleetStormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf069" size:size]; } ++ (instancetype)wiNightAltSleetStormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf06a" size:size]; } ++ (instancetype)wiDaySnowThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf06b" size:size]; } ++ (instancetype)wiNightSnowThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf06c" size:size]; } ++ (instancetype)wiNightAltSnowThunderstormIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf06d" size:size]; } ++ (instancetype)wiSolarEclipseIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf06e" size:size]; } ++ (instancetype)wiLunarEclipseIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf070" size:size]; } ++ (instancetype)wiMeteorIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf071" size:size]; } ++ (instancetype)wiHotIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf072" size:size]; } ++ (instancetype)wiHurricaneIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf073" size:size]; } ++ (instancetype)wiSmogIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf074" size:size]; } ++ (instancetype)wiAlienIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf075" size:size]; } ++ (instancetype)wiSnowflakeColdIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf076" size:size]; } ++ (instancetype)wiStarsIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf077" size:size]; } ++ (instancetype)wiNightPartlyCloudyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf083" size:size]; } ++ (instancetype)wiUmbrellaIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf084" size:size]; } ++ (instancetype)wiDayWindyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf085" size:size]; } ++ (instancetype)wiNightAltCloudyIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf086" size:size]; } ++ (instancetype)wiUpLeftIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf087" size:size]; } ++ (instancetype)wiDownRightIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf088" size:size]; } ++ (instancetype)wiTime12IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf089" size:size]; } ++ (instancetype)wiTime1IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf08a" size:size]; } ++ (instancetype)wiTime2IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf08b" size:size]; } ++ (instancetype)wiTime3IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf08c" size:size]; } ++ (instancetype)wiTime4IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf08d" size:size]; } ++ (instancetype)wiTime5IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf08e" size:size]; } ++ (instancetype)wiTime6IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf08f" size:size]; } ++ (instancetype)wiTime7IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf090" size:size]; } ++ (instancetype)wiTime8IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf091" size:size]; } ++ (instancetype)wiTime9IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf092" size:size]; } ++ (instancetype)wiTime10IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf093" size:size]; } ++ (instancetype)wiTime11IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf094" size:size]; } ++ (instancetype)wiDaySleetIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b2" size:size]; } ++ (instancetype)wiNightSleetIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b3" size:size]; } ++ (instancetype)wiNightAltSleetIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b4" size:size]; } ++ (instancetype)wiSleetIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b5" size:size]; } ++ (instancetype)wiDayHazeIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b6" size:size]; } ++ (instancetype)wiBeafort0IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b7" size:size]; } ++ (instancetype)wiBeafort1IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b8" size:size]; } ++ (instancetype)wiBeafort2IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b9" size:size]; } ++ (instancetype)wiBeafort3IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0ba" size:size]; } ++ (instancetype)wiBeafort4IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0bb" size:size]; } ++ (instancetype)wiBeafort5IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0bc" size:size]; } ++ (instancetype)wiBeafort6IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0bd" size:size]; } ++ (instancetype)wiBeafort7IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0be" size:size]; } ++ (instancetype)wiBeafort8IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0bf" size:size]; } ++ (instancetype)wiBeafort9IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0c0" size:size]; } ++ (instancetype)wiBeafort10IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0c1" size:size]; } ++ (instancetype)wiBeafort11IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0c2" size:size]; } ++ (instancetype)wiBeafort12IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0c3" size:size]; } ++ (instancetype)wiWindDefaultIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b1" size:size]; } ++ (instancetype)wiMoonNewIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf095" size:size]; } ++ (instancetype)wiMoonWaxingCresent1IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf096" size:size]; } ++ (instancetype)wiMoonWaxingCresent2IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf097" size:size]; } ++ (instancetype)wiMoonWaxingCresent3IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf098" size:size]; } ++ (instancetype)wiMoonWaxingCresent4IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf099" size:size]; } ++ (instancetype)wiMoonWaxingCresent5IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf09a" size:size]; } ++ (instancetype)wiMoonWaxingCresent6IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf09b" size:size]; } ++ (instancetype)wiMoonFirstQuarterIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf09c" size:size]; } ++ (instancetype)wiMoonWaxingGibbous1IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf09d" size:size]; } ++ (instancetype)wiMoonWaxingGibbous2IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf09e" size:size]; } ++ (instancetype)wiMoonWaxingGibbous3IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf09f" size:size]; } ++ (instancetype)wiMoonWaxingGibbous4IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a0" size:size]; } ++ (instancetype)wiMoonWaxingGibbous5IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a1" size:size]; } ++ (instancetype)wiMoonWaxingGibbous6IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a2" size:size]; } ++ (instancetype)wiMoonFullIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a3" size:size]; } ++ (instancetype)wiMoonWaningGibbous1IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a4" size:size]; } ++ (instancetype)wiMoonWaningGibbous2IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a5" size:size]; } ++ (instancetype)wiMoonWaningGibbous3IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a6" size:size]; } ++ (instancetype)wiMoonWaningGibbous4IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a7" size:size]; } ++ (instancetype)wiMoonWaningGibbous5IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a8" size:size]; } ++ (instancetype)wiMoonWaningGibbous6IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0a9" size:size]; } ++ (instancetype)wiMoon3rdQuarterIconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0aa" size:size]; } ++ (instancetype)wiMoonWaningCrescent1IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0ab" size:size]; } ++ (instancetype)wiMoonWaningCrescent2IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0ac" size:size]; } ++ (instancetype)wiMoonWaningCrescent3IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0ad" size:size]; } ++ (instancetype)wiMoonWaningCrescent4IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0ae" size:size]; } ++ (instancetype)wiMoonWaningCrescent5IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0af" size:size]; } ++ (instancetype)wiMoonWaningCrescent6IconWithSize:(CGFloat)size { return [self iconWithCode:@"\uf0b0" size:size]; } + ++ (NSDictionary *)allIcons { + return @{ + @"\uf000" : @"wiDayCloudyGusts", + @"\uf001" : @"wiDayCloudyWindy", + @"\uf002" : @"wiDayCloudy", + @"\uf003" : @"wiDayFog", + @"\uf004" : @"wiDayHail", + @"\uf005" : @"wiDayLightning", + @"\uf006" : @"wiDayRainMix", + @"\uf007" : @"wiDayRainWind", + @"\uf008" : @"wiDayRain", + @"\uf009" : @"wiDayShowers", + @"\uf00a" : @"wiDaySnow", + @"\uf00b" : @"wiDaySprinkle", + @"\uf00c" : @"wiDaySunnyOvercast", + @"\uf00d" : @"wiDaySunny", + @"\uf00e" : @"wiDayStormShowers", + @"\uf010" : @"wiDayThunderstorm", + @"\uf011" : @"wiCloudyGusts", + @"\uf012" : @"wiCloudyWindy", + @"\uf013" : @"wiCloudy", + @"\uf014" : @"wiFog", + @"\uf015" : @"wiHail", + @"\uf016" : @"wiLightning", + @"\uf017" : @"wiRainMix", + @"\uf018" : @"wiRainWind", + @"\uf019" : @"wiRain", + @"\uf01a" : @"wiShowers", + @"\uf01b" : @"wiSnow", + @"\uf01c" : @"wiSprinkle", + @"\uf01d" : @"wiStormShowers", + @"\uf01e" : @"wiThunderstorm", + @"\uf021" : @"wiWindy", + @"\uf022" : @"wiNightAltCloudyGusts", + @"\uf023" : @"wiNightAltCloudyWindy", + @"\uf024" : @"wiNightAltHail", + @"\uf025" : @"wiNightAltLightning", + @"\uf026" : @"wiNightAltRainMix", + @"\uf027" : @"wiNightAltRainWind", + @"\uf028" : @"wiNightAltRain", + @"\uf029" : @"wiNightAltShowers", + @"\uf02a" : @"wiNightAltSnow", + @"\uf02b" : @"wiNightAltSprinkle", + @"\uf02c" : @"wiNightAltStormShowers", + @"\uf02d" : @"wiNightAltThunderstorm", + @"\uf02e" : @"wiNightClear", + @"\uf02f" : @"wiNightCloudyGusts", + @"\uf030" : @"wiNightCloudyWindy", + @"\uf031" : @"wiNightCloudy", + @"\uf032" : @"wiNightHail", + @"\uf033" : @"wiNightLightning", + @"\uf034" : @"wiNightRainMix", + @"\uf035" : @"wiNightRainWind", + @"\uf036" : @"wiNightRain", + @"\uf037" : @"wiNightShowers", + @"\uf038" : @"wiNightSnow", + @"\uf039" : @"wiNightSprinkle", + @"\uf03a" : @"wiNightStormShowers", + @"\uf03b" : @"wiNightThunderstorm", + @"\uf03c" : @"wiCelsius", + @"\uf03d" : @"wiCloudDown", + @"\uf03e" : @"wiCloudRefresh", + @"\uf040" : @"wiCloudUp", + @"\uf041" : @"wiCloud", + @"\uf042" : @"wiDegrees", + @"\uf043" : @"wiDownLeft", + @"\uf044" : @"wiDown", + @"\uf045" : @"wiFahrenheit", + @"\uf046" : @"wiHorizonAlt", + @"\uf047" : @"wiHorizon", + @"\uf048" : @"wiLeft", + @"\uf04a" : @"wiNightFog", + @"\uf04b" : @"wiRefreshAlt", + @"\uf04c" : @"wiRefresh", + @"\uf04d" : @"wiRight", + @"\uf04e" : @"wiSprinkles", + @"\uf050" : @"wiStrongWind", + @"\uf051" : @"wiSunrise", + @"\uf052" : @"wiSunset", + @"\uf053" : @"wiThermometerExterior", + @"\uf054" : @"wiThermometerInternal", + @"\uf055" : @"wiThermometer", + @"\uf056" : @"wiTornado", + @"\uf057" : @"wiUpRight", + @"\uf058" : @"wiUp", + @"\uf059" : @"wiWindWest", + @"\uf05a" : @"wiWindSouthWest", + @"\uf05b" : @"wiWindSouthEast", + @"\uf05c" : @"wiWindSouth", + @"\uf05d" : @"wiWindNorthWest", + @"\uf05e" : @"wiWindNorthEast", + @"\uf060" : @"wiWindNorth", + @"\uf061" : @"wiWindEast", + @"\uf062" : @"wiSmoke", + @"\uf063" : @"wiDust", + @"\uf064" : @"wiSnowWind", + @"\uf065" : @"wiDaySnowWind", + @"\uf066" : @"wiNightSnowWind", + @"\uf067" : @"wiNightAltSnowWind", + @"\uf068" : @"wiDaySleetStorm", + @"\uf069" : @"wiNightSleetStorm", + @"\uf06a" : @"wiNightAltSleetStorm", + @"\uf06b" : @"wiDaySnowThunderstorm", + @"\uf06c" : @"wiNightSnowThunderstorm", + @"\uf06d" : @"wiNightAltSnowThunderstorm", + @"\uf06e" : @"wiSolarEclipse", + @"\uf070" : @"wiLunarEclipse", + @"\uf071" : @"wiMeteor", + @"\uf072" : @"wiHot", + @"\uf073" : @"wiHurricane", + @"\uf074" : @"wiSmog", + @"\uf075" : @"wiAlien", + @"\uf076" : @"wiSnowflakeCold", + @"\uf077" : @"wiStars", + @"\uf083" : @"wiNightPartlyCloudy", + @"\uf084" : @"wiUmbrella", + @"\uf085" : @"wiDayWindy", + @"\uf086" : @"wiNightAltCloudy", + @"\uf087" : @"wiUpLeft", + @"\uf088" : @"wiDownRight", + @"\uf089" : @"wiTime12", + @"\uf08a" : @"wiTime1", + @"\uf08b" : @"wiTime2", + @"\uf08c" : @"wiTime3", + @"\uf08d" : @"wiTime4", + @"\uf08e" : @"wiTime5", + @"\uf08f" : @"wiTime6", + @"\uf090" : @"wiTime7", + @"\uf091" : @"wiTime8", + @"\uf092" : @"wiTime9", + @"\uf093" : @"wiTime10", + @"\uf094" : @"wiTime11", + @"\uf0b2" : @"wiDaySleet", + @"\uf0b3" : @"wiNightSleet", + @"\uf0b4" : @"wiNightAltSleet", + @"\uf0b5" : @"wiSleet", + @"\uf0b6" : @"wiDayHaze", + @"\uf0b7" : @"wiBeafort0", + @"\uf0b8" : @"wiBeafort1", + @"\uf0b9" : @"wiBeafort2", + @"\uf0ba" : @"wiBeafort3", + @"\uf0bb" : @"wiBeafort4", + @"\uf0bc" : @"wiBeafort5", + @"\uf0bd" : @"wiBeafort6", + @"\uf0be" : @"wiBeafort7", + @"\uf0bf" : @"wiBeafort8", + @"\uf0c0" : @"wiBeafort9", + @"\uf0c1" : @"wiBeafort10", + @"\uf0c2" : @"wiBeafort11", + @"\uf0c3" : @"wiBeafort12", + @"\uf0b1" : @"wiWindDefault", + @"\uf095" : @"wiMoonNew", + @"\uf096" : @"wiMoonWaxingCresent1", + @"\uf097" : @"wiMoonWaxingCresent2", + @"\uf098" : @"wiMoonWaxingCresent3", + @"\uf099" : @"wiMoonWaxingCresent4", + @"\uf09a" : @"wiMoonWaxingCresent5", + @"\uf09b" : @"wiMoonWaxingCresent6", + @"\uf09c" : @"wiMoonFirstQuarter", + @"\uf09d" : @"wiMoonWaxingGibbous1", + @"\uf09e" : @"wiMoonWaxingGibbous2", + @"\uf09f" : @"wiMoonWaxingGibbous3", + @"\uf0a0" : @"wiMoonWaxingGibbous4", + @"\uf0a1" : @"wiMoonWaxingGibbous5", + @"\uf0a2" : @"wiMoonWaxingGibbous6", + @"\uf0a3" : @"wiMoonFull", + @"\uf0a4" : @"wiMoonWaningGibbous1", + @"\uf0a5" : @"wiMoonWaningGibbous2", + @"\uf0a6" : @"wiMoonWaningGibbous3", + @"\uf0a7" : @"wiMoonWaningGibbous4", + @"\uf0a8" : @"wiMoonWaningGibbous5", + @"\uf0a9" : @"wiMoonWaningGibbous6", + @"\uf0aa" : @"wiMoon3rdQuarter", + @"\uf0ab" : @"wiMoonWaningCrescent1", + @"\uf0ac" : @"wiMoonWaningCrescent2", + @"\uf0ad" : @"wiMoonWaningCrescent3", + @"\uf0ae" : @"wiMoonWaningCrescent4", + @"\uf0af" : @"wiMoonWaningCrescent5", + @"\uf0b0" : @"wiMoonWaningCrescent6", + + }; +} +@end diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WeatherIcons-Regular.otf b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WeatherIcons-Regular.otf new file mode 100755 index 0000000..c58b9cc Binary files /dev/null and b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WeatherIcons-Regular.otf differ diff --git a/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WeatherIconsKit.h b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WeatherIconsKit.h new file mode 100644 index 0000000..e2c8fc7 --- /dev/null +++ b/PrettyWeatherApp/Pods/WeatherIconsKit/WeatherIconsKit/WeatherIconsKit.h @@ -0,0 +1,7 @@ +#ifndef WeatherIconsKit + +#define WeatherIconsKit + +#import "FAKIcon.h" +#import "WIKFontIcon.h" +#endif diff --git a/PrettyWeatherApp/PrettyWeatherApp.xcodeproj/project.pbxproj b/PrettyWeatherApp/PrettyWeatherApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f9e4086 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp.xcodeproj/project.pbxproj @@ -0,0 +1,381 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + E473A6A08A027CFEDE582AC7 /* Pods_PrettyWeatherApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1821B66AB0D5C343152DCEB4 /* Pods_PrettyWeatherApp.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + EE8D526F1BB4B5FE001E6AFF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE8D526E1BB4B5FE001E6AFF /* AppDelegate.swift */; }; + EE8D52711BB4B5FE001E6AFF /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE8D52701BB4B5FE001E6AFF /* ViewController.swift */; }; + EE8D52741BB4B5FE001E6AFF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE8D52721BB4B5FE001E6AFF /* Main.storyboard */; }; + EE8D52761BB4B5FE001E6AFF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EE8D52751BB4B5FE001E6AFF /* Assets.xcassets */; }; + EE8D52791BB4B5FE001E6AFF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE8D52771BB4B5FE001E6AFF /* LaunchScreen.storyboard */; }; + EEA6BB2B1BB703DA004C362A /* PrettyWeatherViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EEA6BB2A1BB703DA004C362A /* PrettyWeatherViewController.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 1821B66AB0D5C343152DCEB4 /* Pods_PrettyWeatherApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PrettyWeatherApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 744D775BD5681EBB53F2D1F1 /* Pods-PrettyWeatherApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PrettyWeatherApp.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.debug.xcconfig"; sourceTree = ""; }; + 934B5A41521E9D0300FFFE03 /* Pods-PrettyWeatherApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PrettyWeatherApp.release.xcconfig"; path = "Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp.release.xcconfig"; sourceTree = ""; }; + EE8D526B1BB4B5FE001E6AFF /* PrettyWeatherApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PrettyWeatherApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EE8D526E1BB4B5FE001E6AFF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + EE8D52701BB4B5FE001E6AFF /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + EE8D52731BB4B5FE001E6AFF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + EE8D52751BB4B5FE001E6AFF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EE8D52781BB4B5FE001E6AFF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + EE8D527A1BB4B5FE001E6AFF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + EEA6BB2A1BB703DA004C362A /* PrettyWeatherViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrettyWeatherViewController.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EE8D52681BB4B5FE001E6AFF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E473A6A08A027CFEDE582AC7 /* Pods_PrettyWeatherApp.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 74D3B32810BC25BD33051434 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1821B66AB0D5C343152DCEB4 /* Pods_PrettyWeatherApp.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + EE8D52621BB4B5FE001E6AFF = { + isa = PBXGroup; + children = ( + EE8D526D1BB4B5FE001E6AFF /* PrettyWeatherApp */, + EE8D526C1BB4B5FE001E6AFF /* Products */, + FAAE9CAF232FE5E6E61F496D /* Pods */, + 74D3B32810BC25BD33051434 /* Frameworks */, + ); + sourceTree = ""; + }; + EE8D526C1BB4B5FE001E6AFF /* Products */ = { + isa = PBXGroup; + children = ( + EE8D526B1BB4B5FE001E6AFF /* PrettyWeatherApp.app */, + ); + name = Products; + sourceTree = ""; + }; + EE8D526D1BB4B5FE001E6AFF /* PrettyWeatherApp */ = { + isa = PBXGroup; + children = ( + EEA6BB291BB703BF004C362A /* ViewControllers */, + EE8D526E1BB4B5FE001E6AFF /* AppDelegate.swift */, + EE8D52701BB4B5FE001E6AFF /* ViewController.swift */, + EE8D52721BB4B5FE001E6AFF /* Main.storyboard */, + EE8D52751BB4B5FE001E6AFF /* Assets.xcassets */, + EE8D52771BB4B5FE001E6AFF /* LaunchScreen.storyboard */, + EE8D527A1BB4B5FE001E6AFF /* Info.plist */, + ); + path = PrettyWeatherApp; + sourceTree = ""; + }; + EEA6BB291BB703BF004C362A /* ViewControllers */ = { + isa = PBXGroup; + children = ( + EEA6BB2A1BB703DA004C362A /* PrettyWeatherViewController.swift */, + ); + name = ViewControllers; + sourceTree = ""; + }; + FAAE9CAF232FE5E6E61F496D /* Pods */ = { + isa = PBXGroup; + children = ( + 744D775BD5681EBB53F2D1F1 /* Pods-PrettyWeatherApp.debug.xcconfig */, + 934B5A41521E9D0300FFFE03 /* Pods-PrettyWeatherApp.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EE8D526A1BB4B5FE001E6AFF /* PrettyWeatherApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = EE8D527D1BB4B5FE001E6AFF /* Build configuration list for PBXNativeTarget "PrettyWeatherApp" */; + buildPhases = ( + 180FB7D3AAD05815760E1372 /* Check Pods Manifest.lock */, + EE8D52671BB4B5FE001E6AFF /* Sources */, + EE8D52681BB4B5FE001E6AFF /* Frameworks */, + EE8D52691BB4B5FE001E6AFF /* Resources */, + 3AFF2D7FB888A4052D77B61C /* Embed Pods Frameworks */, + B1B9900C4FFD5C5DB6C7D496 /* Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PrettyWeatherApp; + productName = PrettyWeatherApp; + productReference = EE8D526B1BB4B5FE001E6AFF /* PrettyWeatherApp.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EE8D52631BB4B5FE001E6AFF /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0710; + LastUpgradeCheck = 0710; + ORGANIZATIONNAME = "Effective Code Ltd"; + TargetAttributes = { + EE8D526A1BB4B5FE001E6AFF = { + CreatedOnToolsVersion = 7.1; + }; + }; + }; + buildConfigurationList = EE8D52661BB4B5FE001E6AFF /* Build configuration list for PBXProject "PrettyWeatherApp" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EE8D52621BB4B5FE001E6AFF; + productRefGroup = EE8D526C1BB4B5FE001E6AFF /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EE8D526A1BB4B5FE001E6AFF /* PrettyWeatherApp */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EE8D52691BB4B5FE001E6AFF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EE8D52791BB4B5FE001E6AFF /* LaunchScreen.storyboard in Resources */, + EE8D52761BB4B5FE001E6AFF /* Assets.xcassets in Resources */, + EE8D52741BB4B5FE001E6AFF /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 180FB7D3AAD05815760E1372 /* 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; + }; + 3AFF2D7FB888A4052D77B61C /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + B1B9900C4FFD5C5DB6C7D496 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PrettyWeatherApp/Pods-PrettyWeatherApp-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EE8D52671BB4B5FE001E6AFF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EE8D52711BB4B5FE001E6AFF /* ViewController.swift in Sources */, + EE8D526F1BB4B5FE001E6AFF /* AppDelegate.swift in Sources */, + EEA6BB2B1BB703DA004C362A /* PrettyWeatherViewController.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + EE8D52721BB4B5FE001E6AFF /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EE8D52731BB4B5FE001E6AFF /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + EE8D52771BB4B5FE001E6AFF /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EE8D52781BB4B5FE001E6AFF /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + EE8D527B1BB4B5FE001E6AFF /* 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; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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 = 9.1; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EE8D527C1BB4B5FE001E6AFF /* 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 = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + 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 = 9.1; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EE8D527E1BB4B5FE001E6AFF /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 744D775BD5681EBB53F2D1F1 /* Pods-PrettyWeatherApp.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = PrettyWeatherApp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = uk.co.effectivecode.PrettyWeatherApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + EE8D527F1BB4B5FE001E6AFF /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 934B5A41521E9D0300FFFE03 /* Pods-PrettyWeatherApp.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = PrettyWeatherApp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = uk.co.effectivecode.PrettyWeatherApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EE8D52661BB4B5FE001E6AFF /* Build configuration list for PBXProject "PrettyWeatherApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EE8D527B1BB4B5FE001E6AFF /* Debug */, + EE8D527C1BB4B5FE001E6AFF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EE8D527D1BB4B5FE001E6AFF /* Build configuration list for PBXNativeTarget "PrettyWeatherApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EE8D527E1BB4B5FE001E6AFF /* Debug */, + EE8D527F1BB4B5FE001E6AFF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EE8D52631BB4B5FE001E6AFF /* Project object */; +} diff --git a/PrettyWeatherApp/PrettyWeatherApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/PrettyWeatherApp/PrettyWeatherApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..7c830e4 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/PrettyWeatherApp/PrettyWeatherApp.xcworkspace/contents.xcworkspacedata b/PrettyWeatherApp/PrettyWeatherApp.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..65d334e --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/PrettyWeatherApp/PrettyWeatherApp/AppDelegate.swift b/PrettyWeatherApp/PrettyWeatherApp/AppDelegate.swift new file mode 100644 index 0000000..ffce21c --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/AppDelegate.swift @@ -0,0 +1,53 @@ +// +// AppDelegate.swift +// PrettyWeatherApp +// +// Created by Giordano Scalzo on 24/09/2015. +// Copyright © 2015 Effective Code Ltd. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + let viewController = PrettyWeatherViewController() + + let mainWindow = UIWindow(frame: UIScreen.mainScreen().bounds) + mainWindow.backgroundColor = UIColor.whiteColor() + mainWindow.rootViewController = viewController + mainWindow.makeKeyAndVisible() + window = mainWindow + + 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:. + } + + +} + diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..f7bebb0 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,65 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-40@3x.png", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-60@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-Small@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "car", + "filename" : "Icon-60@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "watch", + "filename" : "Icon-Small@3x.png", + "role" : "companionSettings", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png new file mode 100644 index 0000000..0c009b4 Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png new file mode 100644 index 0000000..308843b Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png new file mode 100644 index 0000000..308843b Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png new file mode 100644 index 0000000..8c4fd8a Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png new file mode 100644 index 0000000..b47d31e Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png new file mode 100644 index 0000000..b872017 Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/Contents.json b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/DefaultImage.imageset/Contents.json b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/DefaultImage.imageset/Contents.json new file mode 100644 index 0000000..aa946f1 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/DefaultImage.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "DefaultImage@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/DefaultImage.imageset/DefaultImage@2x.png b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/DefaultImage.imageset/DefaultImage@2x.png new file mode 100644 index 0000000..3ea6fb4 Binary files /dev/null and b/PrettyWeatherApp/PrettyWeatherApp/Assets.xcassets/DefaultImage.imageset/DefaultImage@2x.png differ diff --git a/PrettyWeatherApp/PrettyWeatherApp/Base.lproj/LaunchScreen.storyboard b/PrettyWeatherApp/PrettyWeatherApp/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..2e721e1 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PrettyWeatherApp/PrettyWeatherApp/Base.lproj/Main.storyboard b/PrettyWeatherApp/PrettyWeatherApp/Base.lproj/Main.storyboard new file mode 100644 index 0000000..3a2a49b --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/Base.lproj/Main.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PrettyWeatherApp/PrettyWeatherApp/Info.plist b/PrettyWeatherApp/PrettyWeatherApp/Info.plist new file mode 100644 index 0000000..6905cc6 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/PrettyWeatherApp/PrettyWeatherApp/PrettyWeatherViewController.swift b/PrettyWeatherApp/PrettyWeatherApp/PrettyWeatherViewController.swift new file mode 100644 index 0000000..94ced66 --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/PrettyWeatherViewController.swift @@ -0,0 +1,58 @@ +// +// PrettyWeatherViewController.swift +// PrettyWeatherApp +// +// Created by Giordano Scalzo on 26/09/2015. +// Copyright © 2015 Effective Code Ltd. All rights reserved. +// + +import UIKit +import Cartography + +class PrettyWeatherViewController: UIViewController { + private let backgroundView = UIImageView() + + override func viewDidLoad() { + super.viewDidLoad() + setup() + layoutView() + style() + render(UIImage(named: "DefaultImage")) + } +} + +// MARK: Setup +private extension PrettyWeatherViewController{ + func setup(){ + backgroundView.contentMode = .ScaleAspectFill + backgroundView.clipsToBounds = true + view.addSubview(backgroundView) + } +} + +// MARK: Layout +extension PrettyWeatherViewController{ + func layoutView() { + constrain(backgroundView) { view in + view.top == view.superview!.top + view.bottom == view.superview!.bottom + view.left == view.superview!.left + view.right == view.superview!.right + } + } +} + +// MARK: Style +private extension PrettyWeatherViewController{ + func style(){ + } +} + +// MARK: Render +private extension PrettyWeatherViewController{ + func render(image: UIImage?){ + if let image = image { + backgroundView.image = image + } + } +} diff --git a/PrettyWeatherApp/PrettyWeatherApp/ViewController.swift b/PrettyWeatherApp/PrettyWeatherApp/ViewController.swift new file mode 100644 index 0000000..b833adb --- /dev/null +++ b/PrettyWeatherApp/PrettyWeatherApp/ViewController.swift @@ -0,0 +1,25 @@ +// +// ViewController.swift +// PrettyWeatherApp +// +// Created by Giordano Scalzo on 24/09/2015. +// Copyright © 2015 Effective Code Ltd. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + +} + diff --git a/PrettyWeatherApp/assets/assets.zip b/PrettyWeatherApp/assets/assets.zip new file mode 100644 index 0000000..836edf4 Binary files /dev/null and b/PrettyWeatherApp/assets/assets.zip differ