Questions tagged as 'objective-c'

1
answer

Eclipse Application for Iphone

I need help, and I do not know what to do. I created a very simple application in Eclipse Kepler , I put it on Google Play and it was great. I would like to know if it is possible and how best to " convert " my Android project to IOS . As I...
asked by 12.09.2014 / 10:39
2
answers

How to make UITextField keep track of keyboard level when typing

I have a problem, I created an app that has a form where it has 6 UITextField , but I have a problem when running the app on an iphone4 the keyboard overlays some UITextField and I can not see the text I'm typing in, I've placed a UIScrollVi...
asked by 27.08.2015 / 15:29
2
answers

How to tell if an NSArray is empty (or null) using IF

I need to know if an NSArray is empty or null using an if. Code: NSArray* array; if( array == nil) { // Fazer algo }     
asked by 08.09.2014 / 02:58
2
answers

How to use / maintain obsolete methods for older versions of iOS?

I'm developing an app for summers other than iOS, in this case for iOS 7 and iOS 8. I'm trying to create the Push Notification service, but the methods to register the app and others are "obsolete". Below is the method I'm using: [[UIApplic...
asked by 09.11.2014 / 22:42
1
answer

Importing an objc control into swift: Error on the one hand (func) of my contole

I decided to make an app in swift this time, and as usual I use my custom control (MenuView). In the objC I know how it works and everything worked, in swift I followed all the steps, import in the bridging-header.h, and put the MenuViewDelegate...
asked by 28.10.2014 / 00:18
2
answers

How to customize the UIAlertView?

Scenery: Make changes to colors, and buttons of UIAlertView . How to use images to make this customization. For example: Add background image, and change the color of the locked screen behind the alert. If the question has become vag...
asked by 30.09.2014 / 23:02
2
answers

Disable return button of 'UITextField'

Is there any way, without gambiarras, to disable the Return button of a UITextField ? I have a screen with two UITextField , one text and one numeric, I need the keyboard to be turned on directly and I need the Return button in th...
asked by 14.02.2014 / 01:52
1
answer

iOS 7 - Editable TabelView

I'm trying to create a TableView with the same actions (Add / Edit / Delete rows) as the native app (Phone) as below, but I'm not getting it. Iwouldliketocreateafield"(+) add item" (which inserts a new line) and then a form with fields where,...
asked by 07.07.2014 / 05:50
1
answer

Allow interactivity in UIScroolView and prevent interaction with content inside it as it scrolls

Is there any way to prevent user interaction with content within a UIScrollView? I have a the ScrollView contains UIViews inside it. In these UIviews contains only one object, UIImage. UIScroolView || \ / \/ ----------------------------...
asked by 09.09.2016 / 04:27
1
answer

How to add an object in a random position of an NSMutableArray?

I am creating an array with the following capacity 15 in this way: meuArray = [[NSMutableArray alloc] initWithCapacity:15]; But when I try to insert an object initially in position 10 like this: [meuArray insertObject:algumObjeto atIndex:...
asked by 27.03.2015 / 16:56