xcode

Disable Quickhelp in Xcode 3.2

Since upgrading to Xcode 3.2, I miss the old style option + double click on a word to bring up the documentation within Xcode. Now, I get the new 'quickhelp' menu, which isn't all that helpful, and just means that I need to click one more time to get to the documentation! Is there an easy way to return Xcode back to its old ways? (I'm ...

how to mask an image using coregraphics?

i want to create an app in which i shoot a person from camera.then take only body of person not the background.i know that i need to use image masking.but don't know how to use it.could someone post a sample to do this. ...

how to detect body in image in objective-c?

is there a way we can detect a person's body in the image and cut the only body part of the image. ...

XCode & Interface Builder not in sync anymore

Hello, it seems to me that ever since a recent upgrade to the latest XCode, some behavior changed. What Used to Be: Whenever I did a "Build and Run", XCode would ask me to save changes to the opened and changed documents in Interface Builder that belong to that project. Now: No questions asked, open IB docs are not saved, and the new...

How do I know if a pointer is an NSObject?

I have a pointer in an objective-C class that I need to send messages to. The pointer can potentially be anything, so I need to make sure that it will respond to my messages before I send them. Here's the function I'm using to do the checking: int delegatePreparedForSelector(id delegate, SEL aSelector) { if (delegate && [deleg...

How to arrange files within xcode application groups?

In X code, I have added 3 groups named * Classes * COCOS2d * Images Under images, I have added 40 files. But all images under IMAGEs group aren't sorted by name. I want to sort them, But I didn't found any option.. Would you help me to sort them? Thanks in advance for sharing your knowledge with super user... Sagar. ...

Google Search Engine - Cocoa

Hey all, Would it be possible to make a google search engine in Xcode, cocoa? If so, how? I want the user to type in a phrase in a textfield called inputBox, and the button to be sendButton. When the button is pressed it will open your default browser to the searched phrase. Thanks, KeViN ...

is it possible in iphone-Reopen Native app after opening and closing map application or any other apple's app?

i want to create something like this. open map application(means maps) then when maps closed reopen my application.also tell me if it is possible will it be possible in iphone OS 2.0. i know about weak linking of frameworks as apple did in mail composer sample. ...

how to use mapview in iphone?

i want to display a map using two location in which one updates continously.and also i want to show custom pin icon in map view ...

developing a osx deamon that runs before user login using xcode.

Hi I am trying to develop a daemon using objective-C/xcode. I am new to mac world and can I get an idea of what project template to choose in xcode and how to do it. Can I get a simple and basic daemon sample source code ? ...

Can I use my gdb to debug an XCode project

Hi, I have a XCode which builds and runs under XCode. I would like to know if it is possible to debug it using a gdb I build under Mac OSX (gdb 7 to be specified). If yes, can you please tell me how can I do that? Thank you. ...

Missing frameworks after upgrading to Xcode 3.2

I upgraded to Xcode 3.2 and now can't seem to add a number of frameworks, specifically the media player. A number of frameworks do not show up on the "Add Existing Frameworks Sheet". Per another question I tried setting the "Framework Search Path" to $(SDKROOT)/Library/System/Frameworks but that didn't seem to make any difference. ...

Using Mapkit to create a local searchable Map

Using MapKit as a base, I'm planning on adding a map to a project with 'local search' capabilities. I think 'local search' describes the feature I want to design into the map. Here is my vision. The map is displayed on the bottom half of a view. The user's current location is highlighted by default. When the user pushes the 'search' but...

Unix command used through Make file

hi i want to know if i create a make file of xcode application then we used UNIX command through application on real device.Is this possible? Thanks ...

Older frameworks in Xcode

I got the latest version of Xcode (3.2) When I open an older project in Xcode all the frameworks appear in red. When I replace them with the current frameworks i get a ton of errors in my code. I want to run the 2.2.1 simulator but it isn't in the list of active SDK's. Is there a way to fix this? ...

Can Xcode build against older versions of frameworks, statically?

Some MP3 files can't be opened by CoreAudio in OS X and iPhone OS 3.x. This was a bug that I submitted to Apple and has been fixed in 10.6.2. Unfortunately, I must still support iPhone OS 3.x, so I need to test for these files that mess up CoreAudio. I check them with a simple command line tool that tries AudioFileOpenURL and returns > ...

Security Policy Error after Installing iPhone SDK 3.1

I'm working on an iPhone project in which the developer that created it has left the company. The Boss asked me to ensure it compiles on the 3.1 iPhone SDK. After installing, it built and ran fine just once on the device. After that, it still builds okay, but if I try to run it on the device, it halts saying Error from Debugger: Erro...

How to know return types of methods in xcode? - iphone development

while typing in Xcode, (objective - c for iPhone dev) Suppose I write [mySprite [[here mySprite is an object of sprite class ( cocos2d - for game development ). ]] After writing this, if I press ## esc ## key. It will show me all the methods. Lets take an example, If I am using [mySprite position]; method, How can I came to kno...

Xcode: Setting GCC_PREPROCESSOR_DEFINITIONS for different build configurations?

I want to set GCC_PREPROCESSOR_DEFINITIONS for each of my four build configurations (Debug, Release, Ad Hoc, and Distribution.) I'd like to have a different setting for each. The screen I'm looking at is the Target Info window's "Build" tab. When I set the Configuration pop-up to "Debug" I can see my GCC_PREPROCESSOR_DEFINITIONS settin...

Undefined symbol _main when trying to build logstalgia on mac

Hey all, I have been trying to build the logstalgia project (http://code.google.com/p/logstalgia/) on my Mac (10.5). Rather than having to link it to the system libraries correctly, I have built and added all of the dependencies to the project. I am new at this, but I do think I have done this correctly, mostly because I have had two o...