Questions tagged as 'ios'

1
answer

How to navigate different screens in Swift using the didSelectRowAtIndexPath method?

I need to click on one of the array positions to go to a specific screen. DidSelectRowAtIndexPath method shows black screen and not the screen it should. Here's the code I've done so far: import UIKit class ViewController: UIViewControll...
asked by 17.07.2015 / 19:42
1
answer

How to create emails in Swift using MFMailComposerController correctly?

I'm having trouble creating an email with MFMailComposerController in Swift. When I try to assign self to emailController.mailComposerController I get an error stating that I can not assign TelaFinalViewController (self)...
asked by 15.05.2015 / 08:00
1
answer

UITextField does not display keyboard (IOS / Objective C) [closed]

My field (UITextField) does not display the application keyboard when selected through the simulator.     
asked by 08.05.2015 / 20:06
1
answer

Android icon opens browser with website

I'm creating a responsive page and would like to know if it's possible to create an app-installable app for android / ios that is just an icon that opens the browser with the address of my webpage.     
asked by 02.06.2015 / 14:39
1
answer

Function library in Xcode (Objective-C)

I need to create a function library in Objective-C . The idea is to create something more or less like the Math.h function library. That is, you do not have to instantiate the class to use the methods declared in that class (or librar...
asked by 31.03.2015 / 20:16
1
answer

How to parse a Json with 2 columns in Objective-C?

In a Get using PHP I'm making the request of 2 columns this way: <?php include 'conexao.php'; header('Content-Type: text/html; charset=UTF-8'); //Converte para UTF8 os resultados da query mysql_set_charset('UTF8'); //Retorna resultado query...
asked by 19.02.2015 / 02:53
1
answer

Problems inserting new record in Core Data

I noticed a problem with the code, when I try to insert a new record into an entity, I lose all the old records and only the new one gets saved. Code used: NSManagedObjectContext * context = [self managedObjectContext]; NSManagedObjectCont...
asked by 09.02.2015 / 21:47
1
answer

How to check empty records in Core Data?

I'm working on a way to know if data has been downloaded and recorded correctly on Core Data.  Due to the poor quality of 3G connections and the potential for failure, I would like to know if there is a way to query the core data and see if ther...
asked by 06.02.2015 / 18:29
1
answer

Accessing Variables from Another Swift iOS Class

I have a Main class in my application, and in it I have created the variable cod that receives the value of 0 , in this class I also have a sequence of buttons that in them contains the event of changing the value of% % ,...
asked by 14.04.2015 / 18:32
2
answers

Keyboard rising before the view up

As the statement says: As soon as I touch a input the keyboard goes up and then view goes up. I'd like to know what I'm doing wrong. PS : In addition, between the keyboard and the view, there is a black space and scroll...
asked by 09.03.2015 / 14:06