Swift object model

how can i discover swift object model. such protocol ,inherit object memory layout

Can you elaborate on your goals here? I read your question a few times and I’m not entirely sure what you’re looking for. My current theories:

  • You’re interested in how these structures are represented in memory at runtime, that is, the runtime ABI

  • You’re interested in how to discover these structures programmatically, that is, reflection

Both of those queries have answers, but it’d be best if we knew more about what you’re looking for before we start answering (-:

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple

3 Likes
Terms of Service

Privacy Policy

Cookie Policy