Questions tagged as 'xcode'

1
answer

How to parse a JSON with array of dictionaries within another array with Swift and alamofire

I am trying to walk an object with alamofire, and everything is fine until I have to deal with the array of dictionaries that I have within that same object. I think I have a problem with the model, but I'm not sure and since I did not find any...
asked by 25.10.2018 / 21:29
1
answer

Have two TabBarControllers in an App on iOS

I would like to know how I could do to have two different interfaces in my APP. My idea is the following, when I started my session as Admin that shows me an interface and when I entered another interfaces as a client, I was thinking of creating...
asked by 17.10.2018 / 16:49
3
answers

Stay with 2 decimals Swift Xcode

I consume a service "x" which gives me the balance of the accounts for example em will return 98675.38282761 What I need is to stay alone with 2 decimals, I currently get the balance and I show it in a label as follows: let balanceNumber...
asked by 11.08.2018 / 19:01
1
answer

Class to add Slider Menu - swift 4

I want to create a class that I can invoke at any time in my program to be able to bring a slider menu to screen. Create a class called MenuV that implements NSObject. This class creates a view with a blue alpha and at the same time shows a c...
asked by 15.07.2018 / 04:32
1
answer

UITable, Section with Image Dynamically Swift

I have the following table that up to now looks like this: What you see here are the titles of the sections, with the accordion effect, what I would like to be able to put an image next to each title, to have an effect like this...
asked by 07.05.2018 / 20:33
1
answer

Remove top margin with a constraint in Top Layout

I have a Stack View in which I want to place it in the Top of a view that contains it but it leaves a small margin between the top. How can I remove this margin? I attach images     
asked by 28.03.2018 / 16:45
1
answer

IOs Swift Progress View Password Evaluation

I would need to be able to reproduce some component similar to Which has as a bar that indicates with different colors if the password is very weak, if it is safe etc, Swift Xcode any link of interest helps me, I do not even know how...
asked by 09.04.2018 / 21:27
1
answer

I can not link UIButton with IBOutlet or IBActins do not work, Object Exit by default !!

When trying to insert a UIButton in a ViewController, the properties window of the object appears in the default Connection attribute "Action" and in Object "Exit" I created the function but it did not create the connection, besides I can not...
asked by 23.02.2018 / 10:28
1
answer

UITextField Swift Show error FloatLabelTextField

I'm using the class I take out of GitHub FloatLabelTextField    link Which has the effect of raising the placeholder as a title What I need is to be able to show a detail of error when validating, I would like to put it down...
asked by 11.05.2018 / 19:59
2
answers

Retrieve position within a CollectionView

I am developing in IOS and I am a first-timer. The idea is that when I started the program I made a collection View of buttons in the following way: @IBOutlet weak var collectionView: UICollectionView! let taille = 45 override func...
asked by 30.01.2018 / 16:24