FROM : Hamish Allan
DATE : Thu May 15 00:07:33 2008
On Wed, May 14, 2008 at 6:37 PM, Mike Fischer <<email_removed>> wrote:
> I remember in the very dim past (when MacApp was still a modern framework
> ;-) that I had text based resource files (.r) to build the 'View' resources
> (rough analog to nibs) which included preprocessor macros to control which
> parts/features where active. These would be compiled into .rsrc files using
> the current build settings. This mechanism was very flexible when it came to
> building different variants of an application. (I admit though that the
> source was hard to read and edit due to all of the conditional stuff.)
>
> Is there any way to achieve someting similar in our modern Cocoa/Xcode/IB
> world? How do others handle this problem?
You could use XIB files instead of NIB files, and write a script to
process them as a build step before they are compiled...
Hamish
DATE : Thu May 15 00:07:33 2008
On Wed, May 14, 2008 at 6:37 PM, Mike Fischer <<email_removed>> wrote:
> I remember in the very dim past (when MacApp was still a modern framework
> ;-) that I had text based resource files (.r) to build the 'View' resources
> (rough analog to nibs) which included preprocessor macros to control which
> parts/features where active. These would be compiled into .rsrc files using
> the current build settings. This mechanism was very flexible when it came to
> building different variants of an application. (I admit though that the
> source was hard to read and edit due to all of the conditional stuff.)
>
> Is there any way to achieve someting similar in our modern Cocoa/Xcode/IB
> world? How do others handle this problem?
You could use XIB files instead of NIB files, and write a script to
process them as a build step before they are compiled...
Hamish
| Related mails | Author | Date |
|---|---|---|
| Mike Fischer | May 14, 19:37 | |
| David Wilson | May 14, 20:11 | |
| Mike Fischer | May 14, 20:32 | |
| Hamish Allan | May 15, 00:07 | |
| Mike Fischer | May 15, 00:25 | |
| Hamish Allan | May 15, 01:10 | |
| Jonathan Hess | May 15, 02:20 | |
| Mike Fischer | May 15, 13:25 | |
| Mike Fischer | May 15, 13:26 | |
| Jonathan Hess | May 15, 22:36 | |
| Uli Kusterer | May 18, 11:14 | |
| Mike Fischer | May 18, 15:48 |






Cocoa mail archive

