This file contains hidden or 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
// ==UserScript== | |
// @name Optimizely - Increase Height of JSON Editor | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Increases the height of the JSON editor box for Optimizely feature variables | |
// @author Braden Farmer | |
// @match https://app.optimizely.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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 SwiftUI | |
extension UIHostingController { | |
convenience public init(rootView: Content, ignoreSafeArea: Bool) { | |
self.init(rootView: rootView) | |
if ignoreSafeArea { | |
disableSafeArea() | |
} |
This file contains hidden or 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 Photos | |
struct UnexpectedNilError: Error {} | |
extension PHImageManager { | |
func requestImage( | |
for asset: PHAsset, | |
targetSize: CGSize, | |
contentMode: PHImageContentMode, | |
options: PHImageRequestOptions? |
General iOS, CS questions and interview prep resources.
-
iOS Interview Questions for Senior Developers (useful even if you're not senior yet)
This file contains hidden or 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
// Created on 7/9/2020. | |
// | |
// Developed by: Kilo Loco | |
// Improved by Egzon Pllana | |
import Foundation | |
import StoreKit | |
protocol IAPServiceDelegate: class { |
This file contains hidden or 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 Foundation | |
import Combine | |
fileprivate class CancellableStore { | |
static let shared = CancellableStore() | |
var cancellables = Set<AnyCancellable>() | |
} | |
public enum DownloadOutput { | |
case complete(Data) |
Design patterns - rayweinderlich
- Structural patterns describe how objects are composed to form larger subsystems. Examples of structural patterns are:
- Behavioral patterns describe how objects communicate with each other.
NewerOlder