I have been using Visual Studio (VC++) and Windows API for a long time, and quite familiar with Linux tool chains, but have no experience on Mac OS X development.
I would like to hear your opinions about the pros and cons of Windows and Mac as development environment. But, as it may be subjective, I would appreciate if you could enumera...
Where can I find project templates for Ruby on Rails to use within projects?
I am using Xcode version 3.2.2.
From what I understand, Apple stopped shipping all project templates with xcode and made them available as optional downloads, yet I cannot find the templates for Ruby on Rails anywhere.
Regards
Mick
...
Hey all,
I'm working through the Beginning iPhone Develoopment book and for some reason the project we're working on refuses to launch in the simulator, I think I've narrowed it down to something in the datePickerViewController.xib but heck if I know what is wrong, if I disconnect the uidatepicker outlet from the file's owner it works ...
I want to record the sound of my iPhone-App. So like someone is playing something on a iPhone instrument and after that you can hear it.
Is it possible without the micro?
...
While reading various C and C++ sources, I have encountered two macros __APPLE__ and __OSX__. I found plenty of use of __OSX__ in various codes, especially those originating from *BSD systems.
However, sometimes I find that testing __OSX__ only is not sufficient and I have to complete tests with __APPLE__ macro.
The Porting Command Li...
Hi there.
I need an answer to a simple question. Do the launchDaemons keep running even if iPhone Screen is Locked?
...
Hi all!
I have a UIWebView that loads a local HTML file from the resources folder.
Now, this HTML file has Javascript inside it.
My question is, is there a way to pass an XCode variable to the HTML file that gets loaded inside the UIWebView which I can pass to the Javascript function in the HTML.
Thanks a lot for any help or suggestio...
In XCode, I saw the template for Java but I could not get the output of my program written in one of the Java templates (Java Application). Does Xcode supports Java compilation? If it supports it, should I add any thing to my program to run? It is just a "Hello World" program.
...
This might be an overly simple question, but I am a beginner at programming for the iPhone with Xcode. My project uses a lot of picture files for UIImageView animation arrays. I add all of the pictures into my resource file but the resources folder is getting a bit unwieldy. Is there a way to add subfolders in resources that do not ch...
Hi all,
I'm learning objective-c and cocoa touch at the same time as building an app so I've got a fairly simple question (I think), sorry I don't have enough brownie points on the site to show a visual diagram of my site.
But let me explain, I have the following
Main ViewController
ViewController A
ViewController B
ViewController C...
Hi.
My Xcode is configured for iPhone dev, and it worked well until yesterday.
But it's property list editor currently shows me Mac app's attributes for my iPhone project which includes 'Java', "plugin" and "quicklook" related items.
OK, I can input them manually, but it means something wrong to my IDE, so it does not sure it works corr...
When I create a Automator action in XCode using Bash, all files and folder paths are printed to stdin.
How do I get the content of those files?
Whatever I try, I only get the filename in the output.
If I just select "Run shell script" I can select if I want everything to stdin or as arguments. Can this be done for an XCode project to?
...
I have been modifying the code here: WhereIsMyMac to try and get a better understanding of CoreLocation for OS X. Unfortunately, I haven't been able to figure out how to modify the template HTML file to force a "Maps" view - my frame defaults to "Satellite View"
Here is the relevant line:
src="http://maps.google.com/maps?ie=UTF8&am...
What does program received signal: SIGKILL mean when profiling an app running on device and using the xcode profiler to detect leaks?
My app broke on a line calling drawInRect on a UIImage instance
top of call stack is CGGStateCreateCopy
...
In my Xcode project I put all my images, audio files, ect... in the resources folder. When I opened the project folder in finder all of my "resources" are not in a resources folder instead they are just scattered in the main folder (I have a good number of files).
I already submitted the binary to Apple on Friday so will they care if t...
I have a static library project and an application project.
I thought it should be easy to link my own library, but it was not. I cannot figure out how to link my lib into my app project.
I built lib.a successfully. I added the .a file into my app project's framework folder. But I cannot access classes inside there. And the header file...
Hi,
here's my issue: i've prepared everything as the tutorial said on Apple developer site.
I got two certificates for my app, one of is for developmnet (testing on my iphone) and second for distribution. While first one works excellent, i cannot get the second one to work, here's the problem:
- i obtained certificate for distribution, ...
when i insert this code it will make an error how can i handle event without error?
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error
{
switch (result)
{
case MFMailComposeResultCancelled:
URLCacheAlertWithError(@"Result: c...
I would like two things:
to be able to change branches in git, and then Run or Build in Xcode without recompiling the entire project.
have git ignore intermediate build files during merge, so it won't ask me to resolve any conflicts.
Putting the intermediate builds folder outside the project, or using .gitignore to ignore that folder...
Sometimes when I program for the iPhone, I wonder when you have to allocate and initialize objects and when not to. When you are using UI controls, it seems as if you don't have to do so. Is this true and why?
(Assume that they have been declared in the .h of the view controller.)
Example:
label1.text = @"Hello";
vs
label1 = [[UILa...