Skip to content

Instantly share code, notes, and snippets.

//
// ContentView.swift
// AppleMusicLyricsPlayer
//
// Created by Magesh Sridhar on 2/5/23.
//
import SwiftUI
import AVKit
@ajjames
ajjames / OverlayView.swift
Created April 27, 2020 23:38
SwiftUI fullscreen overlay modifier
import SwiftUI
struct OverlayView<OverlayContent: View>: ViewModifier {
@Binding var isPresented: Bool
var modalContent: OverlayContent
var transition: AnyTransition = .move(edge: .bottom)
var animation: Animation = .easeInOut
func body(content: Content) -> some View {
@fcurella
fcurella / django_postgis_on_os_x.md
Created July 27, 2012 15:22
Django and Postgis on OS X

Django and Postgis on OS X

Install Homebrew

Install a few things with homebrew:

Notice that some packages give you information at the end, read it carefully. To recall that info use brew info like this: $ brew info postgresql

$ brew install python --universal