Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate code to Swift 3 #6

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Migrate code to Swift 3 #6

wants to merge 23 commits into from

Conversation

troyshu
Copy link

@troyshu troyshu commented Mar 5, 2017

I migrated the codebase to Swift 3. First, I used Xcode's automatic code migration function. Then, I fixed the remaining build errors manually, to adhere to Swift 3 syntax. I manually tested the app (on my iPhone, in the simulator for various iPhone models), everything works and looks as expected.

Not sure if this was introduced in the migration, but the app's design degrades a little on iPhone SE. It looks fine on other screen sizes, but I guess another todo is to make the design properly responsive. Many of the commits after the "Upgrade to Swift 3" one were to make the stock price chart and date range select buttons responsive to different screen sizes and device rotation.

I also committed the updated Alamofire pod to the repo. I'm new to Swift development, Cocoapod, etc. so there's probably a bunch of cleanup that needs to be done.

@troyshu troyshu mentioned this pull request Mar 5, 2017
…g on an actual iPhone device / no crashing run time errors
…rt, responsive. Though drawing of the "chart" itself still isn't responsive
…t extension to speed build, due to a bug in swift
…loyment target to iOS 9+ (because of UIStackView)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants