Skip to content
Back

AnyCodable not exposed in iOS SDK

  • 0
  • Apple
Florian Vates
13 Nov, 2025, 20:54

I want to write some convenience functions for Teams.list() but the problem is, that I can't use the default <[String : AnyCodable]> as a return type for my convenience function because AnyCodable doesn't seem to be exposed. Is there any way around that? I already had this issue when writing convenience functions for the tables module and ended up using my custom Codable objects as a workaround but that's not really a solution for the Teams.

TL;DR
Issue: Developer wants to use AnyCodable as a return type in convenience functions for Teams.list(), but finds that AnyCodable is not exposed in the iOS SDK like it was in the tables module. Solution: As a workaround, the developer used custom Codable objects for the tables module. However, this workaround is deemed unsuitable for Teams.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more