Configure cell

pull/2/head
Michael Scoff 7 years ago
parent 3baa82b459
commit 12243646e6
  1. 12
      Trust.xcodeproj/project.pbxproj
  2. 2
      Trust/Accounts/ViewControllers/AccountsViewController.swift
  3. 2
      Trust/Transactions/Coordinators/BalanceCoordinator.swift

@ -10,6 +10,9 @@
1D2831CD94641E5166E3A798 /* Pods_TrustUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AEE09E815DB68F6634F89AA /* Pods_TrustUITests.framework */; };
290B2B541F8F50030053C83E /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 290B2B561F8F50030053C83E /* Localizable.strings */; };
290B2B5B1F8F551E0053C83E /* LokaliseInitializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 290B2B5A1F8F551E0053C83E /* LokaliseInitializer.swift */; };
290B2B5D1F9176D80053C83E /* PFColorHash.swift in Sources */ = {isa = PBXBuildFile; fileRef = 290B2B5C1F9176D80053C83E /* PFColorHash.swift */; };
290B2B5F1F9177860053C83E /* UIImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 290B2B5E1F9177860053C83E /* UIImage.swift */; };
290B2B611F9179880053C83E /* AccountViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 290B2B601F9179880053C83E /* AccountViewModel.swift */; };
290FD8BB1F7BFE7400548896 /* GetBlockByNumberRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 290FD8BA1F7BFE7400548896 /* GetBlockByNumberRequest.swift */; };
2912CCF91F6A830700C6CBE3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2912CCF81F6A830700C6CBE3 /* AppDelegate.swift */; };
2912CD021F6A830700C6CBE3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2912CD011F6A830700C6CBE3 /* Assets.xcassets */; };
@ -173,6 +176,9 @@
290B2B551F8F50030053C83E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
290B2B571F8F500A0053C83E /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Localizable.strings; sourceTree = "<group>"; };
290B2B5A1F8F551E0053C83E /* LokaliseInitializer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LokaliseInitializer.swift; sourceTree = "<group>"; };
290B2B5C1F9176D80053C83E /* PFColorHash.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PFColorHash.swift; sourceTree = "<group>"; };
290B2B5E1F9177860053C83E /* UIImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIImage.swift; sourceTree = "<group>"; };
290B2B601F9179880053C83E /* AccountViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountViewModel.swift; sourceTree = "<group>"; };
290FD8BA1F7BFE7400548896 /* GetBlockByNumberRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetBlockByNumberRequest.swift; sourceTree = "<group>"; };
2912CCF51F6A830700C6CBE3 /* Trust.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Trust.app; sourceTree = BUILT_PRODUCTS_DIR; };
2912CCF81F6A830700C6CBE3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@ -497,6 +503,7 @@
29C9F5FA1F720C050025C494 /* FloatLabelTextField.swift */,
29FC0CB71F8299510036089F /* Coordinator.swift */,
293248931F89F3C6008A9818 /* PageItem.swift */,
290B2B5C1F9176D80053C83E /* PFColorHash.swift */,
);
path = UI;
sourceTree = "<group>";
@ -698,6 +705,7 @@
isa = PBXGroup;
children = (
291F52C01F6C8A1F00B369AB /* AccountsViewModel.swift */,
290B2B601F9179880053C83E /* AccountViewModel.swift */,
);
path = ViewModels;
sourceTree = "<group>";
@ -831,6 +839,7 @@
29358DA81F79FD1C00925D61 /* CALayer.swift */,
29E2E3391F7A008C000CF94A /* UIView.swift */,
29BBB36A1F7BCEDD006BC91B /* GethBigInt.swift */,
290B2B5E1F9177860053C83E /* UIImage.swift */,
);
path = Extensions;
sourceTree = "<group>";
@ -1429,6 +1438,7 @@
29B9345D1F88459C009FCABB /* SplashViewController.swift in Sources */,
291F52B11F6B814300B369AB /* MG Basic Math.swift in Sources */,
29E2E33A1F7A008C000CF94A /* UIView.swift in Sources */,
290B2B5F1F9177860053C83E /* UIImage.swift in Sources */,
291F52B21F6B814300B369AB /* MG Benchmark Tools.swift in Sources */,
29FC0CB11F81CED10036089F /* TransactionByHashRequest.swift in Sources */,
291ED08F1F6F613200E7E93A /* GetTransactionRequest.swift in Sources */,
@ -1524,9 +1534,11 @@
295247DF1F8326EF007FDC31 /* AccountViewCell.swift in Sources */,
2912CD2D1F6A839700C6CBE3 /* CreateWalletViewController.swift in Sources */,
290FD8BB1F7BFE7400548896 /* GetBlockByNumberRequest.swift in Sources */,
290B2B5D1F9176D80053C83E /* PFColorHash.swift in Sources */,
291F52B71F6B870400B369AB /* CastError.swift in Sources */,
293248841F88CCD2008A9818 /* SplashState.swift in Sources */,
291F52BC1F6B8D0600B369AB /* Account.swift in Sources */,
290B2B611F9179880053C83E /* AccountViewModel.swift in Sources */,
2932045E1F8EEE760095B7C1 /* BalanceCoordinator.swift in Sources */,
2912CD321F6A83EE00C6CBE3 /* WelcomeViewController.swift in Sources */,
291F52A91F6B7BE100B369AB /* BlockNumber.swift in Sources */,

@ -69,7 +69,7 @@ class AccountsViewController: UITableViewController {
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let account = self.account(for: indexPath)
let cell = AccountViewCell(style: .default, reuseIdentifier: AccountViewCell.identifier)
cell.textLabel?.text = account.address.address
cell.configure(viewModel: AccountViewModel(account: account))
return cell
}

@ -64,7 +64,7 @@ class BalanceCoordinator {
}
func stop() {
}
}

Loading…
Cancel
Save