Based on the Map of Thailand by Master Krist Wongsuphasawat, a simple map of Colombia using GeoJSON and D3.js
Forked from john-guerra's block
As in Krist example:
- Each neighborhood is color-coded by the length of its name in English.
import SwiftUI | |
struct ChatGPTTextField: View { | |
// MARK: - State | |
/// State to hold our `TextField` query. | |
@State private var queryMessage: String = "" | |
/// Focus state for our `TextField`. |
{ | |
"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://", |
Based on the Map of Thailand by Master Krist Wongsuphasawat, a simple map of Colombia using GeoJSON and D3.js
Forked from john-guerra's block
As in Krist example:
{ | |
"01": "Alabama", | |
"02": "Alaska", | |
"04": "Arizona", | |
"05": "Arkansas", | |
"06": "California", | |
"08": "Colorado", | |
"09": "Connecticut", | |
"10": "Delaware", | |
"11": "District of Columbia", |
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 }); |
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: