This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SuperAbbrevs script to generate a new Analyzer class. | |
| package java112.analyzer; | |
| import java.util.*; | |
| import java.io.*; | |
| /** | |
| * class $1 | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package java112.labs2; | |
| import java.io.*; | |
| import java.util.*; | |
| /** | |
| * @author Eric Knapp | |
| * class PropertiesDemo | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package java112.labs2; | |
| import java.util.*; | |
| import java.io.*; | |
| /** | |
| * @author Eric Knapp | |
| * class PropertiesDemo | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ${1:public} ${2:void} ${3:name}(${4:params}) { | |
| $end | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package java112.$1; | |
| import java.util.*; | |
| /** | |
| * @author <#=AUTHOR#> | |
| * class $2 | |
| * | |
| */ | |
| public class ${2:name} { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WWDC 2010 Videos | |
| http://developer.apple.com/videos/wwdc/2010/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Adding the arrow to a cell | |
| cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //In RootViewController.m | |
| - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { | |
| [self.navigationController pushViewController:self.wordsController animated:YES]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Challenge from semester class | |
| http://itvideos.matcmadison.edu/screencasts/iphonedev/HiLoChallenge.mov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Random number | |
| NSUInteger newNumberToGuess = (((float)random() / RAND_MAX) * rangeMax) + 1; | |
| //Seed | |
| srandom(time(NULL)); | |