# How to return the runtime Self from a method like createWrapper() -\> Wrapper\<Self\>

**URL:** <https://forums.swift.org/t/how-to-return-the-runtime-self-from-a-method-like-createwrapper-wrapper-self/32317>\
**Category:** Using Swift\
**Tags:** generics\
**Created:** [January 7, 2020, 4:17pm UTC](https://forums.swift.org/t/how-to-return-the-runtime-self-from-a-method-like-createwrapper-wrapper-self/32317 "2020-01-07T16:17:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![DevAndArtist](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/devandartist/32/287_2.png) [@DevAndArtist](https://forums.swift.org/u/DevAndArtist)\
**Post date:** [January 7, 2020, 5:34pm UTC](https://forums.swift.org/t/how-to-return-the-runtime-self-from-a-method-like-createwrapper-wrapper-self/32317/5 "2020-01-07T17:34:03Z")

</div>

Here is some more material to learn from. `Self` in protocols means one things while `Self` on classes means something else: [Is it just me or did we end up having partly `StaticSelf` in Swift? - #5 by Slava\_Pestov](https://forums.swift.org/t/is-it-just-me-or-did-we-end-up-having-partly-staticself-in-swift/22752/5)

---

_[View the full topic](https://forums.swift.org/t/how-to-return-the-runtime-self-from-a-method-like-createwrapper-wrapper-self/32317)._
