Does anyone know where or how to obtain a Java example to create iPhone apps? What I am looking for is just using Java (no objective-C or just the bare essential objective-C) and no interface builder, source only.
...
Hello stackoverflow,
So I am trying to create a request that will automatically follow the redirects in its process. For some reason this is not working, this is what my delegate method looks like. Do I need to do anything else for this to function properly? Thanks!
-(NSURLRequest *)connection:(NSURLConnection *)connection
w...
i want to add a button to toolbar of webview without using IB ,so i must do it using programmatically how to do it?
...
Hi Friends,
I am trying to delete a row from a UITableView.
My UITableView is populated from a NSMutableArray named TableData.
When i am deleting a row and reloaded the tableview, it shows that the last row has been removed [not the selected row].
But when i NSLog the contents of mutable array it shows that the selected row has been re...
Hi,
I want to develop an application for iOS devices (iPhone, iPad, iPod Touch) that has the ability to interface to a credit card swipe.
There are a bunch of offerings (PaySabre, Square, etc.) that are a combination of a service and a device. For my purposes, I want to be able to purchase just a device that has an API etc. that I can...
Hi there, i'm developing an iPhone application and i'm implementing the navigation among views with the UITabBarController.
The documentation says :
"The tab bar has limited space for
displaying your custom items. If you
add six or more custom view
controllers to a tab bar controller,
the tab bar controller displays only
t...
This is the code
Dest.h
#import <UIKit/UIKit.h>
#import <CoreGraphics/CGPDFArray.h>
@class Model;
// snip
@interface Dest : NSObject
{
CGPDFArrayRef destArray;
DestKind kind;
}
+ (id)destWithObject:(CGPDFObjectRef)obj inModel:(Model*)model;
- (id)initWithArray:(CGPDFArrayRef)array;
Dest.m
@implementation Dest
+ (id)d...
I know the locally I can use the @2x images, how do I do this for remote images? I just need to know whether I am on iPhone / iPhone 4 and then determine the image width & height to load.
...
I developing a system that consist of 2 units; 1 Android tablet and 1 iPhone. My users will have to identify themselfs to the Android tablet (this should be done as user-friendly as possible with as few steps as possible and in a secure manner, meaning it should not rely on gps that is not exact). I have looked at various techniques, but...
in the iPhone app, i have both the text field and picker in the same window. I want the picker popup to disappear when user clicks on textfield and keyboard appears. Similarly keyboard should disappear and picker popup should come up when user clicks on picker.
Any sample code?
...
How can I use the textured backgrounds that came with the ipad sdk in a web app?
...
I am playing with idandersen's scifihifi-iphone code for keychain and came across the following behavior - I set the password using, say
[SFHFKeychainUtils storeUsername:@"User" andPassword:@"123"
forServiceName:@"TestService" updateExisting:YES error:&error];
Then delete test application from device and install it a...
Hi,
I have a small doubt. I have a NSObject class where I am trying to display an alert view. So after the alert view is displayed when I tap on OK button I want to push a navigation controller onto the stack. Can I push a navigation controller from general NSObject class? Please let me know guys..thanks for your time..
This is the code...
Been a tough week, will try to make this as clear as possible. Appreciate you taking the time to read.
Hi, I'm sending a registration request to a server. A user object in jSon is returned, I parse the jSon and save the jSon dictionary phone as a method on my User class. However, whenever I load the user from the phone - by reading the ...
Hello everyone,
Is possible make a static library with a singleton class inside? Because I try it but without success.
...
I have a normal UITableViewCell with custom colors, but how can i change the border?
Currently it looks very ugly:
http://i.imgur.com/QzFFY.png (i am not able to post images :( )
I only want a tiny little white border.
...
Anyone have any idea how to use xcode's build rules to swap out the icon file and application name depending on the appid?
I'm building multiple apps that all build from the same binary. I'm hoping to have the icon and app name be dependent on the appid or something of this nature.
Does anyone have an good resources on xcode build s...
hi,
i want to add two subviews to window in my AppDelegateController. both in landscape mode. when i add the first view, it is in landscape (that's fine), but when adding the second, it is automatically in portrait mode. any advice?
thanks + regards
that's in my AppDelegate.m
[window addSubview:viewController.view];
CGRect frame = s...
I'm converting a string date/time to a numerical time value. In my case I'm only using it to determine if something is newer/older than something else, so this little decimal problem is not a real problem. It doesn't need to be seconds precise. But still it has me scratching my head and I'd like to know why..
My date comes in a strin...
Hello all,
So I was just curious if the NSHTTPCookieStorage was persistent across applications, or local only to the current one. I want some cookies gathered in another app to be accessible in a search app. Is that how it works? Thanks!
PS: This is on the iPhone or iPad.
...