Questions tagged as 'objective-c'

1
answer

Save new cell position after reorder and affect the model (datasource)

I need the implementation of a tableview, where I can rearrange the cell positions and save them in the new order. And this new order should affect the order that they are saved also the model (in this case an NSMutableArray or NSMutableDictionr...
asked by 14.09.2014 / 19:32
1
answer

indexPath does not match contents in tableView

I'm loading a tableView from a array loaded with arrays , this whole load process is working perfectly, however, when I update tableView ( reloadData ) with the same information and I have the scroll in the middl...
asked by 03.09.2014 / 22:46
1
answer

Perfomance Restkit with AFNetworking

I have created a reserver using the Slim Framework (PHP), connecting to a MySQL DB. You are on a dedicated server with moderate performance, ie the response is very fast. But I did a test app in IOS where I consult this api and mount a table...
asked by 18.08.2014 / 19:42
3
answers

xcode does not create storyboard

Someone knows why my xcode when creating a single view application, it does not create the storyboard, I'm starting now and in class the iphone app screen is done la, but in my only appears a main storyboard, when I run the application nothing a...
asked by 13.10.2014 / 22:53
1
answer

Saving image data from json / web-service to sqlite on iphone

Hi! I wonder if you can help me, I'm trying to save an image in an sqlite bank, on the iphone. But I can not.  Briefly explaining how it works ... The app connects to the server and receives the data using Json. Once received, the data is...
asked by 21.07.2014 / 02:10
1
answer

How to make requests to Core Data to get only one attribute?

I only need to get an attribute from a single row of the table: name | id | idade | aprov|repro| sala | _______|______|________|______|_____|______| John | 32 | 15 | A | | 155 | Following the table above, it would be...
asked by 28.10.2014 / 16:12
1
answer

Using UIInterfaceOrientation to change screen

I need to know how to change the iPhone screen when it is rotated (From Portrait to Landscape). For example, when you are in Portrait mode, you will see Screen A, when you are in Left Landscape it will display Screen B and when you turn to Ri...
asked by 08.09.2014 / 21:12
2
answers

Optimize NSPredicate with MagicalRecord

First of all, follow my model: Classes:@interfaceMMEAlbum:NSManagedObject...outraspropriedades@property(nonatomic,retain)NSNumber*album_upcoming;@property(nonatomic,retain)NSSet*songs;@end--------@interfaceMMESong:NSManagedObject@property(n...
asked by 14.08.2014 / 17:01
1
answer

Ping with Objective-C

Does anyone have a class that does the ping test in Objective-C? I tried several and I did not get any. I just need to get the IP and test, if it "ping" execute the action, from the counter, only issue an inaccessible host message.     
asked by 13.08.2014 / 03:41
1
answer

Designer Pattern for Objective-C

Well, does anyone know of a good book, book, or blog that explains well about Designer Pattern, specialized in Objective-C / iOS, with good examples and updated?     
asked by 12.08.2014 / 22:28