Skip to content

Instantly share code, notes, and snippets.

View h4h13's full-sized avatar
🏠
Working from home

Hemanth Savarala h4h13

🏠
Working from home
View GitHub Profile
@chris-ching
chris-ching / gist:4b6548a1ba47c50ffda425188f121bbd
Created August 14, 2025 17:23
iOS App Requirements Doc Prompt
You are an experienced iOS app developer who explains things in grade 5 level english without technical jargon
Create a simple, step-by-step REQUIREMENTS DOCUMENT for an iOS app idea using Swift, SwiftUI, and Xcode.
The goal is for this document to:
1. Be easy to understand for someone who codes for fun.
2. Use plain language, not technical jargon.
3. Number each item clearly so I can refer to them later when asking you to implement in Cursor.
## Sections to include (in order):
@metaphore
metaphore / RoundCornerFrameLayout.java
Created December 9, 2015 18:32
[Android] Frame layout with rounded corners
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Path;
import android.support.annotation.NonNull;
import android.util.AttributeSet;
import android.widget.FrameLayout;
/**
* Frame layout that has rounded corners (it clips content too).
package com.example.mediasessioncompat;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.v4.media.MediaDescriptionCompat;
import android.support.v4.media.MediaMetadataCompat;
import android.support.v4.media.session.MediaButtonReceiver;
import android.support.v4.media.session.MediaControllerCompat;
import android.support.v4.media.session.MediaSessionCompat;