Assistant API for Swift app

Hello, just wondering what the correct member for thread creation within a swift app? createThread gives the error: Value of type ‘OpenAISwift’ has no member ‘createThread’