Browse files

initial commit

  • Loading branch information...
0 parents commit 0443cf40bf25f1e8749984d1ed61604700fabc6e @ahhrrr committed Jan 18, 2011
15 .gitignore
@@ -0,0 +1,15 @@
+# Xcode
+build/*
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+*.xcworkspace
+!default.xcworkspace
+xcuserdata
+profile
+*.moved-aside
1,482 CalculatorViewController.xib
@@ -0,0 +1,1482 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">10H574</string>
+ <string key="IBDocument.InterfaceBuilderVersion">823</string>
+ <string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.HIToolboxVersion">461.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">132</string>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="6"/>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="372490531">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="843779117">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="774585933">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">282</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUIButton" id="506323763">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 89}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <object class="NSFont" key="IBUIFont" id="839326685">
+ <string key="NSName">Helvetica-Bold</string>
+ <double key="NSSize">20</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">7</string>
+ <object class="NSColor" key="IBUIHighlightedTitleColor" id="746533857">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <object class="NSColor" key="IBUINormalTitleColor" id="1047505669">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC43NSAwLjAyNjUxMzcwNDk2IDAAA</bytes>
+ </object>
+ <object class="NSColor" key="IBUINormalTitleShadowColor" id="249238258">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC41AA</bytes>
+ </object>
+ </object>
+ <object class="IBUIButton" id="821000760">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{92, 89}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">8</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="516029199">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{164, 89}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">9</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="1000808440">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 136}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">4</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="601813674">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{92, 136}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">5</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="590271059">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{164, 136}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">6</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="188454231">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 183}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">1</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="539897698">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{92, 183}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">2</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="96418465">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{164, 183}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">3</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="1014718639">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{92, 230}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">0</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <reference key="IBUINormalTitleColor" ref="1047505669"/>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="771410141">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 230}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">.</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="294553263">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{236, 89}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">*</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="814786878">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{236, 136}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">/</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="379599181">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{236, 183}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">+</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="591263037">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{236, 230}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">-</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="127597974">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{164, 277}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">+/-</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="185966205">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{164, 230}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">=</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="678500471">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{92, 277}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">sqrt</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="897518079">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{236, 277}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">1/x</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="130723452">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{92, 325}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">sin</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="29945816">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{164, 324}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">cos</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="594279696">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 325}, {64, 39}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">C</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUIButton" id="118602716">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 277}, {64, 40}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <int key="IBUIContentMode">3</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">3</int>
+ <reference key="IBUIFont" ref="839326685"/>
+ <int key="IBUIButtonType">1</int>
+ <int key="IBUILineBreakMode">2</int>
+ <string key="IBUINormalTitle">x</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ <object class="IBUILabel" id="558106266">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 20}, {280, 61}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MSAwAA</bytes>
+ </object>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">0</string>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica-Bold</string>
+ <double key="NSSize">48</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <reference key="IBUITextColor" ref="746533857"/>
+ <reference key="IBUIHighlightedColor" ref="746533857"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <int key="IBUITextAlignment">2</int>
+ </object>
+ <object class="IBUIButton" id="856767953">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 372}, {280, 37}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica-Bold</string>
+ <double key="NSSize">15</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <int key="IBUIButtonType">1</int>
+ <string key="IBUINormalTitle">Graph</string>
+ <reference key="IBUIHighlightedTitleColor" ref="746533857"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="249238258"/>
+ </object>
+ </object>
+ <string key="NSFrameSize">{320, 460}</string>
+ <reference key="NSSuperview"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MCAwIDAAA</bytes>
+ </object>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
+ <int key="IBUIStatusBarStyle">1</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="774585933"/>
+ </object>
+ <int key="connectionID">7</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="506323763"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">9</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="821000760"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">11</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="516029199"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">13</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="1000808440"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">15</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="601813674"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">17</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="590271059"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">19</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="188454231"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">21</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="539897698"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">23</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="96418465"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">25</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="1014718639"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">27</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="294553263"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">29</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="814786878"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">31</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="379599181"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">33</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="591263037"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">35</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="678500471"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">37</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">display</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="558106266"/>
+ </object>
+ <int key="connectionID">39</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="185966205"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">41</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">digitPressed:</string>
+ <reference key="source" ref="771410141"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">43</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="127597974"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">45</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="29945816"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">47</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="130723452"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">49</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="897518079"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">51</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">operationPressed:</string>
+ <reference key="source" ref="594279696"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">59</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">variablePressed:</string>
+ <reference key="source" ref="118602716"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">66</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">graphPressed</string>
+ <reference key="source" ref="856767953"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">71</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="372490531"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="843779117"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="774585933"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="558106266"/>
+ <reference ref="506323763"/>
+ <reference ref="821000760"/>
+ <reference ref="516029199"/>
+ <reference ref="1000808440"/>
+ <reference ref="601813674"/>
+ <reference ref="590271059"/>
+ <reference ref="188454231"/>
+ <reference ref="539897698"/>
+ <reference ref="96418465"/>
+ <reference ref="1014718639"/>
+ <reference ref="771410141"/>
+ <reference ref="294553263"/>
+ <reference ref="814786878"/>
+ <reference ref="379599181"/>
+ <reference ref="591263037"/>
+ <reference ref="185966205"/>
+ <reference ref="856767953"/>
+ <reference ref="127597974"/>
+ <reference ref="678500471"/>
+ <reference ref="897518079"/>
+ <reference ref="118602716"/>
+ <reference ref="130723452"/>
+ <reference ref="29945816"/>
+ <reference ref="594279696"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">8</int>
+ <reference key="object" ref="506323763"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">10</int>
+ <reference key="object" ref="821000760"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">12</int>
+ <reference key="object" ref="516029199"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">14</int>
+ <reference key="object" ref="1000808440"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">16</int>
+ <reference key="object" ref="601813674"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">18</int>
+ <reference key="object" ref="590271059"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">20</int>
+ <reference key="object" ref="188454231"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">22</int>
+ <reference key="object" ref="539897698"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">24</int>
+ <reference key="object" ref="96418465"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">26</int>
+ <reference key="object" ref="1014718639"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">28</int>
+ <reference key="object" ref="294553263"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">30</int>
+ <reference key="object" ref="814786878"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">32</int>
+ <reference key="object" ref="379599181"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">34</int>
+ <reference key="object" ref="591263037"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">36</int>
+ <reference key="object" ref="678500471"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">38</int>
+ <reference key="object" ref="558106266"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">40</int>
+ <reference key="object" ref="185966205"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">42</int>
+ <reference key="object" ref="771410141"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">44</int>
+ <reference key="object" ref="127597974"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">46</int>
+ <reference key="object" ref="29945816"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">48</int>
+ <reference key="object" ref="130723452"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">50</int>
+ <reference key="object" ref="897518079"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">58</int>
+ <reference key="object" ref="594279696"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">60</int>
+ <reference key="object" ref="118602716"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">69</int>
+ <reference key="object" ref="856767953"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-2.CustomClassName</string>
+ <string>10.IBPluginDependency</string>
+ <string>10.IBViewBoundsToFrameTransform</string>
+ <string>12.IBPluginDependency</string>
+ <string>12.IBViewBoundsToFrameTransform</string>
+ <string>14.IBPluginDependency</string>
+ <string>14.IBViewBoundsToFrameTransform</string>
+ <string>16.IBPluginDependency</string>
+ <string>16.IBViewBoundsToFrameTransform</string>
+ <string>18.IBPluginDependency</string>
+ <string>18.IBViewBoundsToFrameTransform</string>
+ <string>20.IBPluginDependency</string>
+ <string>20.IBViewBoundsToFrameTransform</string>
+ <string>22.IBPluginDependency</string>
+ <string>22.IBViewBoundsToFrameTransform</string>
+ <string>24.IBPluginDependency</string>
+ <string>24.IBViewBoundsToFrameTransform</string>
+ <string>26.IBPluginDependency</string>
+ <string>26.IBViewBoundsToFrameTransform</string>
+ <string>28.IBPluginDependency</string>
+ <string>28.IBViewBoundsToFrameTransform</string>
+ <string>30.IBPluginDependency</string>
+ <string>30.IBViewBoundsToFrameTransform</string>
+ <string>32.IBPluginDependency</string>
+ <string>32.IBViewBoundsToFrameTransform</string>
+ <string>34.IBPluginDependency</string>
+ <string>34.IBViewBoundsToFrameTransform</string>
+ <string>36.IBPluginDependency</string>
+ <string>36.IBViewBoundsToFrameTransform</string>
+ <string>38.IBPluginDependency</string>
+ <string>38.IBViewBoundsToFrameTransform</string>
+ <string>40.IBPluginDependency</string>
+ <string>40.IBViewBoundsToFrameTransform</string>
+ <string>42.IBPluginDependency</string>
+ <string>42.IBViewBoundsToFrameTransform</string>
+ <string>44.IBPluginDependency</string>
+ <string>44.IBViewBoundsToFrameTransform</string>
+ <string>46.IBPluginDependency</string>
+ <string>46.IBViewBoundsToFrameTransform</string>
+ <string>48.IBPluginDependency</string>
+ <string>48.IBViewBoundsToFrameTransform</string>
+ <string>50.IBPluginDependency</string>
+ <string>50.IBViewBoundsToFrameTransform</string>
+ <string>58.IBPluginDependency</string>
+ <string>58.IBViewBoundsToFrameTransform</string>
+ <string>6.IBEditorWindowLastContentRect</string>
+ <string>6.IBPluginDependency</string>
+ <string>60.IBPluginDependency</string>
+ <string>60.IBViewBoundsToFrameTransform</string>
+ <string>69.IBPluginDependency</string>
+ <string>69.IBViewBoundsToFrameTransform</string>
+ <string>8.IBPluginDependency</string>
+ <string>8.IBViewBoundsToFrameTransform</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>CalculatorViewController</string>
+ <string>UIResponder</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAwxEAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDJAAAwxEAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw0AAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAw0AAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDJAAAw0AAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw28AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAw28AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDJAAAw28AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAw48AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDbAAAwxEAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDbAAAw0AAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDbAAAw28AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDbAAAw48AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw50AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDTQAAw9AAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDJAAAw4WAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw48AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAw50AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDbAAAw7SAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDJAAAw7UAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDJAAAw50AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAw7UAAA</bytes>
+ </object>
+ <string>{{411, 286}, {320, 480}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw7UAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCuAAAw80AAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAwxEAAA</bytes>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">71</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">CalculatorBrain</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Classes/CalculatorBrain.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">CalculatorViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>digitPressed:</string>
+ <string>graphPressed</string>
+ <string>operationPressed:</string>
+ <string>solvePressed</string>
+ <string>variablePressed:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UIButton</string>
+ <string>id</string>
+ <string>UIButton</string>
+ <string>id</string>
+ <string>UIButton</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>digitPressed:</string>
+ <string>graphPressed</string>
+ <string>operationPressed:</string>
+ <string>solvePressed</string>
+ <string>variablePressed:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">digitPressed:</string>
+ <string key="candidateClassName">UIButton</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">graphPressed</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">operationPressed:</string>
+ <string key="candidateClassName">UIButton</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">solvePressed</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">variablePressed:</string>
+ <string key="candidateClassName">UIButton</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>brain</string>
+ <string>display</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>CalculatorBrain</string>
+ <string>UILabel</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>brain</string>
+ <string>display</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">brain</string>
+ <string key="candidateClassName">CalculatorBrain</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">display</string>
+ <string key="candidateClassName">UILabel</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Classes/CalculatorViewController.h</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="203920875">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIButton</string>
+ <string key="superclassName">UIControl</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIButton.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIControl</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIControl.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UILabel</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UILabel.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIResponder</string>
+ <string key="superclassName">NSObject</string>
+ <reference key="sourceIdentifier" ref="203920875"/>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UISearchBar</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UISearchDisplayController</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
+ <integer value="1056" key="NS.object.0"/>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <string key="IBDocument.LastKnownRelativeProjectPath">GraphingCalculator.xcodeproj</string>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">132</string>
+ </data>
+</archive>
27 Classes/AxesDrawer.h
@@ -0,0 +1,27 @@
+//
+// AxesDrawer.h
+//
+// Created for Stanford University CS193p Fall 2010.
+//
+
+#import <Foundation/Foundation.h>
+
+// AxesDrawer is a simple axis-drawing helper class.
+
+@interface AxesDrawer : NSObject
+
+// Draws an x axis and y axis in the specified bounds in the current context,
+// with its origin at the specified axisOrigin and scaled to the passed pointsPerUnit,
+//
+// The scale is the number of points (not pixels) per unit on the axis.
+// For example, if the size is 280 wide and the scale is 14, the x axis would go from -10 to +10.
+// If the size is 280 wide and the scale is 2, the x axis would go from -70 to +70.
+// The graph is also drawn so that it's origin is axisOrigin.
+//
+// Only marks whole numbers on an axis.
+//
+// Does not set any graphics state, so set the colors, linewidths, etc., you want before calling.
+
++ (void)drawAxesInRect:(CGRect)bounds originAtPoint:(CGPoint)axisOrigin scale:(CGFloat)pointsPerUnit;
+
+@end
162 Classes/AxesDrawer.m
@@ -0,0 +1,162 @@
+//
+// AxesDrawer.m
+//
+// Created for Stanford University CS193p Fall 2010.
+//
+
+#import "AxesDrawer.h"
+
+@implementation AxesDrawer
+
+#define ANCHOR_CENTER 0
+#define ANCHOR_TOP 1
+#define ANCHOR_LEFT 2
+#define ANCHOR_BOTTOM 3
+#define ANCHOR_RIGHT 4
+
+#define HASH_MARK_FONT_SIZE 12.0
+
+#define HORIZONTAL_TEXT_MARGIN 6
+#define VERTICAL_TEXT_MARGIN 3
+
++ (void)drawString:(NSString *)text atPoint:(CGPoint)location withAnchor:(int)anchor
+{
+ if ([text length])
+ {
+ UIFont *font = [UIFont systemFontOfSize:HASH_MARK_FONT_SIZE];
+
+ CGRect textRect;
+ textRect.size = [text sizeWithFont:font];
+ textRect.origin.x = location.x - textRect.size.width / 2;
+ textRect.origin.y = location.y - textRect.size.height / 2;
+
+ switch (anchor) {
+ case ANCHOR_TOP: textRect.origin.y += textRect.size.height / 2 + VERTICAL_TEXT_MARGIN; break;
+ case ANCHOR_LEFT: textRect.origin.x += textRect.size.width / 2+ HORIZONTAL_TEXT_MARGIN; break;
+ case ANCHOR_BOTTOM: textRect.origin.y -= textRect.size.height / 2 + VERTICAL_TEXT_MARGIN; break;
+ case ANCHOR_RIGHT: textRect.origin.x -= textRect.size.width / 2+ HORIZONTAL_TEXT_MARGIN; break;
+ }
+
+ [text drawInRect:textRect withFont:font];
+ }
+}
+
+#define HASH_MARK_SIZE 3
+#define MIN_PIXELS_PER_HASHMARK 25
+
++ (void)drawHashMarksInRect:(CGRect)bounds originAtPoint:(CGPoint)axisOrigin scale:(CGFloat)pointsPerUnit
+{
+ if (!pointsPerUnit) return;
+ if (((axisOrigin.x < bounds.origin.x) || (axisOrigin.x > bounds.origin.x+bounds.size.width)) &&
+ ((axisOrigin.y < bounds.origin.y) || (axisOrigin.y > bounds.origin.y+bounds.size.height))) {
+ return;
+ }
+
+ int unitsPerHashmark = MIN_PIXELS_PER_HASHMARK * 2 / pointsPerUnit;
+ if (!unitsPerHashmark) unitsPerHashmark = 1;
+ CGFloat pixelsPerHashmark = pointsPerUnit * unitsPerHashmark;
+
+ BOOL boundsContainsOrigin = CGRectContainsPoint(bounds, axisOrigin);
+ if (boundsContainsOrigin) {
+ if ((axisOrigin.x - pixelsPerHashmark < bounds.origin.x) &&
+ (axisOrigin.x + pixelsPerHashmark > bounds.origin.x + bounds.size.width) &&
+ (axisOrigin.y - pixelsPerHashmark < bounds.origin.y) &&
+ (axisOrigin.y + pixelsPerHashmark > bounds.origin.y + bounds.size.height)) {
+ return;
+ }
+ } else {
+ if ((axisOrigin.y >= bounds.origin.y) &&
+ (axisOrigin.y <= bounds.origin.y+bounds.size.height) &&
+ (bounds.size.width <= pixelsPerHashmark)) {
+ return;
+ }
+ if ((axisOrigin.x >= bounds.origin.x) &&
+ (axisOrigin.x <= bounds.origin.x+bounds.size.width) &&
+ (bounds.size.height <= pixelsPerHashmark)) {
+ return;
+ }
+ }
+
+ CGContextRef context = UIGraphicsGetCurrentContext();
+ CGContextBeginPath(context);
+
+
+ int started = NO;
+ int stillGoing = YES;
+
+ for (int offset = unitsPerHashmark; !started || stillGoing; offset += unitsPerHashmark)
+ {
+ NSString *positiveLabel = nil;
+ NSString *negativeLabel = nil;
+ BOOL drew = NO;
+ CGFloat scaledOffset = floor(offset * pointsPerUnit);
+ CGPoint hashMarkPoint;
+ hashMarkPoint.x = axisOrigin.x+scaledOffset;
+ hashMarkPoint.y = axisOrigin.y;
+ if (CGRectContainsPoint(bounds, hashMarkPoint)) {
+ CGContextMoveToPoint(context, hashMarkPoint.x, hashMarkPoint.y-HASH_MARK_SIZE);
+ CGContextAddLineToPoint(context, hashMarkPoint.x, hashMarkPoint.y+HASH_MARK_SIZE);
+ if (!positiveLabel) positiveLabel = [NSString stringWithFormat:@"%d", offset];
+ [self drawString:positiveLabel atPoint:hashMarkPoint withAnchor:ANCHOR_TOP];
+ drew = YES;
+ }
+ hashMarkPoint.x = axisOrigin.x-scaledOffset;
+ if (CGRectContainsPoint(bounds, hashMarkPoint)) {
+ CGContextMoveToPoint(context, hashMarkPoint.x, hashMarkPoint.y-HASH_MARK_SIZE);
+ CGContextAddLineToPoint(context, hashMarkPoint.x, hashMarkPoint.y+HASH_MARK_SIZE);
+ if (boundsContainsOrigin) negativeLabel = positiveLabel;
+ if (!negativeLabel) negativeLabel = [NSString stringWithFormat:@"%d", (boundsContainsOrigin ? offset : -offset)];
+ [self drawString:negativeLabel atPoint:hashMarkPoint withAnchor:ANCHOR_TOP];
+ drew = YES;
+ }
+ hashMarkPoint.x = axisOrigin.x;
+ hashMarkPoint.y = axisOrigin.y-scaledOffset;
+ if (CGRectContainsPoint(bounds, hashMarkPoint)) {
+ CGContextMoveToPoint(context, hashMarkPoint.x-HASH_MARK_SIZE, hashMarkPoint.y);
+ CGContextAddLineToPoint(context, hashMarkPoint.x+HASH_MARK_SIZE, hashMarkPoint.y);
+ if (!positiveLabel) {
+ if (boundsContainsOrigin) positiveLabel = negativeLabel;
+ if (!positiveLabel) positiveLabel = [NSString stringWithFormat:@"%d", offset];
+ }
+ [self drawString:positiveLabel atPoint:hashMarkPoint withAnchor:ANCHOR_LEFT];
+ drew = YES;
+ }
+ hashMarkPoint.y = axisOrigin.y+scaledOffset;
+ if (CGRectContainsPoint(bounds, hashMarkPoint)) {
+ CGContextMoveToPoint(context, hashMarkPoint.x-HASH_MARK_SIZE, hashMarkPoint.y);
+ CGContextAddLineToPoint(context, hashMarkPoint.x+HASH_MARK_SIZE, hashMarkPoint.y);
+ if (!negativeLabel) {
+ if (boundsContainsOrigin) negativeLabel = positiveLabel;
+ if (!negativeLabel) negativeLabel = [NSString stringWithFormat:@"%d", (boundsContainsOrigin ? offset : -offset)];
+ }
+ [self drawString:negativeLabel atPoint:hashMarkPoint withAnchor:ANCHOR_LEFT];
+ drew = YES;
+ }
+ positiveLabel = nil;
+ negativeLabel = nil;
+ if (drew) started = YES;
+ stillGoing = drew;
+ }
+
+ CGContextStrokePath(context);
+}
+
++ (void)drawAxesInRect:(CGRect)bounds originAtPoint:(CGPoint)axisOrigin scale:(CGFloat)pointsPerUnit
+{
+ CGContextRef context = UIGraphicsGetCurrentContext();
+
+ UIGraphicsPushContext(context);
+
+ CGContextBeginPath(context);
+ CGContextMoveToPoint(context, bounds.origin.x, axisOrigin.y);
+ CGContextAddLineToPoint(context, bounds.origin.x+bounds.size.width, axisOrigin.y);
+ CGContextMoveToPoint(context, axisOrigin.x, bounds.origin.y);
+ CGContextAddLineToPoint(context, axisOrigin.x, bounds.origin.y+bounds.size.height);
+ CGContextStrokePath(context);
+
+ [self drawHashMarksInRect:bounds originAtPoint:axisOrigin scale:pointsPerUnit];
+
+ UIGraphicsPopContext();
+}
+
+@end
37 Classes/CalculatorBrain.h
@@ -0,0 +1,37 @@
+//
+// CalculatorBrain.h
+// Calculator
+//
+// Created by Ezra Spier on 11/27/10.
+// Copyright 2010 __MyCompanyName__. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+
+@interface CalculatorBrain : NSObject {
+ double operand;
+ NSString *waitingOperation;
+ double waitingOperand;
+ double memoryOperand;
+ NSMutableArray * internalExpression;
+}
+
+@property double operand;
+
+- (void)setOperand:(double)aDouble;
+- (void)setVariableAsOperand:(NSString *)variableName;
+- (double)performOperation:(NSString *)operation;
+
+@property (readonly) id expression;
+
++ (double)evaluateExpression:(id)anExpression
+ usingVariableValues:(NSDictionary *)variables;
+
++ (NSSet *)variablesInExpression:(id)anExpression;
++ (NSString *)descriptionOfExpression:(id)anExpression;
+
++ (id)propertyListForExpression:(id)anExpression;
++ (id)expressionForPropertyList:(id)propertyList;
+
+@end
191 Classes/CalculatorBrain.m
@@ -0,0 +1,191 @@
+//
+// CalculatorBrain.m
+// Calculator
+//
+// Created by Ezra Spier on 11/27/10.
+// Copyright 2010 __MyCompanyName__. All rights reserved.
+//
+
+#import "CalculatorBrain.h"
+
+#define VARIABLE_PREFIX @"%"
+
+@implementation CalculatorBrain
+
+@synthesize operand;
+
+- (void)addObjectToInternalExpression:(id)expressionComponent {
+ if (!internalExpression) {
+ internalExpression = [[NSMutableArray alloc] init];
+ }
+
+ //NSLog(@"Object added to Internal Expression: %@ \t", expressionComponent);
+ //NSLog(@"IE: %@", internalExpression);
+ [internalExpression addObject:expressionComponent];
+}
+
+- (void)setOperand:(double)aDouble {
+ [self addObjectToInternalExpression:[NSNumber numberWithDouble:aDouble]];
+ operand = aDouble;
+}
+
+- (void)setVariableAsOperand:(NSString *)variableName {
+ NSString * variablePrefix = VARIABLE_PREFIX;
+ NSString * variable = [variablePrefix stringByAppendingString:variableName];
+ [self addObjectToInternalExpression:variable];
+}
+
+- (void)performWaitingOperation {
+ if ([@"+" isEqual:waitingOperation]) {
+ operand = waitingOperand + operand;
+ } else if ([@"*" isEqual:waitingOperation]) {
+ operand = waitingOperand * operand;
+ } else if ([@"-" isEqual:waitingOperation]) {
+ operand = waitingOperand - operand;
+ } else if ([@"/" isEqual:waitingOperation]) {
+ if (operand) {
+ operand = waitingOperand / operand;
+ }
+ }
+}
+
+- (double)performOperation:(NSString *)operation {
+ [self addObjectToInternalExpression:operation];
+ if ([operation isEqual:@"sqrt"]) {
+ operand = sqrt(operand);
+ } else if ([operation isEqual:@"sin"]) {
+ operand = sin(operand);
+ } else if ([operation isEqual:@"cos"]) {
+ operand = cos(operand);
+ } else if ([@"+/-" isEqual:operation]) {
+ operand = - operand;
+ } else if ([operation isEqual:@"1/x"]) {
+ if (operand) {
+ operand = 1 / operand;
+ }
+ } else if ([operation isEqual:@"M"]) {
+ memoryOperand = operand;
+ } else if ([operation isEqual:@"MR"]) {
+ operand = memoryOperand;
+ } else if ([operation isEqual:@"M+"]) {
+ memoryOperand += operand;
+ } else if ([operation isEqual:@"C"]) {
+ operand = 0;
+ [waitingOperation release];
+ waitingOperation = nil;
+ waitingOperand = 0;
+ memoryOperand = 0;
+ [internalExpression removeAllObjects];
+ } else {
+ [self performWaitingOperation];
+ [waitingOperation release];
+ waitingOperation = operation;
+ [waitingOperation retain];
+ waitingOperand = operand;
+ }
+
+ return operand;
+}
+
+- (id)expression {
+ return [[internalExpression copy] autorelease];
+}
+
+#pragma mark helperMethods
++ (BOOL)stringIsVariable:(NSString *)aString {
+ BOOL isVariable = NO;
+ NSString * variablePrefix = VARIABLE_PREFIX;
+
+ if ([aString hasPrefix:variablePrefix]) {
+ isVariable = YES;
+ }
+
+ return isVariable;
+}
+
++ (NSString *)stringByStrippingVariablePrefix:(NSString *)aString {
+ NSString * variablePrefix = VARIABLE_PREFIX;
+ return [aString substringFromIndex:[variablePrefix length]];
+}
+
+#pragma mark Class Methods
+
++ (double)evaluateExpression:(id)anExpression usingVariableValues:(NSDictionary *)variables {
+ CalculatorBrain * workerBrain = [[CalculatorBrain alloc] init];
+
+ for (id expressionComponent in anExpression) {
+ if ([expressionComponent isKindOfClass:[NSNumber class]]) {
+ workerBrain.operand = [expressionComponent doubleValue];
+ } else if ([expressionComponent isKindOfClass:[NSString class]]) {
+
+ if ([CalculatorBrain stringIsVariable:expressionComponent]) {
+ NSString * variable = [CalculatorBrain stringByStrippingVariablePrefix:expressionComponent];
+ double variableValue = [[variables objectForKey:variable] doubleValue];
+ workerBrain.operand = variableValue;
+ } else {
+ [workerBrain performOperation:expressionComponent];
+ }
+ }
+ }
+ double result = workerBrain.operand;
+ [workerBrain release];
+ return result;
+}
+
++ (NSSet *)variablesInExpression:(id)anExpression {
+ NSMutableSet * variableSet = [[NSMutableSet alloc] init];
+
+ for (id expressionComponent in anExpression) {
+ if ([expressionComponent isKindOfClass:[NSString class]] && [CalculatorBrain stringIsVariable:expressionComponent]) {
+ NSString * variable = [CalculatorBrain stringByStrippingVariablePrefix:expressionComponent];
+ if (![variableSet member:variable]) {
+ [variableSet addObject:variable];
+ }
+ }
+ }
+
+ if ([variableSet count] == 0) {
+ [variableSet release];
+ variableSet = nil;
+ } else {
+ [variableSet autorelease];
+ }
+
+ return variableSet;
+}
+
++ (NSString *)descriptionOfExpression:(id)anExpression {
+ NSMutableString * description = [[NSMutableString alloc] init];
+
+ for (id expressionComponent in anExpression) {
+ if ([expressionComponent isKindOfClass:[NSNumber class]]) {
+ [description appendString:[expressionComponent stringValue]];
+ } else if ([expressionComponent isKindOfClass:[NSString class]]) {
+ if ([CalculatorBrain stringIsVariable:expressionComponent]) {
+ [description appendString:[CalculatorBrain stringByStrippingVariablePrefix:expressionComponent]];
+ } else {
+ [description appendString:expressionComponent];
+ }
+
+ }
+ [description appendString:@" "];
+ }
+ return [description autorelease];
+}
+
++ (id)propertyListForExpression:(id)anExpression {
+ return [[anExpression copy] autorelease];
+}
+
++ (id)expressionForPropertyList:(id)propertyList {
+ return [[propertyList copy] autorelease];
+}
+
+
+- (void) dealloc {
+ [waitingOperation release];
+ [internalExpression release];
+ [super dealloc];
+}
+
+@end
27 Classes/CalculatorViewController.h
@@ -0,0 +1,27 @@
+//
+// CalculatorViewController.h
+// Calculator
+//
+// Created by Ezra Spier on 11/27/10.
+// Copyright 2010 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "CalculatorBrain.h"
+#import "GraphViewController.h"
+
+@interface CalculatorViewController : UIViewController {
+ IBOutlet UILabel* display;
+ IBOutlet CalculatorBrain* brain;
+ BOOL userIsInTheMiddleOfTypingANumber;
+ GraphViewController * graphViewController;
+}
+
+@property (retain) GraphViewController* graphViewController;
+
+- (IBAction)digitPressed:(UIButton *)sender;
+- (IBAction)operationPressed:(UIButton *)sender;
+- (IBAction)variablePressed:(UIButton *)sender;
+- (IBAction)solvePressed;
+- (IBAction)graphPressed;
+@end
155 Classes/CalculatorViewController.m
@@ -0,0 +1,155 @@
+//
+// CalculatorViewController.m
+// Calculator
+//
+// Created by Ezra Spier on 11/27/10.
+// Copyright 2010 __MyCompanyName__. All rights reserved.
+//
+
+#import "CalculatorViewController.h"
+
+@interface CalculatorViewController()
+