xcode

UIViewAnimationTransitionCurlUp - how - iphone

I want to animate a view like UIViewAnimationTransitionCurlUp. I don't know the exact way. plz help me. Thanks in advance. ...

Xcode dependencies across different build directories?

I am trying to set up Xcode for a project which contains multiple executables and static libraries. I have created multiple targets and set up the linking and dependencies, and initially everything works great. The catch... This is an existing project which already has Visual Studio and Makefile builds. Those builds put the libraries in...

How to detect unused methods and #import in Objective-C

After working a long time on an iPhone app, I realized that my code it's quite dirty, containing several #import and methods that are not called or useful at all. I would like to know if there's any compiler directive or way to detect those useless lines of code. Does Xcode have any tool to detect this? ...

vtable for .. referenced from compile error xcode

I was getting the following error compiling and iPhone project. Anybody know how I may fix it? "vtable for oned::MultiFormatUPCEANReader", referenced from: __ZTVN4oned23MultiFormatUPCEANReaderE$non_lazy_ptr in MultiFormatUPCEANReader.o ld: symbol(s) not found collect2: ld returned 1 exit status ...

How to change suffix: bundle into webplugin in the folder Products with Xcode Project?

I wang to develop a plugin with safari, now I new a Project with bundle . then I know that if the plugin work , the app.webplugin will be put into the folder:/Library/internet plugins. But when I rename the suffix of app.bundle in the Products folder of project tree into app.webplugin , then when I rebuild , I find that in debug folder t...

XCode 3.2 configuration still accessing OS X 10.4 framework when 10.5 is selected

I wanted to try and use some features introduces in 10.5 (like Core Text), so I set the Base SDK and Deployment target both to Mac OS X 10.5 I am also certain that all referenced Frameworks have a path relative to the selected SDK, and the tooltip also currently says it is looking in the 10.5 folder. When I try to compile it however, I ...

How to change the app preference settings through code?

Hi All, I have listed my app in the device setting app.Now I can change my app settings through the device app settings app. Now what I am trying to do is the reverse. I am trying to make a app so that it can itself change its preferences in the device settings app if I change the preferences of my app from within the app. Any ideas Fri...

How to I restore deleted UIKit.framework and Foundation.framework and others

I deleted UIKit.framework and Foundation.framework in an xcode project my accident. I cant find the framework in the target information (general tab) link libraries section. How could I add them to the project again as i am now getting many many many errors!! ...

Objective-C syntax checker

Is there an Objective-C syntax checker? I have tried gcc -fsyntax-only but it is not really 'syntax only'. It still produces errors if run on an individual implementation file which has references to external frameworks. I am looking for something that can perform a syntax check on individual header or implementation files without att...

Getting Xcode to register build setting or xib changes

I'm losing more time on Xcode issues than on learning the SDK. When I change build settings, or even when I rewrite the Xib file, Xcode often doesn't correctly register the changes until I quit and restart it. Sometimes, I even have to do a clean all. Is there a script or command one can do from within Xcode which kicks it awake and m...

how to run my iphone 2.0 app in iphone os 2.0 and also 3.0 and above os

i have iphone with os ver. 2.0 i read that for app store all appplication must be run 3.0 os.so how could i make my application to run in both firmware.is there a way i can detect if os ver.>3.0 then run different statments alse run statments for lower than 3.0 os.currently i am using this. #if __IPHONE_3_0 cell.textLabel.text=cellValu...

Xcode and SCM conflict error.

I am getting this following error even though i am the only person working on this project. > Error: 155015 (A conflict in the working copy obstructs the current operation) Description: Commit failed why would this occur as all i keep doing is committing the project every time before do some serious coding. I have committed three time...

alternate of sleep command in x code - iphone developement

I have implemented following in my application. for(i=0;!stopThroughButtons && i<totalMovements;i++){ [NSThread detachNewThreadSelector:@selector(moveNeedle) toTarget:self withObject:nil]; sleep(0.3); } Here sleep is a function with argument of unsigned int type. Sleep method uses seconds to sleep. I want to give the timing in ...

for loop execution doesn't permit touches on iPhone.

Ok. I know the title may be confusing. Logic That I have implemented is something like this. There is an detector in application ( like bike speedometer - moving arrow ) When user taps start scan button - first method executes. NowStartMovements decides random rotations & random number to stop There are 1 to 10 numbers on detector. Ev...

XCode linker error : library not found for -lAdMobDevice

Hey Guys, I am trying to build lite version of my iPhone application using AdMob. I followed the guidelines here http://www.iphonedevsdk.com/forum/iphone-sdk-development/11358-creating-lite-version-app.html and created two different targets. In the lite version I added a macro called LITEVERSION which I am checking using #ifdef and doin...

how to add sender into an HTML coded email?

I need to send an email from my iPhone app but the name of the sender needs to be included within the body. I do not know how to do that. ...

How to link Tiger's SQLite3 library in Xcode?

I have been working on a project which uses Tiger's SQLite3 library (which if I remember well is contained in CoreData.framework?) and came across a problem when building with the "Release" config. I get linking errors telling me the sqlite3 symbols I use through my project are undefined. I'm pretty sure this is due to the needed sqlite3...

Get rid of NewApplication in a dynamic way?

Hi, I'm distributing two different versions of one product (like light and pro version). I don't know how to use the same MainMenu.xib if I can not change the placeholder NewApplication in a dynamic way. I would like to use the bundle name instead of "NewApplication". I hope there is an official way to do this without hacking. Thank yo...

iPhone xcode search path for device vs simulator?

I am confused at this setting (Project -> Edit Active Target). The Search Paths can differ based on the SDK setting (simulator vs device). But if I provide both simulator and device paths, for lets say the Frameworks path, then i get linker errors. But it seems if I only provide the proper path for whichever SDK i have selected, then it...

Question for Core Data experts regarding abstract entities and inheritance relationships

My exact model is complicated to explain, so say that I'm modeling fruits and their seeds in Xcode's Core Data modeler. Here's some "psuedo-coreData-code": abstractEntity Fruit attribute sweetness relationship Seed abstractEntity Seed attribute shape concreteEntity Apple inherits Fruit concreteEntity Orange inherits Fruit concreteEn...