Tag: vi

49 votes
8 answers
2.8K views
URL in Yii2 GridView

I have this code: <?php echo GridView::widget([ 'dataProvider' => $dataProvider, 'fi

avatar
Tana
0 1 0 9
asked 07 September, 2021
56 votes
8 answers
446 views
Yii2 data provider default sorting

In Yii 1.1 this code works for default sorting: $dataProvider = new CActiveDataProvider('article',a

avatar
Roger
0 1 0 9
asked 07 September, 2021
60 votes
1 answers
2K views
Differences between websockets and long polling for turn based game server

I am writing a server for an iOS game. The game is turn-based and the only time the server needs to push infor

avatar
Karolyn
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
820 views
The name does not exist in the namespace error in XAML

Using VS2012 working on a VB.NET WPF application. I have a simple MusicPlayer tutorial app I am using to lea

avatar
Thurman
0 1 0 9
asked 07 September, 2021
55 votes
12 answers
523 views
How to have comments in IntelliSense for function in Visual Studio?

In Visual Studio and C#, when using a built in function such as ToString(), IntelliSense shows a yellow box ex

avatar
Corrin
0 1 0 9
asked 07 September, 2021
57 votes
15 answers
3K views
Is there a way to navigate to real implementation of method behind an interface?

In Visual Studio, when you right-click a method call, you go to the implementation of that method inside a cla

avatar
Thurman
0 1 0 9
asked 07 September, 2021
58 votes
3 answers
878 views
Visual Studio jump to next error shortcut?

When a compile fails in VB.NET in Visual Studio 2008, an Error List pops up at the bottom of the screen. To ju

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
55 votes
29 answers
806 views
How to determine the current iPhone/device model?

Is there a way to get the device model name (iPhone 4S, iPhone 5, iPhone 5S, etc) in Swift? I know there is a

avatar
Basil
0 1 0 9
asked 07 September, 2021
58 votes
30 answers
1.6K views
How to hide UINavigationBar 1px bottom line

I have an app that sometimes needs its navigation bar to blend in with the content. Does anyone know how to

avatar
Corey
0 1 0 9
asked 07 September, 2021
49 votes
19 answers
1K views
How to add constraints programmatically using Swift

I'm trying to figure this out since last week without going any step further. Ok, so I need to apply some

avatar
Corrin
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
3.1K views
How would I create a UIAlertView in Swift?

I have been working to create a UIAlertView in Swift, but for some reason I can't get the statement right

avatar
Nidia
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1K views
UIScrollView Scrollable Content Size Ambiguity

Fellow devs, I am having trouble with AutoLayout in Interface Builder (Xcode 5 / iOS 7). It's very basic

avatar
Stacia
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
2.8K views
iOS 8 UITableView separator inset 0 not working

I have an app where the UITableView's separator inset is set to custom values - Right 0, Left 0. This wor

avatar
Trudy
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
713 views
Passing data between view controllers

I'm new to iOS and Objective-C and the whole MVC paradigm and I'm stuck with the following: I have a

avatar
Vi
0 1 0 9
asked 07 September, 2021
51 votes
7 answers
1.8K views
Read environment variables in Node.js

Is there a way to read environment variables in Node.js code? Like for example Python's os.environ[&apos

avatar
Joseph
0 1 0 9
asked 07 September, 2021
56 votes
21 answers
495 views
AngularJS : How to watch service variables?

I have a service, say: factory('aService', ['$rootScope', '$resource', function

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
61 votes
10 answers
1.5K views
AngularJS : Initialize service with asynchronous data

I have an AngularJS service that I want to initialize with some asynchronous data. Something like this: myMod

avatar
Omar
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
1.6K views
angular.service vs angular.factory

I have seen both angular.factory() and angular.service() used to declare services; however, I cannot find angu

avatar
Renaldo
0 1 0 9
asked 07 September, 2021
66 votes
30 answers
2.8K views
AngularJS: Service vs provider vs factory

What are the differences between a Service, Provider and Factory in AngularJS?

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
52 votes
15 answers
3.1K views
How to access environment variable values

I set an environment variable that I want to access in my Python application. How do I get its value?

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021