This repository was archived by the owner on Jan 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpectations.html
More file actions
80 lines (66 loc) · 4.65 KB
/
expectations.html
File metadata and controls
80 lines (66 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DrawKit and You — DrawKit documentation</title>
<link rel="stylesheet" href="_static/haiku.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/print.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/theme_extras.js"></script>
<link rel="top" title="DrawKit documentation" href="index.html" />
<link rel="next" title="Design Philosophy" href="philosophy.html" />
<link rel="prev" title="Introduction to DrawKit" href="introduction.html" />
</head>
<body>
<div class="header"><h1 class="heading"><a href="index.html">
<span>DrawKit documentation</span></a></h1>
<h2 class="heading"><span>DrawKit and You</span></h2>
</div>
<div class="topnav">
<p>
«  <a href="introduction.html">Introduction to DrawKit</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="philosophy.html">Design Philosophy</a>  »
</p>
</div>
<div class="content">
<div class="section" id="drawkit-and-you">
<h1>DrawKit and You<a class="headerlink" href="#drawkit-and-you" title="Permalink to this headline">¶</a></h1>
<p>Cocoa programmers come in all shapes, sizes and levels of experience. If you’re a beginner with Cocoa, using Drawkit effectively is likely to be a challenge; DrawKit is not a beginner’s framework. However, DrawKit doesn’t require knowledge of Bindings or Core Data, which are considered more advanced topics. DrawKit doesn’t use Core Data, and it allows you to use Bindings or not as you wish, since it doesn’t concern itself with how you implement your user interface.</p>
<p>To properly understand DrawKit, and this documentation, you will need to have some familiarity with Cocoa. Concepts such as memory management, how container classes and strings and many other parts of the Application Kit work is taken for granted, as is the model-view-controller paradigm, KVC, KVO and how views work. DrawKit is heavily based on Cocoa and Quartz graphics, and a good working knowledge of these technologies is highly advantageous. The beginner is directed to any of the many good books and online documentation available.</p>
<p>For the programmer already familiar with Cocoa, DrawKit should present no particular difficulties - it mostly works in the Cocoa domain, rather than Core Graphics or other framework, and employs no unusual techniques or tricky approaches. It makes use of Cocoa’s classes for all of its storage, message passing and other needs. In one or two places it does extend Cocoa’s classes for improved performance or efficiency (e.g. <cite>NSUndoManager</cite>) but by and large there should be no surprises. The lower level parts of the code make use of a number of categories on Cocoa classes, such as <cite>NSBezierPath</cite> and others.</p>
<p>While DrawKit is mostly “back end” or model, some programmers may prefer to approach it as a self-contained custom view, since that is probably how it
seems to the user, just as <cite>NSTextView</cite> is a view (but in fact consists mostly of non-view classes behind the scenes).</p>
</div>
</div>
<div class="bottomnav">
<p>
«  <a href="introduction.html">Introduction to DrawKit</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="philosophy.html">Design Philosophy</a>  »
</p>
</div>
<div class="footer">
© Copyright 2014, Graham Cox, Graham Miln, et al.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b3.
</div>
</body>
</html>