Skip to content

Instantly share code, notes, and snippets.

View designbymind's full-sized avatar
🌎

Jason David Miller designbymind

🌎
  • DesignByMind LLC
  • Irvine, CA US
  • 13:53 (UTC -07:00)
View GitHub Profile
import SwiftUI
struct ChatGPTTextField: View {
// MARK: - State
/// State to hold our `TextField` query.
@State private var queryMessage: String = ""
/// Focus state for our `TextField`.
@designbymind
designbymind / urlschemes.json
Created February 11, 2025 08:37 — forked from esprengle/urlschemes.json
iOS app URL schemes
{
"com.8bit.bitwarden": "bitwarden://",
"com.apple.airport.mobileairportutility": "apmanage://",
"com.apple.appleseed.FeedbackAssistant": "applefeedback://",
"com.apple.AppStore": "itms-apps://itunes.apple.com/",
"com.apple.AppStoreConnect": "shortcuts://run-shortcut?name=Icon%20Themer&input=%7B%22launch%22%3A%22Connect%22%7D",
"com.apple.artistconnect": "shortcuts://run-shortcut?name=Icon%20Themer&input=%7B%22launch%22%3A%22Artists%22%7D",
"com.apple.bnd": "beatsbond://",
"com.apple.Bridge": "com.apple.bridge://x",
"com.apple.calculator": "shortcuts://x-callback-url/run-shortcut?x-error=calc://",
@designbymind
designbymind / README.md
Created December 26, 2024 12:58 — forked from ix4/README.md
GeoJson map of NYC Neighborhoods
@designbymind
designbymind / fipsToState.json
Created November 25, 2022 08:05 — forked from wavded/fipsToState.json
State FIPS JSON
{
"01": "Alabama",
"02": "Alaska",
"04": "Arizona",
"05": "Arkansas",
"06": "California",
"08": "Colorado",
"09": "Connecticut",
"10": "Delaware",
"11": "District of Columbia",
@designbymind
designbymind / example-ios.js
Last active January 16, 2021 00:56 — forked from hansemannn/example-ios.js
iOS In-App-Billing Module
var IAP = require('ti.iap');
var PRODUCT_IDENTIFIER = 'YOUR_PRODUCT_IDENTIFIER';
var SHARED_SECRET = 'YOUR_SHARED_SECRET';
var win = Ti.UI.createWindow({ backgroundColor: '#fff', title: 'IAP Demo' });
win.addEventListener('open', onOpen);
// Retrieve products info
var btn1 = Ti.UI.createButton({ title: 'Retrieve products info', top: 50 });
@designbymind
designbymind / README.md
Last active November 13, 2017 08:25 — forked from grantges/Readme.md
Shapes With Appcelerator Titanium and Hyperloop

Custom Alloy Tags based on Appcelerator Hyperloop modules

With Alloy and Hyperloop, you can quickly and easily expose native UI as Custom Alloy tags by leveraging the namespace (ns) attribute and commonjs modules.

Alloy allows you to create your own UI element that can be included into the XML View heirarchy in one of two ways, an Alloy Widget or through the use of Custom Tags.

To create your own custom tag, you link the tag to the commonjs module with the namespace attribute (ns). Here is an example using a custom tag to render a standard Titanium View: