Questions tagged as 'swift'

1
answer

Swift does not arrow text in UITextFiled after updated to swift 3

I updated XCode to Swift 3 last week and it converted all my code to the Swift 3 version. After this I'm trying to set the text inside a UITextField and it does not work. I have already re-done all the UI connections...
asked by 04.11.2016 / 18:40
2
answers

TableView does not update

I have a tableview with several times, so the user could confirm that I consumed the medicine in one of the schedules in question, so I just needed to update the tableview after user confirmation and remove that time from the list , I tried the...
asked by 01.11.2016 / 15:41
1
answer

How to put a title below the bar button iten

I wanted to know how to put a title below the icon in the toolbar, I tried in some ways but without success. I have already tried via code and icon properties in the right side menu.     
asked by 12.10.2016 / 03:46
1
answer

Real-time validation of a textField

I have an application in Swift 1 for iPAD, I would like to remove or not accept the "." input. in my textField. It is like NumberPad. I found some solutions here but none in Swift.     
asked by 04.10.2016 / 20:47
1
answer

swift 3 how to open a popover so that it does not cover every viewcontroller that called it?

I already use the popover that opens through a "follow" and I wish I could set the dimensions (height and width) of this popover so it would not completely cover the viewcontroller that opened it. I use the following statements in the viewcontro...
asked by 07.11.2016 / 19:46
2
answers

How to migrate data between views using Tab Bar Controller (swift)

I have a Tab Bar Controller with 3 buttons. How do I take an array, loaded from data stored in Core Data, from a view (button 1) to another view (button 2)?     
asked by 15.10.2016 / 00:01
2
answers

Swift: Fixed header in a TableViewController

My problem is this: my application has a screen that uses the UITableViewController layout. I created a header (View) for this screen, however, the header does not stay fixed at the top of the screen. That is, when I drag the screen up / down, t...
asked by 08.09.2016 / 17:35
1
answer

UIPageViewController Refresh Content and Bounce

Have a Page in my application that works with UIPageViewController, in it I implement the UIPageViewControllerDataSource. So I have a list of items that are listed in various views, the problem is that when I update this list, the items work per...
asked by 08.09.2016 / 17:38
1
answer

Post swift error with alamofire

But once I come to ask for help from you. I'm developing an application in Swift using web service writing in java hosted at Amazon AWS. When I try to make a registration via post the registration is not performed. The error that returns me i...
asked by 03.09.2016 / 05:31
0
answers

After the formatting the date appears with 3 hours more

I had a problem turning a String into a date, and I was able to put it in the exact time, but now when I went to generate the notification, the blessed date appears with a few more hours, I did everything I thought it could be but not I get the...
asked by 27.09.2016 / 02:28