Download MacTrek Developer Guide
Transcript
Table of contents Introduction .......................................................................................................... 3 What is Netrek? ........................................................................................................... 3 History .......................................................................................................................... 3 Basics ............................................................................................................................. 3 Document structure .................................................................................................... 4 Design Principles .................................................................................................. 5 Frameworks .................................................................................................................. 5 MVC .............................................................................................................................. 5 Factory .......................................................................................................................... 6 Notifications ................................................................................................................. 7 State machine ............................................................................................................... 7 Frameworks ........................................................................................................... 8 Getting the frameworks .............................................................................................. 8 Setting up the frameworks ........................................................................................ 10 MacTrek Client ....................................................................................................12 Setting up subversion ................................................................................................. 12 Subversion for Mac OS X .......................................................................................... 12 Subversion and XCode ............................................................................................... 13 Checking the installation ...........................................................................................14 Design .................................................................................................................. 15 Class derivation ........................................................................................................... 15 Class grouping ............................................................................................................. 17 Coding guidelines ...................................................................................................... 20 Credits .................................................................................................................. 21 Appendix A ..........................................................................................................22 Importing Projects Into a Subversion Repository ...................................................22 Configuring your SSH environment ......................................................................... 22 2