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...
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.
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...
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...
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...
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...
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...
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...
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.