xcode

My Access KeyChain certificate [Xcode]

Hi , i create a provision and developer identity.certificate with apple provision assistant and i have huge problem , everything done , but when i add my certificate into KeyChain , the certificate add , but doesn't show on the Keys and my Certificate :( and xcode Organizer says a valid signing identity matching this profile coul...

Safari Textbox input with xcode

Hi, I am new to Xcode and would like to make a simple plug-in so that the plug-in can set the value to safari text box and get the id of the text box. Could someone please point me to the right direction? Thanks in advance. ...

How can I add one Target (Foundation Tool) to Copy Bundle Resources of another Target in Xcode

Hy everybody, I have two targets in one Project in Xcode. One is a foundation tool which I need in the resources Bin of the other Target, which is a Bundle App. I am not able to add the Target one into the Copy Bundle Resources Build Phase of the Bundle App. Do I need to use a Copy Files Build phase and put the File out of the build/Re...

OpenCV and Cocoa error "Previous frame inner to this frame"

Hello every body! I'm playing with OpenCV in Cocoa program. When I try to call the method with some OpenCV code in the second thread I get "Previous frame inner to this frame (gdb could not unwind past this frame)" ...

How do I get Xcode and TextMate to calibrate syntax highlighting colours the same way?

This is a mostly insignificant problem, but it's been bugging me for a while and I figured someone on here might be as ridiculously OCD as I am (this is a programmer community after all). Basically, the problem is that TextMate doesn't seem to calibrate syntax highlighting colours, while Xcode does. What this means in practice is that, ...

Embed font in a mac bundle

I have a program I am writing. I want to use a fancy font. Can I just embed my font into my bundle and use it from there. My code... NSMutableAttributedString *recOf; recOf = [[NSMutableAttributedString alloc] initWithString:@"In Recognition of"]; length = [recOf length]; [recOf addAttribute:NSFontAttributeName value:[NSFont fontWi...

How i can connect the buttons to next pages and create multiple pages?

How can i connect buttons in the example of this Project. zip Here's the link of the file---> (http://www.2shared.com/file/12046081/65fad040/Project.html). Example: Button General Information connect to 3rd page, button Trainer information connect to the next pages number. May i need to create a new .h/.m/xib file for each of the page...

How to nslog - copied text in iPhone?

Suppose - User has selected & copied some text in textField/textView/webView. Now I want to Log the copied text, But don't know how? How is it possible? Sagar ...

Can XCode draw the call graph of a program?

Hi, I am new to Mac OSX, and I wonder if Xcode can generate , for a given C++ source code, the call graph of the program in a visual way. I also wonder if for each function, and after a run, whether it can also print the %time spent on the function If so, I would thank really some links with tutorials or info, after googling I did not...

Preview rounded image in iphone

Hi, can anyone tell me how can I create an image preview inside a customized cell with the aspect of the ones loaded in the mms'. I've been trying to do it by changing values in IB and I haven't been able to. Thanks a lot! ...

How to get a compiler warning when an IBOutlet is disconnected

How can I have Xcode warn me if an IBOutlet of one of my objects is not hooked up to anything in a NIB? I can check that outlets are connected at runtime by adding assert(ofEveryOutlet); in awakeFromNib or viewDidLoad. But it's not as useful, or reliable, as having the compiler do the checking for me. ...

How to add iphone libs *.a files to xCode's SVN (CSM)?

Have: xCode project with Google Analytics lib, could be normally compiled. Want just to put it to already working SVN to build project from the work macosx without any additional steps. I've tried different ways to add *.a file to the svn, but all just have not worked. When adding a directory there is all files except *.a in the svn. ...

Core data and saving the context in subViewControllers, ok to release?

When updating the managedObjectContext is it ok practice to do the save setup in view controllers that may be released or should the appDelegate handle the saving of the managedObjectContext so that even if the viewController is released the save finishes? I'm leaning towards the idea of moving the save step into my appDelegate and havi...

Same project...multiple apps?

We have a an iPhone app project that we wish to deploy multiple times under different client names. The individual apps will be very similar but will have different resources (icon, images etc) and config settings stored in plists (server names, options etc). What is the preferred means to manage this in Xcode? Obviously we really don't ...

gameKit or bounjour ???

which one is better for implementing chat for the iPhone with users in the current area gameKit or bounjour ? ...

How use a single project file in XCode (in several computers)

I code in 2 differents computers with diferent username. XCode make a pbxuser file for each one, making necesary replicate the config from each one. This is error prone, and the files are not diff-friendly so everything must be carefully checked. Any way to avoid this? ...

How do I display a local html file in a UIWebView?

I have a relatively simple question that I cannot seem to find the answer for. While doing the Google Maps Java API Tutorials, I ran into a problem. I can load an HTML file from the web, but when I try it locally, it just displays the contents of the file instead of running the script. Here's what works: NSString *url = @"http://code.g...

UITableView titleForSection font

A quick question, for a quick answer (since I'm not finding any): Is there a way to change the font of the section's title (given by titleForSection) in iPhone? Thanks a lot! ...

Turn off the warnings due to boost library

Hello All, I am building an application in C++, Mac OS X, Qt and using boost libraries. Every time i build a project I get a huge list of warnings only from boost libraries itself. I want to turn off them so that I can see only my project specific warnings and errors. Can anybody help me? Thanks, Rahul ...

convert Gmt timezone to CET in iPhone?

I want to convert GMT +530 to CET (Central European Time) in iPhone sdk? does anybody have idea about this? also tell me what is the time difference between these two? Means if time is 10 am in gmt +530 then what it will be in CET? ...