Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Convert Existing Project to Document-Based Project?

Convert Existing Project to Document-Based Project?
Thread Tools
Warhaven
Dedicated MacNNer
Join Date: Jul 2002
Status: Offline
Reply With Quote
Feb 15, 2010, 07:34 PM
 
Hey Everyone,

I'm taking over development of a project, and I was wondering if there's an easy way to convert this existing AS Studio project to a Document-Based AS Studio project? I mean, without manually moving files from the current project into a new Document-Based one. I'd like the program to use its own preferences.
( Last edited by Warhaven; Feb 15, 2010 at 07:41 PM. )
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Feb 15, 2010, 08:09 PM
 
There's no fundamental difference between the two kinds of projects. They just give you different boilerplate. To my recollection, the primary differences are that a document-based application includes a CFBundleDocumentTypes entry in its Info.plist and it comes with an NSDocument subclass and corresponding nib set up for you.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
BLAZE_MkIV
Professional Poster
Join Date: Feb 2000
Location: Nashua NH, USA
Status: Offline
Reply With Quote
Feb 16, 2010, 01:33 AM
 
Copy the files from a document based project to the current one instead
     
Warhaven  (op)
Dedicated MacNNer
Join Date: Jul 2002
Status: Offline
Reply With Quote
Feb 23, 2010, 02:57 PM
 
Problem solved. I didn't even need to bother with it being a document-based project. I thought that it was required for saving application preferences, but it's not.

Thanks for the help anyway, though.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:58 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,