Skip to content

Instantly share code, notes, and snippets.

@alessaba
Last active July 29, 2023 21:47
Show Gist options
  • Save alessaba/612090502dcdd1f698f7f83bca3343ca to your computer and use it in GitHub Desktop.
Save alessaba/612090502dcdd1f698f7f83bca3343ca to your computer and use it in GitHub Desktop.
List of available frameworks in Swift Playgrounds over the years
// Swift Playgrounds Beta 1.0
import AVFoundation
import AVKit
import Accelerate
import Accounts
import AudioToolbox
import AudioUnit
import CFNetwork
import CoreAudio
import CoreAudioKit
import CoreBluetooth
import CoreData
import CoreFoundation
import CoreGraphics
import CoreImage
import CoreLocation
import CoreMIDI
import CoreMedia
import CoreMotion
import CoreText
import CoreVideo
import ExternalAccessory
import Foundation
import GLKit
import GameController
import GameKit
import GameplayKit
import ImageIO
import MapKit //After 10 Months (v1.2)
import MediaAccessibility
import MediaPlayer
import MediaToolbox
import MessageUI
import Metal
import MetalKit
import MetalPerformanceShaders
import MobileCoreServices
import ModelIO
import MultipeerConnectivity
import OpenAL
import OpenGLES
import Photos
import PhotosUI
import QuartzCore
import QuickLook
import ReplayKit
import SafariServices
import SceneKit
import Security
import Social
import SpriteKit
import UIKit
import WebKit
//import iAd
//import AdSupport
//import AddressBook
//import AddressBookUI
//import AssetsLibrary
//import CallKit
//import CloudKit
//import Contacts
//import ContactsUI
//import CoreSpotlight
//import CoreTelephony
//import EventKit
//import EventKitUI
//import GSS
//import HealthKit
//import HealthKitUI
//import HomeKit
//import IOKit
//import Intents
//import IntentsUI
//import JavaScriptCore
//import LocalAuthentication
//import Messages
//import NetworkExtension
//import NewsstandKit
//import NotificationCenter
//import PassKit
//import PushKit
//import Speech
//import StoreKit
//import System
//import SystemConfiguration
//import Twitter
//import UserNotifications
//import UserNotificationsUI
//import VideoSubscriberAccount
//import VideoToolbox
//import WatchConnectivity
// Other Modules
import asl
import AppleTextureEncoder
import Compression
import dnssd
import DispatchIntrospection
import libkern
import MachO
import os
import PlaygroundSupport
import Swift
import _PlaygroundRuntime
import simd
import Darwin
import libkern
//import PlaygroundLogger
// Swift Playgrounds 1.5
import PlaygroundBluetooth
// Swift Playgrounds 2.0
import ARKit
import CoreML
import IOSurface
import PDFKit
import SQLite3
import Vision
import zlib
import FileProvider
//import libxml2 // Could not build Objective-C module "libxml2"
//Swift Playgrounds 2.2
import CommonCrypto
import ICU
import Network
import NaturalLanguage
import VideoToolbox
//Swift Playgrounds 3.0
import SwiftOverlayShims
// Swift Playgrounds 3.1 — OMG THEY ADDED SO MUCH!
// App's still bugged af, but whatever. this is a almost complete SDK!
import Combine
import CryptoKit
import CoreHaptics
import ImageCaptureCore
import LinkPresentation
import LocalAuthentication
import PencilKit
import RealityKit
import SwiftUI
import SoundAnalysis
import UserNotifications
import VisionKit
// Swift Playgrounds 3.4 (Added console, faster suggestions, resizable font)
import AppleArchive
import Accessibility
import AuthenticationServices
import CloudKit
//import CryptoTokenKit
import libxml2
import MLCompute
import MetalPerformanceShadersGraph
import NearbyInteraction
import OSLog
import ptrauth
import System
import StoreKit
/*
Total Frameworks in iOS 10: 90
Available Frameworks in Playgrounds: 52 (+1 after 10 months)
Removed Frameworks: 38
Swift Playground additional modules: 11
MapKit was only added 10 months after first beta release
*/
NSSetUncaughtExceptionHandler { exc in
print(exc)}
//PlaygroundRuntime()
//PGExecutionExtensionViewController()
//let a = PCMacroRuntime() //PlaygroundRuntime()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment