Skip to content

Instantly share code, notes, and snippets.

View andreyoshev's full-sized avatar
🍉
push

Andrey Oshev andreyoshev

🍉
push
View GitHub Profile
@andreyoshev
andreyoshev / .gitignore
Created July 12, 2021 19:57
.gitignore
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
func createRequest(request: Request) -> Observable<NewRequestEvent> {
return Observable<NewRequestEvent>.create { observer in
RequestRemoteService.shared().createRequest(session: ProfileService.shared().currentSession, request: request, result: { request, code in
guard let resultRequest = request else {
var requestEvent = NewRequestEvent()
if code != nil, let event = NewRequestEvent.Event(rawValue: code!) {
requestEvent.event = event
} else {
requestEvent.event = .retryEvent
@andreyoshev
andreyoshev / fastfile
Created October 9, 2017 16:40
Fastfile for Fastlane
fastlane_version "2.60.0"
default_platform :ios
platform :ios do
before_all do
ENV["SLACK_URL"] = "https://hooks.slack.com/services/.."
cocoapods
end