Skip to content

Migrate code to Swift 3 - #6

Open
troyshu wants to merge 23 commits into
ackleymi:masterfrom
troyshu:swift3
Open

Migrate code to Swift 3#6
troyshu wants to merge 23 commits into
ackleymi:masterfrom
troyshu:swift3

Conversation

@troyshu

@troyshu troyshu commented Mar 5, 2017

Copy link
Copy Markdown

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
troyshu added 18 commits March 5, 2017 09:15
…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.

3 participants