iphone

Memory problem on iPhone 3G/2G, sdk 3.0

I encountered a crash in my game, here's the crash log (it's a stress test): PID RPRVT RSHRD RSIZE Command 1 340K 224K 436K launchd 14 124K 160K 216K update 15 568K 164K 620K syslogd 16 792K 612K 1.16M lockdownd 17 2.22M 664K 3.04M mediaserverd 18 296K 160K 440K mDNSResponder 20 540...

How to add image and text together in iPhone Navigation bar

any help i am truly appreciated it Thanks ...

memory leak

hai , i am new to i phone devlopment.i used clang static analyzer.i used it,but it produces lot of html files and also it shows build failed.can anyone give details for how to use that html files...and give tutorial link in detail ...

What is the basic difference between NSTimer, NSTask, NSThread and NSRunloop ?

What is the difference between NSTimer, NSTask, NSThread and NSRunloop and is there a guideline on when to use each of them? ...

Implementing Static Libraries In iPhone

Hi All, I have created a static library following this link. But I am facing Problems in using the library. For reference on how to use static libraries in an iPhone project I followed this link . But I am stil struggling with the "How to implement static libraries in any other iPhone project?" question. Thank you all. ...

First steps to use XCode

Hey ladies and gents, I just got my OS X leopard VM booted :). As such I am now planning to learn how to use XCode and start developing on the apple platform. I have a visual studio background, and I can use unix (not a hardcore scripter but I know more than the average) If anyone could point me to a good tutorial in apple especially ...

How do I make an iPhone application consume a WSDL service?

Is there a tool to generate stubs for me, or a library to interact with a wsdl web service? This is a generic question I know, but I'm looking for pointers of where to start. ...

Switch between 3 or more views

Hello Im new to iPhone development and I have really taken this to me. I love it, but there is one thing thats naggin' me. How do I keep switching view? I know how to come from first view that is given to me when I create a new project, to a view that I make, but how do I get passed this two windows? How do I get from to views that I cr...

Where can I find the definition of the number follows Memory Status in iPhone crash-log?

In crash log, if the program is killed by OS due to some problems, a line "Memory status: xx" will be written. What's the meaning of the number? I've googled and searched the dev.apple.com, but I cannot find it. Where can I find the definitions? Thank you. ...

Create a dictionary property list programmatically

I want to programatically create a dictionary which feeds data to my UITableView but I'm having a hard time with it. I want to create a dictionary that resembles this property list (image) give or take a couple of items. I've looked at "Property List Programming Guide: Creating Property Lists Programmatically" and I came up with a small...

Tiled Background Image: Can I do that easily with UIImageView?

I have a fullscreen background image that is tiled, i.e. it has to be reproduced a few times horizontally and vertically in order to make a big one. Like in the browsers on ugly home pages ;) Is UIImageView my friend for this? ...

TTTableImageItem doesn't load the image until scroll

Hi, I'm using the three20 project for my iPhone app. I've narrowed my problem down and I'm now just trying to re-create the 'Web Images in Table' example that comes with the project. I've copied the code exactly as in the project, with the exception that I do not use the TTNavigator (which the example does) but I am adding my TTTableVie...

Scroll complete tableView while updating tableviewcell

Hello, I have just three custom tableViewCell rows in my tableView. First and second are with label while third is with TextView, i want to autoscroll complete tableView as i type in TextView (3rd row) cell and there is no visible typing space. Can anyone help me providing some guideline, how to achieve this? ...

On the iPhone SDK, is there a way I can disable touch interactions on the textview? In a way that allows touches to be recieved by things behind it?

For my iPhone game I wrote the entire thing in OpenGL ES, and now I'm trying to overlay a TextView to display a scoreboard. The problem is now my touch input doesn't work correctly, because the Textview is recieving the touch input rather than my opengl view. Is there a way I can just disable touch interactions on the textview? ...

Tab bar controller

Hi, I have the next question: In my project I have the next: UItabbarController ....Some UINAvigationControllers.... *(1) UINavigationController UIViewController (UItableView) - When select one row it goes to...(by push) UIViewController (UItableView) My problem is when i click in the tab bar item, I s...

Can't get UILabel to display more than 3 lines

I have a tableivew with a bunch of cells and I am trying to get the uilabel to display more than 3 lines. I set the linebreakmode and the numberoflines appropriately, but it's still not displaying more than three lines. Any suggestions? The table cell automatically adjusts its height to accomodate the number of chars/lines, but the text ...

How to create nested array or multidimensional array

I am trying to figure out how to do either nested arrays or multidimensional array for iPhone SDK programming using objective-c. My data would be something like this, 3 columns and rows from 10 to 50. name department year John Sales 2008 Lisa Sales 2009 Gina Support 2007 Any help is apprec...

Shadow effect for UISegmentedControl?

I am using a UISegmentedControl with images that is in a UIBarButtonItem, which is itself in a UIToolbar. If I use an image for a "normal" UIBarButtonItem, a nice shadow effect is automatically applied. However, the same does not automatically apply to images in UISegmentedControl's that belong to UIBarButtonItem's. I was thinking of ...

NSZombie crashing app when enabled on the iPhone

I added NSZombieEnabled to my executable's environment in order to track down an object that I'm over releasing. What I'm finding now, is that a part of my app is crashing that never has crashed before, only when NSZombieEnabled is toggled on. The moment I disable it, no crash occurs. I need to do forensics on my code, but what can this...

How to make a UITextField move up when keyboard is present

With the iPhone SDK: I have a UIView with UITextFields that brings up a keyboard. I need it to be able to: Allow scrolling of the contents of the UIScrollView to see the other text fields once the keyboard is brought up Automatically "jump" (by scrolling up) or shortening I know that I need a UIScrollView. I've tried changing the ...