Questions tagged as 'ios'

2
answers

How to customize UITableView?

I'm populating a UITableView with data I get in a WebService JSON. This data is text that I need to format. It's coming this way: MyViewController: // // ViewController.swift // tableView // // Created by Gabriel Rod...
asked by 04.12.2015 / 01:30
2
answers

Problems setting the layout in Xcode

I'm having difficulty on the following question. The blue button in the image below has to be waist-high as it is on the storyboard, but it has to be on all iPhones (4 "up). As can be seen in the preview, for each screen size the button stays...
asked by 11.04.2016 / 03:49
2
answers

How to receive value from a variable of another Class

I have a variable in class Class1 and I want to use this variable in a function in class Class2 Screen1 has as its control the Class1 and screen2 has Class2 When calling screen2, Class2 will perform a function that has the class1 va...
asked by 10.11.2015 / 21:28
1
answer

Know which button invoked the action

I have the following problem, I have a pickView that will be the same for two actions, but these actions have to perform parameter passing, ie I need to know which button invoked the action. Would anyone know how to solve this problem? Oh, I hav...
asked by 05.10.2015 / 02:12
1
answer

Swift - Parse in HTML

I currently have a project for IOS 9 where I have a UIWebView component, I'm retrieving a webpage and submitting within this component. But my goal is to get only the first form that is presented inside the HTML, that is, I want to return onl...
asked by 16.10.2015 / 18:18
1
answer

Is it possible to execute a listener when the App is not running?

The App would have to communicate to the user, that there was a change in a value on the server, but without using Push Notification. So I thought I'd add a listener on iOS, and that when I detected the change in value, it would trigger a local...
asked by 28.05.2015 / 06:51
2
answers

Open facebook link in iOS Safari

Scenery: I have an app, which links to a particular page on facebook. When the user clicks the link, it should be directed to the page and loaded with Safari. However, if the user has the Facebook App installed on the iPhone, iOS direct...
asked by 20.01.2015 / 23:00
2
answers

How to send data to web service using AFNetworking?

I have a form that must be completed in the application and sent to the web service to register a new user. How could you send this data to the web service using AFNetworking 2.0? I tried to use the code below, but returned an error: NSD...
asked by 05.11.2014 / 19:07
2
answers

Creating an Array with the Keys of a Dictionary

I have a dictionary according to the image below and I would like to play the names of the dictionary keys medicaments for an array, how I can accomplish this function     
asked by 12.05.2014 / 19:23
1
answer

Development with Codename One

I'm starting development with Codename One and finally I have a question about the support of this API with the development using sockets. Is this the only thing I can understand about TCP sockets development?     
asked by 28.04.2014 / 13:25