Skip to content

Commit

Permalink
Updates readme (#41)
Browse files Browse the repository at this point in the history
* Updates readme
  • Loading branch information
felilo authored Dec 16, 2024
1 parent 53cfe21 commit e8ed7fa
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,18 +201,20 @@ class AppDelegate: NSObject, UIApplicationDelegate {
) -> Bool {
mainCoodinator = HomeCoordinator()


// Simulate the receipt of a notification or external trigger to present some coordinator
DispatchQueue.main.asyncAfter(deadline: .now() + 10) {
Task { [weak self] in
// Create and present the CustomTabbarCoordinator in a sheet presentation style
let coordinator = CustomTabbarCoordinator()
try? await coordinator.forcePresentation(
presentationStyle: .fullScreenCover,
mainCoordinator: self?.shee
presentationStyle: .sheet,
mainCoordinator: self
)
}
}


return true
}
}
Expand Down Expand Up @@ -478,8 +480,12 @@ It works the same as Coordinator but has the following additional features:
</tr>
<tr>
<td><code style="color: blue;">customView</code></td>
<td></td>
<td>Is a closure that receives a <code style="color: #ec6b6f;">View</code> as parameter</td>
<td>
<ul>
<li><b>view:</b> <code>View</code></li>
</ul>
</td>
<td>Is a closure that receives a view as parameter, to create a custom tab bar </td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit e8ed7fa

Please sign in to comment.