Questions tagged as 'xcode'

1
answer

Navigation bar some on xcode with swift

I'm doing a swift application in xcode 7.2.1, I'm using navigation controller in this application. I created the segues using the push, until there the navigation bars were appearing at the top. But I needed one of the ViewControllers not to sho...
asked by 05.02.2016 / 23:48
2
answers

How to prevent the screen from rotating?

I am making an APP and would like the screen to always be in Portrait. I researched the internet, but I could not figure it out. I tried to use the UIInterfaceOrientation of the UIKit framework, but it did not work.     
asked by 07.02.2016 / 19:20
0
answers

Pick up new coordinates whenever the user moves the marker

The application is already picking up the location of the correct user, but I wanted it if the user moved the marker to another street, the application would take this new coordinate. Follow the code below     
asked by 26.02.2016 / 17:32
1
answer

Hide rows from a pickerview when selecting an item from another pickerview - Swift

I created a pickerview using a multidimensional array, I would need to hide some items from picker4 after I selected the first item of picker3 . class ViewControllerEspessuras: UIViewController, UIPickerViewDelegate, UIPickerViewD...
asked by 09.01.2016 / 21:36
1
answer

Symmetric cryptography swift

I am new to swift, and would like to encrypt a string, using some symmetric encryption algorithm so that it is possible with the same decrypt key. I would like to know how this can be done in the Swift language.     
asked by 17.01.2016 / 16:40
3
answers

Migrate JSON request from android to swift

I'm having a problem migrating code from an android app to swift code. This code is responsible for authenticating the user and password of an application. I can not do swift 2 on xcode 7 for iOS 9. Follow the code in java below: @Ove...
asked by 16.11.2015 / 03:53
1
answer

Changes with IOS 9

I was programming using the Objective-C language and when the Xcode 7 update was done, some errors appeared in the language, one of them is in the file AppDelegate.m : (NSManagedObjectContext *)managedObjectContext { // Retu...
asked by 23.09.2015 / 01:07
1
answer

Auto layout does not work in Xcode 7

I opened my project that was in Xcode 6 in Xcode 7 and the auto layout (for different devices) is not working on the simulator. Below I put an image of the simulator in iphone 4s and another one in iphone 6. Does anyone know how to solve? Tha...
asked by 06.10.2015 / 02:07
2
answers

Label Position - Swift IOS

Good evening everyone. How do I leave the label that is reporting the current weight positioned under the progress bar cursor? To make this progress bar I'm using GradientSlider ( link ) Thanks in advance for your attention.     
asked by 05.10.2015 / 04:22
1
answer

Button with link to a site

Could they help me make a button with a link to a website? It is an application for iPhone and I wanted the button to open the site in Safari (for example).     
asked by 03.07.2015 / 10:33