Hello,
I would like to implement logic that uploads file to FTP Server.
I am new in iPhone development, so want to figure out preferred approach. After browsing available API for this task I have managed to find only code that uses CFNetwork (that looks like not Objective C based).
There is also URL Loading System that uses NSURL etc ...
hey, I want to be able to have a gradient fill on the text in a UILabel I know about CGGradient but i dont know how i would use it on a UILabel's text
i found this on google but i cant manage to get it to work
http://silverity.livejournal.com/26436.html
...
I've had a Blackberry for close to a year now, and recently got an iPod Touch. I've been wondering, with all the available technology in my pocket, is there anything I can use to help with the development process?
Perhaps something to get on a VPN?
Maybe something to view SVN/CVS commits?
Any source code viewers, with syntax highligh...
Hello,
I'm having this bug I can't figure out and it is making my head hurt. So, basically, in my iphone application I have UITabBar with some tabs each having UINavigationControllers inside.
Something like this:
someViewController *someController = [[someViewController alloc] myInit];
UINavigationController *someNav = [[UINav...
Hello all,
I want to add a gradient color to my UILabel or any text on my iPhone screen. I want to know the ways to do it. Both Using interface and programatically.
tnx
...
Is there Hidden API that enables emoji?
Is there a hidden API that allows writing outside our app's sandbox secretly without detection?
HOW?! This is really baffling!
...
I dont know if anyone of you guys know the Spin the Bottle application for the iphone. I want to make a simple app which offers the user a simple image with a bottle. The user should be able to rotate the bottle by using finger gestures. He/She should be able to rotate it with a rotation with the fingers and after releasing (touchesEnd) ...
For my application, I have one UIViewController and about 8 UIViews. The views are all properties of the view controller, linked via the Interface Builder (IBOutlet). So when the view controller loads, all of the views are also loaded, and I have built-in methods to switch back and forth between the different views.
Is it bad to have th...
I have a a UITableView with cells that are partially custom using addSubview. I am using a different cell ID for the last cell, whose purpose is to load more data from a server which will make new cells appear. (Think the "Load more messages from server" cell in Mail.app)
E.g.
- (UITableViewCell *)tableView:(UITableView *)tableView cel...
In a lot of iPhone apps, I see a UITableViewController being used as a checkbox list. (See, for an example of what I mean, Auto-Lock under Settings)
While trying to implement this myself, I had to jump through a lot of hoops in order to have an item selected programmatically by default (ie., the current value for what the list represe...
I have a table view that when loading creates a person object
Person.h
#import <UIKit/UIKit.h>
#import "TwitterHelper.h"
@interface Person : NSObject {
NSDictionary *userInfo;
NSURL *image;
NSString *userName;
NSString *displayName;
NSArray *updates;
}
/*
@property (retain) NSString *userName;
@property (retain) NS...
I have a PSTitleValueSpecifier field in my application's settings that displays a long character string.
After about 20 digits it gets cut off and I'd like to wrap the text or increase the height of the field so that any amount of characters can be displayed. Can this be accomplished? If so, how?
...
I set a UIImageView to 70x70 pixels. In the actual view they look 70px high and 30 wide. This is when there is no source UIImage set and with a background color so I can see it's layout. However, when I do set a UIImage to it the layout does not change, remains portrait.
Is there something I am overlooking that affects the layout dimens...
I'm a Java programmer and i wanted to get into writing so apps for the Iphone. I started to research and found myself looking at xmlvm..that all good, but then xmlvm has a HelloWorld.java with some UIWindow classes that i can't find and can't compile. Short of it is where is the api for Java so i can compile xmlvm's HelloWorld.java for t...
In the iPhone Core Data Template, Apple places the Core Data Stack in the App Delegate.
My initial inclination however is to move this code into it's own class whose responsibility is to handle the management of the Core Data Stack.
Do you typically encapsulate this functionality within its own class or do you leave it in the App Deleg...
Hello there,
Is there anyway to trap all keyboard events across my application? I need to know if user is entering anything using keyboard across my application (Application has multiple views). I was able to capture touchEvents by subclassing UIWindow but unable to capture keyboard events.
...
My app uses a lot of memory. Normally it runs fine, but on a loaded device that hasn't been restarted in awhile, it will be jettisoned with the infamous Low Memory error.
I would like to respond to didReceiveMemoryWarning and free up some of my caches.
But I have the problem that my app is based off of the OpenGL ES template and doesn...
I'm displaying some icons (annotations) on a map in my app by loading them into an NSMutableArray and then adding the array. It works nicely, but I'm having trouble displaying them in proper layer order.
Sometimes, icons that I've added to positionIcons last appear on top; other times, the most recent are shown below the older ones.
...
I'm strongly considering making a free version of my app that is ad-supported, but I don't exactly understand how it works. Do you get paid every time an ad is displayed or only when the user taps it? Can someone please explain how it works?
...
I have a UITableView and inside it I create a custom UITableViewCell in the follwoing way:
ItemCellController *cell = (ItemCellController *)[tableView dequeueReusableCellWithIdentifier:ContentListsCellIdentifier];
...
cell = [[[ItemCellController alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:ContentListsCellIdentifier...