Instead of using __asm, is it possible to use @compatibility_alias to achieve the same thing?

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
objective-c
Domain
mobile

Research direction

Start by inspecting the FDStackView implementation that uses __asm to provide UIStackView before iOS 9. Compare that approach with Objective-C's @compatibility_alias behavior and determine whether it preserves the same runtime compatibility. Done means documenting a clear decision and any required follow-up change.

Written by the indexing model from the issue text.

Description

In order to use UIStackView directly, FDStackView uses __asm to "generate" UIStackView if it's running before iOS 9.0. But will it be nicer to use @compatibility_alias to do the same thing?

Dominant language
Objective-C
Stars
2.5k
Forks
310
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 forkingdog/FDStackView

All issues in forkingdog/FDStackView

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.