I need to add some blank space to the top of my UITableView that does not effect the size of the content area. Shifting the content down or adding a blank cell is NOT what I want to do. Instead I just want an offset.
Any idea?
...
I've got an iPhone application with a UITableView menu. When a row in the table is selected, the appropriate view controller is pushed onto the application's UINavigationController stack.
My issue is that the MenuViewController does not need a toolbar, but the UIViewControllers which are pushed onto the stack do. Each UIViewController t...
Hi,
I have a NSMutableArray, I want to insert data inside it, the problem is first I wanna check if the index where I'm inserting the data exist or not, but how to do that.
I try something like that but nothing is working:
if ([[eventArray objectAtIndex:j] count] == 0)
or
if (![eventArray objectAtIndex:j])
Thanks,
...
I have an application
that loads images from the net and stores it on the app's documents directory
so when the users starts up the application and doesn't have internet they still can use the application.
but my question is .. does the iphone controls that document directory ? does it clears itself after a certain period or after a c...
I have created my ViewController from UIViewController where add UILabel as;
@property (nonatomic, retain) UILabel* progressLabel;
I initialize this label in loadView
- (void)loadView {
// Set main view to View Controller
UIView* localView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame] ];
self.view = local...
Hi All
this code Iphone SDK 3.0 version or later
cell.textLabel.text = [[menuList objectAtIndex:indexPath.row] objectForKey:kTitleKey];
but it gives error
request for member 'textLabel' in something not a structure or union
I also try
cell.text = [[menuList objectAtIndex:indexPath.row] objectForKey:kTitleKey];
but also not workin...
Hi,
I want to customize a UIBarButtonItem's background. Here's the code I use:
UIButton *button = [[UIButton buttonWithType:UIButtonTypeRoundedRect] retain];
[button setBackgroundImage:[UIImage imageNamed:@"ButtonBackground.png"] forState:UIControlStateNormal];
[editButton setCustomView:button]; // editButton is the UIBarButtonItem
U...
Hey
I m still facing the problem when I launch my application in iphone.
It shows the stack over flow by presentModelViewController bcoz I m using number of viewcontroller and calling the same viewcontroller from other viewcontroller but it gets terminated.Here I m showing the code which I m using in whole program to call other view co...
I'm just starting out with Core Data and I have an iPhone Core Data project set up in a master-detail view system. The master view contains items, and the detail view lets you edit the properties of the selected item.
I'm looking for the best options in order to implement the editing. Would I pass along the NSManagedObjectContext to the...
I'm trying to serve a property list of search results to my iPhone app. The server is a prototype, written in Python.
First I found Python's built-in plistlib, which is awesome. I want to give search-as-you-type a shot, so I need it to be as small as possible, and xml was too big. The binary plist format seems like a good choice. Unfort...
Hi,
I want to customize my UIBarButtonItem's appearance. Here's the code I'm currently using:
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(267, 6, 48, 30)];
[editButton setCustomView:button]; // editButton is the UIBarButtonItem
Unfortunately, the UIButton does not get drawn, i.e. it's 100% transparent.
I know the b...
Hi,
Anyone know of any library that will enable me to read/write RTF format files on the iPhone? NSAttributedString would be the way to go - but since that isn't available just yet :-(
Essentially I need to convert between simple text and RTF.
Thanks for your help.
Craig
...
Hi,
i created a TTViewController that should show some Informations from a external (web) source.
i already worked with some TTableViewControllers where i used the TTModel System (i created a TTURLRequestModel and a TTListDataSource for my TTTableViewControllers)
whats the way to do this with a TTViewController?
is there also something...
I've added a few components to the NavigationBar in an app I'm creating. The height of the bar changes dynamically, like in Safari for the iPhone, when you click on the URL field. I have all of the interactions and resizings working perfectly, except when I move to another tab and return.
If I start the app, click on second tab the navb...
I want to use the addmusic example that apple have created for the IPod library access and be able to play the music in MY application; I however dont know which files to copy and how to combine the two... can someone please tell me what to do?
I already have created a button in MY application which will then upon click do the same thing...
Is there a way to specify the size of a UIAlert button?
Is there a way to specify the layout of buttons on UIAlert? Like having three buttons next to each other and a cancel button on the buttom?
...
Hi,
sorry for this question, but i dont know where to search for it, or how to google it, because i dont have any idea how to search it.
with what class/viewController/API is such a "popup" built?
thanks for help :)
...
Hi
I have the following tableviewdelegate:
private class TableViewDelegate : UITableViewDelegate
{
private DaysViewController _dvc;
private List<DateTime> ConferenceDates;
public TableViewDelegate (DaysViewController controller, List<DateTime> dates)
{
_dvc = controller;
Confe...
Hi,
In IB, I dragged a UITableViewController object from the library into the project. Then, a tableview popped up. How do I get that tableview inside my already existing window?
Thanks, I'm totally lost!
Roger
...
Any idea why sendSynchronousRequest is causing a leak below? Instruments states that the responsible frame is NSURLConnection and it points at a NSCFString leaked in the line with sendSynchronousRequest.
I've read that this was a known issue before OS 2.2 or something, but should definitely be fixed now. Any thoughts?
[UIApplication ...