I am creating an application for the iPad, and I want to show an UIPopoverController with an arrow pointing to the detail disclosure button for the row it belongs to. I want to do this in the tableView:accessoryButtonTappedForRowWithIndexPath: method. Currently I have this, with a dummy CGRect:
- (void)tableView:(UITableView *)tableView...
The iphone app im writing displays an html page, i would like to add a search feature where the user can search for instances for the keyword and highlight them (like in firefox using ctrl+F)
what's the best way to do this? in objective-c? would this be even possible with javascript?
Please point me to the right direction
...
im new to ipad/iphone development. what are some ways to skin an ipad app? (eg: the notes app that came with the iPad) Is there any tutorials or code samples?
...
Possible Duplicate:
Open source iPhone Coverflow like library
What is the best way to implement a CoverFlow like interface for the iPhone? Does Apple provide any libraries?
...
I've recently come to learn that NSFetchedResultsController is an extremely buggy class and its been causing me headaches for a while now with my rather large Core Data app.
Would it be appropriate to use an NSMutableArray to feed the table view instead of an NSFetchedResultsController? What I'm talking about is, temporarily creating a ...
I have some iPhone SDK 4.0 code which initializes an NSOperationQueue and then adds three classes (ClassA, ClassB, and ClassC) to run one after the other. ClassA, ClassB, and ClassC are all sub-classes of NSOperation.
The relevant code is included below.
ClassA *classA = [[ClassA alloc] init];
ClassB *classB = [[ClassB alloc] init];
Cl...
I've got a simple form in my iPhone app. The form is laid out and managed via IB and the typical wiring (i.e. I am not creating this form programmatically).
One of the fields (and its associated label) should be shown only if a particular preference is set.
I could set the field and label's alpha to 0 and disable them in this case. ...
Is there a way to make a custom keyboard to pop up when a user presses on a UITextField. I have a view with a custom keypad on it and I want that to come up when the user presses on the UITextField instead of the default apple keyboard.
...
Hey all, this should be a simple task but for some reason i am making it harder... I am trying to save some text from an XML file to a NSString. But when i debug it, the string says "Out of scope".
Here is my code:
in my .h file:
@interface RootViewController : UIViewController<MBProgressHUDDelegate> {
NSString *thePW;
}
a...
So I read about Interface Builder Plug-Ins but from what I understood they're not supported on IPhone on the MAC.
Basically I want to create a User Control (this is a .NET term) is this possible in iPhone development? A user control is basically like me trying to create my own custom button, or own custom slider, etc so that it is easil...
How to add overlay on a map in objective c?
(has any body tried it in iphone os 4.0)?
...
hi all
in my application images are loaded from rss feed in table cell. they are of variant size how can i fix them to certain size. my code is
int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1];
imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"];
NSURL *url = [NSURL URLWithStrin...
does it hurt performance to have multiple UIWebViews in the same screen? how do I use a busy indicator while the web page is loading and display the fully loaded page once all contents have been downloaded?
...
how can I have a back button and another button both on the left side of the nav bar?
...
I am just looking at mapKit and decided to make a quick button to display my current location, however when I press the button my latitude/longitude always display as [0.000000] [0.000000].
The mapView is loaded as I can see the map on the simulator before I press the button. Previously I have done this by using coreLocation.framework a...
Hi all,
I know many people have had the similar issues and some have sorted them and others not. Basically I need some way to refresh the map ie get a callback to mapViewDidFinishLoading. If the location displayed has already been seen by the user it seemd the map is loaded from the cache and doesnt call mapViewDidFinishLoading which I ...
I'm only getting this error in my app since upgrading to ios4.
newsDetailController.news = (News *)[self.fetchedResultsController objectAtIndexPath:indexPath];
NSLog(@"\n Indexpath of details news before pass = %@", [self.fetchedResultsController indexPathForObject:newsDetailController.news]);
Basically, this:
[self.fetchedResultsCon...
Hi,
How much fps does iPad support 1.0/60 or 1.0/30 ? I looked in to apple site and iPad specifications. The fps is given as 1.0/30. But some are saying that it supports more than iPhone.
In my game for iPad which I am writing using cocos2d frameworks I am using
CCDirector *director = [CCDirector sharedDirector];
[director setAnima...
Hi,
i am using the following code for the mail composer sheet in iPad application. I used the same code for iPhone. It worked.
I am writing the game in iPad using cocos2d. The game is in landScape mode. The control in EmailScene is stopping at [picker presentModalViewController:picker animated:YES]; It is not giving any error. Should I c...
Hello,
I'm trying to make some changes to an EKEvent object in my calendar. I have an event for example from 1 a.m to 2 a.m. When I set the allDay property to YES, this event is changed correctly and appears in the all day section of the calendar. But it's not working the other way round. I'm setting the start and end time correctly and...