![powerdvd dx powerdvd dx](https://www.manifest-tech.com/images/links/dvd_gallery_scr/cyberlink_powerdvd5_scr.jpg)
Under the ‘Build’ tab, scroll down to the ‘Product Name’ setting, and change it to ‘M yApplication’. In the ‘General’ tab, change ‘Name’ to ‘M yApplication’. In the new project, bring up the properties for the main target (Right click on the M yApplicationFramework target under Targets in Groups & Settings, and click Get Info).Create a new Cocoa Framework project (File - New Project - Cocoa Framework - Next), call it something like M yApplicationFramework, and store it under your main project (Enter M yApplicationFramework in ‘Project Name’, then click ‘Choose…’ and select your project folder).To use sub-frameworks in an General/XCode project, there are a few steps that need to be taken.
![powerdvd dx powerdvd dx](https://i.ebayimg.com/images/g/V1AAAOSwrdVfPbWm/s-l300.jpg)
Having the framework in the same project as the main application can also be convenient, as the same project window allows access to both the framework and the main app. If yours is an open source application, you can also then distribute the framework’s project separately. Using a sub-project can be convenient, as it can clean up the main project. You can either have the framework in the same project as the main application, or use a separate project embedded in the main project. There are two ways to use embedded frameworks in General/XCode. Google them for more info, or read the Apple documentation at. Frameworks are a very nice way to share functionality.įirstly, this is fairly well documented - the magic words are ‘embedded framework’. The same goes for many other types of applications - a news reader can be integrated into a screensaver, or an IRC client into a video game. I’m looking forward to the result of this project, as it will enable integration of VLC’s excellent playback engine into other software, such as media center applications like iTheater.
#POWERDVD DX CODE#
A Google Summer of Code project has been started this year to move the bulk of VLC’s code into a framework, where it can be used by other applications. This can aid in enhancing the readability and maintainability of your code, and helps to encourage and enforce the use of the model-view-controller paradigm.Īnother benefit of using this technique is that at a later point, others can make use of the framework.Īn example of where this will come in handy is VLC. A framework can be created as a ‘sub-project’, and a build step added to your main target that builds the framework before continuing. One useful structure that can be fairly well managed in General/XCode makes use of frameworks to contain the bulk of your project’s code. It will save time later, when you realise you really need to enforce a bit of order, and will make development easier over the life span of the project. Defining a proper, logical structure to a new project is an important early step.