You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a hazy recollection of a swift-dependencies technique Brandon may have shared on Slack once or twice. I believe it allowed something like the following. I may not have this exactly right:
My recollection is the purpose of this is passing arguments to dependencies, and also that some care needs to be taken around the getter and setter of the dependency value to ensure this works like you'd want it to.
I am interested in experimenting with this technique. I totally understand if it's not quite ready for prime time to go in the formal documentation, but I was wondering if we could get a quick sketch here in GitHub discussions where it won't be lost to Slack history. (Not urgent at all.)
If I am mistaken and this is documented somewhere, feel free to link me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a hazy recollection of a swift-dependencies technique Brandon may have shared on Slack once or twice. I believe it allowed something like the following. I may not have this exactly right:
My recollection is the purpose of this is passing arguments to dependencies, and also that some care needs to be taken around the
get
ter andset
ter of the dependency value to ensure this works like you'd want it to.I am interested in experimenting with this technique. I totally understand if it's not quite ready for prime time to go in the formal documentation, but I was wondering if we could get a quick sketch here in GitHub discussions where it won't be lost to Slack history. (Not urgent at all.)
If I am mistaken and this is documented somewhere, feel free to link me.
Beta Was this translation helpful? Give feedback.
All reactions