xcode

How can I make only the button selectable in a cell?

I have a Cell with lots of Labels and a Button. I want to make cell's color blue and make only the button selectable, not the cell. The button should have its own color. How can I do this using with xCode and the IPhone SDK? ...

iPhone SDK: Long animations with "animationImages" problem.

Hello, I have been trying to set up an animation in xcode for a long time now, At first I started trying to animate 100 1000x1000 pngs, but those images were too big for the iphone, now I am trying to animate 100 320x480 pngs and it seems to animate fine up until about 40 frames in, then the app crashes, so, is there any other method of...

Using GDB in xcode 3.1.2 - what does 'error while running hook_stop:' mean?

Pretty much a total newbie here, using xcode to write a c++ program. I don't know how to use gdb yet and I'm not sure how you can turn it off..(if you can?) Just added some openGL texture loading code and when I call it I get this error message in my console and the program freezes... what is happening? Here's the code that throws the...

resize uitableviewcell to the label's height dynamically ?

i want to resize cell's height according to the label's height and label's height according to text...?? or is there any way i can resize the cell's height according to the text entered in uitextview? ...

How to trace "out of memory" error from XCode based unit-test

I am using XCode 3.0 with iPhone SDK and have a small iPhone application that includes a unit test for sqlite, however I get "out of memory" when I run it. How do I trace root cause of the error? Thanks. ...

Upgrade to iPhone SDK 3.0 Causing UIKit Problems

I have an existing project that I was working on, and I recently decided to update my iPhone SDK and updated to the latest 3.0 SDK. I update my SDK and go to open my existing project. Sure enough, there are some problems including some certificate problems and so on. Anyway, google and I were able to solve most of them, but I haven't ...

How can I navigate backwards in Xcode?

In Visual Studio I can navigate backwards by pressing "ctrl minus". This is very useful when checking out the definition of a function and then immediately going back to the code I was working on. How can I do this in Xcode? (I'm using version 3.1.2) Cheers! ...

iPhone Xcode Project Organization Question

I built a simple iPhone application for a customer This will be distributed via iTunes using Ad Hoc Provisioning profile I need to build two different executables 1) a test application and an 2) official application the only differences between the two applications are: . the Default.png startup screen . some image icons in the applicat...

how to generate buttons programatically?

hello i am stuck in a strange situation.i want to generate buttons on a view using a loop . suppose i want to generate 3 buttons.i have added a uiview btnframe to my main view.now i want to add button inside that view using that view's cordinates.how do i calculate btnframe's bounds. ...

XCode and updated SVN

Hi, the stock svn that comes with OSX is 1.4.4 and I upgraded (through opencollab installers) to 1.6.2 My Problem is, XCode (v3.1.2) picks up the old subversion. At one point I had fixed this by executing the following: defaults write ~/.MacOSX/environment DYLD_LIBRARY_PATH /opt/subversion/lib And it worked. But it has since revert...

Creating an Xcode data formatter bundle for custom Obj-C objects

To help simplify debugging of some custom Objective-C objects in the Xcode debugger window, I've created a set of data formatter strings for each of the objects, using the related Apple documentation and Xcode's built-in data formatters (in /Developer/Library/Xcode/CustomDataViews/) as a guide. My custom summary strings work great as a ...

How can i fix this mismatching iPhone provisioning problem?

I recently upgraded to the iPhone 3.0 sdk. Once i did this, i needed to reinstall the correct provisioning profile on my iPhone. However, i can no longer deploy to my device when i need to debug things. In the organizer window i get the following error: The iPhone “(my iphone)” doesn’t have the provisioning profile with which ...

Xcode: Adding Existing Files to Groups & Files Pane causes build error

I'm working on a project hosted in Beanstalk and would like to access one of my files in my subversion repository. I can clearly see the files "SoundEffect.h" and "SoundEffect.m" in the web-based browser directory, but the files do not appear in the "Groups and Files" pane on the left of Xcode after a refresh and update from Xcode. I ...

'Unable to read symbols' error

When I 'Build and Go' on the device, the console shows: warning: Unable to read symbols for ""/Users/Steve/Blue/build/Debug-iphoneos"/Blue.app/Blue" (file not found). warning: Unable to read symbols for ""/Users/Steve/Blue/build/Debug-iphoneos"/Blue.app/Blue" (file not found). Is this something I should worry about? If so, where shoul...

Creating a highscore like system, iPhone side.

I'm sorry for opening a new question, I had to - as I wrote the other question from my iPhone as unregistered user and it is not very comfortable to write from the iPhone. Rephrasing the question: Is it possible to use the: [NSMutableArray writeToURL:(NSString *)path atomically:(BOOL)AuxSomething]; In order to send a file (NSMuta...

how to generate graphs using integer values in iphone

i want to show a grapph/bar chart in iphone how do i do this without custom API;s ...

XCode Different Resources For Different Targets

Hi. I am developing an iPhone app and there will be a Full as well as a Lite version of that app. In order get both bundles from the same source code and xcode project I added another target to the xcode project. Now, I want to have the Lite target copy only a subset of the resource files to the bundle. But, xcode won't simply let me d...

Xcode Naming Executables

Ok. So I got my first app approved by Apple, it goes on sale this week. With that out the door, I wanted to create a Lite version of the app. I did a branch in SVN, and created a new working directory. Original app is Trak4, Lite version is obviously Trak4 Lite I noticed that when I build, the .app file that Xcode creates is still...

In Xcode under iPhone-SDK 3.0, where can I set my Bundle Identifier globally

To clarify, I mean that when I create a new project in the AppName-Info.plist there is a key named Bundle Identifier. It defaults to com.yourcompany.${PRODUCT_NAME:rfc1034identifier} This means that I have to change "yourcompany" to my company name every time I create a new project that I want to run on a device. When I first setup Xco...

How do I check the TARGET_NAME of my iPhone app on XCode?

Hi, I'm trying to have 2 version of my iPhone application within the same XCode project. The codebase it's almost the same and where I need to have different behaviours I've decided to use preprocessor's conditionals and the ${TARGET_NAME} tag. I've set the OTHER_CFLAGS to contain "-DTARGET_NAME=${TARGET_NAME}". Then in my code I trie...