Questions tagged as 'ios'

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

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

How to insert with content larger than the screen?

How to put more content through the storyboard on an iPhone screen without the limitations of the screen.  For example: I have a screen where I need to put a UIImageView and another UITextView two times one below the other. But I d...
asked by 23.09.2014 / 00:17
1
answer

Is there a design pattern for iOS to consume data from a web-service?

I'm looking for a design pattern that will help standardize the construction of an iOS app that consumes data coming from a web service. Could you tell if there is the name of this development model?     
asked by 19.09.2014 / 21:51
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

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
1
answer

Recording PList in Device

I'm having trouble writing a Plist in my app. When I test the simulator it works normally, but the device does not save my changes. I have seen in some sites that I have to create my plist in an accessible place for the device, which is not j...
asked by 01.04.2014 / 02:50