Questions tagged [pass-data]
252 questions
0
votes
2 answers
swift passing data in textfield to mapview
I'm making an app to search the location. It contains a VC(viewcontroller) to show the searching record.
Q1. How to get the input in textfield and show the location in the mapview?
Q2. I can't unwind the viewcontroller. I've done the code and wire…
0
votes
0 answers
How to pass data between 2 userControls WPF
I have 2 UserControl pages.
In one I have a ListBox and a "continue" Button.
I want to pass the list to another UserControl page after I click "continue" but i can't figure out how to do it (Just found examples for Form or Window).
I already found…

Ben
- 201
- 1
- 4
- 13
0
votes
1 answer
Two Container Views in the same parent view use same data
I am trying to represent the same data in two different ways, one in TableView, one in map. The storyboard design looks like below.
I used two container views; one contains a table view and one contains a map. Let's call the ViewController that…

J. zhao
- 43
- 1
- 7
0
votes
2 answers
pass data from UITableViewCell to UIViewController
I have UITableViewCell and I want to send the indexPath.row number to UIViewController using didSet, but xcode gives me an error when i use the value for other things (in UIViewController) says that the value is nil error: unexpectedly found null…

nelt
- 11
0
votes
1 answer
How segue works only with some specified buttons
I'm doing a project by using Xcode. I have four buttons, two of them are to pass data between views, and want the other two for just jumping to another view without passing any data. The first two perform very well, pass data to another view. But…

Difeng Chen
- 159
- 3
- 10
0
votes
1 answer
How to pass outlet value of ViewContorller to its subView Swift
I am having ViewControllerA and a subView in the same ViewControllerA. I want to know how to pass outlet label value of the ViewContorllerA to its subView.

Girija Alluri
- 11
- 3
0
votes
2 answers
Android pass jsonObject to another activity by clicking on recyclerview
I'm making an app in Android.
I'm getting JSON data containing pokemons name from URL(http://kerast.com/pokemon/pokemons.json) using retrofit. The names and types display in a recyclerView and after clicking on one another Activity opens and display…

Sam Caneau
- 69
- 1
- 1
- 11
0
votes
1 answer
Pass address from one Vc to another
I'm trying to pass the address I get from the map into my other Viewcontroller and keep the same settings (i.e switch is still on) The mapVC is named MapViewController and the tableVC is named AddTaskTableViewController.

CFRJ
- 157
- 1
- 12
0
votes
1 answer
Assign variable value from another component in *ngFor by click in angular 2
I trying in *ngFor pass object to another component, but passed only last object in table, but the object that was clicked should be displayed, how to solve this problem?
…

llotall
- 555
- 5
- 11
0
votes
0 answers
sharing data between the directives angularjs
I have a page with 2 directives. one directive(Directive-1) is responsible for loading data grid(using KENDO-GRID) and another directive has buttons to print, export as Excel, PDF files etc.
From Directive-2, when export button is clicked, I need to…

UIDev
- 1
- 3
0
votes
1 answer
Pass request data from UIPageViewController to child views
I have MainViewController that is my UIPageViewController. Ther are 2 views FirstDataViewController and SecondDataViewController that i want to show.
I want to execute my request that updates items in MainViewControllre and then pass it to my 2…

Billy
- 35
- 1
- 8
0
votes
0 answers
Swift Pass LocalSearch Response to become listed annotations in UITableView
I have very little knowledge on data passes and need help on how to pass a LocalSearchResponse that has already populated a mapview to then use a UIButton to segue to a tableview to have those pin annotations to be listed.…

LBIMBA
- 43
- 8
0
votes
2 answers
Pass a value from presentviewcontroller to a viewcontroller by didSelect method
comp_noti *ab=[self.storyboard instantiateViewControllerWithIdentifier:@"CompNoti"];
ab.cfid=@"b";
[self dismissViewControllerAnimated:YES completion:nil];
I am using the above method but, I don't get the value b in the viewcontroller.

Justin
- 25
- 6
0
votes
1 answer
Swift post data from WebView to native app
I have created an HTML file containing userName and password fields and a submit button. by pressing Submit button a JavaScript function is called to return the userName value. I have a native app containing a label in top and a WebView. The WebView…

Samira
- 215
- 2
- 14
0
votes
3 answers
Pass NSString value to another ViewController in Objective C
I am trying to pass NSString value to another ViewController. But I get null instead of the value. Here is my code.
FirstViewController.m:
NSString cellID = @"66";
SecondViewController *apiViewController = [[SecondViewController alloc] init];
…

JohnLemon
- 147
- 1
- 1
- 13