Grégory Casanova

Calendrier

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

[Monotouch] – Introduction au développement iPad

L’iPad, le dernier jouet de la marque à la pomme est désormais en vente. Certains y voient juste un gros iPhone, d’autres une véritable révolution technologique. A vous de décider, ce n’est pas le débat. Nous allons parler du développement sur iPad avec Monotouch. Avant de commencer, j’ai envie de souligner l’excellent travail que font les équipes de chez Novell, puisque c’est seulement 2 jours après la sortie du iPhone SDK 3.2, que les nouvelles API de ce SDK étaient supportées. Maintenant, on peut commencer !

Pour rappel, qu’es que Monotouch ? C’est la possibilité pour les développers .Net, de développer des applications iPhone, et aujourd’hui iPad avec du code C# et le Framework Mono, qui est le Framework .Net version Open Source. Magnifique, isn’t it ?!

Comme vous le savez, l’iPad tourne sous l’OS iPhone, donc le développement avec Monotouch est relativement similaire au développement d’applications iPhone. Voilà un lien qui vous donne de bonnes bases sur le développement iPhone avec Monotouch (http://blogs.dotnet-france.com/juliend/post/MonoTouch-Votre-premiere-application-NET-pour-IPhone.aspx). Faisons un tour d’horizon sur les généralités du développement iPad.

Tout d’abord, l’installation des outils. Il vous faut obligatoirement avoir Mac OS X Snow Leopard pour développer des applications iPad. Ensuite, l’installation des outils Monodevelop (Dernière version disponible), Framework Mono (Dernière version disponible), Monotouch version d’essai (Dernière version disponible) et bien évidemment le SDK iPhone 3.2, sans lequel vous n’aurez pas accès au simulateur et aux contrôles iPhone / iPad. Quoi de neuf avec l’iPad ? Les contrôles de base sont quasiment tous les mêmes. Pourquoi quasiment tous, parce qu’un seul est nouveau dans le SDK 3.2 : le Split View Controler. Voici de base, ce à quoi il ressemble.

Comment fonctionne t’il ?

Comme son nom l’indique, il permet de gérer plusieurs views séparées, en l’occurrence deux, sur un même conteneur, ce qui est impossible avec l’iPhone. Les deux vues contenues dans le Split View Controler sont identifiées comme étant la View de droite et la View de gauche.

Quel intérêt ?

Utiliser un maximum l’espace d’écran fournit par l’iPad, pour augmenter l’ergonomie de nos applications. Le seul petit défaut à noter sur ce conteneur, est que les deux views (droite et gauche) ne peuvent être affichées en même temps que si notre iPad est en position Landscape. Pourtant, il est possible d’utiliser ce conteneur en mode Portrait comme le montre cette impression écran :

Deux possibilités, soit je ne sais pas le faire et je n’ai pas encore trouvé, auquel cas je vous en informerai lorsque j’aurai trouvé, soit ce n’est pas encore supporté par Monotouch et il faudra attendre une upgrade.

Voilà un exemple d’utilisation d’un Split View Controller : ici.

Posted: May 20 2010, 00:15 by gregoryc | Comments (30) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Mono | iPad | Monotouch

Comments

julien said:

Bon début d'article mais je préférai que ce soit beaucoup plus complet à chaque fois.
On reste sur sa fin, au vue du titre de l'article il manque au moins le double de contenu facile !

# May 20 2010, 07:38

palludavy France said:

Petites corrections il y a plusieurs nouveaux controles dans le SDK Apple la SplitView comme tu l'as dis mais aussi la PopOver. Ensuite il est impossible d'obtenir la version SplitView en mode portrait étant une fonctionnalité réservée pour Apple, par contre rien t'empeche de la reconder en plus sexy.

# May 20 2010, 18:08

gregoryc France said:

@palludavy : Je connaissais pas le Popover, en tout cas il n'est pas disponible dans les éléments du designer, mais merci pour les infos.

@Julien : Je sais, mais quelqu'un a déjà fait l'appli que je voulais faire pour iPad, à savoir la liste et la map view, c'est pour ça que j'ai préféré mettre le lien et terminé par là, pour pas faire de plagia. Mais, c'est sur la prochaine fois je ferai quelque chose de plus aboutit.

# May 20 2010, 21:59

ipad covers United States said:

Checkout this great source for your ipad, this site will give every thing you will need for your ipad...

# May 28 2010, 05:27

julienG France said:

Il me semble que l'on ne pourra plus faire de Monotouch pour  l'OS 4

# May 31 2010, 21:03

gregoryc France said:

Semble t'il. Je ne sais pas, mais si c'était le cas, c'est un bon projet mis à l'eau...

# June 05 2010, 02:09

Maximo Diem United States said:

I am looking to buy an ipad but do not know which one to buy. Do I just go with the wi-fi or do I pay the extra and get the 3G?

# November 15 2010, 17:36

bath panel United Kingdom said:

From the arguments and discourse on  [Monotouch] – Introduction au développement iPad you might need to do a sewcon item.  There are a few points not addressed from my most recent scanning. Keep the postings coming. As Arnie said I will be back.

# November 23 2010, 01:23

credit loans Canada said:

I will recommend not to hold back until you get enough amount of money to buy goods! You can just get the credit loans or just collateral loan and feel yourself comfortable

# December 11 2010, 23:29

combi boilers United Kingdom said:

There is some well-timed material here in  [Monotouch] – Introduction au développement iPad. Do you do any different topics other than ones similar to this? I would want to encounter some material involving how quick it could materialize and what is the safest way to set up. Take care that you do not encumber yourself. Lots of writers limit themselves to items they think they are able to manage. Be confident you can go as far as your mind will allow you.

# January 13 2011, 02:50

Ht,ml5 games United States said:

I like this post, thank you.

# January 13 2011, 19:10

Html5 games United States said:

Really nice post,thank you

# January 13 2011, 19:11

nike air force ones said:

AirMagination is a unique company that specializes in custom airbrushed sneakers, clothing and artwork. Some of its customized <a href=" http://www.zhouer.net/">nike air force ones</a> designs include Sesame Street characters, celebrities and popular cinematic icons. Its prices may fall slightly above that of it competitors, but the authenticity and exceptionality of its work may justify the cost of this custom footwear.
Pimp My Kicks

# May 13 2011, 18:44

Freebiejeebies United Kingdom said:

Great Post! Wll be back soon for more info from you! I love your blog, and read it often as i have bookmarked you! Laughing I hope you understand my language!

# June 25 2011, 04:21

SJR said:

Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.
This really answered my problem, thank you!

# July 11 2011, 21:55

Funny Quotes about Love United States said:

I’m impressed, I must say. Really hardly ever do I encounter a blog that’s each educative and entertaining, and let me tell you, you've gotten hit the nail on the head. Your thought is outstanding; the issue is something that not sufficient individuals are speaking intelligently about. I am very completely happy that I stumbled across this in my search for one thing relating to this.

# July 25 2011, 22:59

Guide iPad France said:

Merci pour cet article fort intéressant. N'ayant pas le courage de me lancer de zéro dans la programmation iPad, j'ai obtenu de très bons résultats avec Titanium/Appcelerator. Pour quelqu'un qui se débrouille bien en javascript cela permet d'être opérationnel de suite.

# July 29 2011, 08:34

hasdress United States said:

Ones the top! cheap Christian louboutin.

# July 29 2011, 18:56

mutuelle dentaire France said:

hello thanks so much for this blog

# November 14 2011, 22:57

mutuelle France said:

Thanks you so much for the great blog Smile

# November 18 2011, 03:32

channel11news.nambii.com said:

Pingback from channel11news.nambii.com

European Central Bank steps in to counter bond rout
    (Reuters) | Channel 11 News

# November 19 2011, 00:53

luxuria United States said:

Very informative post. I don't think I've come across the angle you present the information in a brilliant way. Very original! Keep blogging.

# December 01 2011, 19:50

sky blue credit repair United States said:


Good post. An excellent resource of information. I will certainly return to check on the latest posts.

# December 17 2011, 05:55

article submission Canada said:

I do really would like to to thank you very much for your fantastic theme relating with this topic. I think that you need the aid of an experienced article submission service or the today article submission to make your article more popular.

# December 23 2011, 02:27

essays for sale online Canada said:

I've been tried to cope with my academic assignments myself until my sister adviced me to buy cheap essay for sale. I could state that it works!  

# December 24 2011, 20:31

mortgage loans Canada said:

Houses and cars are not cheap and not every person is able to buy it. But, mortgage loans are created to aid people in such situations.

# December 26 2011, 13:28

terrasse bois France said:

Très bon blog ! merci
Eric

# January 09 2012, 18:12

mini perceuse France said:

nice i love this blog it's very funny !
thx

# January 12 2012, 04:05

essay writing help Canada said:

Begin your term paper writing and don’t understand the proper way to complete it? Worry not, just buy custom essays in Internet and be assured that your cheap essay writing service essays are accomplished by experts.

# April 29 2012, 08:16

buy an essay Canada said:

Buy essays or pre written essays and be insured you know good information just about this post*.

# May 08 2012, 23:23

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading

captcha

*