new-dawn / new_dawn_ios_playground

iOS repository for project New Dawn
0 stars 1 forks source link

[Login] Modify Phone Verification Page #200

Open tangziyi001 opened 5 years ago

tangziyi001 commented 5 years ago
Screen Shot 2019-05-10 at 9 06 32 PM
  1. You can make the UI change in Main.storyboard.
  2. The four lines below each digit has different colors (black v.s. grey). As a starter, you can start with one color and ignore the color change when typing the digits and follow up on that later. It might need some research on how to make digit spacing larger and draw four bottom lines under them.

Next steps (another PR):

  1. The viewer controller code for this storyboard is in LoginViewControllers/PhoneAuthenticateViewController.swift. Here you can find how the popup menu works when clicking on "未收到验证码",the popup menu is directly implemented by the code in function "reVerifyButtonTapped" instead of drawing on the storyboard. You can modify the text showing on that menu by modifying the code there.
  2. Currently, we only support "其他手机号码"。You can add the functionality of "再寄出一组手机号码" and learn how to do that by looking at existing code.

The code might seem a bit complicated. Though you don't need to understand everything from it but it would be super helpful to try to understand them. Those are all useful for future tasks.

Let me know if you have other questions!

tangziyi001 commented 5 years ago
Screen Shot 2019-05-11 at 2 21 08 PM
tangziyi001 commented 5 years ago

@reallljanice Let me know if this task sounds interesting to you. If you'd be able to work on this. We can talk more about it tomorrow

reallljanice commented 5 years ago

Sounds great! Looking forward to the talk tomorrow!