Hi all.
I'm working on a UINavigationController driven iPad app (testing in the simulator). There are only two UIViewControllers on the nav controllers stack. For demonstration, lets call them SetupController and ContentController. SetupController pushes a ContentController on the stack with
[self.navigationController pushViewControl...
Hi, I'm trying to use a custom UITableViewCell, and I've placed it in the same nib file as the UITableView controller. For this, the files are: NTItems.h, NTItems.m and NTItems.xib.
I have defined the cell in the header file:
IBOutlet UITableViewCell *cellview;
and I've correctly applied the property: nonatomic, retain so it's there:...
What formatter is used for boolean values?
EDIT:
Example: NSLog(@" ??", BOOL_VAL);, what is ?? ?
...
I'm working in a iPhone app that needs to send a array as a parameter using SOAP.
this is the current request and connection:
NSString *soapMessage = [NSString stringWithFormat:
@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/20...
it's possible to get window width or height while resizing it? not on start or end of resizing (viewWillStartLiveResize, viewDidEndLiveResize), but in real time?
...
I want to include Core Location and I'm trying to follow this tutorial: http://www.mobileorchard.com/hello-there-a-corelocation-tutorial/ and I am using SDK 3.2.2.
@interface MainViewController : UIViewController <FlipsideViewControllerDelegate>{ is the code right now.
...
Hi everyone,
I understand Objective-C memory management but I'm using Core Graphics functionality such as CGRect, CGPoint, CGImageRef etc.. which is written in plain C.
My question is how do i manage this memory or is it already handled for me? According to the Apple documentation if an Apple Objective-C function doesn't have copy, new...
I'm pretty sure I've run across this animation at some point, but I can't remember where or how to do it!
I want the equivalent of UIViewAnimationTransitionCurlDown but a full page horizontal curl. Does anybody have code that does this?
Thanks!
...
I am calling a REST service that requires basic auth and I respond to the didReceiveAuthenticationChallenge delegate OK
NSURLCredential *credential = [[NSURLCredential alloc] initWithUser:self.user password:self.password persistence:NSURLCredentialPersistenceForSession];
[[challenge sender] useCredential:credential forAuthentic...
Hi, I'm making an app for fun and would like to know how to implement a checkout/basket system on the app.
Basically, a list of products is pulled in from a web server in form of XML file, which is then displayed in a UITableView controller. A tap on the cell takes the user to a more detailed overview of the product.
The app would need...
I used the below code to load a webpage. Everything works fine, but I want to stop the
network activity indicator after completing loading the webpage. How can we know that
the webpage is loaded completely.
Anyone please help.
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = YES; // to st...
I have a collection view item and its prototype view. Within that prototype view I have a little x button. I want that button to remove the exact collection view item that it is on top of.
I can remove a selected item if I click on the space around the x button but if I go straight to clicking the button before clicking the item it ...
Hi,
I'm using the iPhone facebook connect package.
How do I prepopulate the "publish to feed" example or take out the message field?
Something like this one http://www.burnthebox.us/mobile/iPhone/products/disconnect/instructions/images/DisConnect_FB_Publish_Story.png
(The default in the example has an input text field)
Also what woul...
Developer Documentations doesn't provides fully describe of registerForDraggedTypes method. For example, i want that my app allow access only "*.abc" files. How can i do this?
...
I've searched and have no answer. I've created an NSMutableArray and am getting an EXC_BAD_ACCESS error in one place of access.
Here. This is declaring in the .h file:
NSMutableArray *buttons;
...
@property (nonatomic, retain)NSMutableArray *buttons;
And this is the synthesizing and implimenting:
@synthesize buttons;
...
- (id)init {...
I have declared an NSMutableDictionary object in AppController.h and initialized in the corresponding AppController.m file.
AppController.h
#import <Cocoa/Cocoa.h>
@interface AppController : NSObject {
NSMutableDictionary *uberDict;
}
AppController.m
#import "AppController.h"
@implementation AppController
- (id)ini...
Is there a notification on the iPhone like UIKeyboardDidShowNotification but for notifying when the spelling correction UI appears/disappears?
Same question, but when inputting east asian characters (e.g. Chinese), when the character selection UI appears/disappears?
Or is there any other way to detect if these elements are visible? I ...
how can i use a particular UIActionSheet's button with some actioning (explain in brief) in iphone ?
...
Hi,
I've been developing application for Iphone and now I want to try to create appplication like social bookmarking but I didn't really find any help on the net.
I will have a create a login/pass, retrieve data and display them.
So I want to know what do I have to use to implement all of that for any social bookmarking website.
If yo...
I'm trying to build with IO for Mac, but I don't seem to have the file with friends installed. When I googled for it, it seemed to me like it was part of, or related to, glut implementation on Mac? Glut is installed. What do I need to do?
...