ouverture d'un second fichier nib

arankou

Membre enregistré
2 Avril 2003
7
0
je cherche a chargé a partir d'un objet secondaire un second fichier nib genre formulaire
dans le but d'avoir un controller pour la fenetre courrante et un bloc pour le formulaire tout ce qui es en rapport
le projet est de type cocoa application sans document based
 
hello,

Si tu fais pas une allergie a la langue us tu trouveras une solution (voir +) qur le site d'apple :
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ProgrammingTopics/LoadingResources/Concepts/UsingMultiNibFiles.html

Un petit extrait pour mettre l'eau a la bouche :
</font><blockquote><font class="small">En r&eacute;ponse &agrave;:</font><hr />

There are two main ways to open a nib file.

* Use NSWindowController, which loads a window and its contents from a nib file and then manages that window. See the class description of NSWindowController for additional information.

* Load it explicitly with the method -[NSBundle loadNibNamed:owner:].

[/QUOTE]

@+