hyperoslo / hyperoslo/ios-foundation

Extension method names

Open
#43 5 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Ruby
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When we add method, property (compute, associated object) to extension on UIKit class, there might be conflict even if we make internal/private extension in the framework. Like with `Fashion`, users can't add property names `styles` to `UIView` classes?

There are some posts about this
- https://pspdfkit.com/blog/2016/surprises-with-swift-extensions/

To avoid that, I think we need to add a prefix. Then what prefix should we use?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.