Questions tagged as 'objective-c'

0
answers

I'm doing a post to register ads but he does not find the user_id

I'm creating a post where I can register and save ads from my application to my api. When I click on register it returns the error got 422 but if I put the user id manually and permanent (user_id = @ "1") it works normally but it with this code:...
asked by 05.03.2015 / 20:55
1
answer

How do I use addObject inside an Array?

I have an NSMutableArray * arrayFavorites I can not log in { name1 = 6; name2 = "Paolo Rossi\nIt\U00e1lia"; name3 = "cartaz-1982.jpg"; photo = "copa8.jpg"; name4 = 24; }, { name1 =...
asked by 25.05.2014 / 19:04
1
answer

Predicate with CAST

Accessing the database .sqlite via sql normally, I can use the CAST('coluna' as decimal) function. Via NSPredicate using CoreData , how do I do the same thing? I have a column of type String and I need...
asked by 28.11.2014 / 17:21
1
answer

SQLITE INSERT problem when app starts

I'm doing Insert in my SQLite, however, I'm getting it! NSLog returns: 2014-06-01 23: 15: 35.664 goTask [25379: 60b] open Bank: open bank successfully 2014-06-01 23: 15: 35.666 goTask [25379: 60b] createTable: Table created successful...
asked by 01.06.2014 / 21:33
1
answer

Using an object in different methods in Objective C

I'm trying to work with objects in iOS Objective C, and I had a question regarding usage. I created a file called carro.h #import <Foundation/Foundation.h> @interface carro : NSObject { NSString *_marca; NSString *_ano;...
asked by 29.05.2014 / 02:04
1
answer

UICollectionViewController 3 columns auto layout

I'm creating a UICollectionViewController with 2 or 3 columns, when using autolayout in some Devices works perfectly but in others not, I did not find anything that speaks of how to dynamize these columns with objective-c. I found one in swif...
asked by 13.07.2016 / 01:16
1
answer

Problem with Core Data on iOS 7

I have a problem between iOS 8 and iOS 7. I am using Core Data, I have an entity called Pessoa ( NSManagedObject ), but when performing an update on the data happens a EXC_BAD_ACCESS , only this, no further description or erro...
asked by 20.02.2015 / 11:54
2
answers

Splash screen while receiving web service data

Hello!  I have a following problem: I need a splash screen that stays on screen while the app receives the data from the web service to popular a BD sqlite on the iPhone.  I tried using the Xcode image launch, but the image only stays on the scr...
asked by 19.07.2014 / 19:09
1
answer

Command to comment several lines in Xcode?

Hello Is there any shortcut to commenting on multiple lines in Xcode? I mean, I use /*...*/ today, but I have to go to the beginning of the block to mark the beginning and do the same until the end.     
asked by 24.03.2017 / 14:32
1
answer

Monitor real-time users IOS [closed]

Someone would know how to respond to the best way to get a real-time location of a user via GPS in IOS, I'm not sure if it would be correct for me to get the user's location every 10 seconds and make a request with the Web Service updating your...
asked by 14.12.2015 / 20:54