Comments (2)
Nice. @koogawa thanks for answering :)
from das-quadrat.
let multiTask = session.multi.get(tasks: [parameters, parameters1], completionHandler:
tasks
argument is invalid. You can do so like this:
var parameters = [Parameter.query:strippedString]
parameters += self.location.parameters()
parameters += [Parameter.categoryId: "4bf58dd8d48988d103951735"]
let task = session.venues.search(parameters)
var parameters1 = [Parameter.query:strippedString]
parameters1 += self.location.parameters()
parameters1 += [Parameter.categoryId: "4bf58dd8d48988d10c951735"]
let task1 = session.venues.search(parameters1)
let multiTask = self.session.multi.get([task, task1]){
(result) -> Void in
print ("result:", result.results) // Use result not response, If you use multi task
}
multiTask.start()
POINT:
You have to use result.results
(not result.response), If you use multi task.
from das-quadrat.
Related Issues (20)
- Multi Endpoint's HTTPMethod should be optional (POST or GET) HOT 2
- Missing Contact Field in Response HOT 3
- Access Token HOT 1
- Why is it called das quadrat? HOT 3
- Missing Rating Field in Response HOT 1
- why is parameter 'locale' internal use only? HOT 2
- Cannot change locale after setup is called HOT 1
- Teardown session
- Migrating to Swift 3 HOT 23
- Support for browser extensions and/or password managers in in-app browser for Foursquare authentication?
- Using in Objective-C project HOT 2
- Swift 3 is not fully supported HOT 8
- Carthage failure
- Swiftlint: variable_name_max_length does not work.
- How to get a venue phone number?
- Is it possible to randomly receive data at the same radius and the same user location?
- Does not compile with Carthage or CocoaPods HOT 1
- how to get venue image
- Can't authenticate with Swarm app if Foursquare app is not installed. — Not sure if this is possible, though?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from das-quadrat.