Affichage des articles dont le libellé est english. Afficher tous les articles
Affichage des articles dont le libellé est english. Afficher tous les articles

lundi 30 décembre 2013

addSubview in UIAlertView deprecated in iOS7


There is a solution....

UIAlertView *alertView;

//a simple alert view with a simple message:
alertView = [[UIAlertView alloc]initWithTitle:nil message:@"My message here..." delegate:self cancelButtonTitle:nil otherButtonTitles:nil];
    

//a simple activity indicator:
UIActivityIndicatorView *activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
activityIndicator.frame= CGRectMake(50, 10, 37, 37);
activityIndicator.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleLeftMargin;    
[activityIndicator startAnimating];

//the magic line below,   
//we associate the activity indicator to the alert view: (addSubview is not used)
[alertView setValue:activityIndicator forKey:@"accessoryView"];
    
[alertView show];

mercredi 24 avril 2013

Xeno Galaxies, a futuristic Minecraft-like game

A friend is currently working on an action role playing space game with 2 other guys : Xeno Galaxies.

You can build ships, structures, cities, explore space, board ships, fight against aliens, etc...

All is designed like Minecraft, based on cubes.

Single player / multiplayer features.


There are some screenshots and a video trailer here :

http://www.indiegogo.com/projects/xeno-galaxies

They would like to fund, for accelerating the development (and for working on it at full time). So don't hesitate to give 5$ for this project, to Like(with Facebook), ...

Categories