iphone

iPhone Settings.bundle textfield preference

Hi, How would I make an option in Settings.bundle which allows the user to select what type of textfield preference they would like? Example: selecting if they want autocompletion on or off. Thanks ...

iPhone Popup Confirmation

What pattern or view do you use to get the confirmation popup like in Mail where you are prompted to Reply, Forward or Cancel? ...

How to scale on x-axis with Core Plot

Hi everyone, I have a barchart display the smoking counter, day by day. Each column represents one day. I would like to view the data on week, month, year, on the same graph by drag on the X-Axis. If I drag the x-axis to the right, the value on the x-axis come from month to day (smaller value scale). If I drag the x-axis to the left, th...

A problem when add Library in Xcode

i try to add ZipArchive folder that contain source code, then drag and drop to my project when i try to include #import "ZipArchive/ZipArchive.h" why it report error: ZipArchive/ZipArchive.h: No such file or directory if i import #import "ZipArchive.h" it will work, what is my fault? ...

Mobile Phone: google maps api or native sdk - capabilities?

We have an existing website which currently uses v2 of the google maps api which displays cellphone signal strength as a ground overlay on top of the google maps tiles (similar to this http://www.vodafone.co.nz/coverage/) What I would like to know is if it's possible to have ground/tile overlays in google maps android/iphone native api'...

How to start the game program in iPhone?

Hi, everyone, I want to ask some question about the objective C. I want to read some simple game in the iPhone, but I don't have any experience on the game program. Can anyone suggest some website or tutorial for me to learn about it? Thank you very much. ...

In the iOS SDK, how can I include a button in a UITextField like Mobile Safari does?

How can I display a button and/or activity indicator inside of a UITextField on the iPhone? I'm trying to reproduce Mobile Safari's location text field which contains either a reload button or a cancel (stop loading) button which is right-justified inside of the text field. Similarly, when you click inside of the text field (not on the ...

subclassed UITableViewCell - backgroundView covers up anything I do in drawRect

I'm trying to make a subclassed UITableViewCell where I draw an image in the upper right corner. I have it working perfectly - except when I set self.backgroundView, my background image covers up the image drawn in drawRect. There must be a way to be able to set a background image (and the selectedBackgroundView) without covering up wha...

Which library this app using?

Hi everyone, I would like to do some functionality like this app for iphone: http://www.ezraschartbooks.com/Site/Home.html I would like to draw chart, navigate and interact on the chart, scale, zoom, etc... such as scale the chart by interact with the y-axis or x-axis. Can anyone know which library that app using? Or would you please...

Three20 add TTThumbsViewController via presentModalViewController?

I have a regular old iPhone app that has a main view controller that is loaded from a nib. I have a uibutton tied to an ibaction and when that is clicked I want to display a TTThumbsViewController. Is there a way to do that without adding a launcher or any other unnecessary overhead? A tutorial or code sample would be spectacular. Thanks...

iPhone saving game using P-Lists

Hello! I am currently using a P-List to save data in a game I'm developing. I'm curious about something though. Maybe this is a stupid question: but each time I write to the P-List, is it overwritten? If that is the case, and it just doesn't automatically ADD (i.e. appending) values to it, then that would be perfect. Thank you for you...

Efficient use of large amounts of text in UITextView

I have a plist (array of dictionaries) with 20 items, each of the 20 dictionaries having a 'code' and 'text'; each text averages 1K bytes. The class that uses the text will use 1 of the 20, based on the 'code'. The text doesn't change so I'm keeping it in the bundle. I'd like to know if I'm doing this as efficiently as possible, basic...

how to install application in iphone

hi i am new to iphone. i develop a small application in snow leopard. now i want to check in iphone. hiw can i install it in iphone. Is there any necessity of generate .apk file or .exe files. pls post any link about this information thank u. ...

iPhone opengl mesh rendering in one corner of the screen?!?

Sorry about this long block of code, but I think it makes sense to include all of it. No matter what I play with, I cannot get my mesh to render fullscreen. The viewport is fullscreen, as is the GL view. Here's what happens: http://img191.imageshack.us/img191/247/screenshot2010082000163.png This is the code that runs in my drawing l...

Doxygen for a project managed with git ?

I'm working on a C++ and Objective C iPhone Project. I'm using git as my version control system. The codebase has been growing quite a bit, so I would like to add Doxygen to the project. The problem is that I'm not sure about what would be the best approach to do it. I've thought about a couple of options: 1) Create the Doxygen HTML d...

UIButton for tabbar?

can we use UIButton instead of Tabbarcontrollers and assign that button to viewcontrollers , is it possible?any tutorial please? how to create series of buttons like tabbarcontroller?how can i bring them in front of UIWindow, every viewcontroller must work above that series of buttons like tabbarcontroller? ...

Reading material on writing optimal SQL database queries

I have no idea whether my database queries are at all clean, efficient, and so on. At best, I can get what I need from the DB but not much else. What books (or websitse) should I read to move forward? I want to know about performance costs of the various conditions and keywords that could potentially go into a query (e.g. JOIN, IN, WHER...

Is the UITableView and the UIScrollViewDelegate have the conflict?

I have a UIScrollView and a UITableView. the class have implemented . The UIScrollView can scrolling with many pages. When the user scrolling, a new table view will appear, but when I scrolling the table view, the application crash. Is there any UITableView and UIScrollViewDelegate when the UITableView Scrolling? thank you. ...

ZipArchive library compile error.

i have included libz.1.2.3.dylib after insert code ZipArchive* za = [[ZipArchive alloc] init]; error when compile "_OBJC_CLASS_$_ZipArchive", referenced from: UPDATE according to http://code.google.com/p/ziparchive/wiki/PageName i have include ZipArchive folder to project, and and framework libz.1.2.3.dylib. then i try to un...

iphone programming - how to record a call

Is there any API in iPhone SDK to record a call and play it later? ...