Naming duplicate issues

Open
#6 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
swift
Domain
mobile-dev

Research direction

Reproduce the naming conflict while using QuickLayout with the linked StackKit library, focusing on the duplicate VStack and HStack names and the QuickLayout macro/module collision. Determine the intended public naming resolution and verify that both libraries can be used without manually qualifying QuickLayout.VStack or QuickLayout.HStack.

Written by the indexing model from the issue text.

Description

We reference another third-party library in our project, StackKit, with the methods of the same name VStack and HStack. If I want to use 'QuickLayout', I need to manually specify like this QuickLayout.VStack, but QuickLayout is also the name of the macro, so I can't use it.

我们项目中引用了另一个第三方库,StackKit,有了同名的方法VStackHStack,如果要使用QuickLayout,需要手动指定 Module 名.方法名,但QuickLayout同时也是宏的名字,导致我们没法使用。

Dominant language
Swift
Stars
365
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/QuickLayout

All issues in facebook/QuickLayout

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.