Skip to content

Instantly share code, notes, and snippets.

@austinzheng
austinzheng / swiftDelegateExample.swift
Created August 1, 2015 00:12
A simple example of setting up a delegate in Swift.
//
// ExampleCode.swift
//
import UIKit
// MARK: - Protocol
protocol SearchQueryProviderProtocol : class { // 'class' means only class types can implement it
func searchQueryData() -> String
@RaschidJFR
RaschidJFR / launch.json
Last active December 5, 2021 14:44
VSCode `Launch.json` for debugging Parse Server
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach", // Attach to a running node process (with `--inspect` flag)
@DreamingInBinary
DreamingInBinary / Best in Class iOS Checklist
Last active January 24, 2025 03:26
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
@JonyBepary
JonyBepary / memory_bank.instructions.md
Created May 24, 2025 08:35
This Copilot instruction creates a persistent project memory using the memory-bank/ directory. It provides a robust mechanism for maintaining project context and works seamlessly with GitHub Copilot. This ensures that Copilot automatically loads and preserves your project's memory across different conversation sessions.
applyTo
**

Memory Bank System Instructions

Core Behavior

You are operating with a Memory Bank system that maintains project context across sessions. Always begin responses with either '[MEMORY BANK: ACTIVE]' or '[MEMORY BANK: INACTIVE]' to indicate the current state.

Memory Bank Initialization

At the start of every conversation: