Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better About screen

  • Loading branch information...
commit 32ffd3b9fef73d3932b83a503917a1ccd06bc135 1 parent b9cabeb
Romain Goyet authored
View
1  Classes/MVLCAboutViewController.h
@@ -13,4 +13,5 @@
}
@property (nonatomic, retain) IBOutlet UIWebView * webView;
- (IBAction)dismiss:(id)sender;
+- (IBAction)visitApplidium:(id)sender;
@end
View
14 Classes/MVLCAboutViewController.m
@@ -44,12 +44,22 @@ - (void)dealloc {
[super dealloc];
}
+#pragma mark -
+#pragma mark UIViewController
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
+ return YES;
+}
+
+#pragma mark -
+#pragma mark Actions
- (IBAction)dismiss:(id)sender {
[self.navigationController popViewControllerAnimated:YES];
}
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- return YES;
+- (IBAction)visitApplidium:(id)sender {
+ // Shameless advertising :-p
+ // Honestly, we spent a *lot* of time working on this, we think we deserve this little link :-)
+ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://applidium.com"]];
}
@end
View
4 MobileVLC.xcodeproj/project.pbxproj
@@ -84,6 +84,7 @@
7AF667DA11E61BA300BC5F19 /* MVLCIcon.png in Resources */ = {isa = PBXBuildFile; fileRef = 7AF667D911E61BA300BC5F19 /* MVLCIcon.png */; };
7AF81730122E651400DAE803 /* MLFile+HD.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AF8172F122E651400DAE803 /* MLFile+HD.m */; };
7AF81764122E697300DAE803 /* MVLCMovieGridViewCellHDBanner.png in Resources */ = {isa = PBXBuildFile; fileRef = 7AF81763122E697300DAE803 /* MVLCMovieGridViewCellHDBanner.png */; };
+ 7AF8177B122E6D2200DAE803 /* MVLCAboutApplidiumLink.png in Resources */ = {isa = PBXBuildFile; fileRef = 7AF8177A122E6D2200DAE803 /* MVLCAboutApplidiumLink.png */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -207,6 +208,7 @@
7AF8172E122E651400DAE803 /* MLFile+HD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MLFile+HD.h"; sourceTree = "<group>"; };
7AF8172F122E651400DAE803 /* MLFile+HD.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MLFile+HD.m"; sourceTree = "<group>"; };
7AF81763122E697300DAE803 /* MVLCMovieGridViewCellHDBanner.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = MVLCMovieGridViewCellHDBanner.png; path = Resources/MVLCMovieGridViewCellHDBanner.png; sourceTree = "<group>"; };
+ 7AF8177A122E6D2200DAE803 /* MVLCAboutApplidiumLink.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = MVLCAboutApplidiumLink.png; path = Resources/MVLCAboutApplidiumLink.png; sourceTree = "<group>"; };
8D1107310486CEB800E47090 /* MobileVLC-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "MobileVLC-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -535,6 +537,7 @@
isa = PBXGroup;
children = (
7AB24CE9121598980078E739 /* MVLCAboutIcon.png */,
+ 7AF8177A122E6D2200DAE803 /* MVLCAboutApplidiumLink.png */,
);
name = About;
sourceTree = "<group>";
@@ -650,6 +653,7 @@
7A79E099122C122200845971 /* MVLCNoMediaView.xib in Resources */,
7A79E09C122C127500845971 /* MVLCNoMediaImage.png in Resources */,
7AF81764122E697300DAE803 /* MVLCMovieGridViewCellHDBanner.png in Resources */,
+ 7AF8177B122E6D2200DAE803 /* MVLCAboutApplidiumLink.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
BIN  Resources/MVLCAboutApplidiumLink.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
126 Resources/MVLCAboutView.xib
@@ -69,13 +69,41 @@
<string key="NSResourceName">MVLCAboutIcon.png</string>
</object>
</object>
+ <object class="IBUIButton" id="33549761">
+ <reference key="NSNextResponder" ref="766721923"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{20, 618}, {171, 66}}</string>
+ <reference key="NSSuperview" ref="766721923"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</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>
+ <object class="NSColor" key="IBUIHighlightedTitleColor" id="705339968">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <object class="NSColor" key="IBUINormalTitleShadowColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC41AA</bytes>
+ </object>
+ <object class="NSCustomResource" key="IBUINormalImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">MVLCAboutApplidiumLink.png</string>
+ </object>
+ </object>
</object>
<string key="NSFrameSize">{1024, 704}</string>
<reference key="NSSuperview"/>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- </object>
+ <reference key="IBUIBackgroundColor" ref="705339968"/>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
<int key="IBUIStatusBarStyle">2</int>
@@ -108,6 +136,15 @@
</object>
<int key="connectionID">12</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">visitApplidium:</string>
+ <reference key="source" ref="33549761"/>
+ <reference key="destination" ref="841351856"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">15</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -136,6 +173,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="715020963"/>
<reference ref="789273090"/>
+ <reference ref="33549761"/>
</object>
<reference key="parent" ref="0"/>
</object>
@@ -149,6 +187,11 @@
<reference key="object" ref="789273090"/>
<reference key="parent" ref="766721923"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">14</int>
+ <reference key="object" ref="33549761"/>
+ <reference key="parent" ref="766721923"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -158,6 +201,7 @@
<string>-1.CustomClassName</string>
<string>-2.CustomClassName</string>
<string>13.IBPluginDependency</string>
+ <string>14.IBPluginDependency</string>
<string>2.IBEditorWindowLastContentRect</string>
<string>2.IBPluginDependency</string>
<string>9.IBPluginDependency</string>
@@ -167,7 +211,8 @@
<string>MVLCAboutViewController</string>
<string>UIResponder</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>{{905, 230}, {1024, 768}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>{{582, 213}, {1024, 768}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
@@ -188,7 +233,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">13</int>
+ <int key="maxID">15</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -197,14 +242,35 @@
<string key="className">MVLCAboutViewController</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="actions">
- <string key="NS.key.0">dismiss:</string>
- <string key="NS.object.0">id</string>
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>dismiss:</string>
+ <string>visitApplidium:</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">
- <string key="NS.key.0">dismiss:</string>
- <object class="IBActionInfo" key="NS.object.0">
- <string key="name">dismiss:</string>
- <string key="candidateClassName">id</string>
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>dismiss:</string>
+ <string>visitApplidium:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">dismiss:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">visitApplidium:</string>
+ <string key="candidateClassName">id</string>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -367,6 +433,22 @@
</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">UIImageView</string>
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -414,6 +496,13 @@
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">MediaPlayer.framework/Headers/MPMoviePlayerViewController.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>
@@ -470,8 +559,17 @@
<string key="IBDocument.LastKnownRelativeProjectPath">../MobileVLC.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
- <string key="NS.key.0">MVLCAboutIcon.png</string>
- <string key="NS.object.0">{360, 670}</string>
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>MVLCAboutApplidiumLink.png</string>
+ <string>MVLCAboutIcon.png</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>{171, 66}</string>
+ <string>{360, 670}</string>
+ </object>
</object>
<string key="IBCocoaTouchPluginVersion">117</string>
</data>
Please sign in to comment.
Something went wrong with that request. Please try again.