├── CBZSplashView ├── CBZSplashView │ ├── Structs.cs │ ├── CBZSplashView.a │ ├── packages.config │ ├── CBZSplashView.linkwith.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── ApiDefinition.cs │ └── CBZSplashView.csproj ├── Example │ ├── Assets.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Resources │ │ └── snapchatIcon.png │ ├── packages.config │ ├── Entitlements.plist │ ├── Main.cs │ ├── ViewController.designer.cs │ ├── ViewController.cs │ ├── Info.plist │ ├── LaunchScreen.storyboard │ ├── Main.storyboard │ ├── AppDelegate.cs │ └── Example.csproj └── CBZSplashView.sln ├── CBZLogo.png ├── twitter-gif.gif ├── LICENSE ├── README.md └── .gitignore /CBZSplashView/CBZSplashView/Structs.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CBZLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuavePirate/ExpandingSplashView/HEAD/CBZLogo.png -------------------------------------------------------------------------------- /twitter-gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuavePirate/ExpandingSplashView/HEAD/twitter-gif.gif -------------------------------------------------------------------------------- /CBZSplashView/Example/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView/CBZSplashView.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuavePirate/ExpandingSplashView/HEAD/CBZSplashView/CBZSplashView/CBZSplashView.a -------------------------------------------------------------------------------- /CBZSplashView/Example/Resources/snapchatIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuavePirate/ExpandingSplashView/HEAD/CBZSplashView/Example/Resources/snapchatIcon.png -------------------------------------------------------------------------------- /CBZSplashView/Example/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CBZSplashView/Example/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /CBZSplashView/Example/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace Example 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /CBZSplashView/Example/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace Example 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView/CBZSplashView.linkwith.cs: -------------------------------------------------------------------------------- 1 | // WARNING: This feature is deprecated. Use the "Native References" folder instead. 2 | // Right-click on the "Native References" folder, select "Add Native Reference", 3 | // and then select the static library or framework that you'd like to bind. 4 | // 5 | // Once you've added your static library or framework, right-click the library or 6 | // framework and select "Properties" to change the LinkWith values. 7 | 8 | using ObjCRuntime; 9 | 10 | [assembly: LinkWith ("CBZSplashView.a", SmartLink = true, ForceLoad = true)] 11 | -------------------------------------------------------------------------------- /CBZSplashView/Example/ViewController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using UIKit; 4 | using CBZSplashView; 5 | 6 | namespace Example 7 | { 8 | public partial class ViewController : UIViewController 9 | { 10 | private CBZSplashView.CBZSplashView _splashView; 11 | protected ViewController(IntPtr handle) : base(handle) 12 | { 13 | // Note: this .ctor should not contain any initialization logic. 14 | } 15 | 16 | public override void ViewDidLoad() 17 | { 18 | base.ViewDidLoad(); 19 | 20 | var icon = UIImage.FromFile("snapchatIcon.png"); 21 | 22 | _splashView = new CBZSplashView.CBZRasterSplashView(icon, UIColor.Yellow); 23 | 24 | View.Add(_splashView); 25 | 26 | } 27 | 28 | public override void ViewDidAppear(bool animated) 29 | { 30 | base.ViewDidAppear(animated); 31 | 32 | if (_splashView != null) 33 | _splashView.StartAnimation(); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Alex Dunn 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /CBZSplashView/Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleName 6 | Example 7 | CFBundleIdentifier 8 | com.suavepirate.Example 9 | CFBundleShortVersionString 10 | 1.0 11 | CFBundleVersion 12 | 1.0 13 | LSRequiresIPhoneOS 14 | 15 | MinimumOSVersion 16 | 11.0 17 | UIDeviceFamily 18 | 19 | 1 20 | 2 21 | 22 | UILaunchStoryboardName 23 | LaunchScreen 24 | UIMainStoryboardFile 25 | Main 26 | UIRequiredDeviceCapabilities 27 | 28 | armv7 29 | 30 | UISupportedInterfaceOrientations 31 | 32 | UIInterfaceOrientationPortrait 33 | UIInterfaceOrientationPortraitUpsideDown 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | XSAppIconAssets 38 | Assets.xcassets/AppIcon.appiconset 39 | 40 | 41 | -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | using Foundation; 5 | 6 | // This attribute allows you to mark your assemblies as “safe to link”. 7 | // When the attribute is present, the linker—if enabled—will process the assembly 8 | // even if you’re using the “Link SDK assemblies only” option, which is the default for device builds. 9 | 10 | [assembly: LinkerSafe] 11 | 12 | // Information about this assembly is defined by the following attributes. 13 | // Change them to the values specific to your project. 14 | 15 | [assembly: AssemblyTitle("CBZSplashView")] 16 | [assembly: AssemblyDescription("")] 17 | [assembly: AssemblyConfiguration("")] 18 | [assembly: AssemblyCompany("")] 19 | [assembly: AssemblyProduct("")] 20 | [assembly: AssemblyCopyright("")] 21 | [assembly: AssemblyTrademark("")] 22 | [assembly: AssemblyCulture("")] 23 | 24 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 25 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 26 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 27 | 28 | [assembly: AssemblyVersion("1.0.*")] 29 | 30 | // The following attributes are used to specify the signing key for the assembly, 31 | // if desired. See the Mono documentation for more information about signing. 32 | 33 | //[assembly: AssemblyDelaySign(false)] 34 | //[assembly: AssemblyKeyFile("")] 35 | -------------------------------------------------------------------------------- /CBZSplashView/Example/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /CBZSplashView/Example/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CBZSplashView 2 | A Xamarin.iOS implementation of the popular iOS control CBZSplashView from @callumboddy 3 | 4 | Credit where credit is due (I just spent a couple hours fighting with the binding libraries, but @callumboddy did the real work): https://github.com/callumboddy/CBZSplashView 5 | 6 | 7 | 8 | ## Installation 9 | 10 | You can either clone the repository and reference the `CBZSplashView` project, or you can **now** use NuGet! 11 | 12 | ``` 13 | Install-Package ExpandingSplashView 14 | ``` 15 | https://www.nuget.org/packages/ExpandingSplashView 16 | 17 | ## Usage 18 | 19 | This can be used on any view, but is best suited for covering an entire `UIViewController`. Simply create either a `CBZSplashView`, `CBZRasterSplashView`, or `CBZVectorSplashView` via their constructors or the static initializer within the `CBZSplashView`: 20 | 21 | ``` csharp 22 | var splashView = new CBZRasterSplashView(someUIImage, someUIColor); 23 | ``` 24 | 25 | Then add the `splashview` to your `View`: 26 | 27 | ``` csharp 28 | View.Add(splashView); 29 | ``` 30 | 31 | Then start your animation whenever you want: 32 | 33 | ```csharp 34 | splashView.StartAnimation(); 35 | ``` 36 | 37 | Here's an entire `ViewController` class example: 38 | 39 | ``` csharp 40 | using System; 41 | 42 | using UIKit; 43 | using CBZSplashView; 44 | 45 | namespace Example 46 | { 47 | public partial class ViewController : UIViewController 48 | { 49 | private CBZSplashView.CBZSplashView _splashView; 50 | protected ViewController(IntPtr handle) : base(handle) 51 | { 52 | } 53 | 54 | public override void ViewDidLoad() 55 | { 56 | base.ViewDidLoad(); 57 | 58 | var icon = UIImage.FromFile("snapchatIcon.png"); 59 | 60 | _splashView = new CBZSplashView.CBZRasterSplashView(icon, UIColor.Yellow); 61 | 62 | View.Add(_splashView); 63 | 64 | } 65 | 66 | public override void ViewDidAppear(bool animated) 67 | { 68 | base.ViewDidAppear(animated); 69 | 70 | if (_splashView != null) 71 | _splashView.StartAnimation(); 72 | } 73 | } 74 | } 75 | ``` 76 | 77 | 78 | -------------------------------------------------------------------------------- /CBZSplashView/Example/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace Example 5 | { 6 | // The UIApplicationDelegate for the application. This class is responsible for launching the 7 | // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. 8 | [Register("AppDelegate")] 9 | public class AppDelegate : UIApplicationDelegate 10 | { 11 | // class-level declarations 12 | 13 | public override UIWindow Window 14 | { 15 | get; 16 | set; 17 | } 18 | 19 | public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) 20 | { 21 | // Override point for customization after application launch. 22 | // If not required for your application you can safely delete this method 23 | 24 | // Code to start the Xamarin Test Cloud Agent 25 | #if ENABLE_TEST_CLOUD 26 | Xamarin.Calabash.Start(); 27 | #endif 28 | 29 | return true; 30 | } 31 | 32 | public override void OnResignActivation(UIApplication application) 33 | { 34 | // Invoked when the application is about to move from active to inactive state. 35 | // This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) 36 | // or when the user quits the application and it begins the transition to the background state. 37 | // Games should use this method to pause the game. 38 | } 39 | 40 | public override void DidEnterBackground(UIApplication application) 41 | { 42 | // Use this method to release shared resources, save user data, invalidate timers and store the application state. 43 | // If your application supports background exection this method is called instead of WillTerminate when the user quits. 44 | } 45 | 46 | public override void WillEnterForeground(UIApplication application) 47 | { 48 | // Called as part of the transiton from background to active state. 49 | // Here you can undo many of the changes made on entering the background. 50 | } 51 | 52 | public override void OnActivated(UIApplication application) 53 | { 54 | // Restart any tasks that were paused (or not yet started) while the application was inactive. 55 | // If the application was previously in the background, optionally refresh the user interface. 56 | } 57 | 58 | public override void WillTerminate(UIApplication application) 59 | { 60 | // Called when the application is about to terminate. Save data, if needed. See also DidEnterBackground. 61 | } 62 | } 63 | } 64 | 65 | -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CBZSplashView", "CBZSplashView\CBZSplashView.csproj", "{DEC666DB-3FA7-411E-96EE-06247CB57857}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example", "Example\Example.csproj", "{082ACF3D-09C2-43DC-B50F-E17A368BF2A1}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | Debug|iPhoneSimulator = Debug|iPhoneSimulator 13 | Release|iPhone = Release|iPhone 14 | Release|iPhoneSimulator = Release|iPhoneSimulator 15 | Debug|iPhone = Debug|iPhone 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Release|Any CPU.Build.0 = Release|Any CPU 22 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU 23 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU 24 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Release|iPhone.ActiveCfg = Release|Any CPU 25 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Release|iPhone.Build.0 = Release|Any CPU 26 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU 27 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Release|iPhoneSimulator.Build.0 = Release|Any CPU 28 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Debug|iPhone.ActiveCfg = Debug|Any CPU 29 | {DEC666DB-3FA7-411E-96EE-06247CB57857}.Debug|iPhone.Build.0 = Debug|Any CPU 30 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator 31 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator 32 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Release|Any CPU.ActiveCfg = Release|iPhone 33 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Release|Any CPU.Build.0 = Release|iPhone 34 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator 35 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator 36 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Release|iPhone.ActiveCfg = Release|iPhone 37 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Release|iPhone.Build.0 = Release|iPhone 38 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator 39 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator 40 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Debug|iPhone.ActiveCfg = Debug|iPhone 41 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1}.Debug|iPhone.Build.0 = Debug|iPhone 42 | EndGlobalSection 43 | EndGlobal 44 | -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView/ApiDefinition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreAnimation; 3 | using CoreGraphics; 4 | using Foundation; 5 | using ObjCRuntime; 6 | using UIKit; 7 | 8 | namespace CBZSplashView 9 | { 10 | 11 | 12 | // @interface CBZSplashView : UIView 13 | [BaseType(typeof(UIView))] 14 | [Protocol] 15 | interface CBZSplashView 16 | { 17 | // +(instancetype)splashViewWithIcon:(UIImage *)icon backgroundColor:(UIColor *)backgroundColor; 18 | [Static] 19 | [Export("splashViewWithIcon:backgroundColor:")] 20 | CBZSplashView SplashViewWithIcon(UIImage icon, UIColor backgroundColor); 21 | 22 | // +(instancetype)splashViewWithBezierPath:(UIBezierPath *)bezier backgroundColor:(UIColor *)backgroundColor; 23 | [Static] 24 | [Export("splashViewWithBezierPath:backgroundColor:")] 25 | CBZSplashView SplashViewWithBezierPath(UIBezierPath bezier, UIColor backgroundColor); 26 | 27 | // -(void)startAnimation; 28 | [Export("startAnimation")] 29 | void StartAnimation(); 30 | 31 | // -(void)startAnimationWithCompletionHandler:(void (^)())completionHandler; 32 | [Export("startAnimationWithCompletionHandler:")] 33 | void StartAnimationWithCompletionHandler(Action completionHandler); 34 | 35 | // @property (assign, nonatomic) CGSize iconStartSize; 36 | [Export("iconStartSize", ArgumentSemantic.Assign)] 37 | CGSize IconStartSize { get; set; } 38 | 39 | // @property (assign, nonatomic) CGFloat animationDuration; 40 | [Export("animationDuration")] 41 | nfloat AnimationDuration { get; set; } 42 | 43 | // @property (nonatomic, strong) CAAnimation * iconAnimation; 44 | [Export("iconAnimation", ArgumentSemantic.Strong)] 45 | CAAnimation IconAnimation { get; set; } 46 | 47 | // @property (nonatomic, strong) UIColor * iconColor; 48 | [Export("iconColor", ArgumentSemantic.Strong)] 49 | UIColor IconColor { get; set; } 50 | 51 | } 52 | 53 | // @interface CBZRasterSplashView : CBZSplashView 54 | [BaseType(typeof(CBZSplashView))] 55 | //[Protocol] 56 | interface CBZRasterSplashView 57 | { 58 | // -(instancetype)initWithIconImage:(UIImage *)icon backgroundColor:(UIColor *)color; 59 | [Export("initWithIconImage:backgroundColor:")] 60 | IntPtr Constructor(UIImage icon, UIColor color); 61 | } 62 | 63 | // @interface CBZVectorSplashView : CBZSplashView 64 | [BaseType(typeof(CBZSplashView))] 65 | //[Protocol] 66 | interface CBZVectorSplashView 67 | { 68 | // -(instancetype)initWithBezierPath:(UIBezierPath *)bezier backgroundColor:(UIColor *)backgroundColor; 69 | [Export("initWithBezierPath:backgroundColor:")] 70 | IntPtr Constructor(UIBezierPath bezier, UIColor backgroundColor); 71 | } 72 | 73 | //[Static] 74 | ////[Verify(ConstantsInterfaceAssociation)] 75 | //partial interface Constants 76 | //{ 77 | // // extern double CBZSplashViewVersionNumber; 78 | // [Field("CBZSplashViewVersionNumber", "__Internal")] 79 | // double CBZSplashViewVersionNumber { get; } 80 | 81 | // // extern const unsigned char [] CBZSplashViewVersionString; 82 | // [Field("CBZSplashViewVersionString", "__Internal")] 83 | // IntPtr CBZSplashViewVersionString { get; } 84 | //} 85 | 86 | 87 | } -------------------------------------------------------------------------------- /CBZSplashView/CBZSplashView/CBZSplashView.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {DEC666DB-3FA7-411E-96EE-06247CB57857} 8 | {8FFB629D-F513-41CE-95D2-7ECE97B6EEEC};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 9 | Library 10 | CBZSplashView 11 | CBZSplashView 12 | Resources 13 | ExpandingSplashView 14 | 2017.10.18 15 | SuavePirate 16 | https://github.com/SuavePirate/ExpandingSplashView/blob/master/LICENSE 17 | SuavePirate 18 | https://github.com/SuavePirate/ExpandingSplashView 19 | Initial release 20 | Create a splash view not dissimilar to the one Twitter use. 21 | 22 | 23 | Xamarin.iOS Xamarin CBZSplashView Splash Screen 24 | Expanding Splash View 25 | A Xamarin.iOS implementation of the CBZSplashView from @callumboddy. Add to the layers of any view and animate the expansion of either a rasterized png or a vector simlar to Twitter's old splash screen. 26 | https://raw.githubusercontent.com/SuavePirate/ExpandingSplashView/master/CBZLogo.png 27 | 28 | true 29 | 30 | 31 | true 32 | full 33 | false 34 | bin\Debug 35 | DEBUG; 36 | prompt 37 | 4 38 | true 39 | 40 | 41 | true 42 | bin\Release 43 | prompt 44 | 4 45 | true 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | CBZSplashView.a 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /CBZSplashView/Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | }, 93 | { 94 | "size" : "24x24", 95 | "idiom" : "watch", 96 | "scale" : "2x", 97 | "role" : "notificationCenter", 98 | "subtype" : "38mm" 99 | }, 100 | { 101 | "size" : "27.5x27.5", 102 | "idiom" : "watch", 103 | "scale" : "2x", 104 | "role" : "notificationCenter", 105 | "subtype" : "42mm" 106 | }, 107 | { 108 | "size" : "29x29", 109 | "idiom" : "watch", 110 | "role" : "companionSettings", 111 | "scale" : "2x" 112 | }, 113 | { 114 | "size" : "29x29", 115 | "idiom" : "watch", 116 | "role" : "companionSettings", 117 | "scale" : "3x" 118 | }, 119 | { 120 | "size" : "40x40", 121 | "idiom" : "watch", 122 | "scale" : "2x", 123 | "role" : "appLauncher", 124 | "subtype" : "38mm" 125 | }, 126 | { 127 | "size" : "44x44", 128 | "idiom" : "watch", 129 | "scale" : "2x", 130 | "role" : "longLook", 131 | "subtype" : "42mm" 132 | }, 133 | { 134 | "size" : "86x86", 135 | "idiom" : "watch", 136 | "scale" : "2x", 137 | "role" : "quickLook", 138 | "subtype" : "38mm" 139 | }, 140 | { 141 | "size" : "98x98", 142 | "idiom" : "watch", 143 | "scale" : "2x", 144 | "role" : "quickLook", 145 | "subtype" : "42mm" 146 | }, 147 | { 148 | "idiom" : "mac", 149 | "size" : "16x16", 150 | "scale" : "1x" 151 | }, 152 | { 153 | "idiom" : "mac", 154 | "size" : "16x16", 155 | "scale" : "2x" 156 | }, 157 | { 158 | "idiom" : "mac", 159 | "size" : "32x32", 160 | "scale" : "1x" 161 | }, 162 | { 163 | "idiom" : "mac", 164 | "size" : "32x32", 165 | "scale" : "2x" 166 | }, 167 | { 168 | "idiom" : "mac", 169 | "size" : "128x128", 170 | "scale" : "1x" 171 | }, 172 | { 173 | "idiom" : "mac", 174 | "size" : "128x128", 175 | "scale" : "2x" 176 | }, 177 | { 178 | "idiom" : "mac", 179 | "size" : "256x256", 180 | "scale" : "1x" 181 | }, 182 | { 183 | "idiom" : "mac", 184 | "size" : "256x256", 185 | "scale" : "2x" 186 | }, 187 | { 188 | "idiom" : "mac", 189 | "size" : "512x512", 190 | "scale" : "1x" 191 | }, 192 | { 193 | "idiom" : "mac", 194 | "size" : "512x512", 195 | "scale" : "2x" 196 | } 197 | ], 198 | "info" : { 199 | "version" : 1, 200 | "author" : "xcode" 201 | } 202 | } 203 | -------------------------------------------------------------------------------- /CBZSplashView/Example/Example.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | iPhoneSimulator 6 | {082ACF3D-09C2-43DC-B50F-E17A368BF2A1} 7 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 8 | Exe 9 | Example 10 | Example 11 | Resources 12 | 13 | 14 | true 15 | full 16 | false 17 | bin\iPhoneSimulator\Debug 18 | DEBUG;ENABLE_TEST_CLOUD; 19 | prompt 20 | 4 21 | iPhone Developer 22 | true 23 | true 24 | true 25 | 39880 26 | None 27 | x86_64 28 | HttpClientHandler 29 | false 30 | 31 | 32 | pdbonly 33 | true 34 | bin\iPhone\Release 35 | 36 | prompt 37 | 4 38 | iPhone Developer 39 | true 40 | Entitlements.plist 41 | SdkOnly 42 | ARM64 43 | HttpClientHandler 44 | 45 | 46 | pdbonly 47 | true 48 | bin\iPhoneSimulator\Release 49 | 50 | prompt 51 | 4 52 | iPhone Developer 53 | true 54 | None 55 | x86_64 56 | HttpClientHandler 57 | 58 | 59 | true 60 | full 61 | false 62 | bin\iPhone\Debug 63 | DEBUG;ENABLE_TEST_CLOUD; 64 | prompt 65 | 4 66 | iPhone Developer 67 | true 68 | true 69 | true 70 | true 71 | true 72 | Entitlements.plist 73 | 21062 74 | SdkOnly 75 | ARM64 76 | HttpClientHandler 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | ..\packages\Xamarin.TestCloud.Agent.0.20.3\lib\Xamarin.iOS10\Calabash.dll 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | ViewController.cs 109 | 110 | 111 | 112 | 113 | {DEC666DB-3FA7-411E-96EE-06247CB57857} 114 | CBZSplashView 115 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Bb]in/ 24 | [Oo]bj/ 25 | [Ll]og/ 26 | 27 | # Visual Studio 2015 cache/options directory 28 | .vs/ 29 | # Uncomment if you have tasks that create the project's static files in wwwroot 30 | #wwwroot/ 31 | 32 | # MSTest test Results 33 | [Tt]est[Rr]esult*/ 34 | [Bb]uild[Ll]og.* 35 | 36 | # NUNIT 37 | *.VisualState.xml 38 | TestResult.xml 39 | 40 | # Build Results of an ATL Project 41 | [Dd]ebugPS/ 42 | [Rr]eleasePS/ 43 | dlldata.c 44 | 45 | # .NET Core 46 | project.lock.json 47 | project.fragment.lock.json 48 | artifacts/ 49 | **/Properties/launchSettings.json 50 | 51 | *_i.c 52 | *_p.c 53 | *_i.h 54 | *.ilk 55 | *.meta 56 | *.obj 57 | *.pch 58 | *.pdb 59 | *.pgc 60 | *.pgd 61 | *.rsp 62 | *.sbr 63 | *.tlb 64 | *.tli 65 | *.tlh 66 | *.tmp 67 | *.tmp_proj 68 | *.log 69 | *.vspscc 70 | *.vssscc 71 | .builds 72 | *.pidb 73 | *.svclog 74 | *.scc 75 | 76 | # Chutzpah Test files 77 | _Chutzpah* 78 | 79 | # Visual C++ cache files 80 | ipch/ 81 | *.aps 82 | *.ncb 83 | *.opendb 84 | *.opensdf 85 | *.sdf 86 | *.cachefile 87 | *.VC.db 88 | *.VC.VC.opendb 89 | 90 | # Visual Studio profiler 91 | *.psess 92 | *.vsp 93 | *.vspx 94 | *.sap 95 | 96 | # TFS 2012 Local Workspace 97 | $tf/ 98 | 99 | # Guidance Automation Toolkit 100 | *.gpState 101 | 102 | # ReSharper is a .NET coding add-in 103 | _ReSharper*/ 104 | *.[Rr]e[Ss]harper 105 | *.DotSettings.user 106 | 107 | # JustCode is a .NET coding add-in 108 | .JustCode 109 | 110 | # TeamCity is a build add-in 111 | _TeamCity* 112 | 113 | # DotCover is a Code Coverage Tool 114 | *.dotCover 115 | 116 | # Visual Studio code coverage results 117 | *.coverage 118 | *.coveragexml 119 | 120 | # NCrunch 121 | _NCrunch_* 122 | .*crunch*.local.xml 123 | nCrunchTemp_* 124 | 125 | # MightyMoose 126 | *.mm.* 127 | AutoTest.Net/ 128 | 129 | # Web workbench (sass) 130 | .sass-cache/ 131 | 132 | # Installshield output folder 133 | [Ee]xpress/ 134 | 135 | # DocProject is a documentation generator add-in 136 | DocProject/buildhelp/ 137 | DocProject/Help/*.HxT 138 | DocProject/Help/*.HxC 139 | DocProject/Help/*.hhc 140 | DocProject/Help/*.hhk 141 | DocProject/Help/*.hhp 142 | DocProject/Help/Html2 143 | DocProject/Help/html 144 | 145 | # Click-Once directory 146 | publish/ 147 | 148 | # Publish Web Output 149 | *.[Pp]ublish.xml 150 | *.azurePubxml 151 | # TODO: Comment the next line if you want to checkin your web deploy settings 152 | # but database connection strings (with potential passwords) will be unencrypted 153 | *.pubxml 154 | *.publishproj 155 | 156 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 157 | # checkin your Azure Web App publish settings, but sensitive information contained 158 | # in these scripts will be unencrypted 159 | PublishScripts/ 160 | 161 | # NuGet Packages 162 | *.nupkg 163 | # The packages folder can be ignored because of Package Restore 164 | **/packages/* 165 | # except build/, which is used as an MSBuild target. 166 | !**/packages/build/ 167 | # Uncomment if necessary however generally it will be regenerated when needed 168 | #!**/packages/repositories.config 169 | # NuGet v3's project.json files produces more ignorable files 170 | *.nuget.props 171 | *.nuget.targets 172 | 173 | # Microsoft Azure Build Output 174 | csx/ 175 | *.build.csdef 176 | 177 | # Microsoft Azure Emulator 178 | ecf/ 179 | rcf/ 180 | 181 | # Windows Store app package directories and files 182 | AppPackages/ 183 | BundleArtifacts/ 184 | Package.StoreAssociation.xml 185 | _pkginfo.txt 186 | 187 | # Visual Studio cache files 188 | # files ending in .cache can be ignored 189 | *.[Cc]ache 190 | # but keep track of directories ending in .cache 191 | !*.[Cc]ache/ 192 | 193 | # Others 194 | ClientBin/ 195 | ~$* 196 | *~ 197 | *.dbmdl 198 | *.dbproj.schemaview 199 | *.jfm 200 | *.pfx 201 | *.publishsettings 202 | orleans.codegen.cs 203 | 204 | # Since there are multiple workflows, uncomment next line to ignore bower_components 205 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 206 | #bower_components/ 207 | 208 | # RIA/Silverlight projects 209 | Generated_Code/ 210 | 211 | # Backup & report files from converting an old project file 212 | # to a newer Visual Studio version. Backup files are not needed, 213 | # because we have git ;-) 214 | _UpgradeReport_Files/ 215 | Backup*/ 216 | UpgradeLog*.XML 217 | UpgradeLog*.htm 218 | 219 | # SQL Server files 220 | *.mdf 221 | *.ldf 222 | *.ndf 223 | 224 | # Business Intelligence projects 225 | *.rdl.data 226 | *.bim.layout 227 | *.bim_*.settings 228 | 229 | # Microsoft Fakes 230 | FakesAssemblies/ 231 | 232 | # GhostDoc plugin setting file 233 | *.GhostDoc.xml 234 | 235 | # Node.js Tools for Visual Studio 236 | .ntvs_analysis.dat 237 | node_modules/ 238 | 239 | # Typescript v1 declaration files 240 | typings/ 241 | 242 | # Visual Studio 6 build log 243 | *.plg 244 | 245 | # Visual Studio 6 workspace options file 246 | *.opt 247 | 248 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 249 | *.vbw 250 | 251 | # Visual Studio LightSwitch build output 252 | **/*.HTMLClient/GeneratedArtifacts 253 | **/*.DesktopClient/GeneratedArtifacts 254 | **/*.DesktopClient/ModelManifest.xml 255 | **/*.Server/GeneratedArtifacts 256 | **/*.Server/ModelManifest.xml 257 | _Pvt_Extensions 258 | 259 | # Paket dependency manager 260 | .paket/paket.exe 261 | paket-files/ 262 | 263 | # FAKE - F# Make 264 | .fake/ 265 | 266 | # JetBrains Rider 267 | .idea/ 268 | *.sln.iml 269 | 270 | # CodeRush 271 | .cr/ 272 | 273 | # Python Tools for Visual Studio (PTVS) 274 | __pycache__/ 275 | *.pyc 276 | 277 | # Cake - Uncomment if you are using it 278 | # tools/** 279 | # !tools/packages.config 280 | 281 | # Telerik's JustMock configuration file 282 | *.jmconfig 283 | 284 | # BizTalk build output 285 | *.btp.cs 286 | *.btm.cs 287 | *.odx.cs 288 | *.xsd.cs 289 | --------------------------------------------------------------------------------