Questions tagged as 'ios'

1
answer

how to get a token in oauth 2, with swift 3 ios, this code is with the twitter api

var oauthswift: OAuth2Swift? override func viewDidLoad() { super.viewDidLoad() oauthswift = OAuth2Swift( consumerKey: "VTkUsZX4Yqzlzlu6MBLdcIJoP", consumerSecret: "1TdkkuboBIJjEOZsOk7NIiFlQbLtfAf1Lbvgqp72qLfGLXDACf"...
asked by 02.05.2017 / 21:56
2
answers

Value in null label or 0

How to do so if (for example in two boxes to perform an operation) in one of the text boxes you have not entered any value, do not close the application. and for label boxes? @IBOutlet weak var N1: UITextField! @IBOutlet weak var N2: UIText...
asked by 26.03.2017 / 22:46
1
answer

Core Data and fetch with predicate variable

I make a request to one of the entities of Core Data , but to do a calculation, I have to filter the results for which they meet two conditions: That one of its attributes (bool), be true . That another of its attributes (date), i...
asked by 13.03.2017 / 13:15
1
answer

NSPredicate simulate an SQL "Select count (distinct columnName)" of an array

I have an Array full of 'n' dictionaries. These dictionaries have the same numbers of fields 'x' fields, with the same name (As a simulation of a typical database table). Field 'B' for example may contain a number or name. I want to know how man...
asked by 21.03.2017 / 16:01
1
answer

Events click jquery on iOS

Good morning, I've been struggling with the jQuery and iOS click events. I have tried several solutions, but they do not work. The first one that I tried was to add the cursor type to "pointer" to the elements in which I have the events. But it...
asked by 18.01.2017 / 23:18
1
answer

Problem with JSON login Alamofire Swift 3 iOS

I am trying to block access to the next window in my app when the server responds with a code different from 200 (ok) but I can not fulfill it. import UIKit import Alamofire class ViewController: UIViewController { @IBOutlet weak var...
asked by 27.04.2017 / 23:42
1
answer

Do a fadeout of one view that is below another?

I have a program that when a button is pressed, a view appears superimposed on the main one. I would like the view below to darken slightly (fadeout) so that the view that appears superimposed more contrast. I can not do it well because the code...
asked by 17.01.2017 / 11:07
1
answer

Return of an object in Realm

I am having problems with an object that returns to me in Realm, the strange thing is that if I printo by console the object if it gives me a good impression but nevertheless if I try to access its value it tells me that it is empty. The structu...
asked by 25.01.2017 / 16:11
1
answer

Doubt with "Back Button" in Xamarin Forms

I am developing an application for Android and iOS with Xamarin Forms. Then, when I open a new page I do it in the following way: var newPage = new ContentPage (); await Navigation.PushAsync (newPage); My question is: By pressing the "Ba...
asked by 16.02.2017 / 02:54
2
answers

Error updating project Pods

I am trying to update the Pods of my project but it tells me that it can not connect, this is what appears to me:    AlxMrcers-iMac: ~ alxmrcer $ cd / Users / alxmrcer / Desktop / proygym_fnl / gym       AlxMrcers-iMac: gym alxmrcer $ pod up...
asked by 01.12.2016 / 20:20