Questions tagged as 'objective-c'

1
answer

How to set my Primary Key?

I'm developing an application in Swift and started using Core Data recently. I need to define which attribute of my entity will be my primary key . For example: I have an entity that has the attributes of the class: id na...
asked by 07.11.2014 / 11:34
1
answer

Get latitude and longitude

I'd like to know how to get latitude and longitude in iOS using Objective-C . can anybody help me? I have already followed several examples but none shows the correct information.     
asked by 25.11.2014 / 19:38
1
answer

How to use UISearchBar with data coming from Core Data?

I'm trying to filter the cell names of a table, loaded with data from Core Data, however I'm having a crash. I'm using the following code to filter the cell title: -(void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchTe...
asked by 06.11.2014 / 03:49
1
answer

How to control the rows between the main UITableView and the UITableView of UISearchBar?

I'm implementing a table with a search field, and I'm using UISearchBar . I have two variables in the app: a NSMutableArray for the original data, and another NSMutableArray for the filtered data. When the table is load...
asked by 06.11.2014 / 17:45
1
answer

Changing the size of Google Map View for iOS

I'm using the Google Map SDK for iOS in a project, but when using the service by default it covers the entire screen. But I need space to add a few buttons on the screen. How can I resize the map view? Currently using the default code: G...
asked by 28.11.2014 / 00:00
2
answers

Problem displaying image with UIImageView

When displaying image included in the project in .png format using UIImageView to only display the simulator screen is left blank Code used: UIImage* imagemLocal = [UIImage imageNamed:@"button.png"]; _imagemViewLocal = [UIImag...
asked by 14.01.2015 / 19:12
1
answer

Transform UIImage into Array Byte

I need to transform an image into an array of bytes, how do I make this image into an Array Bytes?     
asked by 23.10.2014 / 15:29
1
answer

How to show a UIAlertView when a link is fired in the UITextField?

Problem scenario: There is a link in UITextView , when this link is triggered it should open a web page. This part is already working.  But I need to show UIAlertView asking if you really want to open the link in the browser. In...
asked by 30.09.2014 / 15:40
2
answers

Adapting iOS 7 code for iOS 8

I currently have the iOS 7 library and plan to upgrade my library to iOS 8. I would like to know what the impact of this update will be on the projects I already own. Will I be able to support my iOS 7 projects without any problems? Reason...
asked by 21.10.2014 / 19:06
1
answer

Mapkit - Is there a way to find friends within this tool?

I already use mapkit for development on iOS, but I would like to know if anyone knows how to add code to friends, show other people on the map. PS. or even a sample code for this function, thank you.     
asked by 19.10.2014 / 03:02