FROM : m
DATE : Thu Dec 02 21:45:57 2004
On Dec 2, 2004, at 12:17 PM, Nick Zitzmann wrote:
> On Dec 2, 2004, at 1:03 PM, Dennis Falling wrote:
>
>> Is there any way to design an application to use two different nibs
>> based on the version?
>
> Yes, if the nib is not the main nib file. You could do something like
> this, for example:
[snip]
I tried this technique once and it wasn't worth the hassle of keeping
the two nibs in synch as the design progressed or changed.
Conditionally using 10.3 features is the way to go.
Start here:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/CrossDevelopment.html>
I should also mention that if you rely on a class that exists on 10.3
but not 10.2 (as opposed to simply methods that are missing on 10.2),
things get a bit more complicated. You have to ensure that your nib
doesn't try to instantiate any classes that aren't present on 10.2. You
can dynamically swap in the class you really want after loading the
nib, depending on whether you'r in 10.2. or 10.3.
_murat
DATE : Thu Dec 02 21:45:57 2004
On Dec 2, 2004, at 12:17 PM, Nick Zitzmann wrote:
> On Dec 2, 2004, at 1:03 PM, Dennis Falling wrote:
>
>> Is there any way to design an application to use two different nibs
>> based on the version?
>
> Yes, if the nib is not the main nib file. You could do something like
> this, for example:
[snip]
I tried this technique once and it wasn't worth the hassle of keeping
the two nibs in synch as the design progressed or changed.
Conditionally using 10.3 features is the way to go.
Start here:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/CrossDevelopment.html>
I should also mention that if you rely on a class that exists on 10.3
but not 10.2 (as opposed to simply methods that are missing on 10.2),
things get a bit more complicated. You have to ensure that your nib
doesn't try to instantiate any classes that aren't present on 10.2. You
can dynamically swap in the class you really want after loading the
nib, depending on whether you'r in 10.2. or 10.3.
_murat
| Related mails | Author | Date |
|---|---|---|
| Dennis Falling | Nov 30, 19:48 | |
| John Stiles | Nov 30, 20:06 | |
| j o a r | Nov 30, 20:16 | |
| Dennis Falling | Dec 1, 03:33 | |
| Dennis Falling | Dec 1, 03:33 | |
| Dennis Falling | Dec 1, 03:41 | |
| Evan Schoenberg | Dec 1, 04:18 | |
| j o a r | Dec 1, 08:50 | |
| Dennis Falling | Dec 1, 19:24 | |
| j o a r | Dec 1, 20:41 | |
| Dennis Falling | Dec 2, 01:39 | |
| Evan Schoenberg | Dec 2, 02:44 | |
| Nick Zitzmann | Dec 2, 03:08 | |
| M. Uli Kusterer | Dec 2, 03:26 | |
| Dennis Falling | Dec 2, 10:42 | |
| Dennis Falling | Dec 2, 10:53 | |
| j o a r | Dec 2, 11:01 | |
| Dennis Falling | Dec 2, 19:57 | |
| Nick Zitzmann | Dec 2, 20:24 | |
| Dennis Falling | Dec 2, 21:03 | |
| Nick Zitzmann | Dec 2, 21:17 | |
| m | Dec 2, 21:45 |






Cocoa mail archive

