Is your iOS keyboard obscuring your UITextField? Try this little toy:


//
// TestingViewController.m
// testingKeyboardLayout
//
// Created by Raichu on 5/6/14.
// Copyright (c) 2014 Richard. All rights reserved.
//

#import "TestingViewController.h"

@interface TestingViewController ()

@property (strong, nonatomic) NSString * textEnteredInTextField;
@property (weak, nonatomic) IBOutlet UITextField *textField;

@end

@implementation TestingViewController

- (void)viewDidLoad
{
[super viewDidLoad];
self.textEnteredInTextField = [NSString new];

[self.textField setDelegate:self];
[self.textField setReturnKeyType:UIReturnKeyDone];
[self.textField addTarget:self
action:@selector(textFieldFinished:)
forControlEvents:UIControlEventEditingDidEndOnExit];
[super viewDidLoad];
}

- (void)textFieldDidBeginEditing:(UITextField *)textField
{
[UIView beginAnimations:@"raise textField!" context:nil];
[UIView setAnimationDuration:.3];
[UIView setAnimationBeginsFromCurrentState:YES];

self.textField.frame = CGRectMake ( self.textField.frame.origin.x,
300,
self.textField.frame.size.width,
self.textField.frame.size.height );

[UIView commitAnimations];
}

- (IBAction)textFieldFinished:(id)sender
{
NSLog(@"Done button pressed!");
self.textEnteredInTextField = self.textField.text;
[sender resignFirstResponder];
[self returnTextField];
}

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
NSLog(@"Veiw touched!");
[self.view endEditing:YES];
[self.textField resignFirstResponder];
self.textEnteredInTextField = self.textField.text;

[self returnTextField];
}

- (void) returnTextField
{
[UIView beginAnimations:@"lower textField!" context:nil];
[UIView setAnimationDuration:.3];
[UIView setAnimationBeginsFromCurrentState:YES];

self.textField.frame = CGRectMake( self.textField.frame.origin.x,
500,
self.textField.frame.size.width,
self.textField.frame.size.height );

[UIView commitAnimations];
}

@end

Hawkeye

hawkeye-matt-fraction

Hawkeye is currently my favorite Avengers hero. He’s snarky, quick, brilliant, and a pain in the ass with tons of trick arrows. Seeing that I share a hobby with him (archery), I recently started trying to read all of the comic books where he’s a key figure. And, lo and behold, it’s a hassle to find a coherent list of books instead of single issues. So, with the best of my knowledge I’m putting together a list of Hawkeye comic books in chronological order with a link to Amazon for each. Let’s get you introduced to my friend Clint Barton, a.k.a. Hawkeye.

***If something is out of order, please let me know, and as soon as I learn something new or someone informs me, I’ll update this post.***


Primary Path:
Avengers Hawkeye (2010)
Avengers: West Coast Avengers Assemble (2010)
Avengers: West Coast Avengers Family Ties (2010)
Avengers: West Coast Avengers Sins Of The Past (2011)
Avengers: West Coast Avengers Lost In Space And Time (2011)
Avengers: West Coast Avengers Sins Of The Past (2011)
Avengers: West Coast Avengers Zodiac Attack (2012)
New Avengers: The Reunion (2010)
Hawkeye & Mockingbird Ghosts (2011)
Hawkeye & Mockingbird/Black Widow: Widowmaker (2011)
Hawkeye Blindspot (2011)
Avengers: Hawkeye Earth’s Mightiest Marksman (2011)
Avengers: Hawkeye Solo (2012)

Stray Comics:
Hawkeye Dark Reign (Not with Clint Barton as Hawkeye)
Ultimate Comics Hawkeye

Latest Series: (takes place in his retirement)
Hawkeye: My Life as a Weapon (2013)
Hawkeye: Little Hits  (2013)
Hawkeye: L.A. Woman (2014)

Useful iOS SDK GoogleMaps methods

Google Maps has a surprising great and informative getting started page, follow this guide. But I’m here to help with a few different methods you may be wanting: Current Location button, placing the map in a subview, marking an array of spaces, custom information views.

Bravelands, it’s a must.

combat
units becoming more powerful by the amount you had was interesting
enjoyed learning how to get the most out of my units and what enemies to target

exploration
running back to old places to get units is tedious from time to time

unit buying
units seems to be fairly cheap but it does seem to be the biggest drain on resources

unit skills
most of them are great and leaves you waiting for the cooldown to come back, well done

world finds
find extra (500) gold was nice from time to time, greatly boosted my army

skills
attack, defense, spell res, and spells

level ups
the granting of more units to buy was awesome, the skills are a bit worthless in my opinion

necklace spells
I used all of the skills to unlock the achievements, meteor was my favorite

purchasable armor
somewhat pricey, and I’m never sure how much of a benefit it’s giving me

currency
I liked the balance of gold, I always felt a bit short but also had the required amount when I needed things, great balance

unit design
more testing/balancing could have done
better balancing of unit costs is needed
movement distance seemed off for some of guys
healers seemed worthless with a limit of 2 heals

unit formation
hugely irritating to not be allowed to change up the formation

strategy
strategy could be greatly improved by a larger battle field and unit formations

combat system
straight forward

An old favorite – Solomon’s Boneyard

Yesterday I watched a short clip (from Touch Arcade) about an iPhone game that released a few years back called iDracula. After watching, I decided to write about a game I liked from a while ago – Solomon’s Boneyard.

Solomon’s Boneyard was a two joy stick arcade style game where you played as your choice of 10 different mages (all having different abilities and skill trees) and you fought off unending mobs of skeletons and ghosts until they overran you. Why? Who knows, I don’t recall the short back story to the madness, but the slaying was all that mattered.

The game was fairly simple from a gamer’s standpoint, but what they did incredibly well was the skill tree. Every time you leveled you got to choose one of three completely random skills available in your tree, or you could spend x gold (increased the more you used it) to be picky about the exact skill you wanted. So leveling up was a bit tricky, because the hordes got stronger and you had no idea if you were going to get the right skill for the job. Although occasionally life got easier, when, you acquired tomes as loot from the relentless undead, and these tomes randomly chose one of your already acquired skills and upgraded it.

So all in all the game was simple, the controls were responsive, and the skill tree was awesome. It was definitely one of my favorites, so check it out sometime.