PCL vs Shared Projects in Xamarin Forms
I am not an expert in Xamarin. I only have spent 6 months on this programming platform. Thus, please feel free to response this post.
My frist preference is to Shared Projects. That is easier to manage. I can share xmal files across each project. That is simple, I think that is good to use in a small and one-off project.
However, if you have more focus on reuse, I think you choose PCL. That is more like a standard control library. You can use the controls in the library easily! Also, you are building a larger scale project, I think that is safer to use PCL, because PCL is more self-contained.
I think using PCL or Shared Projects is depending your project scale and goals.
iOS:Application Loader Error:you are not authorised to use this service
Recently, I built an iOS app and I have packed it as ipa. Then I used the Application Loader to upload it to itunecconnect. Then I got an error you are not authorised to use this service. This is a very silly, that is because I have reset my password recently, I need to do click the area I clicked in the picture. And then I will have a dialog box popup then I entered the new login details and then it works!
Accessing the control from CustomRenderer
In Xamarin Form, you have to know how to use CustomRender. You need to use it to preform some platform specific functions. However, we need to access some properties from CustomRenderer to Xamarin Form Control, such as its height and width, That is very easy to do, you just need to use Element property.
e.g.
Code
int height = Element.Height |
Smart Watch is the next big thing
After the WWDC last week, watchOS has announced, there is a watchKit for developers. We can build apps on running appleWatch. Moreover, there is AndroidWear in the market for some time, On 2007, Apple released iPhone. It opens a market for independent developers to build apps running on phones. That was a game changer! The most of people have access to software applications in anywhere. Now, that is the second level, this is a wearable smart device. The users can have easier access to software applications. That will be another big changes
My New Toy - MiBrand
Early of this year, I went to Hong Kong. During this trip, I bought a new toy, xiaomi miBrand. This is a fitiness tracker. It can track my steps and sleep m pattern. I love it. That is very light, a bit little lighter than my old watch. Moreover, its battery can last for a month. In addition, it supports all Bluetooth phones, you do not require to use xiaomi phones. All you need to download their fitness app, miFitness. Lastly, it only costed around HKD$150.
Well, there still are some drawbacks. Firstly, it cannot track heart bit. Besides, you has to use their fitness app. This is using a chinese map provider, it cannot track my running track in Australia. However, it only cost HKD$150, I still think that is a good entry point to try this kind of fitness armbrand.