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
...........................................................................................................................5
Notifications
................................................................................................................ 6
State machine
............................................................................................................... 6
Repository
.....................................................................................................................7
Design
................................................................................................................... 9
Class derivation
............................................................................................................ 9
Class grouping
............................................................................................................. 11
Coding guidelines
....................................................................................................... 14
Networking
................................................................................................................. 15
Development enviroment
.................................................................................. 21
Setting up subversion source version control for Mac OS X
..................................21
Subversion and XCode
............................................................................................... 22
Checking the installation
........................................................................................... 23
Adding RSA code to your client
................................................................................ 23
Miscellaneous
..............................................................................................................25
Credits
................................................................................................................. 26
Appendix A
..........................................................................................................27
Importing Projects Into a Subversion Repository
...................................................27
Configuring your SSH environment
......................................................................... 27
Appendix B
..........................................................................................................29
Releasing a new MacTrek Version
............................................................................ 29
2