Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This update is a service pack release which includes enhancements and also addresses numerous issues found since the Crosslight 5 release. This release includes stability improvements in data access, frameworks and various components across all platforms. We highly recommend you to update to this release for best performance and stability.

Upgrading to Crosslight 5 Update 2 is free to all customers with active subscriptions.

Modern note

To apply the latest Crosslight updates, simply update the Crosslight NuGet packages in your solution. Please refer to this documentation to learn how to update your Crosslight NuGet packages.

About Crosslight 5

This update is building on Crosslight 5 release which includes hundreds of new features that make enterprise cross-platform apps development a breeze. Take a look at all the new features in the Crosslight 5.0 Release Notes  and see what you are missing out on!

Download Crosslight 5 today.

Quality Band [?]
Status
colourGreen
titleSTABLE
Build Number5.0.5000.632
Last Build DateApril 29, 2016

Crosslight.iOS Improvements

In this release, Crosslight.iOS receives several nifty improvements that will allow you to create even more gorgeous iOS apps with Crosslight. Let's take a look at each one.

 

Introducing New Rating Bar

In this release, Crosslight adds a new rating bar UI that allows you to easily provide rating bar interface in your app. It's available for both iOS, Android, as well as a form builder widget. The new rating bar also supports fixed and precision rating for better visualization.

To use the RatingBar, simply drag the RatingBar control from the toolbox onto the ViewController designer surface.

Image Added

Then, you can easily set the outlet and other various properties by clicking on the Properties panel on the right-hand side.

Image Added

In your code, simply reference them as normal view outlets.

Code Block
languagec#
using System;
using System.ComponentModel;
using CoreAnimation;
using CoreGraphics;
using Intersoft.Crosslight;
using Intersoft.Crosslight.iOS;
using PropertyIn.ViewModels;
using UIKit;
namespace PropertyIn.iOS
{
	[Storyboard("MainStoryboard")]
	[ImportBinding (typeof(DirectoryDetailBindingProvider))]
	public partial class DirectoryDetailViewController : UIDetailViewController<DirectoryDetailViewModel>
	{
		#region Constructors
		public DirectoryDetailViewController ()
			: base ("DirectoryDetailViewController", null)
		{
		}
		public DirectoryDetailViewController(IntPtr intPtr)
			: base(intPtr)
		{
		}
		#endregion
		#region Properties
        public override bool AutoFitContentSize
        {
			get { return true; }
		}
		#endregion
		#region Methods
		public override void ViewWillAppear (bool animated)
		{
			base.ViewWillAppear (animated);
			this.InitializeStaticRatingBar ();
		}
		public void InitializeStaticRatingBar()
		{
			this.RatingBar1.FullStarImage = "null";
			this.RatingBar1.HalfStarImage = "null";
			this.RatingBar1.NoStarImage = "ff.png";
			this.RatingBar1.Value = 4;
			this.RatingBar2.FullStarImage = "null";
			this.RatingBar2.HalfStarImage = "null";
			this.RatingBar2.NoStarImage = "ff.png";
			this.RatingBar2.Value = 3;
			this.RatingBar3.FullStarImage = "null";
			this.RatingBar3.HalfStarImage = "null";
			this.RatingBar3.NoStarImage = "ff.png";
			this.RatingBar3.Value = 2;
			this.RatingBar4.FullStarImage = "null";
			this.RatingBar4.HalfStarImage = "null";
			this.RatingBar4.NoStarImage = "ff.png";
			this.RatingBar4.Value = 1;
			this.RatingBar5.FullStarImage = "null";
			this.RatingBar5.HalfStarImage = "null";
			this.RatingBar5.NoStarImage = "ff.png";
			this.RatingBar5.Value = 0.1f;
		}
		#endregion
	}
}

 

UITabViewController Supports Child Controller Injection

Previously, you can only use list view in UITabViewController in a single full screen. Thanks to the new enhancement in Crosslight.iOS, UITabViewController now supports child controller injection, allowing you to use list view inside a child as you can see in the screenshot.

Code Block
languagec#
using System;
using System.ComponentModel;
using CoreAnimation;
using CoreGraphics;
using Intersoft.Crosslight;
using Intersoft.Crosslight.iOS;
using PropertyIn.ViewModels;
using UIKit;
namespace PropertyIn.iOS
{
	[Storyboard("MainStoryboard")]
	[ImportBinding (typeof(DirectoryDetailBindingProvider))]
	public partial class DirectoryDetailViewController : UIDetailViewController<DirectoryDetailViewModel>
	{
		#region Constructors
		public DirectoryDetailViewController ()
			: base ("DirectoryDetailViewController", null)
		{
		}
		public DirectoryDetailViewController(IntPtr intPtr)
			: base(intPtr)
		{
		}
		#endregion
		#region Properties
        public override bool AutoFitContentSize
        {
			get { return true; }
		}
        ReviewListViewController ReviewListViewController { get; set; }
		#endregion
		#region Methods
		protected override void InitializeView ()
		{
			base.InitializeView ();
			
			// ViewController initialization codes goes here.
            this.ReviewListViewController = new ReviewListViewController(this.ViewModel.ReviewListViewModel);
            this.AddChildViewController(this.ReviewListViewController);
            this.ReviewListViewController.TableView.Frame = new CoreGraphics.CGRect(0, 0, this.ReviewListViewController.TableView.Frame.Width, 160);
            this.ReviewListLayout.AddSubview(this.ReviewListViewController.TableView);
			var categoryListController = new BusinessCategoryListViewController(this.ViewModel.CategoryListViewModel);
			this.AddChildViewController(categoryListController);
			this.CategoryListLayout.AddSubview(categoryListController.TableView);
		}
		#endregion
	}
}

 

Introducing Animation Support in UIImageView

UIImageView now supports animation when loading an image asynchronously. The following video shows how the animation looks like when loading an image, it shows the watermark at first while loading the image with beautiful animation to be displayed afterwards.

Video
Autoplayfalse
Sourcehttp://developer.intersoftsolutions.com/download/attachments/27296456/Animation.m4v?api=v2
Width300px

 

Crosslight.Android Improvements

Crosslight 5.2 marks the stabilized version of Crosslight Android with the following fixes issues:

JIRA
columnstype,key,summary,priority,status,components
serverIntersoft Solutions
serverIdaf47488e-ea0c-34db-8ae8-df261e773e04
jqlQueryfixVersion="Version 5.2" AND project=CROS AND Status IN ("Resolved","Closed") AND "Epic Link" = CROS-4
maximumIssues20

For more information about Crosslight Android Material, see Crosslight Android Material Development.

Enhancements and fixes in this release

This release includes the following enhancements and bug fixes:

JIRA
columnstype,key,summary,priority,status,components
serverIntersoft Solutions
serverIdaf47488e-ea0c-34db-8ae8-df261e773e04
jqlQueryproject = CROS and fixVersion = 'Version 5.2' and type not in (sub-task)
urlhttp://agile.intersoftpt.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+CROS+and+fixVersion+%3D+%27Version+5.2%27+and+type+not+in+(sub-task)&tempMax=1000&os_username=confluence&os_password=Intersoft~!@
maximumIssues20

Modern note

For more information about release band quality and how to obtain and apply updates, see Updating Crosslight.

Related Topics

Content by Label
spacescrosslight
reversetrue
showLabelsfalse
max5
sortmodified
labelscrosslight-5-release-notes -crosslight-5-update-2-release-notes
showSpacefalse
typepage