Skip to content

Conversation

@manoelfilho
Copy link
Contributor

@manoelfilho manoelfilho commented Jul 22, 2022

Descrição e Solução

  • Adding new extension for Strings to return values according to local currency
  • Adding View MenuItemCell

Checklist:

  • Não adiciona código duplicado
  • Não contém código comentado
  • Não contém código WIP
  • Teste Unitário Implementado

Evidências:

iPhone SE 3ª geração iPhone 13
iphone_SE iphone_13
nameLabel.text = "Title"
nameLabel.font = .systemFont(ofSize: 15, weight: .medium)
nameLabel.tintColor = .black
nameLabel.translatesAutoresizingMaskIntoConstraints = false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion]
Not necessary in this case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. translatesAutoresizingMaskIntoConstraints removed from all

descriptionItemStackView.addArrangedSubview(nameLabel)
descriptionItemStackView.addArrangedSubview(priceLabel)

wrapperItemStackView.addArrangedSubview(descriptionItemStackView)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion]
Move inside on your StackView.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Using arrangedSubviews option in stack definition

…ItemStackView and removing from the stack's inner elements. Using arrangedSubviews to define the internal elements of stacks
@Viniciuscarvalho Viniciuscarvalho merged commit c607458 into devpass-tech:main Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants