Questions tagged as 'objective-c'

1
answer

iOS Animation not set to endpoint when used inside a UITextField in didBegin

I want when the user enters a UITextField field, make a simple animation of moving a UIView down, for example. If I put my Up Inside routine it works, the same routine in didBegin of UItextfield does not work, it animate...
asked by 04.10.2014 / 23:06
1
answer

Use modal to display a static UITableView

Hello!  I am trying to show a static UITableView using modal transition. But when I click the button it shows nothing. I ran a test for another view and it worked correctly. But when it is done with the view that contains the static table, no er...
asked by 09.09.2014 / 05:16
1
answer

Problem in receiving the return of an object

I created a class to download data from a web service. And I take the following steps to test: Instantiate the download class in viewDidLoad of ViewController and then execute the method, as in the code below: - (void)viewDidLoad {...
asked by 24.01.2015 / 21:31
1
answer

Reading file in Objective C

I'm trying to read a file in .c, I can read everything right there however in the variable it returns me a whole content and a "\ n" that damages the rest of my code. Below is the section that reads the txt for you to analyze. char * info_cont...
asked by 19.09.2014 / 00:37
1
answer

Java conversion to Objective-C

I need to convert this little Java code to Objective-C to execute a function in Objective-C, but it has an error that I still can not figure out. Java code: final char CHR0 = 0; String finalprotocolo = "" + CHR0 + ""; String ligartv = "/AR...
asked by 29.10.2014 / 11:48
1
answer

How do I know if the app's Web Service is down?

Scenario: The app consumes data from a web service, so that the app is not "locked" I added the task of downloading the data in a secondary trhead, according to the following code: dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORI...
asked by 02.11.2014 / 13:51
1
answer

Validate field in Objective-C

Scenery: When filling in a form, it should be checked if one of the fields was filled in correctly, containing 6 numbers followed by two initials that are the Brazilian states. It's not about email or password field, just a simple field....
asked by 21.10.2014 / 20:45
1
answer

Core Plot - Initial zoom for the bar chart

How do I set the initial zoom based on the maximum value of the X axis and Y axis? Example: Chart 1: Maximum values: X = 100; Y = 110; Chart 2: Maximum values: X = 180; Y = 230; I need the initial zoom to show the two graphs eq...
asked by 02.09.2014 / 20:04
1
answer

Inherited NSPredicate Filter

I have a structure in Core Data like this: Cliente --- id = inteiro --- dados = Pessoa Pessoa --- nome = string PessoaFisica < Pessoa --- cpf = string PessoaJuridica < Pessoa --- cnpj = string How can I filter Customer based on...
asked by 29.05.2014 / 16:12
1
answer

Filtering TableView content

I have a Property List, with the following structure with a total of 616 records. (Aspirin and Dipirone are examples) I need to insert only the name of the product in a table and have the option to filter with the Search Bar and Search Di...
asked by 12.05.2014 / 15:31