Questions tagged as 'swift'

1
answer

What would be the possible solution to this problem with FacebookAppID?

What could be the solution to this problem, since the app id is in string.     
asked by 22.01.2016 / 01:45
1
answer

How to put video inside a view

I need to put a video inside a view, in that it has to rotate only within that square not in fullscreen. (facebook type) I already researched and only saw full screen tutorials. How to do this? I got this code: class BeginController: UIV...
asked by 14.01.2016 / 20:58
1
answer

Class - passing by reference

Consider the following code ceiling: class Circle { var radius: Double init(radius: Double) { print("I'm initializing a new Circle instance with a radius value of \(radius).") self.radius = radius } deinit...
asked by 28.02.2016 / 15:05
1
answer

Uploading photos IOS Swift

I have an application where I need to upload some photos to a server, when I upload a single photo it works fine, now if it is two or more photos it takes an expressive time to finish the operation. I pass these photos turning them into base64....
asked by 18.11.2015 / 23:01
2
answers

Create 3x3 matrix using Imageviews - SWIFT

How do I programmatically create a 3x3 array composed of 9 ImageViews?     
asked by 19.11.2015 / 20:49
1
answer

How do I automatically add labels to a UICollection in Swift?

In my application I was able to use the UICollection to display a horizontal scrolling "table" containing the purchase information of the client with header, but now I have another question, I need this table to be fed with each new password add...
asked by 17.11.2015 / 23:03
1
answer

How to make a Reusable TableView?

On 90% of my screens will I need a tableview to populate the content, how can I make this tableview reusable? I would like to simplify the insertion of this table into several views, my code is as follows: import UIKit class ViewController: U...
asked by 15.12.2015 / 12:07
0
answers

Xcode 7 Swift Local Network Audio Chat

I'm developing a simple Swift application that can "connect" to the local network, without using an external server, I've worked with C ++ socket where I was streaming images from the computer screen, but with Swift not where to start. I searche...
asked by 14.11.2015 / 20:08
0
answers

How to integrate with PagSeguro using UIWebView in Swift

I'm trying to integrate PagSeguro with my Swift application using UIWebView using POST method, but it did not work. follows error that is being returned and the part of my code where I make the call: NSError domain error: "NSCocoaErrorDomain"...
asked by 17.11.2015 / 04:33
2
answers

How to pass variables as a parameter on a JSON object in Swift?

I am making a POST call with Swift using the Alamofire library. The service call works, but I need to verify the email and the password typed by the user. How do I pass variables email and senha into parameters...
asked by 21.10.2015 / 22:07