Skip to content

Commit

Permalink
Added CocoaPods spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Escrig Ventura committed Feb 23, 2016
1 parent e8eb954 commit 2ae0745
Show file tree
Hide file tree
Showing 105 changed files with 2,746 additions and 965 deletions.
649 changes: 649 additions & 0 deletions Example/MEVFloatingButton.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6003F589195388D20070C39A"
BuildableName = "MEVFloatingButton_Example.app"
BlueprintName = "MEVFloatingButton_Example"
ReferencedContainer = "container:MEVFloatingButton.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6003F5AD195388D20070C39A"
BuildableName = "MEVFloatingButton_Tests.xctest"
BlueprintName = "MEVFloatingButton_Tests"
ReferencedContainer = "container:MEVFloatingButton.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6003F589195388D20070C39A"
BuildableName = "MEVFloatingButton_Example.app"
BlueprintName = "MEVFloatingButton_Example"
ReferencedContainer = "container:MEVFloatingButton.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6003F589195388D20070C39A"
BuildableName = "MEVFloatingButton_Example.app"
BlueprintName = "MEVFloatingButton_Example"
ReferencedContainer = "container:MEVFloatingButton.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6003F589195388D20070C39A"
BuildableName = "MEVFloatingButton_Example.app"
BlueprintName = "MEVFloatingButton_Example"
ReferencedContainer = "container:MEVFloatingButton.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
10 changes: 10 additions & 0 deletions Example/MEVFloatingButton.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"subtype" : "retina4",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
15 changes: 15 additions & 0 deletions Example/MEVFloatingButton/MEVAppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// MEVAppDelegate.h
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 02/23/2016.
// Copyright (c) 2016 Manuel Escrig Ventura. All rights reserved.
//

@import UIKit;

@interface MEVAppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end
Original file line number Diff line number Diff line change
@@ -1,53 +1,49 @@
//
// AppDelegate.m
// Examples
// MEVAppDelegate.m
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 27/01/16.
// Copyright © 2016 Manuel Escrig Ventura. All rights reserved.
// Licence: MIT-Licence
// Created by Manuel Escrig Ventura on 02/23/2016.
// Copyright (c) 2016 Manuel Escrig Ventura. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"
#import "MEVAppDelegate.h"
#import "MEVViewController.h"

@implementation MEVAppDelegate

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.


ViewController *viewController = [[ViewController alloc] init];
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
MEVViewController *viewController = [[MEVViewController alloc] init];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:viewController];
[self.window makeKeyAndVisible];
return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application {
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application {
- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
//
// Example1ViewController.h
// Examples
// MEVExample1ViewController.h
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 09/02/16.
// Copyright © 2016 Manuel Escrig Ventura. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIScrollView+FloatingButton.h"

@interface Example1ViewController : UITableViewController
@interface MEVExample1ViewController : UITableViewController

@end
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
//
// Example1ViewController.m
// Examples
// MEVExample1ViewController.m
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 09/02/16.
// Copyright © 2016 Manuel Escrig Ventura. All rights reserved.
//

#import "Example1ViewController.h"
#import "MEVExample1ViewController.h"
#import "UIScrollView+FloatingButton.h"

static NSString *CellIdentifier = @"CellIdentifier";

@interface Example1ViewController () <MEVFloatingButtonDelegate>
@interface MEVExample1ViewController () <MEVFloatingButtonDelegate>

@end

@implementation Example1ViewController
@implementation MEVExample1ViewController

- (void)viewDidLoad {
[super viewDidLoad];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
//
// Example2ViewController.h
// Examples
// MEVExample2ViewController.h
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 09/02/16.
// Copyright © 2016 Manuel Escrig Ventura. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIScrollView+FloatingButton.h"

@interface Example2ViewController : UITableViewController
@interface MEVExample2ViewController : UITableViewController

@end
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
//
// Example2ViewController.m
// Examples
// MEVExample2ViewController.m
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 09/02/16.
// Copyright © 2016 Manuel Escrig Ventura. All rights reserved.
//

#import "Example2ViewController.h"
#import "MEVExample2ViewController.h"
#import "UIScrollView+FloatingButton.h"

static NSString *CellIdentifier = @"CellIdentifier";

@interface Example2ViewController () <MEVFloatingButtonDelegate>
@interface MEVExample2ViewController () <MEVFloatingButtonDelegate>

@end

@implementation Example2ViewController
@implementation MEVExample2ViewController

- (void)viewDidLoad {
[super viewDidLoad];
Expand Down Expand Up @@ -42,26 +43,6 @@ - (void)didReceiveMemoryWarning {
// Dispose of any resources that can be recreated.
}

- (void)viewWillAppear:(BOOL)animated {
DLog(@"");

}

- (void)viewDidAppear:(BOOL)animated {
DLog(@"");

}

- (void)viewWillDisappear:(BOOL)animated {
DLog(@"");

}

- (void)viewDidDisappear:(BOOL)animated {
DLog(@"");

}



#pragma mark - Table view data source
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
//
// Example3ViewController.h
// Examples
// MEVExample3ViewController.h
// MEVFloatingButton
//
// Created by Manuel Escrig Ventura on 09/02/16.
// Copyright © 2016 Manuel Escrig Ventura. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIScrollView+FloatingButton.h"

@interface Example3ViewController : UITableViewController
@interface MEVExample3ViewController : UITableViewController

@end
Loading

0 comments on commit 2ae0745

Please sign in to comment.