Skip to content

Instantly share code, notes, and snippets.

View dornad's full-sized avatar

Daniel Rodriguez dornad

View GitHub Profile
@dornad
dornad / diagram-3-ecomios-1104.mermaid
Last active September 7, 2023 22:16
[ECOMIOS-1104] VTO Easter Egg - Diagram 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dornad
dornad / diagram-2-ecomios-1104.mermaid
Last active September 7, 2023 22:15
[ECOMIOS-1104] VTO Easter Egg - Diagram 2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dornad
dornad / diagram-1-ecomios-1104.mermaid
Last active September 7, 2023 16:03
[ECOMIOS-1104] VTO Easter Egg - Diagram 1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dornad
dornad / vto-easter-egg.json
Last active September 6, 2023 14:57
VTO Easter Egg JSON
{
"1346034": [
{
"identifier": "com.warbyparker.vto.easter-egg-spidey-test",
"name": "Easter Egg GIF Test",
"type": {
"backgroundSegmentation": {
"name": "spidey",
"extension": "gif",
"type": "dynamic"
@dornad
dornad / UIStackView+SpacerViews.swift
Created February 18, 2022 17:36
UIStackView SpacerView
/**! Currently these two cause this warning:
This NSLayoutConstraint is being configured with a constant that exceeds internal limits.
A smaller value will be substituted, but this problem should be fixed.
Break on BOOL _NSLayoutConstraintNumberExceedsLimit(void) to debug. This will be logged only once.
This may break in the future.
*/
extension UIStackView {
/// A vertical spacer view that will expand to fill the available space
fileprivate func verticalSpacer() -> UIView {
let v = UIView()
@dornad
dornad / ShareExtensionGist.swift
Created May 10, 2018 17:14
Share Extension Spike Gist
//
// ViewController.swift
// ShareSpike
//
// Created by Daniel Rodriguez on 5/10/18.
// Copyright © 2018 Daniel Rodriguez. All rights reserved.
//
import UIKit
@dornad
dornad / ios990.uml
Last active September 27, 2017 17:55
IOS-990 Class Diagram -- After
@startuml
class Create_DesignCardViewController
class PPCreateInputAccessoryBar
class PPCreateInputManager
class EJBindingPPBridge
class PPCreateViewPort
class PPAccountImage
class PPInputViewTypeImageTool
class ImageUploadCoordinator
@dornad
dornad / feedbackkit_other.uml
Last active September 15, 2017 18:49
FeedbackKit other classes uml
@startuml;
class UIKit.UIPresentationController;
interface FeedbackKit.NonRatingFeedbackDialogType;
class FeedbackKitTrackablePPAnalyticsEvent;
class FeedbackDialogPresentationController;
class FeedbackDialogRoundedButton;
class FeedbackDialogViewController;
class FeedbackDialogViewModel;
@dornad
dornad / feedbackkit.uml
Last active September 14, 2017 21:51
FeedbackKit Class Diagram
@startuml
class FeedbackKit {
+{static} FeedbackKit sharedInstance
+{static} FeedbackKitSettings? _settings
+configure(settings:)
+shouldShowDialog(): Bool
+present(dialog:presenter:result:)
+present(dialog:presenter:triggerPoint:result:)
+present(dialog:presenter:triggerPoint:analyticsDelegate:result:)
@dornad
dornad / ios990_before.uml
Last active September 8, 2017 20:39
IOS-990 Class Diagram - Before
@startuml
class Create_DesignCardViewController
class PPCreateInputAccessoryBar
class PPCreateInputManager
class EJBindingPPBridge
class PPCreateViewPort
class ImageUploadManager
class PPURLSession
class PPAPIImageUploader