Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-09-26 13:00:27 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
926da4297e58a254f27fde7c11fdacc12c697cd6
926da429
1 parent
2a8c88fe
add empty numbersList popup at shareVC
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
926da42
...
...
@@ -272,14 +272,18 @@ import SwiftEventBus
// MARK: NumbersPopup
extension
ShareViewController
:
NumbersPopupDelegate
{
@objc
func
numbersPopupTapped
(
_
sender
:
Any
)
{
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
// self.storyboard?
let
pp
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"NumberPopupViewController"
)
as!
SwiftWarplyFramework
.
NumberPopupViewController
pp
.
InitWithController
(
controller
:
self
,
numbersList
:
self
.
numbersList
,
sender
:
sender
,
delegate
:
self
,
headerText
:
"Αποστολέας"
)
if
(
self
.
numbersList
.
count
==
0
)
{
self
.
showDialog
(
"Κάνε δώρο"
,
"Για την αποστολή του δώρου σου χρειάζεται να έχεις κινητό COSMOTE."
)
}
else
{
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
// self.storyboard?
let
pp
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"NumberPopupViewController"
)
as!
SwiftWarplyFramework
.
NumberPopupViewController
pp
.
InitWithController
(
controller
:
self
,
numbersList
:
self
.
numbersList
,
sender
:
sender
,
delegate
:
self
,
headerText
:
"Αποστολέας"
)
}
}
func
presentedPopup
()
{
...
...
Please
register
or
login
to post a comment