Systers Community

PowerUp iOS: Hide empty display boxes in ShopViewController

Prerequisite:

Create a Github account. Fork and build PowerUp iOS.

Description:

ShopViewController displays an empty grayed-box for hair, clothes and accessaries that do not exist. For example, go to Store -> Clothes. You will notice only the first display box is non-empty and other boxes are empty. Improve this view to hide the display boxes if the box content ( hair/cloth/accessary) is empty.

Steps:

  • create a separate branch in your local repo for this task.
  • Run the PowerUp in simulator, navigate to the shop view and identify the issue.
  • Locate the UIViewController, and views corresponding to the shop scene and fix the code to hide non-empty boxes.
  • Build, run and test your code and verify the expected behavior.

Resources:

Work Submission:

Create and submit a PR and post the PR link here. Link the PR to Github issue #188 and resolve.

Task tags

  • systers
  • powerup
  • ios
  • code

Students who completed this task

Vatsal Kulshreshtha, Nathan Gaudreault, Fynn Kiwitt

Task type

  • code Code
close

2017