Skip to content

Swf 10 account details #8

Merged
merged 14 commits into from Mar 26, 2019
Merged

Swf 10 account details #8

merged 14 commits into from Mar 26, 2019

Conversation

@ahm11003
Copy link
Collaborator

ahm11003 commented Mar 18, 2019

  • Set up account table to hold the user's different accounts
  • Set up account details screen to display total balance, available balance, next payment due date, etc
tiw15001 and others added 9 commits Feb 13, 2019
- made `Account.swift` target iOS and watchOS projects
- created function to populate with “dummy” accounts
- created function to configure each row in table
- implemented `contextForSegue` function to allow us to “pass” the selected account to the next interface controller
- change how we get the account before it is passed to account details
- wrote methods to set up account details screen with the account object that is received

private func populateDemoData() {
//swiftlint:disable line_length
accounts.append(Account(accountNumber: "TD Bank", limit: 500.00, transactions: [], paymentDueDate: Date(), cycleEndDate: Date()))

This comment has been minimized.

Copy link
@ahm11003

ahm11003 Mar 18, 2019

Author Collaborator

These accounts were created for illustrative purposes, and once we get actual accounts from synchrony's mock environment these can be safely removed

ahm11003 added 4 commits Mar 20, 2019
- `TransactionsInterfactController` will hold a table of recent transactions
- `TransactionCell` provides a model for our table cell
- Added TransactionsInterfaceController
- In order to have a page based navigation allowing swipe between Account Details and Transactions, it was necessary to change the segue from the Accounts Table to “modal” type
- As a result of the change to modal presentation, the function we must override has changed
- Instead of returning the context for the next interface controller, we return an array of contexts, each corresponding to the interface controllers in the order they appear in the navigation stack (Account details is first, transactions is now second)
- once web service is set up, transactions should be passed to TransactionsInterfactController from this function
@ahm11003 ahm11003 requested review from rrk12005, jod13004 and tiw15001 Mar 21, 2019
@rrk12005
Copy link
Owner

rrk12005 commented Mar 26, 2019

looks good

@rrk12005 rrk12005 merged commit 8ad372f into master Mar 26, 2019
Sign in to join this conversation on GitHub.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.