-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbcc69d
commit 11c18b1
Showing
19 changed files
with
530 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# OS X | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
Icon | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Xcode | ||
# | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
*xcuserdata* | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
*.xcscmblueprint | ||
*.gcno | ||
*.gcda | ||
*.bcsymbolmap | ||
.idea/ | ||
|
||
# CocoaPods | ||
Pods | ||
|
||
# Carthage | ||
Carthage | ||
|
||
# SPM | ||
.build/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// AVAudioSession+AVAudioSession_Swift.h | ||
// Piano | ||
// | ||
// Created by Vadym Markov on 28/11/2018. | ||
// Copyright © 2018 FINN. All rights reserved. | ||
// | ||
|
||
@import AVFoundation; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface AVAudioSession (Swift) | ||
|
||
- (BOOL)swift_setCategory:(AVAudioSessionCategory)category error:(NSError **)outError NS_SWIFT_NAME(setCategory(_:)); | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// AVAudioSession+AVAudioSession_Swift.m | ||
// Piano | ||
// | ||
// Created by Vadym Markov on 28/11/2018. | ||
// Copyright © 2018 FINN. All rights reserved. | ||
// | ||
|
||
#import "AVAudioSession+Swift.h" | ||
|
||
@implementation AVAudioSession (Swift) | ||
|
||
- (BOOL)swift_setCategory:(AVAudioSessionCategory)category error:(NSError **)outError { | ||
return [self setCategory:category error:outError]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// UIColor+RGB.swift | ||
// Piano | ||
// | ||
// Created by Vadym Markov on 28/11/2018. | ||
// Copyright © 2018 FINN. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
extension UIColor { | ||
// swiftlint:disable:next identifier_name | ||
convenience init?(r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat = 1.0) { | ||
self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0, alpha: a) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// | ||
// Use this file to import your target's public headers that you would like to expose to Swift. | ||
// | ||
|
||
#import "AVAudioSession+Swift.h" |
Oops, something went wrong.