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
| #import <Foundation/Foundation.h> | |
| @interface Deck : NSObject | |
| @property(nonatomic, strong) NSMutableArray * questions; | |
| @property(nonatomic, strong) NSString * name; | |
| @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
| #import "Deck.h" | |
| @implementation Deck | |
| -(instancetype)init{ | |
| if(self= [super init]){ | |
| _questions = [NSMutableArray new]; | |
| } | |
| return self; | |
| } |
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
| - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
| static NSString *MyIdentifier = @"MyReuseIdentifier"; | |
| UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; | |
| if (cell == nil) { | |
| cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier]; | |
| } | |
| // format the cell | |
| return cell; | |
| } |
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
| - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
| static NSString *MyIdentifier = @"MyReuseIdentifier"; | |
| UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; | |
| if (cell == nil) { | |
| cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault | |
| reuseIdentifier:MyIdentifier]; | |
| } | |
| // format the cell | |
| cell.textLabel.text =@""; | |
| cell.imageView.image =[UIImage imageNamed:@"icon"]; |
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
| // AlbumListData.m | |
| // Created by Janusz Chudzynski on 3/25/13 | |
| #import "AlbumListData.h" | |
| #import "Album.h" | |
| @interface AlbumListData()<UITableViewDelegate, UITableViewDataSource> | |
| @property (nonatomic,weak) UITableView * tableView; | |
| @property (nonatomic,strong) NSArray * objects; |
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 com.itenwired.itenconference.model; | |
| import android.util.Log; | |
| import java.text.ParseException; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; | |
| /** | |
| * Created by blcooley on 9/10/13. |
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
| jmc72$ ./adb shell monkey -p com.example.testingandroid -v 500 | |
| :Monkey: seed=1397651478340 count=500 | |
| :AllowPackage: com.example.testingandroid | |
| :IncludeCategory: android.intent.category.LAUNCHER | |
| :IncludeCategory: android.intent.category.MONKEY | |
| // Event percentages: | |
| // 0: 15.0% | |
| // 1: 10.0% | |
| // 2: 2.0% | |
| // 3: 15.0% |
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
| // Playground - noun: a place where people can play | |
| import UIKit | |
| func parseTwitterDate(twitterDate:String, outputDateFormat:String)->String?{ | |
| let formatter = NSDateFormatter() | |
| formatter.dateFormat = "EEE MMM dd HH:mm:ss Z yyyy" |
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
| class ListNode{ | |
| var val:Int? | |
| var next:ListNode? | |
| init(){} | |
| init(x:Int){ | |
| self.val = x | |
| } | |
| } |
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
| Daniel | Ley | db@students.edu | |
|---|---|---|---|
| Kyl | Cunn | kb@students.edu | |
| Debah | Gler | dl@students.edu |