1. Computing

Latest Programming Tutorials

About C, C++, C# and Google Go brings you tutorials for C Programming, C++ Programming, C# Programming and Google Go Programming; part works built up week by week. Choose C, C++, C# and Google Go or all four.

Latest Programming Tutorials
C / C++ / C# Spotlight10

More on Xamarin Development

Sunday June 16, 2013
iPhone image

I'll be back on other stuff this week but while this was fresh in my mind I wrote the first tutorial on developing iOS Apps with Xamarin Studio.

I use the term Xamarin Studio loosely as I have the Business edition which uses Visual Studio on Windows but in all the Xamarin tutorials, I will be using the Mac based Xamarin Studio which is free (fr Apps up to 32Kb in size).

You can develop any kind of App (including games) in C# with Xamarin Studio including games as every APi is supported.

iPhone Xamarin Development Progresses

Friday June 14, 2013

After a couple of days of intense reading and trying stuff out, it's finally starting to make sense. There's a kind of magic when I first got it to step through a program on my Windows PC and the iPhone simulator on the Mac steps forward.

Mind you there have been a few gotchas along the way. Nothing major but little things like making sure the important fields were filled in the properties or Visual Studio wouldn't connect to the Mac. Also be sure to Quit the iPhone Simulator to flip VS out of debug mode. Oh and occasionally the Xamarin Bonjour service hasn't started. It was set to manual and I've made it automatic with a delayed start.

But its worth it for the first time you see something new like getting the Apps settings working. That needed an XML file in a specially named folder and a property setting for Build Type to set it to Content. That was a very good feeling when I looked in the settings and there was My app with my settings fields. Oh and a recommendation for any other nascent Xamarin iPhone developers. Get the Bryan Costanich Apress book "Developing C# Apps for iPhone etc". It's very good.

My only gripe so far. It takes a minute to get debugging after pressing F5. Now whether thats my 100 MB network being a bit slow (it will get upgraded in a couple of days to gigabit) or just a longer build time I don't know. Is this normal?

Challenge 72 Published

Thursday June 13, 2013

A straightforward challenge this time, solve four puzzles filling in a 30 x 20 grid with rectangular shapes whose sizes are predetermined. All puzzles add up to 100. A 1 value shape occupies 6 squares in any rectangular shape 1 x 6, 2 x 3, 3 x 2 or 6 x 1.

The first puzzle is 1,1,1,2,2,6,7,14,11,4,13,5,5,12,3,2,4,4,3. So the 14 shape will occupy 84 squares and it's constrained to be a maximum of 30 wide or 20 high, it could be 3 x 28, 4 x 21, 6 x 14, 14 x 6, 7 x 12 and 12 x 7. Have fun!

Note i've published three puzzles and the 4th will be added by me to your source code, so please code it to solve four puzzles. And I'll have the programming challenge 71 test data up later tonight.

Csharp.Io - Nifty Snippet Site

Tuesday June 11, 2013

Improving on snippets by displaying Intellisense (in a web page) is quite clever. That's what the free Csharp.io website does.

It's a nice modern looking website though if you don't like the Visual Studio IDE color scheme...<g>

Discuss in my forum

©2013 About.com. All rights reserved.