Skip to content

Instantly share code, notes, and snippets.

@tadija
tadija / README.md
Last active November 27, 2023 05:04
AEReadme

Swift 4.1 Platforms iOS | watchOS | tvOS | macOS CocoaPods Carthage Swift Package Manager License MIT

${NAME}

${DESCRIPTION}

@tadija
tadija / AEEnvironment.swift
Last active May 1, 2021 23:40
AEEnvironment
/**
* https://gist.github.com/tadija/b5220447b71468937702d1162b5f2591
* Revision 8
* Copyright © 2017-2021 Marko Tadić
* Licensed under the MIT license
*/
import Foundation
public protocol AEEnvironment {
@tadija
tadija / AEFlow.swift
Last active October 26, 2021 18:39
AEFlow
/**
* https://gist.github.com/tadija/674a6dc5c14597394fde2c8a48663263
* Revision 21
* Copyright © 2018-2021 Marko Tadić
* Licensed under the MIT license
*/
import Foundation
@dynamicMemberLookup
@tadija
tadija / AELayout.swift
Last active May 13, 2021 16:30
AELayout
/**
* https://gist.github.com/tadija/dfd85d55524c037eff50e57313957015
* Revision 12
* Copyright © 2018-2021 Marko Tadić
* Licensed under the MIT license
*/
import UIKit
// MARK: - Layout API
@tadija
tadija / AEDefaults.swift
Last active October 26, 2021 18:26
AEDefaults
/**
* https://gist.github.com/tadija/1b5a70c641857731041f90ca9dd04085
* Revision 5
* Copyright © 2018-2021 Marko Tadić
* Licensed under the MIT license
*/
import Foundation
open class AEDefaults {
@tadija
tadija / AEDisplayLink.swift
Last active October 26, 2021 18:38
AEDisplayLink
@tadija
tadija / AEStyle.swift
Last active September 27, 2018 19:10
AEStyle
/**
* https://gist.github.com/tadija/25bad580b3228e5255b0e67c440e3d3b
* Copyright (c) Marko Tadić 2018
* Licensed under the MIT license. See LICENSE file.
*/
import UIKit
protocol AEStyle {
associatedtype FontKey: Hashable
@tadija
tadija / README.md
Last active September 14, 2021 13:19
Sketch script for exporting artboards to separate .sketch files

sketch-artboards-to-documents

Sketch script for exporting artboards to separate .sketch files

Instructions

  1. Backup your .sketch file, it's going to be destroyed.
  2. Select all artboards you want to export to .sketch files.
  3. Run this script and find your new .sketch files on Desktop.
@tadija
tadija / AECoreData.swift
Last active June 19, 2022 15:34
AECoreData
/**
* https://gist.github.com/tadija/6003830264d67a87193ff0c3d20373e7
* Revision 10
* Copyright © 2018-2021 Marko Tadić
* Licensed under the MIT license
*/
import CoreData
@available(iOS 10.0, *)
@tadija
tadija / AEPermissions.swift
Last active October 5, 2021 12:28
AEPermissions
/**
* https://gist.github.com/tadija/c20479d0012baaaacd699ecdc1511579
* Revision 8
* Copyright © 2018-2021 Marko Tadić
* Licensed under the MIT license
*/
import Foundation
// MARK: - Core