Skip to content

Instantly share code, notes, and snippets.

@pjechris
pjechris / Dimming.swift
Created May 18, 2020 08:49
Dimming controller
/// Dimming presenter
/// Code is mostly coming from apple doc: https://developer.apple.com/documentation/uikit/uipresentationcontroller
class DimmingPresentationController: UIPresentationController {
private let backgroundColor: UIColor
private lazy var dimmingView: UIView = {
let view = UIView()
view.backgroundColor = backgroundColor
view.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(onTapped)))
@pjechris
pjechris / Appfile
Last active May 24, 2022 17:46
fastlane
# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/docs/Appfile.md
app_identifier ENV["APP_IDENTIFIER"] # The bundle identifier of your app
# You will have to set APP_IDENTIFIER into your .env files
apple_id ENV["APPLE_ID"] # Your Apple email address
team_id ENV["TEAM_ID"] # Developer Portal Team ID