Questions tagged as 'objective-c'

0
answers

NSLocalizedDescription = Expected status code in (200-299), got 401

I'm trying to login to an application in Objective-C using RestKit but when I type the email and password it has the following error in the console: AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x7ffbd0f5f130> { UR...
asked by 25.02.2015 / 23:15
1
answer

How to Rotate ViewController Manually?

I started a project, where I use a CustonNavigationController to control the navigation of the screens. In this project, only one viewcontroller can be rotated to landscape mode. But the following problem occurs as follows: 1 - Launch the...
asked by 07.04.2015 / 19:20
1
answer

How to use an NSString to create an NSPredicate?

I'm creating a custom search, however I'm creating the predicate strings as an NSString. But I'm getting an error. Code used: NSMutableString* escolhasSIM = [[NSMutableString alloc]init]; // Posição 0 if ([[arrayEscolhas objectAtIndex:...
asked by 27.03.2015 / 18:37
1
answer

How to work with 1 to 1 relationship in core data?

How do I perform operations relating entities in Core Data?  These operations will relate data between 2 entities, being type 1 to 1. I want to relate the image attribute of table 1 to the image path field of table 2. Example: Iwouldliketo...
asked by 28.01.2015 / 16:29
2
answers

Download data in String format and JPG Images

I'm implementing a project that has a Web Service. In this Web Service you save product data, containing the fields: Name, Value, Description and Product Image. I did some tests by downloading only the data in the format String, which due to...
asked by 27.01.2015 / 15:53
1
answer

Problems starting UIImage with image path coming from core data

I downloaded an image, and I stored it on disk. After downloading the class inserts the image path in the core data, getting this string: @"/Users/Tiago/Library/Developer/CoreSimulator/Devices/3E103B07-E48E-4740-911C-ECD24E0C3A3F/data/Containe...
asked by 31.01.2015 / 23:03
0
answers

Slider Menu programmatically

I am creating a menu programmatically, I instantiate the menu in my home and when I click the button that will pull the menu, the menu appears but I can not interact, I can not click the cells, the priority is home and not the menu, how do I do...
asked by 30.10.2014 / 15:48
1
answer

How to send and receive data to MySQL DB using PHP in Objective-C?

Scenario:  Sending and receiving forms to a MySQL database using PHP. I would like to know if anyone knows or has any link to a tutorial course and clear about these procedures, sending and receiving using JSON. It can be in English or Por...
asked by 15.10.2014 / 18:16
0
answers

How to adjust the splash using Constraints in Xcode 6?

In Xcode 6 comes a .xib file that serves as the App's default splash screen. I inserted an image using UIImageView and text using UILabel but the position of the image and the label change according to the screen size of the device....
asked by 15.11.2014 / 00:04
1
answer

How to solve this error returning from access to the web service?

I'm developing an app that consumes data from a web service and using AFNetworking to make requests. During the testing phase the app worked and received the data normally. So I exported the database to the web service online and had the fo...
asked by 08.11.2014 / 00:09