⚙️ YAML Workflow Settings

📄 Generated YAML

Lines: 0 Characters: 0
# YAML will be generated after clicking "Generate YAML"

💡 Useful Code Snippets

1. UIApplicationDelegateAdaptor

@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate

2. AppDelegate with OneSignal

import Foundation
import OneSignalFramework

class AppDelegate: UIResponder, UIApplicationDelegate {

    static var orientationLock = UIInterfaceOrientationMask.all

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        setup(launchOptions: launchOptions)
        return true
    }

    func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
        return AppDelegate.orientationLock
    }

    func setup(launchOptions: [UIApplication.LaunchOptionsKey: Any]?) {
        OneSignal.initialize("ID", withLaunchOptions: launchOptions)
        OneSignal.Notifications.requestPermission({ accepted in }, fallbackToSettings: true)
    }
}

📋 JSON Generator

If provided, this value will appear ONCE (1 time) in JSON, other strings will be random
How many fields to generate in JSON
When checked: fields named like "apple", "dragon", "ocean"
When unchecked: fields named like "field_1", "field_2", "field_3"
Name for downloaded file (without .json extension)

📄 Generated JSON

Fields: 0 Characters: 0
// Click "Generate JSON" to create random data

🖼️ Image Resize Tool

📤

Drop images here or click to upload

PNG, JPG, JPEG • Max 10 images

Unchecked = stretch to fit size
Click Random to generate unique prefix

📸 Preview

Upload images to see preview