Showing posts with label iOS Development Training. Show all posts
Showing posts with label iOS Development Training. Show all posts

Sunday, April 28, 2013

Xamarin Tip: Loading an Image


You have some images in your application bundle and want to display one of the images in your application UI.

Assuming you have the Images folder within the Resources folder. Within the Images folder, you have an image named “A Good Day to Die Hard.jpg”. You can load an UIImageView view with the following method:

    this.imageView.Image = 
        UIImage.FromFile("Images/A Good Day to Die Hard.jpg");
The UIImage.FromFile() method loads the image asynchronously. It also allows the application to load the image from an external location.

Alternatively, you can also use the UIImage.FromBundle() method to load the image:

this.imageView.Image = 
    UIImage.FromBundle("Images/A Good Day to Die Hard.jpg");

Unlike the UIImage.FromFile() method, the UIImage.FromBundle() method is a blocking call and only loads images from within the application bundle. However, it caches the images aftre loading it. In general, use the UIImage.FromBundle() method if you need to frequently load the same image. Otherwise, use the UIImage.FromFile() method as it is asynchronous and will not block your UI. 

Monday, April 09, 2012

Schedule for Courses in Singapore

Here is the schedule for classes that I offer to the public. Courses can be customized and delivered at your site. For more information, please contact me at weimenglee@learn2develop.net. You can also contact me via phone at (65) 9-692-4065. 


Click on the link for each course to download the course outline and application forms.

Courses
April 2012
May 2012
June 2012
July 2012
Aug 2012
Sep 2012
Objective-C Programming
S$599/pax




8 Aug
10 Sep
21-22 April (Weekend class)
9-10 May

5-6 July

14-15 July (Weekend class)
13-14 Aug
11-12 Sep

15-16 May




20 April
11 May

10 July
16 Aug
13 Sep



11 July





12 July
15 Aug
14 Sep



13 July
17 Aug








26-27 April
17-18 May
19-20 May (Weekend class)

19-20 July
21-22 Aug
17-18 Sep

24-25 May



19-20 Sep



26 July
23 Aug




27 July
24 Aug

































* Confirmed class
This course schedule is continually being updated. Check back again if the course you want has not been scheduled yet. 

Sunday, February 19, 2012

New iOS 5 Course - Storyboard - 19 March 2012


I am happy to announce that there will be a new course on iOS 5 - Using Storyboard in iOS 5. As you are probably aware, Storyboard is one of the new features announced in iOS 5. Using Storyboard, you can now focus your effort on writing great applications and spend less time worrying about the user interface. If you have always wanted to get started with Storyboard but find it difficult to learn, this course it for you. 

     For quick registration, please send me an email at weimenglee@learn2develop.net.

Sunday, February 05, 2012

Programmatically set the values of fields in HTML page


Most iOS developers are aware that you can use the UIWebView to load a HTML page/string. However, how does your code interact with your pay? In this sample project, you will see how you can use Objective-C to programmatically fill in the fields in the HTML page.

Tuesday, October 18, 2011