Uploaded December 2012 | Updated September 2026, 2 weeks ago
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By mzmuda@techytube, for more from this author visit:
techytube.com/author/mzmuda
After creating our project and copying some code from our tutorial, we will now examine that code.
The SyndicationClient makes pulling down feeds next to trivial, however to make a responsive application asynchronous programming is the best approach.
The await keyword takes care of a lot of work behind the scenes such as creating callbacks, and allows updating UI elements in the same piece of code as an asynchronous call is made, without the need to invoke any external dispatchers.
In this video, I will discuss the sample code and the asynchronous approach.
References
XAML Blog Reader -- msdn.microsoft.com/en-us/library/windows/apps/br211380.aspx
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By mzmuda@techytube, for more from this author visit:
techytube.com/author/mzmuda
After creating our project and copying some code from our tutorial, we will now examine that code.
The SyndicationClient makes pulling down feeds next to trivial, however to make a responsive application asynchronous programming is the best approach.
The await keyword takes care of a lot of work behind the scenes such as creating callbacks, and allows updating UI elements in the same piece of code as an asynchronous call is made, without the need to invoke any external dispatchers.
In this video, I will discuss the sample code and the asynchronous approach.
References
XAML Blog Reader -- msdn.microsoft.com/en-us/library/windows/apps/br211380.aspx




![How to programmatically set images in iOS
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By pavel@techytube, for more from this author visit:
http://www.techytube.com/author/pavel
The UIImageView class provides a view-based container for displaying images on iOS devices screens.
Most of the times we will set images for our UI controls visually, using the Xcode integrated Interface Builder.
But there may as well situations when we need to do that programmatically (probably we need to dynamically set images depending on different flags or situations). In those cases we first have to created the object that will contain the image:
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(100, 200, 100, 100)];
Than we must set the actual image, by using the image property in case of UIImageView objects:
imageView.image = [UIImage imageNamed:@testImage];
And finally add that UI object to the main view:
[self.view addSubview:imageView];
iOS will take care of all the details, and will correctly load the corresponding image for the specific device.
Note that is now necessary to specify the .png or some other extension for the image. However, you can do that if you want, and youll get the same results.
For more details, please visit Apples Online Documentation at:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImageView_Class/Reference/Reference.html How to programmatically set images in iOS](https://i.ytimg.com/vi/chdSH0XzQUQ/mqdefault.jpg)





