Permalink
Browse files

Minor fix to tweet options

  • Loading branch information...
1 parent 990c3d3 commit 04cf2d17418cbaba2eb125c1d4bcd43ce7063256 @teleportaloo committed Aug 25, 2012
View
@@ -187,7 +187,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Change log
----------
-### Version 6.3 (July 2012)
+### Version 6.3.5 (August 2012)
* Added QR code reader
* Added new higher resolution rail map with no zones and new PSU stations
* Added Twitter integration
View
Binary file not shown.
@@ -39,7 +39,7 @@
-#define kMaxTweetButtons 4
+#define kMaxTweetButtons 5
@class UITextField;
@@ -109,7 +109,8 @@
#define kTweetButtonList 1
#define kTweetButtonTweet 2
#define kTweetButtonApp 3
-#define kTweetButtonCancel 4
+#define kTweetButtonWeb 4
+#define kTweetButtonCancel 5
static NSString *callString = @"tel:1-503-238-RIDE";
@@ -208,8 +209,10 @@ - (void) tweet
_tweetButtons[ [sheet addButtonWithTitle:@"Show in Twitter app"] ] = kTweetButtonApp;
}
+ _tweetButtons[ [sheet addButtonWithTitle:@"Show in Safari"] ] = kTweetButtonWeb;
- _tweetButtons[[sheet addButtonWithTitle:@"Recent tweets"] ] = kTweetButtonList;
+
+ // _tweetButtons[[sheet addButtonWithTitle:@"Recent tweets"] ] = kTweetButtonList;
sheet.cancelButtonIndex = [sheet addButtonWithTitle:@"Cancel"];
_tweetButtons[sheet.cancelButtonIndex ] = kTweetButtonCancel;
@@ -2169,6 +2172,14 @@ - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger
}
break;
}
+ case kTweetButtonWeb:
+ {
+ NSString *twitter=[NSString stringWithFormat:@"https://mobile.twitter.com/%@", self.tweetAt];
+ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:twitter]];
+ [self clearSelection];
+ break;
+ }
+
case kTweetButtonCancel:
{
[self clearSelection];
View
@@ -46,9 +46,9 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>6.3.4</string>
+ <string>6.3.5</string>
<key>CFBundleShortVersionString</key>
- <string>6.3.4</string>
+ <string>6.3.5</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
@@ -659,7 +659,7 @@
A1C79D7F11FD24BC00B31CE7 /* This Folder Creative Commons.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = "This Folder Creative Commons.html"; path = "Glyphish/This Folder Creative Commons.html"; sourceTree = "<group>"; };
A1C79D8311FD261700B31CE7 /* This Folder Creative Commons.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = "This Folder Creative Commons.html"; path = "RobAlan/This Folder Creative Commons.html"; sourceTree = "<group>"; };
A1C79D9111FD276D00B31CE7 /* This Folder from TriMet.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = "This Folder from TriMet.html"; path = "TriMet/This Folder from TriMet.html"; sourceTree = "<group>"; };
- A1C79DAA11FD2BD900B31CE7 /* This Folder GPL.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = "This Folder GPL.html"; path = "PDX Bus/This Folder GPL.html"; sourceTree = "<group>"; };
+ A1C79DAA11FD2BD900B31CE7 /* This Folder Creative Commons.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = "This Folder Creative Commons.html"; path = "PDX Bus/This Folder Creative Commons.html"; sourceTree = "<group>"; };
A1C7F24B15B51AB3001FCD6C /* beep-beep.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = "beep-beep.aiff"; path = "ZXing Resources/beep-beep.aiff"; sourceTree = "<group>"; };
A1C90797112FB16900100030 /* BackgroundTaskProgress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BackgroundTaskProgress.h; sourceTree = "<group>"; };
A1C907AF112FC56200100030 /* ProgressModalView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProgressModalView.h; sourceTree = "<group>"; };
@@ -1514,7 +1514,7 @@
A1F1518D1183A75100121292 /* PDX Bus */ = {
isa = PBXGroup;
children = (
- A1C79DAA11FD2BD900B31CE7 /* This Folder GPL.html */,
+ A1C79DAA11FD2BD900B31CE7 /* This Folder Creative Commons.html */,
A18E893F12904704002FEB6B /* RailStations@2x.png */,
A100B3071268095B00BAA288 /* RailStations.png */,
A1B794FF1183B9480047F83C /* wiki.png */,
@@ -1,32 +0,0 @@
-<HTML>
-<head>
-<title>PDX Bus Graphics</title>
-<BODY>
-
-<h1>PDX Bus Graphics</h1>
-The graphics files in this folder are from the author of PDX Bus and are used under a
-GPL2.0 license.
-
-<br>
-
-<pre>
-Copyright (C) 2008-2010 Andrew Wallace
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-</pre>
-
-
-</BODY>
-</HTML>

0 comments on commit 04cf2d1

Please sign in to comment.