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
# '^(?:\[IMPROVEMENT\]|\[FEATURE\]|\[BUGFIX\])\[([A-Z])+\-(\d+)\]\s(\w){1,}(\w|\s|\-){1,}$' | |
# Github action for Jira ticket verification | |
name: JIRA Validation | |
on: | |
pull_request: | |
types: ['opened', 'edited', 'reopened', 'synchronize'] | |
jobs: |
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
@propertyWrapper struct WhiteSpacesTrimmed { | |
var projectedValue: String | |
var wrappedValue: String { | |
didSet { | |
self.projectedValue = wrappedValue | |
wrappedValue = wrappedValue.trimmingCharacters(in: .whitespaces) | |
} | |
} |
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
/** | |
AppDelegate.swift | |
In Project settings set the "Main Interface" text field to empty. | |
With the Interface Builder implementation, | |
the app launches the initial view controller of the storyboard set in the target’s Main Interface. | |
To do something similar in code, you need to take a different approach. | |
Open AppDelegate.swift and replace the code inside application(_:didFinishLaunchingWithOptions:) with the following:” |
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
import UIKit | |
class CustomView: UIView { | |
//Override the init() constructor so that you can call the function loadView() | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
loadView() | |
} | |
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
import UIKit | |
enum CollectionDisplay { | |
case list | |
case twoColumns | |
} | |
class HomeCustomLayout: c { | |
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
pod 'Auth0', :git => 'https://github.com/auth0/Auth0.swift.git', :commit => 'e399d67a57b80879947682807c20419bc8af9dad' |
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
// | |
//let episodeV = "episodeV" | |
// | |
//example(of: "Creating observables") { | |
// let mostPopular: Observable<String> = Observable<String>.just(episodeV) | |
//} | |
import RxSwift | |
// MARK: OBSERVABLES | |
/** |
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
{ | |
"animals": [ | |
{ | |
"id": 1, | |
"name": "Cat", | |
"type": "cat", | |
"weight": 23, | |
"area": ["home", "street"], | |
"can_climb_trees": true, | |
"competence": [ |
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
[ | |
{ | |
"album": "Dark side of the moon", | |
"year": "1927", | |
"cover": "https://upload.wikimedia.org/wikipedia/en/3/3b/Dark_Side_of_the_Moon.png", | |
"genre": "Pop" | |
}, | |
{ | |
"album": "Love letters", | |
"year": "2014", |
NewerOlder