Questions tagged as 'swift'

1
answer

How to use an imgLoad before loading WebView

In swift I can load a webView by doing the following: 1 - Add UIWebView to my View. 2 - I create an Outlet called webView in my viewcontroller.swift 3 - I enter the following code in my function viewDidLoad let url = NS...
asked by 27.11.2015 / 18:13
1
answer

Layout with width 100% and / or height 10%

How can I apply in my application to leave the width and / or height at 100% for iphone and Ipad? I have in my navbar application. textview, webview ... Thank you     
asked by 07.10.2015 / 02:56
1
answer

Json request for slow scrolling tableview

I have an application that returns a json to a tableview, however, every time I roll the cells it kind of chokes, I've already been told I'd have to leave the asynchronous json return function ... Does anyone know how to treat this in Swift?...
asked by 04.11.2015 / 20:54
2
answers

How to do screen transition programmatically with Swift?

Good evening, everyone. I'm trying to do screen transitions programmatically with swift, but I can not. I tried using the navigationController, but it did not work, it always gives a different error. The screens are set up in the same storeboard...
asked by 06.11.2015 / 03:18
1
answer

TextView with dynamic height

I'd like to know how I can make my UITextView dynamic height, something like WhatsApp . I need that as the text is typed it will increase by itself. Thanks in advance for your attention.     
asked by 16.10.2015 / 01:46
1
answer

How to use didSelectRowAtIndex?

I'd like to know how to use didSelectRowAtIndex , more specifically I'd like to know how each row of my UITableView calls a ViewController specified. In my code below, in case you would like every item in the array that i...
asked by 17.07.2015 / 13:58
1
answer

Check internet access

How can I check in my app ( swift ) if the user has internet access?     
asked by 21.10.2015 / 01:43
1
answer

Parameters for a Container View

The scenario is as follows:    I own a UIViewController and within this controller I own   a UITableViewController added as a ContainerView . How do I pass parameters between my UIViewController and my Contai...
asked by 05.12.2014 / 13:31
1
answer

Get field values from an NSArray with CoreData content

I have a table in coredata with some fields, I can get the size of these values but I need the values of each field, I have this code: var request:NSFetchRequest = NSFetchRequest(entityName: "Radar") //my table in coredata let appDeleg...
asked by 12.06.2015 / 23:48
1
answer

Restrict iOS versions

Is there any way I can restrict iOS versions? Detail: Not the minimum version For example, I developed an app and would like it to run on iOS 7.x.x and iOS 8.1.x versions. In short, I would like to prevent the application from being inst...
asked by 30.01.2015 / 14:51