Questions tagged [siesta-swift]

Use [siesta-swift] for questions about the Siesta REST library for iOS. For the Javascript unit testing tool, use the tag [siesta].

Siesta is a REST framework for iOS apps. It provides a resource-centric alternative to the familiar request-centric approach to networking.

67 questions
0
votes
1 answer

Siesta iOS GET request with MULTIPLE url parameters

I'm trying to use Siesta for sending POST request with multiple url parameters. The problem is even though the solution is presented here, it only shows example for a single parameter. So my question is, is there any other ways to add multiple…
Dan
  • 810
  • 2
  • 11
  • 29
0
votes
1 answer

Using Siesta with XML

I'm having trouble figuring out how to read XML content using Siesta. I've tried stuff like this (in my Service subclass): configureTransformer("*") { (content: NSData, entity) -> NSXMLDocument? in return try? NSXMLDocument(data: content, options:…
Uncommon
  • 3,323
  • 2
  • 18
  • 36
0
votes
0 answers

How to get started using Siesta with Objective-C

I am inexperienced with Objective-C and this is my first attempt at anything Swift. I Can't get Xcode to compile. ( I may also be missing a necessary line or two, but if I get it to compile, I can usually figure out the rest ) I've been all over…
markjwill
  • 206
  • 5
  • 15
0
votes
1 answer

Model architecture and persistance for Siesta

I am pretty new to Swift and coming from Restkit, I found Siesta and it seems like a solid library solving a common problem. At the moment I am trying to figure out how to deal with the model layer of my app and its persistance. CoreData is an…
Philippe
  • 97
  • 1
  • 9
0
votes
1 answer

iOS - How to stub siesta calls?

I am trying to use siesta in my current app, for all network calls. As usual, I am writing UT ensuring everything is working as expected. I am currently struggling with UT on a siesta PUT call: I am not able to stub the call as I used to with…
GUL
  • 207
  • 1
  • 8
0
votes
1 answer

Siesta: Child resources

I am having difficulties understanding how does Siesta figure out the child of a resource. For example I have the following events resource: JSON returned by "/events" { "success": 1, "events": [ { "id": 1, …
Rhuantavan
  • 445
  • 3
  • 17
-1
votes
2 answers

Swift Siesta Get and post

I am new to Siesta. How can I get the entire array and pass into my model? Besides, how can I post with params? In their documentation I couldn't find any of this.
bubibu
  • 324
  • 1
  • 4
  • 12
1 2 3 4
5