Questions tagged as 'swift'

1
answer

error swift 0_pthread_kill

Good afternoon, friends. I'm trying to do a COREDATA SELECT because I'm having the following error:    2016-01-29 13: 08: 39.648 epicGames [2049: 1579473] * Terminating app   due to uncaught exception 'NSInternalInconsistencyException', r...
asked by 29.01.2016 / 16:10
1
answer

How to pass data from one ViewController to another ViewController

Searching for this I found some solutions, the first is to go through prepareForSegue() , the second is to use a shared variable (global), I also got to see something about using protocol, but could not use it. In some cases, where an a...
asked by 16.01.2016 / 14:39
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
0
answers

Vertical slider - adapt size

I need some sliders placed via storyboard to fit the screen size when placed in upright position. For example, I put three sliders on the screen and put their contraints so that they have the same width and stay at 20 px equidistant, they a...
asked by 05.02.2016 / 13:49
1
answer

How to transfer contents of a variable from one ViewController to another

Sorry for my beginner programmer ignorance. I followed the above tips but it gives an error when I make self :    Can not assign value of type "MainPageValueController" to type "ViewPasswordController". TelaAjustesViewController...
asked by 12.12.2015 / 02:31
1
answer

SIGABRT error in UITableView

The code below compiles but then displays the error 12main SIGABRT in appdelegate.swift , what to do? And tableview is already bound to data source and delegate to viewcontroller .    2016-01-09 16: 34: 54.433 Tables...
asked by 09.01.2016 / 20:17
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
0
answers

WATCHOS 2 - CORE DATA - IOS

I'm trying to make a communication between core data e o watch 2 . No iphone adds a record in the core date (sqlite) . When you quit the iphone app and enter app do watch it has to go to the core date and fetch the...
asked by 18.01.2016 / 14:05
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