Questions tagged as 'swift'

0
answers

Navigation between modes

In my iOS application I have an option that opens a modal, in this modal I have a list of items, clicking on one of these items I show the details of the selected item. The solution adopted today was to open the modal with the details inside...
asked by 09.05.2018 / 19:19
2
answers

Brazilian phone mask

I'm migrating from Android to iOS now, and I have a question. Can I make Swift something like onTextChanged of Java? I need a mask for my UITextField which is dynamic, according to the number of characters entered ( ## ####...
asked by 01.11.2017 / 13:56
0
answers

navigationBar responding to two tableViews

I'm trying to get my navigationBar to respond to this second tableView as shown in the gif. Does anyone know how I can do this?     
asked by 04.09.2017 / 06:02
1
answer

Notification with sound in Swift

I have a problem making an application similar to an alarm. It turns out that I can not find any way for the user to select a song in their library and use it when they touch a notification. Is that possible in Swift? What I implemented was a...
asked by 16.07.2017 / 18:59
1
answer

How to adjust the height of a UiView in Swift 3 according to the subviews?

I have a UIView with subviews, and I need the UIView to increase or decrease according to the size of the subviews, the same idea of a layout with height wrap_content. Does anyone know how to do this in Swift 3? Thank you in advance.     
asked by 24.05.2017 / 22:46
3
answers

How to put more than one pickerView in just one ViewController

I'm trying to mount a View that takes user data, such as height, weight, and age, using PickerViews. There is no error returning, but when I execute, the pickerViews will only have one question, depending on the photo. In print, I am returnin...
asked by 05.05.2017 / 20:14
1
answer

Random Ads Between Cells in a Table View

I'm trying to insert totally random ads between cells within a UITableView . It's more or less what I want: Sothere'smyTableViewController:importUIKitimportGoogleMobileAdsclassPage1:UITableViewController,UISearchBarDelegate,GADBanner...
asked by 03.05.2017 / 20:54
1
answer

ViewPager on iOS with Swift 3

Hello, I'm developing an iPhone application using Swift 3 , and I'm having some questions regarding browsing between pages within a ViewController . My application for android I have a Activity using a ViewPager...
asked by 31.03.2017 / 01:34
1
answer

List append on for loop - Swift 3 / Xcode 8 [closed]

I'm having a problem adding items to a list inside the 'for' loop, where all items in the list are repeated with the last value entered. Here's my NSManagedObject list var listCursosNovos: [Cursos] = [] Here's my loop: for i in 0..&l...
asked by 23.01.2017 / 01:34
0
answers

How to encrypt and decrypt data in Swift 3 to form native without using any external lib

I have a service on c # that should be accessed with% encrypted%. Is there any way to encrypt data in Swift natively without using these url faults from Cocoapods? My project does not use any of this and I would like to keep it that wa...
asked by 10.01.2017 / 14:40