Posts tagged with 'ios'
Xamarin.iOS and Xamarin.Android exist in a mingled area between .NET and the pure native platforms. Xamarin.iOS strikes a middle-ground between a Xamarin.Forms (a more total .NET experience) and native iOS (where you're beholden to the native language and APIs). You'll often find yourself writing C# code that interacts with Native iOS APIs which Xamarin has ported to their platform. While it's initially an odd experience if you're coming from Xamarin.Forms, it offers a lot of flexibility and power. Today, we'll take a look at using the Xuni FlexChart in Xamarin.iOS.
If you're interested in using Xamarin.Forms but find the built-in controls lacking, you'll find our white paper on filling in the missing gaps in Xamarin.Forms useful. This 30-page white paper walks through basic to advanced scenarios of building custom controls, while teaching you about the basic structure of Xamarin and it's relationship with the native platforms.
Improving app performance is a key concern for all app developers, especially when it comes to the UI. A user can enter a continuous stream of input as they type, resize, or scroll through your app. If any of these actions feel sluggish you’ll likely hear complaints and lose users. Expensive handlers for these actions can bog your app down and make it feel unresponsive. Debouncing minimizes this problem by limiting how often a function can fire and keeping your app responsive.
One of the unfortunate realities in iOS development is that Apple doesn't provide you with a CheckBox control. Though this control is common to other platforms, Apple has directed users to either use a UISwitch or modify a UIButton to get similar behavior. Since there isn't an out-of-the-box solution for iOS, we've included a new Xuni CheckBox control with the 2016v1 release.
Chart annotations are a great way to call attention to specific details in your charts. As a new addition to FlexChart in Xuni 2016v1, we've introduced a number of different annotation types and configuration options. In this article, we'll highlight these different configuration options, and provide a few common use cases for chart annotations.
The new calendar control in the 2016v1 release of Xuni enables a new way of visualizing time related data for iOS users. A major point of interest is using the Xuni calendar control with the calendar data stored on your iOS device. Apple provides an API for accessing this built-in calendar data (such as events and reminders) called EventKit. In this article we'll examine both how to populate the calendar control with local data, as well as how to save new events using EventKit.
If you follow any Microsoft-related news, you've probably heard that Xamarin will now be available for free with Visual Studio. That's great news for .NET developers (native mobile in C#!), great news for enterprises (no more excuses about avoiding mobile!), and REALLY great news for us at Xuni.
Last week, we touched on some changes to the Xuni iOS control delegates. We've also added a different mechanism altogether for triggering event based behavior without the use of delegates. In this article we'll cover how to use this new style of delegate-less iOS event handlers via block based events.
The Xuni Calendar control provides multiple date selection with month and year views. It includes built-in navigation, animation and globalization so you can get up and running very quickly. You can customize the appearance and the selection behavior to fit your requirements.
The new 2016v1 release has made a few changes to the native iOS control delegates to provide some improved behaviors when dealing with multiple instantiations of the same control type, and to give the controls better support for the C# style events available in Xamarin.iOS.
The first Xuni release of 2016 is finally here! We've packed a lot into this release including a new calendar control that fills a major gap in the standard toolkits, as well as several major enhancements for FlexGrid and FlexChart. Each feature we've added delivers new functionality and helps improve the mobile experience in some way. And as always, everything new in this release is supported in all the Xuni platforms: iOS, Android, Xamarin.Forms, Xamarin.Android, and Xamarin.iOS.
Data Mapping provides auto lookup capabilities in FlexGrid. For example, you may want to display a customer name instead of his ID, or a color name instead of its RGB value. It’s useful when you have an ID or index field that is unreadable or not user-friendly. You can use data mapping with a readonly column or one that can be edited. FlexGrid handles the mapping for you so the user can select a value from a user-friendly list while the underlying value or key is updated. Data mapping is a common grid feature also referred to as lookup.
Xuni gives you the ability to turn your chart or gauge control into an image using the getImage method, but you may wonder how you can easily share this with others. Apple provides some tools to for this purpose not only gives you easy access to any available sharing options (Mail, Message, Facebook, etc.), but also gives you the ability to quickly save and print your data visualization. In this article, we'll cover the highlights of implementing a sharing button in a small iOS app.
If you're evaluating or just getting started using Xuni in a Xamarin.iOS app then start right here. This blog post gives you the inside scoop to everything available to you to get up and running with Xuni and Xamarin.iOS.
A common concern for many data driven apps is whether to store data locally on device or have data available via webservice. Both options can potentially be valid choices depending on your application. While we've covered fetching and parsing web data on iOS we haven't spent as much time on data stored locally, particularly in a database. Apple provides some libraries for interacting with SQLite databases on iOS, and in this article we'll explore using a SQLite database with several Xuni controls.
Xamarin seems to magically allow C# developers the opportunity to create native mobile apps with familiar tools, and you may be wondering how does it really work? Xamarin produces native apps, but how exactly does a native control interact with your C# code? This article will shed some light on those questions by showing how to make a custom native control accessible through Xamarin.iOS and all of the intermediary steps involved.
If you've ever wished you could use a third-party framework in XCode's interface builder, you'll be glad to know there's a workaround for enabling some of this functionality. Sometimes it's much easier to do all of the layout and positioning in storyboards using constraints and autolayout. Sure, you can create a view and set the custom class via the identity inspector, but you're essentially stuck with a blank view in the designer that you'll have to fully configure in code. There is a workaround for this though, and a mechanism to add in some of the interface builder functionality that third party frameworks often lack.
iOS Frameworks are a mechanism for packaging classes that's easy to use and distribute. Apple provides a number of its own Frameworks—such as UIKit, Foundation, and CoreData—that all iOS developers will be familiar with. These shared resources can be static or dynamic libraries that, when incorporated into your application, provide expanded functionality. They improve cross-project code reuse, and they're the preferred delivery method for third-party libraries. In this article, we'll cover creating an iOS framework from our custom checkbox control.
Many months ago Microsoft announced their intention to enable iOS developers the ability to use their objective C code inside a Windows 10 application using a tool dubbed Project Islandwood. News on the progress of the tool was quiet for a few months, but back in August Microsoft went ahead and released the opensource project to GitHub as the Windows Bridge for iOS. I was quite curious to try this tool out to see how well it worked, what the projects looked, and experience the novelty of looking at objective-c code in Visual Studio. After spending some time playing with it I wanted to share some of my experiences working with it.
What actually goes into creating a custom control? This article is meant to answer some of that question by providing a walkthrough for creating a simple iOS control. We'll focus on creating a custom iOS checkbox control, and demonstrate the necessary steps to make the control usable in the Xcode designer and your application.