Skip to content

Commit

Permalink
Updating about text.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakuda committed Jul 18, 2012
1 parent 4de1dfa commit 2dc1231
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
1 change: 1 addition & 0 deletions HI Capacity/AboutViewController.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@


@interface AboutViewController : UIViewController @interface AboutViewController : UIViewController
@property (weak, nonatomic) IBOutlet MKMapView *mapView; @property (weak, nonatomic) IBOutlet MKMapView *mapView;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
- (IBAction)mapButtonClicked:(id)sender; - (IBAction)mapButtonClicked:(id)sender;


@end @end
4 changes: 4 additions & 0 deletions HI Capacity/AboutViewController.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ @interface AboutViewController ()


@implementation AboutViewController @implementation AboutViewController
@synthesize mapView; @synthesize mapView;
@synthesize scrollView;


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{ {
Expand All @@ -34,11 +35,14 @@ - (void)viewDidLoad
UIImage *image = [UIImage imageNamed: @"logo"]; UIImage *image = [UIImage imageNamed: @"logo"];
UIImageView *imageView = [[UIImageView alloc] initWithImage: image]; UIImageView *imageView = [[UIImageView alloc] initWithImage: image];
self.navigationItem.titleView = imageView; self.navigationItem.titleView = imageView;

[[self scrollView] setContentSize:CGSizeMake(320, 515)];
} }


- (void)viewDidUnload - (void)viewDidUnload
{ {
[self setMapView:nil]; [self setMapView:nil];
[self setScrollView:nil];
[super viewDidUnload]; [super viewDidUnload];
// Release any retained subviews of the main view. // Release any retained subviews of the main view.
} }
Expand Down
18 changes: 11 additions & 7 deletions HI Capacity/en.lproj/MainStoryboard_iPhone.storyboard
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="1.1" toolsVersion="2182" systemVersion="11E2620" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="QZU-Qr-WJA"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="1.1" toolsVersion="2182" systemVersion="11E53" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="QZU-Qr-WJA">
<dependencies> <dependencies>
<deployment defaultVersion="1296" identifier="iOS"/> <deployment defaultVersion="1296" identifier="iOS"/>
<development defaultVersion="4200" identifier="xcode"/> <development defaultVersion="4200" identifier="xcode"/>
Expand Down Expand Up @@ -35,15 +35,17 @@
<rect key="frame" x="0.0" y="-5" width="320" height="372"/> <rect key="frame" x="0.0" y="-5" width="320" height="372"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews> <subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" id="Peo-Os-jG4"> <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" id="Peo-Os-jG4">
<rect key="frame" x="0.0" y="146" width="320" height="244"/> <rect key="frame" x="0.0" y="146" width="320" height="368"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<string key="text">HI Capacity started in January of 2011 when a handful of people had a desire to make Honolulu's first makerspace a reality. HI Capacity met at coffee shops on Saturdays and held public events. As more members joined there was a need for a permanent home. In October of 2011 the dream of having a dedicated space became one step closer. The Box Jelly graciously allowed HI Capacity to share their space and finally have a location. In July of 2012 HI Capacity will re-open again in their own space. Exciting times are ahead.</string> <mutableString key="text">HI Capacity started in January of 2011 when a handful of people had a desire to make Honolulu's first makerspace a reality. HI Capacity met at coffee shops on Saturdays and held public events. As more members joined there was a need for a permanent home. In October of 2011 the dream of having a dedicated space became one step closer. The Box Jelly graciously allowed HI Capacity to share their space and finally have a location.

With HI Capacity continuing to grow, the shared space was quickly outgrown. Partnering with The Box Jelly once again HI Capacity re-opened its doors in mid-2012 in its own dedicated space adjoining The Box Jelly. With this exciting development HI Capacity will continue to grow. Even though people will come and go, the original goals from the founders will not change. Check back to see where HI Capacity ends up!</mutableString>
<fontDescription key="fontDescription" type="system" pointSize="14"/> <fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView> </textView>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="307c Kamani Street" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" id="qLH-LN-7lP"> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="307a Kamani Street" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" id="qLH-LN-7lP">
<rect key="frame" x="7" y="106" width="157" height="21"/> <rect key="frame" x="7" y="106" width="157" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="HelveticaNeue-Medium" family="Helvetica Neue" pointSize="15"/> <fontDescription key="fontDescription" name="HelveticaNeue-Medium" family="Helvetica Neue" pointSize="15"/>
Expand Down Expand Up @@ -73,7 +75,7 @@
</connections> </connections>
</button> </button>
<imageView userInteractionEnabled="NO" contentMode="top" image="line.png" id="8gS-Ys-u5Y"> <imageView userInteractionEnabled="NO" contentMode="top" image="line.png" id="8gS-Ys-u5Y">
<rect key="frame" x="0.0" y="147" width="320" height="9"/> <rect key="frame" x="0.0" y="144" width="320" height="9"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView> </imageView>
<mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="standard" id="2fw-O5-MdH"> <mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="standard" id="2fw-O5-MdH">
Expand All @@ -88,6 +90,7 @@
<navigationItem key="navigationItem" id="iAg-39-Eh2"/> <navigationItem key="navigationItem" id="iAg-39-Eh2"/>
<connections> <connections>
<outlet property="mapView" destination="2fw-O5-MdH" id="Si0-VU-Zog"/> <outlet property="mapView" destination="2fw-O5-MdH" id="Si0-VU-Zog"/>
<outlet property="scrollView" destination="fjU-YR-FPC" id="Euq-rp-OdB"/>
</connections> </connections>
</viewController> </viewController>
</objects> </objects>
Expand Down Expand Up @@ -314,7 +317,7 @@
</scene> </scene>
</scenes> </scenes>
<resources> <resources>
<image name="calendar.png" width="32" height="32"/> <image name="calendar.png" width="27" height="27"/>
<image name="info.png" width="27" height="27"/> <image name="info.png" width="27" height="27"/>
<image name="line.png" width="320" height="2"/> <image name="line.png" width="320" height="2"/>
<image name="pin_map.png" width="24" height="24"/> <image name="pin_map.png" width="24" height="24"/>
Expand All @@ -326,6 +329,7 @@
<relationships> <relationships>
<relationship kind="action" name="mapButtonClicked:"/> <relationship kind="action" name="mapButtonClicked:"/>
<relationship kind="outlet" name="mapView" candidateClass="MKMapView"/> <relationship kind="outlet" name="mapView" candidateClass="MKMapView"/>
<relationship kind="outlet" name="scrollView" candidateClass="UIScrollView"/>
</relationships> </relationships>
</class> </class>
<class className="CalendarViewController" superclassName="TKCalendarMonthTableViewController"> <class className="CalendarViewController" superclassName="TKCalendarMonthTableViewController">
Expand Down

0 comments on commit 2dc1231

Please sign in to comment.