iphone

iPhone referencing my own word list for a Word Game

Boy, I've got everything down-pat save the word referencing. The game crashes because of the size of NSMutableArray. What's the best way to create a word list that can be referenced without encumbering memory? Thanks! ...

From a 3D modeler to an iPhone app - what are best practices?

I am quite new in 3D programming on iPhone and I would like to ask for hints about organizing a work between designers and programmers on that platform. Most of all: what kind of tools, libraries or plugins cooperate the best on both sides. Although I consider the question as looking for general best-practices advice I would like t...

take images from a cell , into next view controller

hi guys , i asked this question yesterday but it doesnt seem to have asked properly so im trying again in my app im parsing in an xml file , in that file there is a path for an image to download an in my tableview controler i have this to download the image and display it in the cell NSURL *url = [NSURL URLWithString:aStory.picture]; ...

Core Location pop up default text

Hi guys, there is a way to change the pop up message default text of "core location" "Would Like To Use Your Current Location" with another one ? ...

Changing custom cell appearance when entering editing mode

Hi, I have a table with custom cells, that I built in IB. When entering editing mode, content of all cells is moved to show delete edit control. My question is where can I adjust the cell appearance before entering editing mode? I saw that willBeginEditingRowAtIndexPath function is supposed to let adjust the UI, but seems I don't get th...

iPhone xCode - How to convert NSString HTML markup to Plain text NSString?

Been searching the net for an example of how to convert HTML string markup into Plain text. I get my information from a feed which contains HTML, I then display this information in a Text View. does the UITextView have a property to convert HTML or do i have to do it in code. Tried: NSString *str = [NSString stringWithCString:self.fu...

Can I really have just one column in UITableView?

From the docs: A table view in the UIKit framework is limited to a single column because it is designed for a device with a small screen. ...

Objective C Object Functioning & Passing Arrays

I apologise if this has been asked before but I can't find the info I need. Basically I want a UITableView to be populated using info from a server, similar to the SeismicXML example. I have the parser as a separate object, is it correct to alloc, init an instance of that parser & then tell RootViewController to make it's table data sou...

Detect iphone region

Hi. In my app, the user is supposed to insert a phone number, which is then displayed somewhere else. In the contacts application, when displaying a phone number, it automatically appears in the format of the language selected by the user. Is there a way to do this automatically, or a way to detect the region and then adapt the displa...

Leaks in my UIScrollView helper class

Hi, I want to publish tutorial about how to easily create an UIScrollView on http://www.xprogress.com/ and I just want to check with you guys if the code is alright before I publish anything. Any help will be appreciated and I'll put your name / website on the bottom of the article :) Thanks a lot :) Ondrej header file: /// /// IGU...

Can't get Secondary UITableViewController to display inside a UITabBarController

I've programmatically created a UITabBarController that is loaded in my App Delegate like this: - (void)applicationDidFinishLaunching:(UIApplication *)application { tabBarController = [[UITabBarController alloc] init]; myTableViewController = [[MyTableViewController alloc] init]; UINavigationController *tableNavController = [[[UINa...

Is there a more useful explanation for UITableViewStylePlain?

From the docs: In the plain style, section headers and footers float above the content if the part of a complete section is visible. A table view can have an index that appears as a bar on the right hand side of the table (for example, "a" through "z"). You can touch a particular label to jump to the target section. ...

Objective-C Interface Builder don't see renamed class

Hi, I've renamed a UITableViewController class in Xcode, which was used as a parent class in a XIB. The Interface Builder still uses the old name for that class and it compiles and works fine. Interface Builder doesn't see the new name of the class and when I try to type in manually, it compiles and gives me an exception at the runtime:...

Can I have that A-Z index bar in an UITableView also with UITableViewStyleGrouped, or only with UITableViewStylePlain?

Can I have that A-Z index bar in an UITableView also with UITableViewStyleGrouped, or only with UITableViewStylePlain? ...

Easier way to add lots of images to an array

Hey Guys In an effort to 'clean up' my code - I was wondering if this could be made simpler. I have 32 images and I was adding them like this [theCarPics addObject:[UIImage imageNamed:@"1.jpg"]]; [theCarPics addObject:[UIImage imageNamed:@"2.jpg"]]; //... [theCarPics addObject:[UIImage imageNamed:@"32.jpg"]]; is there a simpler ...

iPhone - openAL stops playing if I record with AVAudioRecorder

Hi there, this is an iPhone-related question: I use openAL to play some sound (I have to manage gain, pitch, etc.). I want to record what I'm playing and I use AVAudioRecorder but when I "prepareToRecord" openAL stops to play audio. What's the problem? Here is the record IBAction I use: - (IBAction) record: (id) sender { NSError *error;...

how do i find out iphone Disk Space ?

I am creating an iphone performance app in which I would like to know the Disk Space available on iphone ... I know that a lot of apps do this but I cant seem to find this bit anywhere ...

Accessing items separated by -componentsSeparatedByString

Hi, I have an array gathered by componentsSeparatedByString: that looks like the following when I use po in the GDB after the array has gone through componentsSeparatedByString: "\n\t\t <b>Suburb, </b> BAIRNSDALE", "\n\t\t <b>Address, </b> 15K NW BAIRNSDALE", "\n\t\t <b>Reference, </b> MELWOOD/SCHO...

Can I make an UITableView reorderable while still allowing deletion of rows?

from the docs: the reordering control temporarily replaces any accessory view. So when I do implement tableView:moveRowAtIndexPath:toIndexPath: in the data source, I would automatically get those reordering controls, right? But when they replace the accessory view (which may be the deletion control, right), then the user can only ...

Can we set the dropdown list for the textfield to select an option in iphone sdk?

Hi guys, I need a textfield which has an dropdown list to select an option from that.Is there any possible chances to do that in Iphone sdk? Guys I need a quick help from ur side. Anyone's help will be much appreciated. Thank you, Monish. ...