Skip to content

[#79] Implementing share deep linking | Event screen#94

Open
maximspics wants to merge 22 commits into
devfrom
(iOS-48)-Implement-Share-in-Event-screen
Open

[#79] Implementing share deep linking | Event screen#94
maximspics wants to merge 22 commits into
devfrom
(iOS-48)-Implement-Share-in-Event-screen

Conversation

@maximspics

Copy link
Copy Markdown
Collaborator

No description provided.

@komolbek komolbek changed the title (i os 48) implement share in event screen [#79] Implementing share deep linking | Event screen Mar 20, 2021
@komolbek komolbek added Feature new functionality UI Works with UI layer labels Mar 20, 2021
Comment thread DoSport/DoSport/Application/AppDelegate.swift Outdated
Comment thread DoSport/DoSport/Application/AppDelegate.swift Outdated
Comment thread DoSport/DoSport/Application/DeepLinkManager.swift Outdated
Comment thread DoSport/DoSport/Application/DeepLinkManager.swift Outdated
Comment thread DoSport/DoSport/Application/DeepLinkManager.swift Outdated
case FeedCoordinator
}

final class DeepLinkManager {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

лучше создай какой нибудь протокол для этого класса, что бы на него не ссылаться напрямую

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сделано. Но ты проверь.

func handleURL(_ url: URL, _ appCoordinator: AppCoordinator?) {
guard url.pathComponents.count >= 2 else { return }

let idFromUrl = url.pathComponents.last

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не понятно id чего?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это универсальный айди, который используется для перехода на нужный еветн, профиль и т.п. (то, на что мы будем делать диплинки).

@komolbek komolbek Mar 24, 2021

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тогда напиши что то типа eventID , что было понятно id чего. А в то контексте класса AppDelegate может показаться, что это его свойство.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

окей=)

maximspics and others added 17 commits March 21, 2021 22:42
# Conflicts:
#	DoSport/DoSport/Application/AppDelegate.swift
#	DoSport/DoSport/Application/SceneDelegate.swift
# Conflicts:
#	DoSport/DoSport.xcodeproj/project.pbxproj
#	DoSport/DoSport/Application/AppDelegate.swift
…thub.com/2jumper3/DoSport into (iOS-48)-Implement-Share-in-Event-screen

# Conflicts:
#	DoSport/DoSport.xcodeproj/project.pbxproj
#	DoSport/DoSport/Application/AppDelegate.swift
# Conflicts:
#	DoSport/DoSport.xcodeproj/project.pbxproj
#	DoSport/DoSport/Application/AppDelegate.swift
…thub.com/2jumper3/DoSport into (iOS-48)-Implement-Share-in-Event-screen

# Conflicts:
#	DoSport/DoSport.xcodeproj/project.pbxproj
#	DoSport/DoSport/Application/AppDelegate.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature new functionality UI Works with UI layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants