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
\documentclass[11pt, oneside]{article} | |
\usepackage[margin=0.5in]{geometry} | |
\geometry{letterpaper} | |
\usepackage[parfill]{parskip} | |
\usepackage{graphicx} | |
\usepackage{amssymb} | |
\usepackage{xcolor} | |
\pagecolor{white} | |
\usepackage[colorlinks = true, linkcolor = blue, urlcolor = blue]{hyperref} | |
\pagestyle{empty} |
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
# 1. Create 'ci_scripts' folder in your main project directory | |
# 2. Create 'ci_post_xcodebuild.sh' inside of it | |
# 3. Make it an executable by running 'chmod +x $ci_post_xcodebuild.sh' | |
set -e # fails build if any command fails | |
if [ ${CI_XCODEBUILD_EXIT_CODE} != 0 ] | |
then | |
exit 1 | |
fi |
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
// | |
// CacheAsyncImage.swift | |
// | |
// Created by Costantino Pistagna on 08/02/23. | |
// | |
import SwiftUI | |
struct CacheAsyncImage<Content, Content2>: View where Content: View, Content2: View { | |
private let url: URL? |
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
// | |
// LikeView.swift | |
// lottie-first | |
// | |
// Created by Matthew Young on 12/31/22. | |
// | |
import SwiftUI | |
import Lottie |
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 SwiftUI | |
public extension View { | |
@available(iOS, obsoleted: 15.0, message: "SwiftUI.View.task is available on iOS 15.") | |
@_disfavoredOverload | |
@inlinable func task( | |
priority: _Concurrency.TaskPriority = .userInitiated, | |
@_inheritActorContext _ action: @escaping @Sendable () async -> Swift.Void | |
) -> some SwiftUI.View { |
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 UIKit | |
// Reference Video: https://youtu.be/iqpAP7s3b-8 | |
struct AnchoredConstraints { | |
var top, leading, bottom, trailing, width, height: NSLayoutConstraint? | |
} | |
let DeviceSize = UIScreen.main.bounds.size |
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
▿ 1303 elements | |
- 0 : "abacus" | |
- 1 : "accordion" | |
- 2 : "acorn" | |
- 3 : "acrobat" | |
- 4 : "adult" | |
- 5 : "adult_cat" | |
- 6 : "agriculture" | |
- 7 : "aircraft" | |
- 8 : "airplane" |
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
//******* STORAGE MODEL **************** | |
import CoreData | |
import Combine | |
class URLMetadataStorage: NSObject, ObservableObject { | |
static let shared = URLMetadataStorage() | |
let parentContext = PersistenceController.shared.container.viewContext |
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
// Author: SwiftUI-Lab (www.swiftui-lab.com) | |
// Description: This code is part of the "Advanced SwiftUI Animations - Part 5" | |
// Article: https://swiftui-lab.com/swiftui-animations-part5/ | |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
DigitalRain() | |
} |