Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
samvermette committed Apr 17, 2011
1 parent affc528 commit 9babefe
Show file tree
Hide file tree
Showing 65 changed files with 1,392 additions and 3,325 deletions.
6 changes: 3 additions & 3 deletions Demo/Classes/AppDelegate.h
@@ -1,9 +1,9 @@
//
// SVShareViewControllerAppDelegate.h
// SVShareViewController
// SVShareViewController Demo Project
// AppDelegate.h
//
// Created by Sam Vermette on 16.04.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
// Copyright 2011 Sam Vermette. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
6 changes: 3 additions & 3 deletions Demo/Classes/AppDelegate.m
@@ -1,9 +1,9 @@
//
// SVShareViewControllerAppDelegate.m
// SVShareViewController
// SVShareViewController Demo Project
// AppDelegate.m
//
// Created by Sam Vermette on 16.04.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
// Copyright 2011 Sam Vermette. All rights reserved.
//

#import "AppDelegate.h"
Expand Down
6 changes: 3 additions & 3 deletions Demo/Classes/ViewController.h
@@ -1,9 +1,9 @@
//
// SVShareViewControllerViewController.h
// SVShareViewController
// SVShareViewController Demo Project
// ViewController.h
//
// Created by Sam Vermette on 16.04.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
// Copyright 2011 Sam Vermette. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
10 changes: 5 additions & 5 deletions Demo/Classes/ViewController.m
@@ -1,9 +1,9 @@
//
// SVShareViewControllerViewController.m
// SVShareViewController
// SVShareViewController Demo Project
// ViewController.m
//
// Created by Sam Vermette on 16.04.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
// Copyright 2011 Sam Vermette. All rights reserved.
//

#import "ViewController.h"
Expand All @@ -17,7 +17,7 @@ - (void)shareOnFacebook {
SVShareViewController *fbViewController = [[SVShareViewController alloc] initWithShareType:SVShareTypeFacebook];
fbViewController.delegate = self;
fbViewController.userString = @"John Smith";
fbViewController.defaultMessage = @"User the .defaultMessage property to prefill this field with a stock message.";
fbViewController.defaultMessage = @"Lorizzle boofron amizzle, tellivizzle adipiscing you son of a bizzle.";

[self presentModalViewController:fbViewController animated:YES];
[fbViewController release];
Expand All @@ -28,7 +28,7 @@ - (void)shareOnTwitter {
SVShareViewController *twViewController = [[SVShareViewController alloc] initWithShareType:SVShareTypeTwitter];
twViewController.delegate = self;
twViewController.userString = @"@johnsmith";
twViewController.defaultMessage = @"User the .defaultMessage property to prefill this field with a stock message.";
twViewController.defaultMessage = @"Lorizzle boofron amizzle, tellivizzle adipiscing you son of a bizzle.";

[self presentModalViewController:twViewController animated:YES];
[twViewController release];
Expand Down
16 changes: 15 additions & 1 deletion Demo/ViewController.xib → Demo/Classes/ViewController.xib
Expand Up @@ -347,6 +347,20 @@
<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">QuartzCore.framework/Headers/CAAnimation.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">QuartzCore.framework/Headers/CALayer.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
Expand Down Expand Up @@ -476,7 +490,7 @@
<integer value="3100" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">SVShare.xcodeproj</string>
<string key="IBDocument.LastKnownRelativeProjectPath">../SVShare.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">141</string>
</data>
Expand Down
50 changes: 48 additions & 2 deletions Demo/MainWindow.xib
Expand Up @@ -110,7 +110,7 @@
<int key="objectID">3</int>
<reference key="object" ref="664661524"/>
<reference key="parent" ref="0"/>
<string key="objectName">SVShareViewController App Delegate</string>
<string key="objectName">SVShare App Delegate</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
Expand Down Expand Up @@ -236,6 +236,38 @@
<object class="IBPartialClassDescription">
<string key="className">ViewController</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>shareOnFacebook</string>
<string>shareOnTwitter</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</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>shareOnFacebook</string>
<string>shareOnTwitter</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBActionInfo">
<string key="name">shareOnFacebook</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">shareOnTwitter</string>
<string key="candidateClassName">id</string>
</object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/ViewController.h</string>
Expand Down Expand Up @@ -322,6 +354,20 @@
<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">QuartzCore.framework/Headers/CAAnimation.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">QuartzCore.framework/Headers/CALayer.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
Expand Down Expand Up @@ -451,7 +497,7 @@
<integer value="3100" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">SVShareViewController.xcodeproj</string>
<string key="IBDocument.LastKnownRelativeProjectPath">SVShare.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">141</string>
</data>
Expand Down

0 comments on commit 9babefe

Please sign in to comment.