Skip to content

Instantly share code, notes, and snippets.

View DreamingInBinary's full-sized avatar

Jordan Morgan DreamingInBinary

View GitHub Profile
sudo cp -r /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5318d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
@DreamingInBinary
DreamingInBinary / UIView+BFRShimmering.m
Created August 14, 2018 20:10
UIView+BFRShimmering.m
//
// UIView+BFRShimmer.h
// BFRUtils
//
// Created by Jordan Morgan on 8/14/18.
// Copyright © 2018 Buffer. All rights reserved.
//
#import <UIKit/UIKit.h>
@DreamingInBinary
DreamingInBinary / Best in Class iOS Checklist
Last active February 1, 2026 14:46
This is a public checklist updated every year after the latest version of iOS and iPadOS are shipped. It's a boiled down version of a "Best in Class" app checklist created by Jordan Morgan.
# A Best in Class Checklist
A boiled down checklist adapted from this [post](https://www.swiftjectivec.com/a-best-in-class-app/), created by @jordanmorgan10.
> To use this, create a Github Issue in your own repo, and simply copy and paste this text.
## iOS Core Technology
_Things any iOS app can benefit from_
- [ ] iCloud Sync
- [ ] Focus Filter Support
//
// SidebarSearchView.swift
//
// Created by Jordan Morgan on 6/30/21.
//
import SwiftUI
struct SidebarSearchView: NSViewRepresentable {
typealias NSViewType = NSSearchField
@DreamingInBinary
DreamingInBinary / superwallWebhook.ts
Created August 21, 2025 16:51
Use an edge function from Supabase to ingest a Superwall Webhooks
import { createClient } from 'npm:@supabase/supabase-js@2';
// Initialize client...
const supabase = createClient(Deno.env.get('SUPABASE_URL') ?? '', Deno.env.get('SUPABASE_SERVICE_ROLE_KEY') ?? '');
Deno.serve(async (req)=>{
// Only accept POST requests
if (req.method !== 'POST') {
return new Response('Method Not Allowed', {
status: 405
});
}
@DreamingInBinary
DreamingInBinary / export.json
Last active January 9, 2026 18:54
Contentful CMS Data
This file has been truncated, but you can view the full file.
{
"contentTypes": [
{
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "3k7cygmwfm7x"
}