Skip to content

Instantly share code, notes, and snippets.

View wtpalexander's full-sized avatar

Will Alexander wtpalexander

View GitHub Profile
@brettohland
brettohland / 1.0 FormatStyle in Excruciating Detail.md
Last active July 23, 2024 12:12
FormatStyle in Excruciating Detail
@brennanMKE
brennanMKE / IDETemplateMacros.plist
Last active October 27, 2024 01:19
Xcode File Header Templates
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>FILEHEADER</key>
<string>
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___.
// All Rights Reserved.
</string>
<key>ORGANIZATIONNAME</key>
@xtabbas
xtabbas / SnapCarousel.swift
Created May 10, 2020 18:13
A carousel that snap items in place build on top of SwiftUI
//
// SnapCarousel.swift
// prototype5
//
// Created by xtabbas on 5/7/20.
// Copyright © 2020 xtadevs. All rights reserved.
//
import SwiftUI
@prafullakumar
prafullakumar / MultiLineTextViewSwiftUI.swift
Created April 4, 2020 06:08
Multiline Content Fit TextField
import SwiftUI
struct ContentView: View {
static var test:String = ""
static var testBinding = Binding<String>(get: { test }, set: { test = $0 } )
var body: some View {
NavigationView {
VStack(alignment: .leading) {
Text("Enter Review Comments:")
MultilineTextField("Type here", text: ContentView.testBinding, onCommit: {