Questions tagged as 'objective-c'

1
answer

How to get the complete zip using reverseGeocodeLocation in xcode?

I am using reverseGeocodeLocation to fetch the zip code and it works fine; however, it only has 5 digits of zip code. How to get the full ZIP code? Here is the code: - (void)locationManager:(CLLocationManager *)manager didUpdateToLo...
asked by 16.04.2014 / 00:15
3
answers

Ionic is indicated for which types of applications?

Is the Ionic Framework indicated for which types of applications? I've been doing some research on cordova plugins, it seems to give a lot of trouble in multiplatform development, some plugins do not work well for iOS and Windows Phone ? T...
asked by 16.09.2016 / 18:47
4
answers

What types of retention cycles can be generated with ARC?

I know that with ARC there may be leaks in iOS. What are the most frequent types of leaks and how can they be avoided?     
asked by 23.12.2013 / 20:03
1
answer

What is RunLoop?

I would like to know what the RunLoop in iOS is and how it interacts with it. It would also be interesting to understand how these two concepts interact with the autorelease pool.     
asked by 23.12.2013 / 13:05
1
answer

Type Int8 in Swift does not store the maximum integer 255

Doing some play on the Playground, With Swift 2.2 we can declare constant let testeIntOitoBits: Int8 = 127 //maximo - deveria ser 255 let testeIntOitoBits2: UInt8 = 255 Why can not I store 255 in type Int8 and in type UInt8 yes?     
asked by 18.06.2016 / 01:36
1
answer

IOS - how to make the app screen always lit?

I'm making an app for IOS that I already have ready on Android, I wanted to make a method that would leave the screen always on, but I'm not able to On Android I did it this way: MainActivity: PowerManager pm = (PowerManager) getSystemSe...
asked by 01.02.2016 / 12:58
1
answer

What is the difference between the + and - sign in Objective-C

I wanted to know what the difference is when I create a method using the "+" and "-"? And also when to use and why to use, I usually only use the "-", but I do not know how to use the method with "+". Thank you.     
asked by 21.07.2014 / 04:21
1
answer

How to implement an Apple APNS push notification service?

I have a web service , and I would like to create a Push Notification service for an app using Apple's APNS, without using the third party service, how could I do that?     
asked by 06.11.2014 / 15:31
3
answers

Composition: use @class or #import?

I recently had a problem with Unknow type name 'Class' because I was doing import in the header of 2 classes. I discovered that this is a classic headers error importing headers . I was directed to change the import of on...
asked by 03.02.2014 / 15:08
1
answer

Read bank draft bar code

How can I read ITF ticket barcode (size 44) encoded in the Interleaved pattern 2 of 5. Using some library like zxing, zbar, etc.? I have already used the zxing and zbar libraries but do not recognize the ticket barcode. Now try the example...
asked by 14.09.2014 / 23:30