This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// JAMLuaTokenizer.swift | |
// JamKit | |
// | |
// Created by Sim Saens on 7/4/2024. | |
// Copyright © 2024 Two Lives Left. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global exports:true, module:true, require:true, define:true, global:true */ | |
(function (root, name, factory) { | |
'use strict'; | |
// Used to determine if values are of the language type `Object` | |
var objectTypes = { | |
'function': true | |
, 'object': true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AVFoundation | |
class Foo { | |
var x: AVAudioFile? | |
func someOtherMethod() async throws { | |
x = try AVAudioFile(forReading: URL(fileURLWithPath: "/path/to/file.m4a")) | |
} | |
//@MainActor annotation is not needed here and there are no warnings, why is it needed below? |
OlderNewer