constantine-fry / das-quadrat Goto Github PK
View Code? Open in Web Editor NEWA Swift wrapper for Foursquare API. iOS and OSX.
License: BSD 2-Clause "Simplified" License
A Swift wrapper for Foursquare API. iOS and OSX.
License: BSD 2-Clause "Simplified" License
Hi,
I want to make a synchronous request with das-quadrat to find near by venues on foursquare. I know it is not advisable but I need an arrayLis of the places from a function and the function returns it empty because searchTask is not started.
if let session = session
{
let parameters = [
Parameter.ll:ll,Parameter.limit: "50"
]
// Start a "search", i.e. an async call to Foursquare that should return venue data
let searchTask = session.venues.search(parameters)
{
(result) -> Void in
if let response = result.response
{
if let venues = response["venues"] as? [[String: AnyObject]]
{
for venue:[String: AnyObject] in venues
{
if let id = venue["id"] as? String
{
tempCatid = id
}
if let name = venue["name"] as? String
{
tempName = name
}
if let location = venue["location"] as? [String: AnyObject]
{
if let longitude = location["lng"] as? jdouble
{
tempLongitude = longitude
}
if let latitude = location["lat"] as? jdouble
{
tempLatitude = latitude
}
}
let objPlace = Place(categoryId: tempCatid, name: tempName, latitude: tempLatitude!, longitude: tempLongitude!)
foursquareMapArrayList.addWithId(objPlace)
}
}
}
}
searchTask.start()
}
print("\(foursquareMapArrayList.size())")
return foursquareMapArrayList
My foursquareMapArrayList is always empty.
I am working on an app that has a coherent design. I was hoping on extending that to the login portion but from what I saw, the library sends it's authorization to a foursquare web view and retrieves the token when it is done. Is there a way to customize this?
There's an undocumented Venue action endpoint for toggling a neutral/ok rating. Works exactly like venues/VENUE_ID/like
and venues/VENUE_ID/dislike
. It's used by the native Foursquare app, so it's probably stable, and there's no great reason why it's not included in the public documentation.
Would you accept a PR adding support for it?
The pod seems to work fine, except when using the non-native authorizer view. The NIBs are missing.
Tried with Xcode 8.3.1 (8E1000a) (Swift 3.1) on macOS 10.12.5 Beta (16F54b), CocoaPods version 0.20.1 with the Rome plugin, Carthage version 0.20.1.
Podfile:
platform :ios, "8.0"
use_frameworks!
plugin "cocoapods-rome" #Cocoapods Rome basically makes Cocoapods function like Carthage. It builds the frameworks, but just drops the integration step https://github.com/CocoaPods/Rome
target "DinnerRoll" do
pod "QuadratTouch"
end
CocoaPods output:
[!] /usr/bin/xcodebuild -project /Developer/iOS/Sandbox/DinnerRoll/Pods/Pods.xcodeproj -scheme Pods-DinnerRoll -configuration Release -sdk iphoneos
Build settings from command line:
SDKROOT = iphoneos10.3
=== BUILD TARGET QuadratTouch OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies
Write auxiliary files
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-project-headers.hmap
/bin/mkdir -p /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/armv7
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/armv7/QuadratTouch.LinkFileList
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/armv7/QuadratTouch-OutputFileMap.json
/bin/mkdir -p /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/DerivedSources
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/DerivedSources/QuadratTouch_vers.c
/bin/mkdir -p /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch-OutputFileMap.json
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-own-target-headers.hmap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-generated-files.hmap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/module.modulemap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-all-target-headers.hmap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/unextended-module-overlay.yaml
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-all-non-framework-target-headers.hmap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/swift-overrides.hmap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/all-product-headers.yaml
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/unextended-module.modulemap
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch.LinkFileList
write-file /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch.hmap
Create product structure
/bin/mkdir -p /Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch/QuadratTouch.framework/Modules
/bin/mkdir -p /Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch/QuadratTouch.framework/Headers
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
cd /Developer/iOS/Sandbox/DinnerRoll/Pods
export DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer
export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Users/michael/torch/install/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Developer/Go/bin:/usr/local/gnupg-2.1/bin:/usr/local/sbin:/opt/iOSOpenDev/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
export SDKROOT=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name QuadratTouch -O -whole-module-optimization -D COCOAPODS -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/michael/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -embed-bitcode-marker -I /Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch -F /Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch -c -num-threads 8 /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Configuration.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/NetworkActivityIndicatorController.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/OauthErrors.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Photos.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Settings.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Updates.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift -output-file-map /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch.swiftmodule -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/swift-overrides.hmap -Xcc -iquote -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-generated-files.hmap -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-own-target-headers.hmap -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/all-product-headers.yaml -Xcc -iquote -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-project-headers.hmap -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch/include -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/Pods/Headers/Private -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/Pods/Headers/Public -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/DerivedSources/arm64 -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/DerivedSources -Xcc -DPOD_CONFIGURATION_RELEASE=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/unextended-module-overlay.yaml -Xcc -working-directory/Developer/iOS/Sandbox/DinnerRoll/Pods
CompileSwift normal arm64
cd /Developer/iOS/Sandbox/DinnerRoll/Pods
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Configuration.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/NetworkActivityIndicatorController.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/OauthErrors.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Photos.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Settings.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Updates.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift /Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -I /Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch -F /Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch -g -import-underlying-module -module-cache-path /Users/michael/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -serialize-debugging-options -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/swift-overrides.hmap -Xcc -iquote -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-generated-files.hmap -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-own-target-headers.hmap -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/all-product-headers.yaml -Xcc -iquote -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/QuadratTouch-project-headers.hmap -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Release-iphoneos/QuadratTouch/include -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/Pods/Headers/Private -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/Pods/Headers/Public -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/DerivedSources/arm64 -Xcc -I/Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/DerivedSources -Xcc -DPOD_CONFIGURATION_RELEASE=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/unextended-module-overlay.yaml -Xcc -working-directory/Developer/iOS/Sandbox/DinnerRoll/Pods -emit-module-doc-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch.swiftdoc -O -module-name QuadratTouch -emit-module-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch.swiftmodule -emit-objc-header-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/QuadratTouch-Swift.h -serialize-diagnostics-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Authorization.dia -emit-dependencies-path /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Authorization.d -num-threads 8 -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Authorization.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/AuthorizationViewController.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Authorizer.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Checkins.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Configuration.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/DataCache.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Endpoint.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Events.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Keychain.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Lists.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Logger.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Multi.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/NativeTouchAuthorizer.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/NetworkActivityIndicatorController.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/OauthErrors.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Pages.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/PageUpdates.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Parameters.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Photos.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Request.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Result.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Session.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Settings.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Specials.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Task.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Tips.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/TouchAuthorizer.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Updates.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Users.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/VenueGroups.o -o /Developer/iOS/Sandbox/DinnerRoll/build/Pods.build/Release-iphoneos/QuadratTouch.build/Objects-normal/arm64/Venues.o -embed-bitcode-marker
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift:11:23: error: 'inout' before a parameter name is not allowed, place it before the parameter type instead
public func +=<K, V> (inout left: Dictionary<K, V>, right: Dictionary<K, V>?) -> Dictionary<K, V> {
^~~~~
inout
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:81:57: error: expected ',' joining parts of a multi-clause condition
if let data = data, let response = response where response.MIMEType == "application/json" {
~^~~~~
,
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:15:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var categoryId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:16:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var checkinId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:17:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var commentId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:18:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var contentId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:19:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var eventId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:20:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var itemId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:21:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var offerId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:22:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var pageId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:23:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var participantId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:24:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var photoId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:25:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var postContentId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:26:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var primaryCategoryId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:27:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var providerId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:28:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var storeId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:29:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var tipId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:30:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var userId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:31:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var venueId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:34:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var addCategoryIds : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:35:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var address : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:36:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var afterId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:37:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var afterTimestamp : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:38:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var alt : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:39:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var altAcc : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:42:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var beforeId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:43:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var beforeTimestamp : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:44:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var broadcast : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:47:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var city : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:48:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var collaborative : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:49:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var comment : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:50:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var cost : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:51:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var count1 : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:52:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var crossStreet : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:55:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var day : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:56:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var description : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:57:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var domain : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:60:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var email : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:61:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var endAt : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:64:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var facebookUrl : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:65:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var fbid : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:66:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var fields : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:67:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var finePrint : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:68:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var friendVisits : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:71:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var group : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:74:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var highWatermark : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:75:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var hours : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:78:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var ignoreDuplicates : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:79:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var ignoreDuplicatesKey : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:80:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var includeFollowing : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:81:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var intent : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:84:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var lastVenue : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:85:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var likes : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:86:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var limit : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:87:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var linkedId : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:88:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var ll : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:89:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var llAcc : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:90:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var llBounds : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:93:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var mentions : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:94:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var menuUrl : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:95:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var message : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:98:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var name : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:99:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var ne : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:100:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var near : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:101:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var novelty : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:104:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var offset : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:105:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var openNow : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:108:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var phone : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:109:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var postText : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:110:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var price : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:111:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var problem : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:114:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var query : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:117:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var radius : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:118:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var removeCategoryIds : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:119:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var role : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:122:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var saved : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:123:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var section : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:124:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var set : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:125:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var shout : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:126:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var signature : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:127:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var sort : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:128:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var sortByDistance : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:129:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var specials : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:130:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var startAt : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:131:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var state : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:132:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var status : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:133:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var sw : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:136:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var text : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:137:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var time : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:138:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var twitter : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:139:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var twitterSource : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:140:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var type : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:143:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var url : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:146:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var value : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:147:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var venuell : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:148:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var venuePhotos : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:149:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var visible : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:152:63: error: __FUNCTION__ has been replaced with #function in Swift 3
public class var zip : String { return __FUNCTION__ }
^~~~~~~~~~~~
#function
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:15:37: error: function types cannot have argument labels; use '_' before 'result'
public typealias ResponseClosure = (result: Result) -> Void
^
_
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:18:42: error: function types cannot have argument labels; use '_' before 'imageData'
public typealias DownloadImageClosure = (imageData: NSData?, error: NSError?) -> Void
^
_
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:18:62: error: function types cannot have argument labels; use '_' before 'error'
public typealias DownloadImageClosure = (imageData: NSData?, error: NSError?) -> Void
^
_
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:16:5: error: 'optional' requirements are an Objective-C compatibility feature; add '@objc'
optional func sessionWillPresentAuthorizationViewController(controller: AuthorizationViewController)
^
@objc
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:18:5: error: 'optional' requirements are an Objective-C compatibility feature; add '@objc'
optional func sessionWillDismissAuthorizationViewController(controller: AuthorizationViewController)
^
@objc
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:26:47: error: cannot call value of non-function type 'UIApplication'
return UIApplication.sharedApplication().canOpenURL(URL)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:31:46: error: missing argument label 'URL:' in call
return nativeAuthorizer.handleURL(URL) as Bool!
^
URL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:34:43: error: missing argument label 'URL:' in call
return nativeAuthorizer.handleURL(URL) as Bool!
^
URL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:47:44: error: missing argument label 'completionHandler:' in call
nativeAuthorizer.authorize(block)
^
completionHandler:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:51:42: error: missing argument label 'viewController:' in call
touchAuthorizer.authorize(viewController, delegate: delegate, completionHandler: block)
^
viewController:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:42:17: error: closure use of non-escaping parameter 'completionHandler' may allow it to escape
completionHandler(accessToken != nil, error)
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/Authorization.swift:37:120: note: parameter 'completionHandler' is implicitly non-escaping
public func authorizeWithViewController(viewController: UIViewController, delegate: SessionAuthorizationDelegate?, completionHandler: AuthorizationHandler) {
^
@escaping
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:94:17: warning: instance method 'webView(webView:shouldStartLoadWithRequest:navigationType:)' nearly matches optional requirement 'webView(_:shouldStartLoadWith:navigationType:)' of protocol 'UIWebViewDelegate'
public func webView(webView: UIWebView, shouldStartLoadWithRequest
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:94:17: note: candidate has non-matching type '(UIWebView, NSURLRequest, UIWebViewNavigationType) -> Bool'
public func webView(webView: UIWebView, shouldStartLoadWithRequest
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:94:17: note: move 'webView(webView:shouldStartLoadWithRequest:navigationType:)' to an extension to silence this warning
public func webView(webView: UIWebView, shouldStartLoadWithRequest
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:94:17: note: add '@nonobjc' to silence this warning
public func webView(webView: UIWebView, shouldStartLoadWithRequest
^
@nonobjc
UIKit.UIWebViewDelegate:3:26: note: requirement 'webView(_:shouldStartLoadWith:navigationType:)' declared here
optional public func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:106:17: warning: instance method 'webView(webView:didFailLoadWithError:)' nearly matches optional requirement 'webView(_:didFailLoadWithError:)' of protocol 'UIWebViewDelegate'
public func webView(webView: UIWebView, didFailLoadWithError error: NSError?) {
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:106:17: note: candidate has non-matching type '(UIWebView, NSError?) -> ()'
public func webView(webView: UIWebView, didFailLoadWithError error: NSError?) {
^ ~~~~~~~~
Error?
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:106:17: note: move 'webView(webView:didFailLoadWithError:)' to an extension to silence this warning
public func webView(webView: UIWebView, didFailLoadWithError error: NSError?) {
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:106:17: note: add '@nonobjc' to silence this warning
public func webView(webView: UIWebView, didFailLoadWithError error: NSError?) {
^
@nonobjc
UIKit.UIWebViewDelegate:9:26: note: requirement 'webView(_:didFailLoadWithError:)' declared here
optional public func webView(_ webView: UIWebView, didFailLoadWithError error: Error)
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:116:17: warning: instance method 'webViewDidFinishLoad(webView:)' nearly matches optional requirement 'webViewDidFinishLoad' of protocol 'UIWebViewDelegate'
public func webViewDidFinishLoad(webView: UIWebView) {
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:116:17: note: rename to 'webViewDidFinishLoad' to satisfy this requirement
public func webViewDidFinishLoad(webView: UIWebView) {
^
_
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:116:17: note: move 'webViewDidFinishLoad(webView:)' to an extension to silence this warning
public func webViewDidFinishLoad(webView: UIWebView) {
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:116:17: note: add '@nonobjc' to silence this warning
public func webViewDidFinishLoad(webView: UIWebView) {
^
@nonobjc
UIKit.UIWebViewDelegate:7:26: note: requirement 'webViewDidFinishLoad' declared here
optional public func webViewDidFinishLoad(_ webView: UIWebView)
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:59:22: error: 'NSBundle' has been renamed to 'Bundle'
let bundle = NSBundle(forClass: AuthorizationViewController.self)
^~~~~~~~
Bundle
<unknown>:0: note: 'NSBundle' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:71:66: error: 'Cancel' has been renamed to 'cancel'
let cancelButton = UIBarButtonItem(barButtonSystemItem: .Cancel,
^~~~~~
cancel
<unknown>:0: note: 'Cancel' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:72:35: warning: use '#selector' instead of explicitly constructing a 'Selector'
target: self, action: Selector("cancelButtonTapped"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#selector(AuthorizationViewController.cancelButtonTapped)
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:84:46: error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
let request = NSURLRequest(URL: self.authorizationURL)
^
as URL
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:96:40: error: 'URL' has been renamed to 'url'
if let URLString = request.URL?.absoluteString {
^~~
url
<unknown>:0: note: 'URL' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:97:57: error: value of optional type 'String?' not unwrapped; did you mean to use '!' or '?'?
if URLString.hasPrefix(self.redirectURL.absoluteString) {
^
!
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:99:69: error: missing argument label 'redirectURL:' in call
self.authorizationDelegate?.didReachRedirectURL(request.URL!)
^
redirectURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:128:58: error: missing argument label 'identifier:' in call
networkActivityIndicator?.endNetworkActivity(activityIdentifier)
^
identifier:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:133:30: error: 'hidden' has been renamed to 'isHidden'
self.statusLabel.hidden = true
^~~~~~
isHidden
<unknown>:0: note: 'hidden' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:137:58: error: missing argument label 'identifier:' in call
networkActivityIndicator?.endNetworkActivity(activityIdentifier)
^
identifier:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:139:30: error: 'hidden' has been renamed to 'isHidden'
self.statusLabel.hidden = true
^~~~~~
isHidden
<unknown>:0: note: 'hidden' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:141:24: error: 'animateWithDuration(_:animations:completion:)' has been renamed to 'animate(withDuration:animations:completion:)'
UIView.animateWithDuration(0.2, animations: {
^~~~~~~~~~~~~~~~~~~
animate withDuration:
<unknown>:0: note: 'animateWithDuration(_:animations:completion:)' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:152:58: error: missing argument label 'identifier:' in call
networkActivityIndicator?.endNetworkActivity(activityIdentifier)
^
identifier:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:157:30: error: 'hidden' has been renamed to 'isHidden'
self.statusLabel.hidden = false
^~~~~~
isHidden
<unknown>:0: note: 'hidden' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:162:58: error: missing argument label 'identifier:' in call
networkActivityIndicator?.endNetworkActivity(activityIdentifier)
^
identifier:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/AuthorizationViewController.swift:166:30: error: 'hidden' has been renamed to 'isHidden'
self.statusLabel.hidden = true
^~~~~~
isHidden
<unknown>:0: note: 'hidden' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:32:50: error: missing argument label 'baseURL:' in call
let authorizationURL = Parameter.buildURL(NSURL(string: baseURL)!, parameters: parameters)
^
baseURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:53:35: error: missing argument label 'accessToken:' in call
self.finilizeAuthorization(nil, error: error)
^
accessToken:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:57:43: error: value of optional type 'String?' not unwrapped; did you mean to use '!' or '?'?
print("redirectURL" + redirectURL.absoluteString)
^
!
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:58:56: error: missing argument label 'fromURL:' in call
let parameters = self.extractParametersFromURL(redirectURL)
^
fromURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:67:56: error: missing argument label 'string:' in call
error = NSError.quadratOauthErrorForString(errorString)
^
string:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:69:35: error: missing argument label 'accessToken:' in call
self.finilizeAuthorization(parameters["access_token"], error: error)
^
accessToken:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:77:51: error: missing argument label 'accessToken:' in call
try self.keychain.saveAccessToken(accessToken)
^
accessToken:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:90:23: error: 'NSHTTPCookieStorage' has been renamed to 'HTTPCookieStorage'
let storage = NSHTTPCookieStorage.sharedHTTPCookieStorage()
^~~~~~~~~~~~~~~~~~~
HTTPCookieStorage
<unknown>:0: note: 'NSHTTPCookieStorage' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:104:47: error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
let components = NSURLComponents(URL: fromURL, resolvingAgainstBaseURL: false)
^
as URL
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Authorizer.swift:114:37: error: value of type 'String' has no member 'componentsSeparatedByString'
let parameters = queryString?.componentsSeparatedByString("&")
~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.String:17:17: note: did you mean 'componentsSeparatedBy'?
public func componentsSeparatedBy(_ separator: String) -> [String]
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(checkinId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:27:23: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:28:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:34:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:43:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:52:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:58:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:65:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Checkins.swift:72:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Configuration.swift:90:35: error: 'NSTimeInterval' has been renamed to 'TimeInterval'
public var timeoutInterval : NSTimeInterval = 60.0
^~~~~~~~~~~~~~
TimeInterval
<unknown>:0: note: 'NSTimeInterval' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Configuration.swift:116:58: error: cannot call value of non-function type '[String]'
if let languageCode = NSLocale.preferredLanguages().first {
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:19:61: error: 'NSTimeInterval' has been renamed to 'TimeInterval'
private let maxCacheAge = (60 * 60 * 24 * 7) as NSTimeInterval
^~~~~~~~~~~~~~
TimeInterval
<unknown>:0: note: 'NSTimeInterval' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:29:31: error: 'NSOperationQueue' has been renamed to 'OperationQueue'
private let privateQueue = NSOperationQueue()
^~~~~~~~~~~~~~~~
OperationQueue
<unknown>:0: note: 'NSOperationQueue' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:41:35: error: generic parameter 'KeyType' could not be inferred
private let cache = NSCache()
^
Foundation.NSCache:2:12: note: 'KeyType' declared as parameter to type 'NSCache'
open class NSCache<KeyType, ObjectType> : NSObject where KeyType : AnyObject, ObjectType : AnyObject {
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:41:35: note: explicitly specify the generic arguments to fix this issue
private let cache = NSCache()
^
<AnyObject, AnyObject>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:47:35: error: 'NSFileManager' has been renamed to 'FileManager'
private let fileManager = NSFileManager.defaultManager()
^~~~~~~~~~~~~
FileManager
<unknown>:0: note: 'NSFileManager' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:63:39: error: 'URLByAppendingPathComponent' has been renamed to 'appendingPathComponent(_:)'
self.directoryURL = cacheURL!.URLByAppendingPathComponent("\(directoryName)/DataCache/\(subdirectiryName)")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
appendingPathComponent
<unknown>:0: note: 'URLByAppendingPathComponent' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:71:13: error: 'NSNotificationCenter' has been renamed to 'NotificationCenter'
NSNotificationCenter.defaultCenter().removeObserver(observer)
^~~~~~~~~~~~~~~~~~~~
NotificationCenter
<unknown>:0: note: 'NSNotificationCenter' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:123:26: error: 'NSNotificationCenter' has been renamed to 'NotificationCenter'
let center = NSNotificationCenter.defaultCenter()
^~~~~~~~~~~~~~~~~~~~
NotificationCenter
<unknown>:0: note: 'NSNotificationCenter' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:124:38: error: 'UIApplicationDidEnterBackgroundNotification' has been renamed to 'NSNotification.Name.UIApplicationDidEnterBackground'
let didEnterBackground = UIApplicationDidEnterBackgroundNotification
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NSNotification.Name.UIApplicationDidEnterBackground
<unknown>:0: note: 'UIApplicationDidEnterBackgroundNotification' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:132:42: error: 'UIApplicationDidReceiveMemoryWarningNotification' has been renamed to 'NSNotification.Name.UIApplicationDidReceiveMemoryWarning'
let didReceiveMemoryWaring = UIApplicationDidReceiveMemoryWarningNotification
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NSNotification.Name.UIApplicationDidReceiveMemoryWarning
<unknown>:0: note: 'UIApplicationDidReceiveMemoryWarningNotification' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/DataCache.swift:147:34: error: missing argument label 'error:' in call
self.logger?.logError(error, withMessage: "Cache can't create base directory.")
^
error:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift:34:33: error: missing argument label 'path:' in call
return self.taskWithPath(path, parameters: parameters, HTTPMethod: "GET", completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift:38:33: error: missing argument label 'path:' in call
return self.taskWithPath(path, parameters: parameters, HTTPMethod: "POST", completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift:43:47: error: missing argument label 'path:' in call
let request = self.requestWithPath(path, parameters: parameters, HTTPMethod: "POST")
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Endpoint.swift:51:47: error: missing argument label 'path:' in call
let request = self.requestWithPath(path, parameters: parameters, HTTPMethod: HTTPMethod)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift:28:31: error: 'NSTimeInterval' has been renamed to 'TimeInterval'
var timeoutInterval : NSTimeInterval = 60
^~~~~~~~~~~~~~
TimeInterval
<unknown>:0: note: 'NSTimeInterval' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift:28:9: error: could not infer type for 'timeoutInterval'
var timeoutInterval : NSTimeInterval = 60
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(eventId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift:26:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift:33:23: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift:34:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Events.swift:42:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:43:46: error: value of type 'String' does not conform to expected dictionary value type 'AnyObject'
kSecAttrService as String : serviceAttribute,
^~~~~~~~~~~~~~~~
as AnyObject
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:59:33: error: cannot convert value of type '[String : AnyObject]' to expected argument type 'CFDictionary'
SecItemCopyMatching(query, UnsafeMutablePointer(cfPointer))
^~~~~
as CFDictionary
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:65:50: error: 'NSData' is not implicitly convertible to 'Data'; did you mean to use 'as' to explicitly convert?
accessToken = NSString(data: retrievedData, encoding: NSUTF8StringEncoding) as? String
^
as Data
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:79:36: error: cannot convert value of type '[String : AnyObject]' to expected argument type 'CFDictionary'
let status = SecItemDelete(query)
^~~~~
as CFDictionary
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:96:43: error: 'dataUsingEncoding(_:allowLossyConversion:)' has been renamed to 'data(usingEncoding:allowLossyConversion:)'
let accessTokenData = accessToken.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
^~~~~~~~~~~~~~~~~
data usingEncoding:
Foundation.String:21:17: note: 'dataUsingEncoding(_:allowLossyConversion:)' has been explicitly marked unavailable here
public func dataUsingEncoding(_ encoding: String.Encoding, allowLossyConversion: Bool = default) -> Data?
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:96:61: error: 'NSUTF8StringEncoding' has been renamed to 'String.Encoding.utf8'
let accessTokenData = accessToken.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
^~~~~~~~~~~~~~~~~~~~
String.Encoding.utf8
Foundation.NSUTF8StringEncoding:2:12: note: 'NSUTF8StringEncoding' has been explicitly marked unavailable here
public var NSUTF8StringEncoding: String.Encoding { get }
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:97:43: error: cannot assign value of type 'Data?' to type 'AnyObject?'
query[kSecValueData as String] = accessTokenData
^~~~~~~~~~~~~~~
as AnyObject
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Keychain.swift:98:33: error: cannot convert value of type '[String : AnyObject]' to expected argument type 'CFDictionary'
let status = SecItemAdd(query, nil)
^~~~~
as CFDictionary
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:19:36: error: missing argument label 'path:' in call
return self.getWithPath(listId, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:29:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:30:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:38:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:44:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:50:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:57:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:64:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:70:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:78:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:84:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:90:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:98:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:99:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:105:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:111:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:117:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:125:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Lists.swift:126:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift:35:48: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
print("Session did receive response: \(result.HTTPSTatusCode), \(result.URL)")
^~~~~~~~~~~~~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift:35:56: note: use 'String(describing:)' to silence this warning
print("Session did receive response: \(result.HTTPSTatusCode), \(result.URL)")
~~~~~~~~^~~~~~~~~~~~~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift:35:56: note: provide a default value to avoid this warning
print("Session did receive response: \(result.HTTPSTatusCode), \(result.URL)")
~~~~~~~~^~~~~~~~~~~~~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift:35:74: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
print("Session did receive response: \(result.HTTPSTatusCode), \(result.URL)")
^~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift:35:82: note: use 'String(describing:)' to silence this warning
print("Session did receive response: \(result.HTTPSTatusCode), \(result.URL)")
~~~~~~~~^~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Logger.swift:35:82: note: provide a default value to avoid this warning
print("Session did receive response: \(result.HTTPSTatusCode), \(result.URL)")
~~~~~~~~^~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:12:12: error: value of type 'String' has no member 'stringByAddingPercentEncodingWithAllowedCharacters'
return string.stringByAddingPercentEncodingWithAllowedCharacters(.alphanumericCharacterSet())!
^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:31:47: error: missing argument label 'parameters:' in call
path = path + "?" + makeQuery(params)
^
parameters:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:36:46: error: missing argument label 'string:' in call
let queryString = encodeURIComponent(queries.joinWithSeparator(","))
^
string:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:54:51: error: missing argument label 'string:' in call
let encodedValue = encodeURIComponent(value)
^
string:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:57:15: error: 'removeAtIndex' has been renamed to 'remove(at:)'
query.removeAtIndex(query.endIndex.predecessor())
^~~~~~~~~~~~~
remove at:
Swift.String:13:26: note: 'removeAtIndex' has been explicitly marked unavailable here
public mutating func removeAtIndex(_ i: String.Index) -> Character
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:57:44: error: 'predecessor()' is unavailable: To get the previous index call 'index(before:)' on the CharacterView instance that produced the index.
query.removeAtIndex(query.endIndex.predecessor())
^~~~~~~~~~~
Swift.String.CharacterView.Index:5:17: note: 'predecessor()' has been explicitly marked unavailable here
public func predecessor() -> String.CharacterView.Index
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Multi.swift:57:15: warning: result of call to 'removeAtIndex' is unused
query.removeAtIndex(query.endIndex.predecessor())
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:26:50: error: missing argument label 'baseURL:' in call
let authorizationURL = Parameter.buildURL(NSURL(string: baseURL)!, parameters: parameters)
^
baseURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:40:34: error: assigning non-escaping parameter 'completionHandler' to an @escaping closure
self.completionHandler = completionHandler
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:39:20: note: parameter 'completionHandler' is implicitly non-escaping
func authorize(completionHandler: (String?, NSError?) -> Void) {
^
@escaping
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:41:40: error: cannot call value of non-function type 'UIApplication'
UIApplication.sharedApplication().openURL(self.authorizationURL)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:46:38: error: missing argument label 'redirectURL:' in call
self.didReachRedirectURL(URL)
^
redirectURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:53:56: error: missing argument label 'fromURL:' in call
let parameters = self.extractParametersFromURL(redirectURL)
^
fromURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:60:39: error: missing argument label 'redirectURL:' in call
super.didReachRedirectURL(redirectURL)
^
redirectURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:76:37: error: missing argument label 'baseURL:' in call
let URL = Parameter.buildURL(NSURL(string: accessTokenURL)!, parameters: parameters)
^
baseURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:79:39: error: 'NSURLResponse' has been renamed to 'URLResponse'
(data: NSData?, response: NSURLResponse?, error: NSError?) -> Void in
^~~~~~~~~~~~~
URLResponse
<unknown>:0: note: 'NSURLResponse' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/NativeTouchAuthorizer.swift:78:20: error: 'NSURLSession' has been renamed to 'URLSession'
let task = NSURLSession.sharedSession().dataTaskWithRequest(request) {
^~~~~~~~~~~~
URLSession
<unknown>:0: note: 'NSURLSession' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/NetworkActivityIndicatorController.swift:26:21: error: 'NSOperationQueue' has been renamed to 'OperationQueue'
let mainQueue = NSOperationQueue.mainQueue()
^~~~~~~~~~~~~~~~
OperationQueue
<unknown>:0: note: 'NSOperationQueue' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/NetworkActivityIndicatorController.swift:31:44: error: '++' is unavailable: it has been removed in Swift 3
let result = _currentIdentifier++
^~
+= 1
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/NetworkActivityIndicatorController.swift:48:32: error: 'removeValueForKey' has been renamed to 'removeValue(forKey:)'
_activeIdentifiers.removeValueForKey(identifier!)
^~~~~~~~~~~~~~~~~
removeValue forKey:
Swift.Dictionary<Key, Value>:7:26: note: 'removeValueForKey' has been explicitly marked unavailable here
public mutating func removeValueForKey(_ key: Dictionary.Key) -> Dictionary.Value?
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/NetworkActivityIndicatorController.swift:48:32: warning: result of call to 'removeValueForKey' is unused
_activeIdentifiers.removeValueForKey(identifier!)
^ ~~~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/OauthErrors.swift:58:88: warning: expression implicitly coerced from 'String?' to Any
return NSError(domain: QuadratOauthErrorDomain, code: code.rawValue, userInfo: info)
^~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/OauthErrors.swift:58:88: note: provide a default value to avoid this warning
return NSError(domain: QuadratOauthErrorDomain, code: code.rawValue, userInfo: info)
^~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/OauthErrors.swift:58:88: note: force-unwrap the value to avoid this warning
return NSError(domain: QuadratOauthErrorDomain, code: code.rawValue, userInfo: info)
^~~~
!
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/OauthErrors.swift:58:88: note: explicitly cast to Any with 'as Any' to silence this warning
return NSError(domain: QuadratOauthErrorDomain, code: code.rawValue, userInfo: info)
^~~~
as Any
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:22:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:28:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:36:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:42:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:48:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:54:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Pages.swift:64:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(updateId, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift:26:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift:32:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift:40:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/PageUpdates.swift:46:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:181:47: error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
let components = NSURLComponents(URL: baseURL, resolvingAgainstBaseURL: false)!
^
as URL
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Parameters.swift:182:30: error: missing argument label 'parameters:' in call
let query = URLQuery(parameters)
^
parameters:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Photos.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(photoId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Photos.swift:26:38: error: missing argument label 'fromURL:' in call
return self.uploadTaskFromURL(fromURL, path: path, parameters: parameters, completionHandler: completionHandler)
^
fromURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift:48:27: warning: result of operator '+=' is unused
allParameters += parameters!
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift:50:32: error: 'URLByAppendingPathComponent' has been renamed to 'appendingPathComponent(_:)'
let URL = self.baseURL.URLByAppendingPathComponent(self.path)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
appendingPathComponent
<unknown>:0: note: 'URLByAppendingPathComponent' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Request.swift:51:44: error: missing argument label 'baseURL:' in call
let requestURL = Parameter.buildURL(URL, parameters: allParameters, preformattedQueryString: preformattedQueryString)
^
baseURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:81:43: error: 'NSHTTPURLResponse' has been renamed to 'HTTPURLResponse'
class func createResult(HTTPResponse: NSHTTPURLResponse?, JSON: [String:AnyObject]?, error: NSError? ) -> Result {
^~~~~~~~~~~~~~~~~
HTTPURLResponse
<unknown>:0: note: 'NSHTTPURLResponse' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:119:54: error: 'NSURLResponse' has been renamed to 'URLResponse'
class func resultFromURLSessionResponse(response:NSURLResponse?, data: NSData?, error: NSError?) -> Result {
^~~~~~~~~~~~~
URLResponse
<unknown>:0: note: 'NSURLResponse' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:31: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
^~~~~~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:32: note: use 'String(describing:)' to silence this warning
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
~^~~~~~~~~~~~~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:32: note: provide a default value to avoid this warning
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
~^~~~~~~~~~~~~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:60: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
^~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:61: note: use 'String(describing:)' to silence this warning
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
~^~~~~~~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:61: note: provide a default value to avoid this warning
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
~^~~~~~~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:80: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
^~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:81: note: use 'String(describing:)' to silence this warning
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
~^~~~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:72:81: note: provide a default value to avoid this warning
return "Status code: \(HTTPSTatusCode)\nResponse: \(response)\nError: \(error)"
~^~~~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:126:34: error: 'NSJSONSerialization' has been renamed to 'JSONSerialization'
JSONResult = try NSJSONSerialization.JSONObjectWithData(data!,
^~~~~~~~~~~~~~~~~~~
JSONSerialization
<unknown>:0: note: 'NSJSONSerialization' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:142:33: error: ambiguous reference to member 'subscript'
return self.HTTPHeaders?["RateLimit-Remaining"] as? Int
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Swift.Dictionary:259:12: note: found this candidate
public subscript(position: [Key : Value].Index) -> (key: Key, value: Value) { get }
^
Swift.Dictionary:304:12: note: found this candidate
public subscript(key: Key) -> Value? { get set }
^
Swift.Dictionary<AnyHashable, Value>:2:12: note: found this candidate
public subscript(key: _Hashable) -> Value? { get set }
^
Swift.Collection:27:12: note: found this candidate
public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get }
^
Swift._Indexable:23:12: note: found this candidate
public subscript(bounds: ClosedRange<Self.Index>) -> Self.SubSequence { get }
^
Swift._Indexable:23:12: note: found this candidate
public subscript(bounds: CountableRange<Self.Index>) -> Self.SubSequence { get }
^
Swift._Indexable:45:12: note: found this candidate
public subscript(bounds: CountableClosedRange<Self.Index>) -> Self.SubSequence { get }
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Result.swift:147:33: error: ambiguous reference to member 'subscript'
return self.HTTPHeaders?["X-RateLimit-Limit"] as? Int
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Swift.Dictionary:259:12: note: found this candidate
public subscript(position: [Key : Value].Index) -> (key: Key, value: Value) { get }
^
Swift.Dictionary:304:12: note: found this candidate
public subscript(key: Key) -> Value? { get set }
^
Swift.Dictionary<AnyHashable, Value>:2:12: note: found this candidate
public subscript(key: _Hashable) -> Value? { get set }
^
Swift.Collection:27:12: note: found this candidate
public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get }
^
Swift._Indexable:23:12: note: found this candidate
public subscript(bounds: ClosedRange<Self.Index>) -> Self.SubSequence { get }
^
Swift._Indexable:23:12: note: found this candidate
public subscript(bounds: CountableRange<Self.Index>) -> Self.SubSequence { get }
^
Swift._Indexable:45:12: note: found this candidate
public subscript(bounds: CountableClosedRange<Self.Index>) -> Self.SubSequence { get }
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:37:31: error: 'NSURLSession' has been renamed to 'URLSession'
let URLSession : NSURLSession
^~~~~~~~~~~~
URLSession
<unknown>:0: note: 'NSURLSession' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:46:31: error: 'NSOperationQueue' has been renamed to 'OperationQueue'
let completionQueue : NSOperationQueue
^~~~~~~~~~~~~~~~
OperationQueue
<unknown>:0: note: 'NSOperationQueue' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:116:64: error: 'NSOperationQueue' has been renamed to 'OperationQueue'
public init(configuration: Configuration, completionQueue: NSOperationQueue) {
^~~~~~~~~~~~~~~~
OperationQueue
<unknown>:0: note: 'NSOperationQueue' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:135:65: error: 'NSOperationQueue' has been renamed to 'OperationQueue'
self.init(configuration:configuration, completionQueue: NSOperationQueue.mainQueue())
^~~~~~~~~~~~~~~~
OperationQueue
<unknown>:0: note: 'NSOperationQueue' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:178:37: error: missing argument label 'key:' in call
return dataCache.dataForKey("\(URL.hash)")
^
key:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:183:41: error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
let request = NSURLRequest(URL: URL)
^
as URL
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:204:28: error: missing argument label 'session:' in call
self.logger?.session(self, didReceiveResult: result)
^
session:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:211:13: error: 'NSNotificationCenter' has been renamed to 'NotificationCenter'
NSNotificationCenter.defaultCenter().postNotificationName(name, object: self)
^~~~~~~~~~~~~~~~~~~~
NotificationCenter
<unknown>:0: note: 'NSNotificationCenter' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:209:9: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.async(execute:)'
dispatch_async(dispatch_get_main_queue()) {
^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
dispatch_get_main_queue().async
Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here
public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void)
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:209:24: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main'
dispatch_async(dispatch_get_main_queue()) {
^~~~~~~~~~~~~~~~~~~~~~~~~
DispatchQueue.main
Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here
public func dispatch_get_main_queue() -> DispatchQueue
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:194:17: error: closure use of non-escaping parameter 'completionHandler' may allow it to escape
completionHandler(imageData: data, error: error)
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:182:48: note: parameter 'completionHandler' is implicitly non-escaping
public func downloadImageAtURL(URL: NSURL, completionHandler: DownloadImageClosure) {
^
@escaping
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:193:56: error: closure use of non-escaping parameter 'completionHandler' may allow it to escape
self.completionQueue.addOperationWithBlock {
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Session.swift:182:48: note: parameter 'completionHandler' is implicitly non-escaping
public func downloadImageAtURL(URL: NSURL, completionHandler: DownloadImageClosure) {
^
@escaping
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Settings.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(settingId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Settings.swift:26:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Settings.swift:35:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:20:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:21:36: error: missing argument label 'path:' in call
return self.getWithPath(specialId, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:29:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:35:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:42:23: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:43:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:53:27: warning: result of operator '+=' is unused
allParameters += allParameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Specials.swift:54:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:19:46: error: 'NSURLSessionTask' has been renamed to 'URLSessionTask'
private var task : NSURLSessionTask?
^~~~~~~~~~~~~~~~
URLSessionTask
<unknown>:0: note: 'NSURLSessionTask' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:63:31: error: 'session' is inaccessible due to 'private' protection level
let URLsession = self.session?.URLSession
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:20:25: note: 'session' declared here
private weak var session : Session?
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:84:33: error: 'UUIDString' has been renamed to 'uuidString'
let boundary = NSUUID().UUIDString
^~~~~~~~~~
uuidString
<unknown>:0: note: 'UUIDString' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:90:18: error: 'appendData' has been renamed to 'append(_:)'
body.appendData(string.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!)
^~~~~~~~~~
append
<unknown>:0: note: 'appendData' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:90:36: error: 'dataUsingEncoding(_:allowLossyConversion:)' has been renamed to 'data(usingEncoding:allowLossyConversion:)'
body.appendData(string.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!)
^~~~~~~~~~~~~~~~~
data usingEncoding:
Foundation.String:21:17: note: 'dataUsingEncoding(_:allowLossyConversion:)' has been explicitly marked unavailable here
public func dataUsingEncoding(_ encoding: String.Encoding, allowLossyConversion: Bool = default) -> Data?
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:90:54: error: 'NSUTF8StringEncoding' has been renamed to 'String.Encoding.utf8'
body.appendData(string.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!)
^~~~~~~~~~~~~~~~~~~~
String.Encoding.utf8
Foundation.NSUTF8StringEncoding:2:12: note: 'NSUTF8StringEncoding' has been explicitly marked unavailable here
public var NSUTF8StringEncoding: String.Encoding { get }
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:97:94: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
appendStringBlock("Content-Disposition: form-data; name=\"photo\"; filename=\"photo.\(extention)\"\r\n")
^~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:97:95: note: use 'String(describing:)' to silence this warning
appendStringBlock("Content-Disposition: form-data; name=\"photo\"; filename=\"photo.\(extention)\"\r\n")
~^~~~~~~~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:97:95: note: provide a default value to avoid this warning
appendStringBlock("Content-Disposition: form-data; name=\"photo\"; filename=\"photo.\(extention)\"\r\n")
~^~~~~~~~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:98:49: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
appendStringBlock("Content-Type: image/\(extention)\r\n\r\n")
^~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:98:50: note: use 'String(describing:)' to silence this warning
appendStringBlock("Content-Type: image/\(extention)\r\n\r\n")
~^~~~~~~~~~
String(describing: )
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:98:50: note: provide a default value to avoid this warning
appendStringBlock("Content-Type: image/\(extention)\r\n\r\n")
~^~~~~~~~~~
?? <#default value#>
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Task.swift:99:62: error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
if let imageData = NSData(contentsOfURL: self.fileURL!) {
^
as URL
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(tipId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:28:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:29:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:37:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:43:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:49:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:59:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:60:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:67:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Tips.swift:73:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:25:56: error: 'FormSheet' has been renamed to 'formSheet'
navigationController.modalPresentationStyle = .FormSheet
^~~~~~~~~
formSheet
<unknown>:0: note: 'FormSheet' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:26:66: error: missing argument label 'controller:' in call
delegate?.sessionWillPresentAuthorizationViewController?(authorizationViewController!)
^
controller:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:27:24: error: 'presentViewController(_:animated:completion:)' has been renamed to 'present(_:animated:completion:)'
viewController.presentViewController(navigationController, animated: true, completion: nil)
^~~~~~~~~~~~~~~~~~~~~
present
<unknown>:0: note: 'presentViewController(_:animated:completion:)' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:30:34: error: assigning non-escaping parameter 'completionHandler' to an @escaping closure
self.completionHandler = completionHandler
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:18:9: note: parameter 'completionHandler' is implicitly non-escaping
completionHandler: (String?, NSError?) -> Void) {
^
@escaping
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:36:70: error: missing argument label 'controller:' in call
delegate?.sessionWillDismissAuthorizationViewController?(authorizationViewController!)
^
controller:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:39:42: error: missing argument label 'accessToken:' in call
self.didDismissViewController(accessToken, error: error)
^
accessToken:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:38:35: error: 'dismissViewControllerAnimated(_:completion:)' has been renamed to 'dismiss(animated:completion:)'
presentingViewController?.dismissViewControllerAnimated(true) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dismiss animated:
<unknown>:0: note: 'dismissViewControllerAnimated(_:completion:)' was obsoleted in Swift 3
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/iOS/TouchAuthorizer.swift:45:36: error: missing argument label 'accessToken:' in call
super.finilizeAuthorization(accessToken, error: error)
^
accessToken:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Updates.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(updateId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Updates.swift:30:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Updates.swift:39:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:20:32: error: missing argument label 'path:' in call
return self.getWithPath(userId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:28:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:34:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:43:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:50:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:57:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:64:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:71:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:78:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:85:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:92:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:100:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:106:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:113:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:119:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Users.swift:125:42: error: missing argument label 'fromURL:' in call
let task = self.uploadTaskFromURL(photoURL, path: path, parameters: nil, completionHandler: completionHandler)
^
fromURL:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(groupId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:27:23: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:28:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:34:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:40:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:49:36: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:57:54: error: 'joinWithSeparator' has been renamed to 'joined(separator:)'
let parameters = [Parameter.venueId: venueId.joinWithSeparator(",")]
^~~~~~~~~~~~~~~~~
joined separator:
Swift.Sequence:3:17: note: 'joinWithSeparator' has been explicitly marked unavailable here
public func joinWithSeparator(_ separator: String) -> String
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:58:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:64:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:70:54: error: 'joinWithSeparator' has been renamed to 'joined(separator:)'
let parameters = [Parameter.venueId: venueId.joinWithSeparator(",")]
^~~~~~~~~~~~~~~~~
joined separator:
Swift.Sequence:3:17: note: 'joinWithSeparator' has been explicitly marked unavailable here
public func joinWithSeparator(_ separator: String) -> String
^
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:71:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/VenueGroups.swift:77:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:18:32: error: missing argument label 'path:' in call
return self.getWithPath(venueId, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:28:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:29:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:35:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:41:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:47:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:53:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:59:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:65:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:72:23: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:73:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:81:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:87:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:93:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:99:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:105:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:111:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:117:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:123:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:129:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:135:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:141:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:147:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:156:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:163:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:169:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:177:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:178:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:185:33: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:192:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: parameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:200:27: warning: result of operator '+=' is unused
allParameters += parameters
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:201:37: error: missing argument label 'path:' in call
return self.postWithPath(path, parameters: allParameters, completionHandler: completionHandler)
^
path:
/Developer/iOS/Sandbox/DinnerRoll/Pods/QuadratTouch/Source/Shared/Endpoints/Venues.swift:207:32: error: missing argument label 'path:' in call
return self.getWithPath(path, parameters: nil, completionHandler: completionHandler)
^
path:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
Cartfile:
github "Constantine-Fry/das-quadrat"
Carthage output:
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Developer/iOS/Sandbox/DinnerRoll/Carthage/Checkouts/das-quadrat/Foursquare.xcworkspace -scheme Quadrat -configuration Release -derivedDataPath /Users/michael/Library/Caches/org.carthage.CarthageKit/DerivedData/das-quadrat/1.1.3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/4m/hp6kyygd0psc357lxq2b51z80000gn/T/carthage-xcodebuild.vQlr9i.log
Contents of that log file referenced by Carthage:
/usr/bin/xcrun xcodebuild -workspace /Developer/iOS/Sandbox/DinnerRoll/Carthage/Checkouts/das-quadrat/Foursquare.xcworkspace -scheme Quadrat -configuration Release -derivedDataPath /Users/michael/Library/Caches/org.carthage.CarthageKit/DerivedData/das-quadrat/1.1.3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean buildUser defaults from command line:
IDEDerivedDataPathOverride = /Users/michael/Library/Caches/org.carthage.CarthageKit/DerivedData/das-quadrat/1.1.3
Build settings from command line:
CARTHAGE = YES
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
ONLY_ACTIVE_ARCH = NO
=== CLEAN TARGET Quadrat OF PROJECT Quadrat WITH CONFIGURATION Release ===
Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Quadrat OF PROJECT Quadrat WITH CONFIGURATION Release ===
Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
The bar and button tint colors should match.
@import QuadratTouch;
... set "Embeds Swift Code" to "yes", etc.
Wasn't sure how to interface with this from Objective-C because the code is different. Will it work, and is it supported?
Hi,
I want to use Multi Endpoint to save requests. I've noticed that when I use with GET method then the X-RateLimit-Limit in the response header is 5000, however, when I use with POST method then its value is 500. Could you support it? Or would you accept a PR that supports it?
Hi,
Isn't there a way to get access token after authorization is done and shared Session is created?
I need it for sending to my own server.
Thanks,
Saeed
Hey,
I am trying to query multiple categoryIds. With one it obviously works well:
let searchTask = session.venues.search(parameters) {
...
searchTask.start()
}
with:
var parameters = location.parameters()
parameters += [Parameter.categoryId: "4bf58dd8d48988d103951735"]
parameters += [Parameter.radius: "2000"]
parameters += [Parameter.limit: "50"]
When I add another:
var parameters1 = location.parameters()
parameters1 += [Parameter.categoryId: "52f2ab2ebcbc57f1066b8b23"]
parameters1 += [Parameter.radius: "2000"]
parameters1 += [Parameter.limit: "50"]
and try to use the multi Tasks, it goes wrong, I have no clear idea how to implement the completionHandler:
let multiTask = session.multi.get(tasks: [parameters, parameters1], completionHandler: ResponseClosure) {
...
multiTask.start()
}
Thank you a lot!!!!!!!!!!!!!!!
hi @constantine-fry ,
I have noticed that parameter 'locale' internal use only?
Is that your intention? or is there any approach to pass locale for the request?
Thank you!
Requires a manual login.
I am working on Objective-C project with xCode 8.
I am not sure how I can use this pod in Obj-C project.
Basically, how can I create Client for configuration?
If you have sample code, please share me some code part.
Thanks
I've set up my project as you described it and this works fine as long as I'm using it only in the simulator. Once I want to build it for the actual device (be it using Archive or Build commands) it fails with the following error:
No valid signing identities (i.e. certificate and private key pair) matching the team ID “6E9832W2ZK” were found. Xcode can attempt to fix this issue.
I understand the error; I'm just not sure about the proper way to solve this. An update of the README.md
would clarify this.
Thanks!
When running unit tests I'm having trouble with persistent sessions across tests. This causes fatalErrors to be called when we attempt to set up the Session object. I added a method to clear the session which can be run in a teardown step which seemed to work. If that works for you I can create a PR.
hi :)
i'm using das-quadrat in my app
the problem i've faced is:
when i change my location a little bit no new venue returned :S
new venues appear only if the change in location was vast
anyone faced the same problem ?
any suggestion for solution ?
thanks
I use this project to find information about venues in my app. I only query public information; I don't have my users authenticate. Works as advertised so far. Somehow, the contact
field stays empty/is not there. The API docs suggest, that I should be able to access those information in a similar fashion to the location data, for example.
Is this an error on my end or is this some kind of known issue?
Thank you!
You wrote iOS 7.0+, but embedded frameworks are supported by iOS 8+. Please change ReadMe until you support 7.0+. If you try build project with iOS 7 target, error occurred Quadrat.framework: No such file or directory
.
Hey there, just wondering if you think you'll be able to support Swift 2?
Best
Would it be possible to expose the Session's Configuration's accessToken property? I'm working on a combo web app / iOS app that shares the same accessToken, so if they connect via the iOS app I need to send it to the web app (so they don't have to connect twice).
thanks!
Following the usage instructions for a search request in the README, I tried using the sample code in a ViewController and got the following error:
'ViewController' does not have a member named 'location'
Where am I supposed to make a search request?
Hi @constantine-fry have you planned the migration of the pods to Swift 3?
Good afternoon! Is it possible to randomly receive data at the same radius and the same user location? In order to display one data during the query, the second data is displayed during the second one. Thank you.
I was wondering
Keep getting errors trying to install via Carthage:
***Checking out das-quadrat at "1.1.3"
*** xcodebuild output can be found in /var/folders/nb/2g7_ctn55w92767c41hcqj9w0000gn/T/carthage-xcodebuild.TdifbI.log
*** Building scheme "Quadrat" in Foursquare.xcworkspace
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/thanson/Projects/PicMob/Carthage/Checkouts/das-quadrat/Foursquare.xcworkspace -scheme Quadrat -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Looking at some files of this project swift 3 is not fully supported.
I've been trying to read a venue's rating, but it does not seem to be in the response, though the API documentation states that it should be there. Is this the intended behavior or a bug? Thanks again!
Requested + would be nice! I know the iOS built-in browser model has this out of the box, but I'm not sure if it is suitable for this process.
Will be added support to Carthage in the future?
Followed directions on linking framework with my project.
In app delegate getting the following errors:
"Use of unresolved identifier 'Client'"
same for Configuration and Session
Any advice?
Would it be possible to get this in cocoa pods?
variable_name_max_length
does not work, because this key is not a valid rule identifier.
In fact, no error is displayed in the following cases.
// No error
//public let longVariableNamelongVariableNamelongVariableNamelongVariableNamelongVariableName = "foo"
Therefore, I tried to edit .swiftlint.yml.
variable_name:
max_length:
- 60
- 70
min_length:
- 1
Then, the following errors occurred.
/path/to/das-quadrat-develop /Source/Shared/Endpoints/Users.swift:11:8: error: Variable Name Violation: Variable name should start with a lowercase character: 'UserSelf' (variable_name)
Do you think UserSelf
should be userSelf
?
I send pull request if there is no problem.
ref. realm/SwiftLint#541
After Session.setupSharedSessionWithConfiguration is called, any change to the Configuration object will not have any effect, since Configuration is a struct, and struct is copied over.
This makes sense is most cases, except when the app allows users to change language inside app. Many travel apps allow that (Eg, Booking.com, Kaligo,...)
Hello! Please tell me how to get the phone number of a place? I output the data from the foursqure to the console, and there was not one single parameter for the phone, although I checked for the same place, and on the foursqure site there is phone data. Thanks
When using the venues API, the mode parameter is always included.
However, this causes that the contact information of the venues is not included.
Try the following:
https://api.foursquare.com/v2/venues/explore?ll=40.759211,-73.984638&v=20140503&oauth_token=
versus
The first request will include the contact information from the venues, while the second one will not include it.
Therefore, the mode should be optional so we can get the desired information.
how to get venue image
I can't find your email.
The problem: I'm trying to add annotations to the mapView from venueItems but just can't. (Map view loaded without any annotation)
My session request did receive response: Optional(200) and in console I can see venue description and etc. I also checked your Foursquare-API-v2 demo project. I think something wrong with my proccessAnnotations() method or in way in which I added your library.
What I missed ?
Thank you in advance for your advice.
import Foundation
import UIKit
import CoreLocation
import MapKit
class MapViewController: UIViewController, MKMapViewDelegate, CLLocationManagerDelegate {
var session : Session!
var locationManager: CLLocationManager!
var venueItems : [[String: AnyObject]]?
var junkAnotations = MKPointAnnotation()
@IBOutlet weak var mapOutlet: MKMapView!
override func viewDidLoad() {
super.viewDidLoad()
session = Session.sharedSession()
session.logger = ConsoleLogger()
//Setup Location Manager
locationManager = CLLocationManager()
locationManager.delegate = self
locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters
locationManager.requestAlwaysAuthorization()
let status = CLLocationManager.authorizationStatus()
if status == .NotDetermined {
locationManager.requestWhenInUseAuthorization()
} else if status == .AuthorizedWhenInUse || status == .Authorized {
locationManager.startUpdatingLocation()
}
mapOutlet.showsBuildings = true
mapOutlet.delegate = self
mapOutlet.mapType = .Standard
}
//MARK: LOCATION MANAGER
func createLocationManager(#startImmediately: Bool){
locationManager = CLLocationManager()
if let manager = locationManager{
println("Successfully created the location manager")
manager.delegate = self
if startImmediately{
manager.startUpdatingLocation()
}
}
}
func locationManager(manager: CLLocationManager!,
didChangeAuthorizationStatus status: CLAuthorizationStatus){
print("The authorization status of location services is changed to: ")
switch CLLocationManager.authorizationStatus(){
case .Denied:
println("Denied")
case .NotDetermined:
println("Not determined")
case .Restricted:
println("Restricted")
default:
println("Good")
}
}
func locationManager(manager: CLLocationManager!, didUpdateToLocation newLocation: CLLocation!, fromLocation oldLocation: CLLocation!) {
if venueItems == nil {
getVenuesForLocation()
}
showUserLocationOnMapView()
proccessAnnotations()
locationManager.stopUpdatingLocation()
}
//MARK: SHOW USER LOCATION
/* We call this method when we are sure that the user has given
us access to her location */
func showUserLocationOnMapView(){
mapOutlet.showsUserLocation = true
mapOutlet.userTrackingMode = .Follow
mapOutlet.camera.altitude *= 1.3;
mapOutlet.showsBuildings = true
}
// MARK: ProccessAnnotations
func proccessAnnotations () {
self.mapOutlet.addAnnotations(self.venueItems)
}
// MARK: SHOW NEARBY VENUES ON MAP
func getVenuesForLocation() {
let location = self.locationManager.location
var kebab = [Parameter.query:"coffee"]
kebab += location.parameters()
kebab += [Parameter.openNow:"1"]
kebab += [Parameter.radius:"2500"]
kebab += [Parameter.altAcc:"100"]
kebab += [Parameter.limit:"20"]
let searchTask = session.venues.explore(kebab) {
(result) -> Void in
if self.venueItems != nil {
return
}
if !NSThread.isMainThread() {
fatalError("Sorry, error! Please try to reload app.")
}
if result.response != nil {
if let groups = result.response!["groups"] as [[String: AnyObject]]? {
var venues = [[String: AnyObject]]()
for group in groups {
let items = group["items"] as [[String: AnyObject]]!
venues += items
}
self.venueItems = venues
}
println(self.venueItems?.count)
} else if result.error != nil && !result.isCancelled() {
}
}
searchTask.start()
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.