Páginas

Mostrando las entradas con la etiqueta ios. Mostrar todas las entradas
Mostrando las entradas con la etiqueta ios. Mostrar todas las entradas

Native iOS & Android Development for the C# Developer with Xamarin

En este curso de 4 días se intentará dar un pantallazo general sobre el mundo mobile, su distribución a nivel mundial, tips sobre que hace especial a esta plataforma y una introducción a Xamarin para el desarrollo de aplicaciones nativas tanto en Android como iOs.

El objetivo del curso, es que quienes participen sean capaces de entender todo lo que engloba al desarrollo mobile, y aquello que va más allá de la pantalla del mobile device.

Me quedan subir varios links con los videos y los archivos con  los materiales, ya los ire subiendo pero mientras tanto acá tiene las presentaciones

iOS Backgrounding and Updating an Application in the Background


iOS Backgrounding with Tasks

Run tasks that don't have to die when app enters background
  • Creating Background-Safe Task: You can use this pattern anywhere in your application where you don't want a task being interrupted should the user put the app into the background. A great candidate for this pattern would be tasks such as sending a new user's registration information to your server, or verifying login information. 
https://developer.xamarin.com/guides/ios/application_fundamentals/backgrounding/part_3_ios_backgrounding_techniques/ios_backgrounding_with_tasks/#background_tasks_in_ios7

Updating an Application in the Background

Update the app at regular intervals
  • Region Monitoring and Significant Location Changes Service 
  • Background Fetch 
https://developer.xamarin.com/guides/ios/application_fundamentals/backgrounding/part_3_ios_backgrounding_techniques/updating_an_application_in_the_background/#background_fetch

iOS Backgrounding Guidance

Refer to the following diagram to choose a backgrounding technique
https://developer.xamarin.com/guides/ios/application_fundamentals/backgrounding/part_5_ios_backgrounding_guidance/

iOs7


Multi Platform implementation (Xamarin.Form)

Using Messanger
http://arteksoftware.com/backgrounding-with-xamarin-forms/ 

Xamarin.iOs Unified API - Methods missing in NSUrlConnectionDelegate

I had the same problem as described here http://forums.xamarin.com/discussion/31355/methods-missing-in-nsurlconnectiondelegate, I was in the middle of migrating my app hypstr (www.hypstrapp.com) to the Unified API.

The problem occurs with the NSUrlRequest, which requires an instance of INSUrlConnectionDelegate, where prior to the Unified API I was using NSUrlConnectionDelegate.

Udating my library to Unified API a couple of methods I was using before are missing. Namely ReceivedData(NSUrlConnection, NSData) and FinishedLoading(NSUrlConnection).

The solution is here  https://github.com/Cheesebaron/Cheesebaron.MvxPlugins/commit/8e57a7cb53f8ec575ad9c48e478e7ab44bcb93a0#diff-d0b47785af23a5a11abceed2acd46b00R131, you should now inherite form NSUrlConnectionDataDelegate instead of NSUrlConnectionDelegate

And that's all :)

ENJOY