Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnam committed May 9, 2019
0 parents commit 0b6d2c9
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 0 deletions.
14 changes: 14 additions & 0 deletions AppDelegate.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Pod::Spec.new do |spec|
spec.name = 'AppDelegate'
spec.version = '0.1.0'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.homepage = 'https://github.com/jasonnam/AppDelegate'
spec.authors = { 'Jason Nam' => '[email protected]' }
spec.summary = 'Break down app delegate into smaller and single-purpose plugins.'
spec.source = { :git => 'https://github.com/jasonnam/AppDelegate.git', :tag => '0.1.0' }
spec.swift_version = '4.2'

spec.ios.deployment_target = '8.0'

spec.source_files = 'Sources/AppDelegate/*.swift'
end
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.0] - 2019-05-09
### Added
- `AppDelegate.swift`

[0.1.0]: https://github.com/jasonnam/AppDelegate/releases/tag/0.1.0
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Jason Nam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# AppDelegate

[![CocoaPods](https://img.shields.io/cocoapods/v/AppDelegate.svg)](https://cocoapods.org/pods/AppDelegate)

Break down app delegate into smaller and single-purpose plugins.

## Installation

### CocoaPods

```ruby
pod 'AppDelegate'
```

## Usage

```swift
import UIKit

@UIApplicationMain
final class AppDelegateMain: AppDelegate {

override init() {
super.init()
plugins = [
AppDelegateLog(),
AppDelegateFacebookSDK(),
AppDelegateUniversalLink(),
AppDelegatePushNotification()
]
}
}
```

## License

AppDelegate is released under the MIT license. [See LICENSE](https://github.com/jasonnam/AppDelegate/blob/master/LICENSE) for details.
Loading

0 comments on commit 0b6d2c9

Please sign in to comment.