Questions tagged [completion]
250 questions
0
votes
2 answers
Swift4 - Multiple Alerts with Text Field - Completion Handler
i am working at my startscreen (viewDidAppear). At the beginning of the app, there should be an alert with some notice message. This works fine. After you click "ok" at the notice, the next alert should pop up with a text field. In this text field…

TheAppment
- 23
- 5
0
votes
2 answers
completion handler can not dismiss the popAlertController
I have a view controller with a single textView which I get a string from server and set on it.
I call a http-get service in viewDidAppear and I need to show a popUp alert for waiting user till get the string
I do all but I can not dismiss the…

M0TRIX
- 253
- 5
- 19
0
votes
0 answers
Check bindings in company-active-map
I'm having trouble tracking down an issue that has arisen for unknown reasons. I use company-mode, and have always used the default bindings in the company-active-map for navigating, eg. M-n to move to the next possible completion.
Now, for unknown…

Rorschach
- 31,301
- 5
- 78
- 129
0
votes
2 answers
countdown before proceeding - swift
Need help to make a countdown timer that waits until it is invalidated to proceed. It also should not be blocking main thread. Any tips?
private var currentCountdownSeconds = 3
private var countdownTimer = Timer()
private func performTimer() {
…
0
votes
1 answer
apache url completion suffix
a simple question. I've a file named xyz.php on the domain http://mybeautifulsite.com. Url is http://mybeautifulsite.com/xyz.php
When i type http://mybeautifulsite.com/xyz.php all is right good.
But if i type without php :…

Drannoc
- 1
0
votes
1 answer
TCSH: How to have environment variables in completion?
I am creating completions for TCSH. Is it possible to use environment variables in completion?
I added something like below where $ROOT is the environment variable
complete go \
"p@1@D:$ROOT/@"
But when I try to ssh into the box
it…

justrajdeep
- 855
- 3
- 12
- 29
0
votes
0 answers
iOS Objective C Completion Block will not return data where required from Azure Mobile Apps Framework method. Building Bundle Application
I have been struggling with this for hours, maybe days. I need to return the results of a query into a string and have my method return the string. However, the query has to be executed with a method within MicrosoftAzure's Mobile App Sync…

user1752179
- 29
- 1
- 1
- 6
0
votes
2 answers
Elasticsearch newbie, autocompletion on address
I'm pretty new in ElasticSearch. I have tried most tutorial and looked at forum but I can't find a good solution.
For the workaround, I'm feeding using R and elastic package and Elastic API is bridged using Laravel/PHP.
I'm trying to create a…

user1998000
- 175
- 1
- 10
0
votes
1 answer
SCORM 2004 - setting completion for SCO from inside another SCO
Is there a SCORM call I can use to set completion by target of a SCO? The call would be made on a SCO different from the one getting a completion call.
Something like SetValue("cmi.completion_status","completed") combined with "{target=}" ?
Thank…

anton980
- 41
- 1
- 9
0
votes
0 answers
Function in completion-block is never executed
I have the following situation:
Classes involved are
ViewController (of type UIViewController)
RequestHandler
DataRequest (imports Alamofire for the request)
Step 1)
override func viewDidLoad() {
super.viewDidLoad()
…

Zahikusa
- 1
- 1
0
votes
1 answer
ZSH completion removes the argument with compadd -U
I'm trying to add a completion to a custom vs function which basically open the first filename matching the argument.
OPTIONAL (If you want more information about this function you can find my medium post here =>…

GitCommit Victor B.
- 536
- 4
- 14
0
votes
0 answers
Calling another function from completion handler
I need to call a second function from within a completion handler, sending the data returned from the first function, stored in the completion handler to the second function, however I get the following error within the completion handler when…

user4174219
- 427
- 5
- 13
0
votes
0 answers
Xcode sprites not waiting for completion
I am working on an Xcode playground in Swift and I would like for a selection of sprites to perform some actions in a set order, one after the other. However they appear to be happening all at once, despite my use of the completion handler.
Any…

JCode
- 1
- 1
0
votes
1 answer
Intellij idea code completion for React
I have a spring boot application and now I try to implement SPA using reactJS. But code completion doesn`t work in my IDE.
My version of Intellij Idea: ultimate 2017.1
I try to add react library in…

KnockKnock
- 123
- 2
- 11
0
votes
0 answers
Need to finish CloudKit function before proceeding with rest
I have this long CloudKit function that is inside for loops which basically ends in returning a tuple.
func loadTuple(members: [String], anotherTeam: Bool) -> [(String, Double)]{
var temp = [(String, Double)]()
var tempTuple = [(String,…

Andy L
- 1