Questions tagged [outlet]
129 questions
0
votes
3 answers
Default item loaded from model list
I'm starting with Ember.js and I need some help.
I have the two handlebars below. They are very simple: just shows a list of images, and if the user click on some of the images open it bigger on {{outlet}} inside the handlebars#paintings.
All that…

Eduardo Rosa
- 139
- 9
0
votes
1 answer
Render a view in the outlet after ajax response
In my home page i have an oulet watchListView i just want to replace the outlet with the view i am getting after clicking the link "/watch_lists".
This is the code for application Layout/template
{{outlet}}

user1683039
- 75
- 1
- 8
0
votes
0 answers
Prevent Disposal of View in Ember Router
I want to create an app, where i have a mainContainer and a sideBar, the sidebar and the mainContainer should have routes, without that one of the both clean up the other, when its route is called.
Means if i go to movies/123, it should load e.g. a…

Fabian Vogelsteller
- 1,025
- 9
- 13
0
votes
1 answer
iOS TableViewCell lifecycle - set outlets
What TablleViewCell method is called once the outlets of a custom TableViewCell are set when the TableViewCell is instantiated from a storyboard? So a method similar to viewDidLoad essentially. I tried awakeFromNib but it appears that outlets aren't…

user1529956
- 735
- 2
- 10
- 24
0
votes
2 answers
Interface Builder outlets managing
I want to create UIViewController subclass that will be container for two other controllers and it has properties
@property (nonatomic, strong) UIViewController *firstController;
@property (nonatomic, strong) UIViewController…

storoj
- 1,851
- 2
- 18
- 25
0
votes
3 answers
How to connect a Text View with a UITextField outlet , in iOS?
I have a problem that really drives me crazy.
A few months ago i started developing an iphone application , and i needed to have a multiline textField so that the user could write some comments. In the end , because at the time i couldnt find a…
user1498477
0
votes
1 answer
Ember how to just add additional named outlets to view without disturbing the normal behaviour
I'm trying to render in my index page three additional outlet's, everything works fine, except that once I set up at least one outlet, the normal behaviour get interrupted. To be more clear here is what I'm doing
My IndexRoute route
renderTemplate:…

Giedrius
- 1,590
- 3
- 16
- 27
0
votes
1 answer
EmberJs: how to use connectOutlet
I've created a simple test in which I try to use connectOutlet. However, not much is rendered. Here is my test code: http://jsfiddle.net/jeanluca/53dpA/
Just to summarize the application. I think the problems is inside the following…

Jeanluca Scaljeri
- 26,343
- 56
- 205
- 333
0
votes
3 answers
Resolving compile-time error regarding custom cells
I am writing an app in iOS 6.
This is a snippet of code from ViewController.m file:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
CustomCell *cell = (CustomCell *)[tableView…

uml
- 1,171
- 4
- 16
- 28
0
votes
1 answer
EmberJs: nested views
I have this view which can rotate a div element. Something like
{{outlet front}}
{{outlet back}}
Now I have this index template…

Jeanluca Scaljeri
- 26,343
- 56
- 205
- 333
0
votes
3 answers
Labels won't label
I'm going crazy! I just don't get it.
When I start a second window a method is called within the second window controller. The method is doing a lot of calculations and should put some results in labels via outlets. The labels remain empty. I don't…

JFS
- 2,992
- 3
- 37
- 48
0
votes
1 answer
Can a uibutton have an outlet and an action at the same time?
I have 2 UIButtons that change their text label with a switch statement (have only done the 1st case for testing purposes):
switch (_itemNumber)
{
case 0:
[_phoneButton setTitle:@"201-612-5480" forState:UIControlStateNormal];
…

user1330343
- 21
- 2
- 7
0
votes
1 answer
Interface Builder Outlets. Where can I find them?
I can create an Outlet from a ViewController to a View by Ctrl Drag between viewcontroller bar button and the view.
It appears in the context view of the ViewController Bar button.
Where does the outlet created like this appear in code? (or doesn't…

nerak99
- 640
- 8
- 26
0
votes
2 answers
Xcode 4 Error: "the view outlet was not set"
I'm starting to program using Xcode/iOS
I've been reading some books and tutorial...
For my first application, I tried to do a "Hello World"
I did the program following every single step in the right way, but when I run the application, the program…

Alberto Rivera
- 1
- 1
0
votes
4 answers
Loop across all outlets
I want to do a loop across every nine outlets (UIButton's, called btn1, btn2, btn3... btn9) that I have, like:
for(int i = 0; i < 9; i++) {
[[btn(%@), i] setImage:someOne forState:UIControlStateNormal]; // I know that this is ridiculous, but…
user1388320