Skip to content

Instantly share code, notes, and snippets.

View markiv's full-sized avatar

Vikram Kriplaney markiv

View GitHub Profile
@markiv
markiv / View+MeasureSize.swift
Created May 2, 2024 08:27
Measures the size of any view
import SwiftUI
struct MeasureSizeModifier: ViewModifier {
@Binding var size: CGSize
func body(content: Content) -> some View {
content.background {
GeometryReader { geometry in
Color.clear
.onAppear { size = geometry.size }
@markiv
markiv / resume.json
Created January 13, 2025 18:10
resume.json
{
"basics": {
"languages": [
{
"language": "English",
"fluency": "C2 Fluent/Native"
},
{
"language": "Spanish",
"fluency": "C2 Fluent/Native"