I have an entity with a number of to-many relationships. I present certain properties of the entity in a tableview, using a NSFetchedResultsController. Of all the relationships the entity has, the values of only 1 of the relationships are displayed (they are currently faulted in the cellforrowat... method). It seems to me that this could...
I have an iPhone app idea that will include viewing your news feed( stream ) in an iPhone app. There is a lot more to it than that, but I'm wondering why I can't find any apps on the app store that lets you view your stream in some way. Does anyone know why?
Does facebook frown on this? There is a API method stream.get that lets you do...
So, what I'm trying to do, is take a .txt or html file, being able to search through it, and grab a piece of text from file, place it into a string and finally adding it into a textView.
Each couple of piece of text will be divided like this:
001:001 Text1
001:002 Text2
001:003 Text3
002:001 Text1a
002:002 Text1b...
Hello,
I want to create a slideshow on iphone. I don't know if there is already a sample code or a lib that already do that.
Thanks for your help
...
Hi,
I am using my own custom navigationBar, but i need to access it in a number of different views because i need to add buttons, change title and so forth.
Should i pass a reference to my navigationBar each time i show a new view, or just make it a singleton so i can access it from any view?
...
HI All,
I am getting this warning when i run my app in xcode. This error comes up in one of the .xib files i created. "This object has customized accessibilty attributes. Accssibility attributes will be ignored on iPhone OS versions prior to 3.0 "
...
Using a navigation controller, I am pushing a new view and setting the title of it dynamically:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
int countryIndex = [indexPath indexAtPosition: [indexPath length] - 1];
NSString *selectedCountry = [[countrysData objectAtIndex: countryIndex] obje...
I have an application that uses the Google Maps API to geocode distances between lat/long pairs as a way of displaying people near to you on your phone (currently Android, working on iPhone). The issue is that even with a test group of 40 users, we are taking upwards of 10 seconds to do our calculations and send the results back to the u...
I could have sworn that the expected behavior for the core location permission dialog is something like this:
if the user clicks "Yes", it will not be shown again
if the user clicks "No", it is shown one more time, the next time the app launches. If the user clicks "No" a second time, it will not be shown again.
What I'm actually se...
One of the screens in my iPhone app is a UITableView that has a search bar in the table header. I want the search bar to be hidden until the user pulls it down, so I use this line in my viewDidLoad method:
[self.tableView setContentOffset:CGPointMake(0,40) animated:NO];
This correctly displays the tableView with the header scrolled of...
Hi .
How do I access videos on an iPhone? Where does it store downloaded videos?
Is there any sample code available to access the videos on an iPhone?
Thanks in advance.
...
I am calling a web service to return XML data for states/provinces of countries.
- (void)viewDidLoad {
[super viewDidLoad];
NSString *titleForURL = self.navigationItem.title;
NSString *path =[NSString stringWithFormat:@"http://myURL/AppointmentWS/CountryStateService.asmx/GetByCountryName?countryName=%@", titleForURL];
//NSString *path ...
Is it possible to open the App Store app from within my app and run a search?
I'm looking to see if there's an appstore:// type URL that I could use, in the same way that mailto: and sms: open Mail and SMS respectively.
Does anyone know if this is possible?
Edit - more info:
I've been trying using UIApplication's openURL: method, pas...
I have a set of tasks that are done repeatedly and instead of creating a new thread each time this user-invoked task needs to be performed, I'd like to use a thread-pool.
In the typical flow to create a new thread, you have to setup an auto-release pool each time the thread entry point is invoked. It seems that the performance for this...
A minimal illustrative Xcode project for this is available on github.
On my UIWindow, when I add second (and subsequent) UITableView's as subviews, they do not rotate properly, and thus appear sideways. This is only tested in the Simulator. Here's a little code for you:
- (void)applicationDidFinishLaunching:(UIApplication *)applicatio...
I'm planning to let my site users upload photos through their mobile devices specifically Iphone.Currently, they can only upload photos through their desktop or laptop.What would be the best approach using ASP.NET 3.5 and Visual Basic?Thanks in advance...
...
Hi,
When passing a delegate to the a NSUrlConnection object like so:
[[NSURLConnection alloc] initWithRequest:request delegate:handler];
when should you call release on the delegate? Should it be in connectionDidFinishLoading? If so, I keep getting exec_bad_access. I'm seeing that my delegates are leaking through instruments.
Than...
In my iPhone app, I need to display object counts which I then localize, since English makes the distinction of singular and plural, I do the following
// pseudocode
if (objectList.count == 1)
{
NSLog(@"%@", NSLocalizedString(@"1 object", @"display one objects");
}
else
{
NSLog(@"%@", NSLocalizedString(@"%d objects", @"display mu...
On login failure, I'd prefer to avoid showing an alert, it's too fleeting. Showing the alert and then showing the text somewhere on the login screen seems like duplication.
So I'd like for it to graphically shake my login view when the user enters the wrong user ID and password like the Mac login screen does.
Anyone know if there's a w...
Hi,
I am doing a iPhone game using cocos2d that involves a huge set of character animations (atleast 25 different of them).. for which I am having a lot of spritesheets each weighing around 100KB to 200KB.. And I used to create the AtlasSpriteManagers for these on-demand. But when I tested this in the device, there was lotsa performance...