I am trying to display wait cursor (spinning rainbow wheel) by using "QDDisplayWaitCursor" function, but I get a warning that "QDDisplayWaitCursor" is deprecated, however everything runs fine but I would like to replace it with proper alternative of this function but I didnt find any google result and also in apple docs.
...
hello all,
i want to develop an application which deletes rows from a table view when somone shakes the iPhone,can someone suggest me how to proceed
...
I have created a grid view that displays six "cells" of content. In each cell, an image is loaded from the web. There are a multiple pages of this grid (the user moves through them by swiping up / down to see the next set of cells).
Each cell has its own view controller. When these view controllers load, they use an ImageLoader class th...
Hi. I have an app that reads in a plist file from the resources folder. I have looked for about 5 hours for a solution to hosting my plist file on my freewebs acount and have the application update the plist file on launch. Can anyone help me please.
I will post my code if you ask. I am just not sure what you need to see now.
...
Actually, the title explains it all...
I want to read a stream, but have no idea from where to start.
I've searched the web for some documentation/tutorial/whatever with no luck.
Any help using this lib would be very appreciated.
[CLARIFICATION]
I am talking about MMS stream protocol library that can be found here.
LibMMS is a common l...
I have been following the documentation for using NSURLConnection and am using delegates for managing the connection (overriding among other methods connection:didFailWithError: and connectionDidFinishLoading:). The memory allocated for the NSURLConnection object is released in those delegate methods.
My problem is that running "Build/B...
I am using an UI search bar into my iPhone application, I would like enable Cancel button of Search bar at the time of view did load but not able to do so as its gets activated when a user starts editing the search bar. To be more precise I would to achieve the serach functionality that has been provided by Apple in Stock application
...
Hi,
Thanks for looking at my question.
I have been trying to look around and I have been playing around with low level IVars to get information from the classes. I am having trouble trying to load the values that come from CGPoint.
CGPoint point;
object_getInstanceVariable(obj, [columnName UTF8String], (void **)&point);
NSLog(@"%@...
I have a ScrollView with a Custom View. Now i have the problem with the rotation, the view has after the rotation not the correct frame pos / size.
How can i call the CustomView after rotation for a reposition and resize the frame and content?!
- (void)setupPage
{
NSUInteger nimages = 0;
CGFloat cx = 0;
for (; ; nimages++) ...
Hi,
I have a problem with my code.
I want to create a XML file like this:
<name>myName<name>
<x>myX<x>
<y>myY<y>
<z>myZ<z>
but my file is:
<name>myName<name><x>myX<x><y>myY<y><z>myZ<z>
Can i have this text formatting?
This is my code:
-(void)salvataggioInXML:(NSString*)name:(float)x:(float)y:(float)z{
NSArray *paths = NSSearc...
Why does this message not return a string:
NSDate *today = [NSDate date];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
NSString *formattedDate = (@"Date for today %@:", [dateFormatter stringFromDate:today]);
...
Is there a way to size a make a UIScrollView auto adujust to the height (or width) of the content it's scrolling?
something like:
[scrollView setContentSize:(CGSizeMake(320, content.height))];
Thanks
...
I cannot understand why the date is never set in the title - it's always ignored and if I swap around the date and the title, then the title is ignored!
-(id)initWithCoordinate:(CLLocationCoordinate2D)c title:(NSString *)t
{
[super init];
coordinate = c;
NSDate *today = [NSDate date];
[self setTitle:(@"%@%@", [today description], t...
Hi,
I have a pretty weird problem with NSURLRequest.
I'm using them to make an asynchronous image loading in an UITableView. The first time the tableView displays, all connections from NSURLRequests open correctly but receive absolutely no data, regardless of how long I wait.
But as soon as I scroll down in the tableView, the newly crea...
Hi,
I have a problem.
My proget create a xml file.
In the iPhone this file was store in the NSDocumentDirectory.
I wanna save this file in another directory like Desktop(where there are the apps) or another visible folder.
Thanks.
This is my code:
-(void)saveInXML:(NSString*)name:(float)x:(float)y:(float)z{
//NSDocumentDirectory p...
I have written a code for mail application
like:
{
MFMailComposeViewController *picker=[MFMailComposeViewController alloc] init];
.........
.........
[self.navigationController pushViewController:picker.view animated:YES];
}
The view is not getting loaded.Is is mandatory to write
[self presentModalViewController:picker anima...
Is it possible to do this?
In my appDelegate setup both a UINavigationController and a UITabBarController.
Initially my UINavigationController is added to the subview with a root view.
In my RootView when the user clicks on a certain button, it will remove the UINavigationController from the subview and will add a UITabBarController w...
I've got a Utility Application for iPhone 3.1.3. I have my main view loading fine. I flip over to the flipside view of the utility app and change some settings. How can I call the code I've currently got in viewDidLoad in the main view to refresh it, as settings have changed?
Do I create a public method and call it from the viewDidUnloa...
If a user has location services on, I assign my RootController as its delegate:
appDelegate.clLocationManager.delegate = self;
where appDelegate is an instance of my application delegate, which is where I have the location services instance. clLocationManager is an instance of CLLocationManager. If I discover the user is outside of a...
hi Frnz,
i want to delete multiple rows from a table view based on users selection.obviously i cant use didSelectRowAtIndexPath method coz it will be called for every row selected. i want to allow user to select multiple rows for deletion and then delete them in one go...Is it possible if yes then how to go about it.Also i am using a si...