Skip to content

Instantly share code, notes, and snippets.

View JohnnyD1776's full-sized avatar
πŸ‘¨β€πŸ’»
Coding

Johnny D JohnnyD1776

πŸ‘¨β€πŸ’»
Coding
View GitHub Profile
@JohnnyD1776
JohnnyD1776 / .gitignore
Created January 31, 2024 11:05 — forked from Johnny1776/.gitignore
gitignore
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore
*~
*.sw[mnpcod]
*.log
*.tmp
*.tmp.*
log.txt
*.sublime-project
@JohnnyD1776
JohnnyD1776 / ExampleColorSchemes.swift
Created January 31, 2024 11:05 — forked from Johnny1776/ExampleColorSchemes.swift
Simple View represents common UI System Colors for iOS and macOS.
import SwiftUI
#if os(iOS)
import UIKit
#endif
/**
Display a simple view of the common system colors used for interface design. Quick reference that if in Canvas will display in a larger format.
*/
struct ExampleColorSchemes: View {
@JohnnyD1776
JohnnyD1776 / StringType.swift
Created January 31, 2024 11:05 — forked from Johnny1776/StringType.swift
String extension with separate function to check validity of a string.
// StringType.swift
//
// Created by Johnny1776 on 25/08/2023.
//
import SwiftUI
extension String {
/**
Checks whether the string falls within a specified range and matches a particular pattern.