Monthly Archives: October 2012

92 posts

VMWare Data Protection

This video will show you how to deploy and configure the Data Protection appliance avaible in three versions depending on the size. This replaces the old version for backup and restore appliance. EMC and VMWare worked together tighly to produce VDP,based on AVAMAR,so using Changed Block Tracking,you can backup and retore a 50 GB VM within minutes. In this part we will see how to deploy the appliance and configure it

How to create views programmatically in iOS

A "view" is any object of the UIView class or of one of its subclasses. That means any UI control, such as buttons, sliders, steppers etc. is a view. Usually, when creating view that should be present on our .xib or .storyboard files, we do that visually, using Interface Builder, which is integrated in Xcode 4. However, some situations may appear when we need do add different views dynamically on our screens, and for doing that, we need to do that programatically (Which basically has the same effects). To create a view, we write the following code: UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 100)]; We can also set the view's properties, for example the background colour: view.backgroundColor = [UIColor redColor]; And finally we need to add that to our main view: [self.view addSubview:view]; We can do the same thing for other classes that inherit from UIView, for example UIButton: UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [button setTitle:@"Click me" forState:UIControlStateNormal]; button.frame = CGRectMake(0, 300, 200, 60); [self.view addSubview:button]; For more details, please visit Apple's Online Documentation at:

Working with UIStepper class in iOS

A stepper control provides a user interface for incrementing or decrementing a value. A stepper displays two buttons, one with a minus ("–") symbol and one with a plus (“+”) symbol. The bounding rectangle for a stepper matches that of a UISwitch object. If you set stepper behavior to "autorepeat" (which is the default), pressing and holding one of its buttons increments or decrements the stepper’s value repeatedly. The rate of change depends on how long the user continues pressing the control. We can specify the interval limits for UIStepper objects either programmatically (using minimumValue and maximumValue properties) or in Interface Builder. Also, to specify the step, or increment value for the stepper, we can use the stepValue property which has the default value of 1. For more details, please visit Apple's Online Documentation at:

Working with UISegmentedControl class in iOS

A UISegmentedControl object is a horizontal control made of multiple segments, each segment functioning as a discrete button. A segmented control affords a compact means to group together a number of controls. A segmented control can display a title (an NSString object) or an image (UIImage object). The UISegmentedControl object automatically resizes segments to fit proportionally within their superview unless they have a specific width set. When you add and remove segments, you can request that the action be animated with sliding and fading effects. The way we configure a segmented control can affect its display behavior: - If we set a segmented control to have a momentary style, a segment doesn’t show itself as selected (blue background) when the user touches it. The disclosure button is always momentary and doesn't affect the actual selection. - In versions of iOS prior to 3.0, if a segmented control has only two segments, then it behaves like a switch—tapping the currently-selected segment causes the other segment to be selected. On iOS 3.0 and later, tapping the currently-selected segment does not cause the other segment to be selected. For more details, please visit Apple's Online Documentation at:

Working with UIActivityIndicatorView class in iOS

Use an activity indicator to show that a task is in progress. An activity indicator appears as a "gear" that is either spinning or stopped. You control when an activity indicator animates by calling the startAnimating and stopAnimating methods. To check if the activity indicator is animating we use the isAnimating property. To automatically hide the activity indicator when animation stops, set the hidesWhenStopped property to YES. Starting in iOS 5.0, you can set the color of the activity indicator by using the color property. It also has an activityIndicatorViewStyle property, which can take one of the following 3 values: UIActivityIndicatorViewStyleWhiteLarge, UIActivityIndicatorViewStyleWhite, andUIActivityIndicatorViewStyleGray. For more details, please visit Apple's Online Documentation at:

Working with UIProgressView objects in iOS

We use the UIProgressView class to depict the progress of a task over time. An example of a progress bar is the one shown at the bottom of the Mail application when it’s downloading messages. The UIProgressView class provides properties for managing the style of the progress bar and for getting and setting values that are pinned to the progress of a task. For an indeterminate progress indicator—or, informally, a "spinner" — use an instance of the UIActivityIndicatorView class(which we will discuss in a later video). In iOS 5 and up, we have a lot of customisation possibilities. For example, we can set our own progress image instead of the default blue color indicating the progress. Also we can set the progress tint color and the track image. We can achieve all these thing either graphically directly using the menus provided by Xcode, or programmatically. For more details, please visit Apple's Online Documentation at:

Windows 8 – Windows update and updating store apps

Windows 8 includes an update mechanism for apps installed through the Windows App Store. Windows Update still exists to update the operating system and other Microsoft software that may exist on the machine. This video demonstrates the new Windows Update UI and the method to update the store apps.

Windows 8 Development – C# XAML

In our last video, we replaced an empty control with a Basic Page control. Now, we will go over the XAML in more detail, and add some layout items to the Main Page XAML. In this video, I will show you what the XAML for the generated files looks like, and how to add controls to a page using only XAML. References C# Hello World –

Windows 8 Development – C# Replace Main Page

In our last video, we went over the basics of Windows Store applications, and created a blank Visual C# Windows Store project. Now, we need to start filling this project with meaningful content. The first step is to replace the MainPage.xaml, currently blank, with a new MainPage.xaml, a Basic Page type. In this video, I will show you how to replace the MainPage element in your project with another. References C# Hello World -

Windows 8 Development – C# Introduction

The majority of Windows developers use the .NET Framework to design Windows applications, and C# (C Sharp) is a popular language to use. With the advent of Windows Store applications, the Windows Runtime environment may have changed much of how applications are developed, but luckily C# developers familiar with WPF and XAML can transfer those skills to start making Windows Store applications easily. In this video, I will show you how to create a new C# Windows Store application and go through what files are generated. References C# Hello World -