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
by using Protocols to define a bunch of common implementation, the properties of those protocols are leaking. i want to have them as private but it's not possible as currently in Swift (5.4) protocol properties can't have their access control specified. it just follows the one of the protocol itself.
not sure how to handle this yet. i'd like to avoid duplicating methods around different struct/class but i also want to avoid open unnecessary implementation details.
The text was updated successfully, but these errors were encountered:
by using Protocols to define a bunch of common implementation, the properties of those protocols are leaking. i want to have them as private but it's not possible as currently in Swift (5.4) protocol properties can't have their access control specified. it just follows the one of the protocol itself.
not sure how to handle this yet. i'd like to avoid duplicating methods around different struct/class but i also want to avoid open unnecessary implementation details.
The text was updated successfully, but these errors were encountered: