Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Mac > Xcode
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Xcode section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 14th, 2008, 12:59 PM
Registered User
 
Join Date: Aug 2008
Location: Long Beach, CA, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xcode vs Dashcode

If I'm working on a fairly simple web app, which I'd like to port to the iPod Touch eventually and distribute via iTunes, is DashCode the best tool, or is Xcode? And can I use JavaScript, or do I need to use C and Objective C?
  #2 (permalink)  
Old August 16th, 2010, 01:14 AM
Registered User
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post No, use Xcode

First of all, web apps are free, and in HTML5, the standard that Steve Jobs advertised with the iPad, and do not go in iTunes. All apps must be written in C, Objective-C, or C++. Converted apps are no longer permitted. In Xcode, though, you must right apps in Objective-C. It is very difficult, and not practical not to, in Xcode. Or, look for external, 3rd-party app creators.

I hope this reply came fast enough, it's only 2 years late. Good luck on your app!
  #3 (permalink)  
Old October 26th, 2011, 10:07 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Moving your code from Dashcode to Xcode

After you have completed your application work in Dashcode here are the steps to move it to Xcode.

1. Publish your Dashcode application – you can publish this to either a directory or to the web server on your machine. Either way works.

2. Start and name a new Xcode project.

3. Delete the placeholders in the Xcode project.

1.index.html
2.main.js
3.main.css
4.mappings.js
5.functions.js
6.databaseDefinition.js
7.everything in the Images directory
8.everything in the Parts directory

5. Add the files from your published Dashcode directory to the locations that the placeholders used to have. Do this by dragging and dropping or by right clicking and selecting Add->Existing Files. You can have Xcode copy the files into your application, this is good if you are sharing it with others, or you can not select the copy checkbox and it will refer to the files in their current location, good if you are going to continue development in Dashcode.

6. If you told Xcode to copy the files you need to do a global search and replace in Xcode for Images and replace it with a blank string.

7. If you told Xcode to copy the files you need to do a global search and replace in Xcode for Parts and replace it with a blank string.

8. If you told Xcode to copy the files you need to do a global search and replace in Xcode for QCiPhone and replace it with a blank string.

9. Click ‘Build and Go’. If your project is set to use the simulator the app will run there. If it is set to use your device, it will install and run, assuming you follow apple’s instructions for distributing your applications to your device.




Similar Threads
Thread Thread Starter Forum Replies Last Post
xcode for "learning" Molder Intro Programming 0 April 24th, 2008 11:10 PM
Xcode 2.4 differences craigontour Xcode 1 November 24th, 2006 11:08 PM
Xcode Building error Hayden BOOK: Beginning Mac OS X Programming 3 June 3rd, 2006 01:11 PM
xcode wont install dionc Xcode 0 February 13th, 2006 07:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.