Hello, I would like to know how to create a global settings file.
I'm using a Lib to do http query, Alamofire.
I'd like it anywhere that in any file I called the constant it would be accessed.
Example:
Alamofire.request(.GET, FILECONFI...
I have code to show activity indicator in Swift, but it is not working properly. activity indicator does not appear, even after all code within func de configuração is loaded correctly.
What's wrong?
Here is the code...
Hello.
I'm trying to work with Picker View to display a combination of values.
var pickerDataSource = [["a", "b", "c", "d"],["1","2","3","4"]];
Doubt is; how do I get results within a condition?
if(row == 0)
{
self...
Hello, take it easy with me because I am extremely beginner.
I'm trying to change the root of an application I'm trying to do. It even worked when I commented on window!.rootViewController = centerContainer
But when I do this, the m...
I made an Android app and I'm currently making a version of it for IOS, I'd like to know how to implement an AssyncTask in Swift and run it.
On Android I did this:
public void carregaBanner2(){ new LongOperation3().execute("");}
private cla...
Hello, I would like to know how I do in Swift a sentence moving from right to left and when every sentence passes it is doing the same procedure forever, like a digital marquee.
Good afternoon guys, how are you?
How do I pass an array per parameter? and I would like the array parameter to be optional
Example:
func startGame(teste: Array) -> String {
let randomIndex = Int(arc4random_uniform(UInt32(wordHa...
I have a view where I have login forms in my app, if the person choose login or register will be redirected to the same view but depends on the button that is pressed I will present a different screen ...
How can I pass the parameter to know the...
I'm using a dropdown type using this 1 project, and now I wanted to select one of the items that is inside it and close the dropdown and the chosen item appears on the button label this all in swift, can anyone help me here?
Thank you