xcode

Online drawing applications

Does anybody know about Multiplayer iphone games that implement drawing and network features which allow players to guess what the opponents are drawing (like Quick Draw App.)? Please help me with source-code or any documentation. ...

tab bar controller (iphone)

hi, i'm making an application of tab bars...having 5 tabbars.i.e. home,ask,tip,inbox,disclaimer..now the problem is that i want the control to directly shift to disclaimer tab after the launch of application ..right now control shifts to home tab..which is the 1st tab ...

How can I make an iPhone OS 2.1 project with the new Xcode?

Problem: I want to make iPhone OS 2.1 apps, but Xcode now always makes automatically an iPhone OS 3.0 project. I forgot about it and now I have an app which I want to test on my iPod touch, but I need to build OS 2.1. Is there a way to get this working? The dropdown from top left in Xcode only offers to build for OS 3.0 device. However,...

xcode: conditional file linking/compilation based on configuration

I'm building an iPhone app that has to run on both the simulator and the device. However I'm using an externally compiled library that has one version for the simulator and one for the device (different CPU). How can I do it? I'm coming from Visual C++ so I'm new to Xcode, and I can't find the way to do it. ...

How to use NSzombie in xcode?

my application is crashing very much how do i find the error through nszombie..? could someone tell me step by step guide to use nszombie or valgrind tool to find memory error ,refrence error etc. ...

how to do smooth scrolling in uiscrollview?

i am using apple's page control sample and showing three different types of views. the scrolling is very slow in device because i am having a uitable a 5 to 7 labels on my view.and everything is updating from database.how do i increase performance of my scrolling behaviour.so that it scrolls very fast in device. ...

How to solve this memory leak (iPhone)?

How to release this variable with no EXC_BAB_ACCESS ? //First line create memory leak UIImage *ImageAvatar = [[UIImage alloc] initWithData:[myg.imageData copy]]; Moins1 = ImageAvatar; //[ImageAvatar release]; if i release-> EXC_BAD_ACCESS Moins1 is a menber of the interface is declared like this : UIImage *Moins1; ... @property (non...

Can I make my iphone app created in xcode into a web application?

I made an application for the iphone in Xcode, but as a result of recent developments, I now need to make it into a web application. I know that Dashcode creates web applications suitable for the iphone. Can I somehow import my Xcode project into Dashcode? Or can I use Xcode to make it into web app without completely re-writing the ...

becomeFirstResponder Doesn't respect Keyboard settings.

I'm working on a fairly simple iPhone app to solve the quadratic equation, mostly because it's so easy-at least the concepts and math! I've created an interface in Interface Builder that has a couple Labels, 3 text fields (varAfield, etc) and a Solve button. The 3 text fields which are set as UITextFieldDelegate have been set so that th...

Taking the highlight off of Icons

When programming and looking at all different apps I have realized that some apps in the app store don't have the lit highlight on the top, making it look more 3D. I have an app idea but I need to take the highlight off. The app have been programmed in Xcode, so if anyone answers, that would be great. Thanks! ...

How to unconditionally copy headers in Xcode?

I have set a header file's role in Xcode to private so that it will get copied to the desired location by the Copy Headers build phase. It works as expected if there is not already a header file of that name in the target location. But if there is an existing file, it does not overwrite it. Even if the header file has changed in the proj...

How to configure an xcode project to work nicely with SVN?

Hi folks. I'm just getting started with xcode. I created a sample new project, and would like to import it into my svn repository. I configured xcode to be aware of my repository, and xcode claims the it has successfully authenticated the connection. I cannot, however, seem to figure out how to get my actual xcode project to manage its ...

left to right scrolling in landscape and addSubView

My comic book app is up and running but with a few things missing. 1) I want to have the images scroll from left to right, but I have the app automatically set itself up to landscape mode upon opening. Where to I tweak this part of the app? (btw...It is doing left to right in portrait mode) 2) I have two of my images showing...where...

Reverting a Python/Cocoa project to use the default OSX 10.5 Python (2.5)

Hi, I have installed the latest MacPython (2.6.2) on my Leopard OS X and started an XCode PyObjC project. When I finalized the app, I built the release version and sent it to a friend of mine to try if it runs with out of the box. It did not, because it expects the latest Python, as on my computer. No matter what I tried, I could not...

tableView footer strange behavior

Given: I have a bit of a "pop up" view that I put over my tableView within my UITableViewController. I put it there like this: [self.navigationController.view addSubview:self.hoverView]; Problem: I cannot see this hoverView when I add a tableView footer view. Seemingly unrelated yes? self.tableView.tableFooterView = [[UIView alloc]...

How do you add a description to the detail view of a table view

Hi, I have a table view that leads to a table view but I don't know how to add a description. My code is - (void)viewDidLoad { [super viewDidLoad]; //Display the selected country. lblText.text = selectedCountry; //Set the title of the navigation bar self.navigationItem.title = selectedCountry; } any thoughts? ...

Objective C release, autorelease, and data types

I'm new to memory managed code but I get the idea pretty well. On taking my app through the leaks tool in XCode, I noticed I only had to clean up my custom objects, but not dynamically created arrays for example, so I figured those data types are autoreleased - makes sense since I only had to release the arrays I used as properties that...

Why it does not draw circle ? (iPhone)

Hello there, i'm very new to iPhone sdk, mac os, xcode and etc. So don't take my question too hard. What i'm trying to do is figure out how can I draw an circle on the screen. (I know how to put image and move it, this is what my source does). Can you please explain me how can I draw simple shapes on that screen ? :) P.S. and Also...

Weird Error In Program

I am new to programming, so when I got this error, I didn't know what to do. In my iPhone app, I press a button to switch a view, then I get this in the log. GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public...

Is it possible to suppress compiler warnings for specific tasks?

for example, it seems impossible to implement delegation techniques without creating warnings. This really makes no sense, because: if (self.myDelegate != nil) { BOOL callDelegate = [self.myDelegate respondsToSelector:@selector(fooDidHappen:WithBar:)]; if (callDelegate) { [self.myDelegate fooDidHappen:foo withBar:bar]; } ...