app-architecture icon indicating copy to clipboard operation
app-architecture copied to clipboard

Sample Code of the App Architecture Book

Results 23 app-architecture issues
Sort by recently updated
recently updated
newest added

1. add some private keyword. 2. split some extension code. 3. remove some unuseless AVAudioPlayerDelegate. Increase code readability, easier to understand.

**Fix:** In `FolderViewController` `folder` property is a struct, so in methods `deleteItem(item:)` and `insert(item:)` changing the folder property will trigger `didSet` block with `tableView.reloadData()`. Therefore, `tableView.deleteRows(at: [IndexPath(row: index, section: 0)],...

The problem seems to be on line 20 of FolderViewController: ~~~swift viewModel.folderContents.bind(to: tableView.rx.items(dataSource: dataSource)).disposed(by: disposeBag) ~~~ I'm getting the following: ~~~ 2019-05-23 12:20:09.318611-0300 Recordings[15921:6162304] Warning: Unable to create restoration in...

These keys in `FolderViewController` are reversed and cause some changes to call reloadData instead of the correct insert animation. This incorrect code is in the book as well. ``` let...

Would it be possible to put the example projects under an open source license like the MIT license?

In the `switch` below, `deleteRows()` or `insertRows` was not reached because of this typo. ``` switch (changeReason, newValue, oldValue) { case let (Item.removed, _, (oldIndex as Int)?): tableView.deleteRows(at: [IndexPath(row: oldIndex,...

I'm following the steps in the README to install RxSwift via Carthage, but running into complier issues. Specifically, `No such module 'RxDataSources'`. The only error I get when running `carthage...

FolderViewController.swift 中 if let changeReason = userInfo[Item.changeReasonKey] as? String { let oldValue = userInfo[Item.newValueKey] let newValue = userInfo[Item.oldValueKey] 应改为: if let changeReason = userInfo[Item.changeReasonKey] as? String { let oldValue =...

i download the project and when i run the One-App-Eight-Architectures ,it is runs some errors,my Xcode is 10.2