Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refactor some classes.

  • Loading branch information...
commit 9dbbbe086cfde3ea1f8b94f8968b786f0901b294 1 parent 083d779
@kishikawakatsumi authored
View
1  .gitattributes
@@ -0,0 +1 @@
+*.pbxproj -crlf -diff -merge
View
9 Classes/DiaryViewController.h
@@ -1,9 +1,13 @@
#import <UIKit/UIKit.h>
#import "Diary.h"
-
@interface DiaryViewController : UITableViewController <UITableViewDataSource , UITextFieldDelegate, UITextViewDelegate,
UINavigationControllerDelegate, UIImagePickerControllerDelegate> {
+ UITextField *titleField;
+ UITextView *bodyView;
+ UIButton *draftButton;
+ UIButton *submitButton;
+
UITableView *diaryView;
UISegmentedControl *toolButtons;
@@ -22,9 +26,6 @@ UINavigationControllerDelegate, UIImagePickerControllerDelegate> {
NSRange currentRange;
}
-@property (nonatomic, retain) UITableView *diaryView;
-@property (nonatomic, retain) UISegmentedControl *toolButtons;
-
@property (nonatomic, retain) NSString *editURI;
@property (nonatomic) BOOL editEntry;
@property (nonatomic) BOOL editDraft;
View
212 Classes/DiaryViewController.m
@@ -1,9 +1,5 @@
#import "DiaryListViewController.h"
#import "DiaryViewController.h"
-#import "DiaryTitleCellController.h"
-#import "DiaryTitleCell.h"
-#import "DiaryCellController.h"
-#import "DiaryCell.h"
#import "Diary.h"
#import "HatenaTouchAppDelegate.h"
#import "HatenaAtomPub.h"
@@ -20,8 +16,6 @@ - (void)inssertSyntaxText:(NSString *)syntax;
@implementation DiaryViewController
-@synthesize diaryView;
-@synthesize toolButtons;
@synthesize editURI;
@synthesize editEntry;
@synthesize editDraft;
@@ -30,22 +24,20 @@ @implementation DiaryViewController
@synthesize edittingDiary;
@synthesize dataFilePath;
-- (id)initWithStyle:(UITableViewStyle)style {
- if (self = [super initWithStyle:style]) {
- ;
- }
- return self;
-}
-
- (void)dealloc {
+ diaryView.delegate = nil;
+ diaryView.dataSource = nil;
+ [diaryView release];
+ [toolButtons release];
+ [titleField release];
+ [bodyView release];
+ [draftButton release];
+ [submitButton release];
[dataFilePath release];
+ [editURI release];
[edittingDiary release];
- [diaryTextForEdit release];
[titleTextForEdit release];
- [editURI release];
- [toolButtons release];
- [diaryView setDelegate:nil];
- [diaryView release];
+ [diaryTextForEdit release];
[super dealloc];
}
@@ -154,32 +146,6 @@ - (void)dealloc {
return imageCopy;
}
-#pragma mark Utility getter Methods
-
-- (UIButton *)submitButton {
- return [(DiaryCell *)[diaryView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0]] submitButton];
-}
-
-- (UIButton *)draftButton {
- return [(DiaryCell *)[diaryView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0]] draftButton];
-}
-
-- (UITextField *)titleTextField {
- return [(DiaryTitleCell *)[diaryView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]] inputField];
-}
-
-- (UITextView *)diaryTextView {
- return [(DiaryCell *)[diaryView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0]] diaryTextView];
-}
-
-- (NSString *)titleText {
- return [[self titleTextField] text];
-}
-
-- (NSString *)diaryText {
- return [[self diaryTextView] text];
-}
-
#pragma mark Temp file access Methods
- (void)loadTemporaryDiary {
@@ -208,8 +174,8 @@ - (void)saveTemporaryDiary {
return;
}
- edittingDiary.titleText = [self titleText];
- edittingDiary.diaryText = [self diaryText];
+ edittingDiary.titleText = titleField.text;
+ edittingDiary.diaryText = bodyView.text;
NSMutableData *theData = [NSMutableData data];
NSKeyedArchiver *encoder = [[NSKeyedArchiver alloc] initForWritingWithMutableData:theData];
@@ -269,28 +235,28 @@ - (void) finishEditting {
}
- (void) enableButtons {
- if ([[self titleText] length] != 0 && [[self diaryTextView] hasText]) {
- [[self submitButton] setEnabled:YES];
- [[self draftButton] setEnabled:YES];
+ if ([[titleField text] length] != 0 && [bodyView hasText]) {
+ [submitButton setEnabled:YES];
+ [draftButton setEnabled:YES];
} else {
- [[self submitButton] setEnabled:NO];
- [[self draftButton] setEnabled:NO];
+ [submitButton setEnabled:NO];
+ [draftButton setEnabled:NO];
}
}
- (void)moveUpButtons {
if ([self orientationIsPortrait]) {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 320.0, 179.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 320.0, 179.0)];
} else {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 480.0, 120.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 480.0, 120.0)];
}
}
- (void)moveDownButtons {
if ([self orientationIsPortrait]) {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 320.0, 328.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 320.0, 328.0)];
} else {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 480.0, 212.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 480.0, 212.0)];
}
}
@@ -298,11 +264,11 @@ - (void)moveDownButtons {
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.row == 0) {
- return 40.00;
+ return 40.0f;
} else if (indexPath.row == 1) {
- return 386.00;
+ return 386.0f;
} else {
- return 44.00;
+ return 44.0f;
}
}
@@ -316,42 +282,37 @@ - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.row == 0) {
- DiaryTitleCell *cell = (DiaryTitleCell *)[diaryView dequeueReusableCellWithIdentifier:@"DiaryTitleCell"];
+ UITableViewCell *cell = [diaryView dequeueReusableCellWithIdentifier:@"TitleCell"];
if (cell == nil) {
- DiaryTitleCellController *controller = [[DiaryTitleCellController alloc] initWithNibName:@"DiaryTitleCell" bundle:nil];
- cell = (DiaryTitleCell *)controller.view;
- [cell.inputField setDelegate:self];
- [cell.inputField setAutoresizingMask:UIViewAutoresizingFlexibleWidth];
- [controller release];
+ cell = [[[UITableViewCell alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 40.0f) reuseIdentifier:@"TitleCell"] autorelease];
+ cell.accessoryType = UITableViewCellAccessoryNone;
+ cell.selectionStyle = UITableViewCellSelectionStyleNone;
+ [cell addSubview:titleField];
}
if (titleTextForEdit) {
- [[cell inputField] setText:titleTextForEdit];
+ [titleField setText:titleTextForEdit];
} else {
- [[cell inputField] setText:edittingDiary.titleText];
+ [titleField setText:edittingDiary.titleText];
}
return cell;
} else {
- DiaryCell *cell = (DiaryCell *)[diaryView dequeueReusableCellWithIdentifier:@"DiaryCell"];
+ UITableViewCell *cell = [diaryView dequeueReusableCellWithIdentifier:@"DiaryCell"];
if (cell == nil) {
- DiaryCellController *controller = [[DiaryCellController alloc] initWithNibName:@"DiaryCell" bundle:nil];
- cell = (DiaryCell *)controller.view;
- [controller release];
- [cell.diaryTextView setDelegate:self];
- [cell.diaryTextView setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight];
- [cell.submitButton addTarget:self action:@selector(submit:) forControlEvents:UIControlEventTouchUpInside];
+ cell = [[[UITableViewCell alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 386.0f) reuseIdentifier:@"DiaryCell"] autorelease];
+ [cell addSubview:bodyView];
+ [cell addSubview:draftButton];
+ [cell addSubview:submitButton];
}
if (editEntry) {
- [[cell draftButton] removeFromSuperview];
- } else {
- [[cell draftButton] addTarget:self action:@selector(submitDraft:) forControlEvents:UIControlEventTouchUpInside];
+ [draftButton removeFromSuperview];
}
if (diaryTextForEdit) {
- [[cell diaryTextView] setText:diaryTextForEdit];
+ [bodyView setText:diaryTextForEdit];
} else {
- [[cell diaryTextView] setText:edittingDiary.diaryText];
+ [bodyView setText:edittingDiary.diaryText];
}
return cell;
}
@@ -367,23 +328,24 @@ - (void)textFieldDidBeginEditing:(UITextField *)textField {
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
if ([textField.text length] == 1 && range.location == 0 && range.length == 1 && [string length] == 0) {
- [[self submitButton] setEnabled:NO];
- [[self draftButton] setEnabled:NO];
+ [submitButton setEnabled:NO];
+ [draftButton setEnabled:NO];
return YES;
}
if (([textField.text length] != 0 || [string length] != 0)
- && [[self diaryText] length] != 0) {
- [[self submitButton] setEnabled:YES];
- [[self draftButton] setEnabled:YES];
+ && [[bodyView text] length] != 0) {
+ [submitButton setEnabled:YES];
+ [draftButton setEnabled:YES];
} else {
- [[self submitButton] setEnabled:NO];
- [[self draftButton] setEnabled:NO];
+ [submitButton setEnabled:NO];
+ [draftButton setEnabled:NO];
}
return YES;
}
- (BOOL)textFieldShouldReturn:(UITextField *)textField {
[textField resignFirstResponder];
+ [bodyView becomeFirstResponder];
return YES;
}
@@ -404,12 +366,12 @@ - (BOOL)textFieldShouldEndEditing:(UITextField *)textField {
//}
- (void)textViewDidChange:(UITextView *)textView {
- if ([textView.text length] != 0 && [[self titleText] length] != 0) {
- [[self submitButton] setEnabled:YES];
- [[self draftButton] setEnabled:YES];
+ if ([bodyView.text length] != 0 && [titleField.text length] != 0) {
+ [submitButton setEnabled:YES];
+ [draftButton setEnabled:YES];
} else {
- [[self submitButton] setEnabled:NO];
- [[self draftButton] setEnabled:NO];
+ [submitButton setEnabled:NO];
+ [draftButton setEnabled:NO];
}
[self saveTemporaryDiary];
}
@@ -486,12 +448,10 @@ - (void)imagePickerController:(UIImagePickerController *)picker
#pragma mark Action Methods
-(void)done:(id)sender {
- UITextField *titleField = [self titleTextField];
- UITextView *diaryTextView = [self diaryTextView];
if ([titleField isEditing]) {
[titleField resignFirstResponder];
} else {
- [diaryTextView resignFirstResponder];
+ [bodyView resignFirstResponder];
}
}
@@ -529,9 +489,9 @@ - (void)showSyntaxList:(id)sender {
}
- (void)inssertSyntaxText:(NSString *)syntax {
- NSMutableString *newText = [NSMutableString stringWithString:[self diaryText]];
+ NSMutableString *newText = [NSMutableString stringWithString:bodyView.text];
[newText insertString:syntax atIndex:currentRange.location];
- [[self diaryTextView] setText:newText];
+ [bodyView setText:newText];
}
#pragma mark HTTP request Methods
@@ -540,7 +500,7 @@ - (void)_submit {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
HatenaAtomPub *atomPub = [[HatenaAtomPub alloc] init];
- Diary *diary = [Diary diaryWithTitle:[self titleText] text:[self diaryText]];
+ Diary *diary = [Diary diaryWithTitle:titleField.text text:bodyView.text];
BOOL success = NO;
NSString *newPostURL = nil;
@@ -587,7 +547,7 @@ - (void)_submitDraft {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
HatenaAtomPub *atomPub = [[HatenaAtomPub alloc] init];
- Diary *diary = [Diary diaryWithTitle:[self titleText] text:[self diaryText]];
+ Diary *diary = [Diary diaryWithTitle:titleField.text text:bodyView.text];
BOOL success = NO;
NSString *newPostURL = nil;
@@ -627,33 +587,67 @@ - (void)submitDraft:(id)sender {
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
if (fromInterfaceOrientation == UIDeviceOrientationIsPortrait(fromInterfaceOrientation)) {
- [[self submitButton] setFrame:CGRectMake(380.0, 220.0, 80.0, 30.0)];
- [[self draftButton] setFrame:CGRectMake(292.0, 220.0, 80.0, 30.0)];
+ [submitButton setFrame:CGRectMake(380.0, 220.0, 80.0, 30.0)];
+ [draftButton setFrame:CGRectMake(292.0, 220.0, 80.0, 30.0)];
if (isEdittingDiaryText) {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 480.0, 120.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 480.0, 120.0)];
} else {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 480.0, 212.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 480.0, 212.0)];
}
[self.navigationController setNavigationBarHidden:YES animated:YES];
} else {
- [[self submitButton] setFrame:CGRectMake(220.0, 336.0, 80.0, 30.0)];
- [[self draftButton] setFrame:CGRectMake(132.0, 336.0, 80.0, 30.0)];
- if (isEdittingDiaryText || [[self titleTextField] isEditing]) {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 320.0, 179.0)];
+ [submitButton setFrame:CGRectMake(220.0, 336.0, 80.0, 30.0)];
+ [draftButton setFrame:CGRectMake(132.0, 336.0, 80.0, 30.0)];
+ if (isEdittingDiaryText || [titleField isEditing]) {
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 320.0, 179.0)];
} else {
- [[self diaryTextView] setFrame:CGRectMake(0.0, 0.0, 320.0, 328.0)];
+ [bodyView setFrame:CGRectMake(0.0, 0.0, 320.0, 328.0)];
}
[self.navigationController setNavigationBarHidden:NO animated:YES];
}
}
- (void)loadView {
- [diaryView release];
- diaryView = nil;
diaryView = [[UITableView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 460.0f)];
+ diaryView.scrollEnabled = NO;
[diaryView setDelegate:self];
[diaryView setDataSource:self];
[self setView:diaryView];
+
+ titleField = [[UITextField alloc] initWithFrame:CGRectMake(20.0f, 4.0f, 300.0f, 32.0f)];
+ [titleField setDelegate:self];
+ [titleField setAdjustsFontSizeToFitWidth:NO];
+ [titleField setBorderStyle:UITextBorderStyleNone];
+ [titleField setClearButtonMode:UITextFieldViewModeWhileEditing];
+ [titleField setClearsOnBeginEditing:NO];
+ [titleField setAutocapitalizationType:UITextAutocapitalizationTypeNone];
+ [titleField setAutocorrectionType:UITextAutocorrectionTypeNo];
+ [titleField setEnablesReturnKeyAutomatically:YES];
+ [titleField setReturnKeyType:UIReturnKeyNext];
+ [titleField setContentVerticalAlignment:UIControlContentVerticalAlignmentCenter];
+ [titleField setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft];
+ [titleField setPlaceholder:NSLocalizedString(@"Title", nil)];
+ [titleField setKeyboardType:UIKeyboardTypeDefault];
+ [titleField setAutoresizingMask:UIViewAutoresizingFlexibleWidth];
+
+ bodyView = [[UITextView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 328.0f)];
+ [bodyView setDelegate:self];
+ [bodyView setAutocapitalizationType:UITextAutocapitalizationTypeNone];
+ [bodyView setAutocorrectionType:UITextAutocorrectionTypeNo];
+ [bodyView setReturnKeyType:UIReturnKeyDone];
+ [bodyView setKeyboardType:UIKeyboardTypeDefault];
+ [bodyView setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight];
+
+ draftButton = [[UIButton buttonWithType:UIButtonTypeRoundedRect] retain];
+ [draftButton setTitle:NSLocalizedString(@"DraftButton", nil) forState:UIControlStateNormal];
+ draftButton.frame = CGRectMake(132.0f, 336.0f, 80.0f, 30.0f);
+
+ submitButton = [[UIButton buttonWithType:UIButtonTypeRoundedRect] retain];
+ [submitButton setTitle:NSLocalizedString(@"SubmitButton", nil) forState:UIControlStateNormal];
+ submitButton.frame = CGRectMake(220.0f, 336.0f, 80.0f, 30.0f);
+
+ [draftButton addTarget:self action:@selector(submitDraft:) forControlEvents:UIControlEventTouchUpInside];
+ [submitButton addTarget:self action:@selector(submit:) forControlEvents:UIControlEventTouchUpInside];
}
- (void)viewDidLoad {
@@ -690,7 +684,7 @@ - (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
[self enableButtons];
- [[self diaryTextView] scrollRangeToVisible:currentRange];
+ [bodyView scrollRangeToVisible:currentRange];
}
- (void)viewWillDisappear:(BOOL)animated {
View
1  Classes/UserSettingViewController.m
@@ -56,7 +56,6 @@ - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger
} else {
return 2;
}
-
}
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
View
BIN  Comment.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  English.lproj/Localizable.strings
Binary file not shown
View
68 HatenaTouch.xcodeproj/project.pbxproj
@@ -7,8 +7,6 @@
objects = {
/* Begin PBXBuildFile section */
- 14016C360E8170E000DF1904 /* Comment.png in Resources */ = {isa = PBXBuildFile; fileRef = 14016C350E8170E000DF1904 /* Comment.png */; };
- 14016DC00E823DBC00DF1904 /* Syntax.png in Resources */ = {isa = PBXBuildFile; fileRef = 14016DBF0E823DBB00DF1904 /* Syntax.png */; };
14016DC20E823DDB00DF1904 /* Album.png in Resources */ = {isa = PBXBuildFile; fileRef = 14016DC10E823DDB00DF1904 /* Album.png */; };
14016DC40E823DF800DF1904 /* Camera.png in Resources */ = {isa = PBXBuildFile; fileRef = 14016DC30E823DF800DF1904 /* Camera.png */; };
1404AFE71001162E00E133B9 /* EntryCellSelectedBackgroundView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1404AFE61001162E00E133B9 /* EntryCellSelectedBackgroundView.m */; };
@@ -27,14 +25,8 @@
141DE8FA0E71A27300FBA9A5 /* InformationSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = 141DE8F70E71A27300FBA9A5 /* InformationSheet.xib */; };
141DE9000E71A28900FBA9A5 /* AddBookmarkView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 141DE8FC0E71A28900FBA9A5 /* AddBookmarkView.xib */; };
141DE9010E71A28900FBA9A5 /* PageBookmarkCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 141DE8FE0E71A28900FBA9A5 /* PageBookmarkCell.xib */; };
- 141DE9210E71A32000FBA9A5 /* DiaryCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 141DE9190E71A32000FBA9A5 /* DiaryCell.xib */; };
- 141DE9230E71A32000FBA9A5 /* DiaryTitleCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 141DE91D0E71A32000FBA9A5 /* DiaryTitleCell.xib */; };
141DE9240E71A32000FBA9A5 /* HatenaSyntaxSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = 141DE91F0E71A32000FBA9A5 /* HatenaSyntaxSheet.xib */; };
141DE9470E71A3B100FBA9A5 /* DiaryViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE9300E71A3B100FBA9A5 /* DiaryViewController.m */; };
- 141DE9480E71A3B100FBA9A5 /* DiaryTitleCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE9320E71A3B100FBA9A5 /* DiaryTitleCell.m */; };
- 141DE9490E71A3B100FBA9A5 /* DiaryTitleCellController.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE9340E71A3B100FBA9A5 /* DiaryTitleCellController.m */; };
- 141DE94A0E71A3B100FBA9A5 /* DiaryCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE9360E71A3B100FBA9A5 /* DiaryCell.m */; };
- 141DE94B0E71A3B100FBA9A5 /* DiaryCellController.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE9380E71A3B100FBA9A5 /* DiaryCellController.m */; };
141DE94C0E71A3B100FBA9A5 /* DiaryListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE93A0E71A3B100FBA9A5 /* DiaryListViewController.m */; };
141DE94D0E71A3B100FBA9A5 /* DiaryListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE93C0E71A3B100FBA9A5 /* DiaryListCell.m */; };
141DE94F0E71A3B100FBA9A5 /* Diary.m in Sources */ = {isa = PBXBuildFile; fileRef = 141DE9400E71A3B100FBA9A5 /* Diary.m */; };
@@ -69,6 +61,8 @@
149EE49F10499FB30022308F /* MyBookmarkNextCellSelectedBackgroundView.m in Sources */ = {isa = PBXBuildFile; fileRef = 149EE49E10499FB30022308F /* MyBookmarkNextCellSelectedBackgroundView.m */; };
149EE4C51049A60A0022308F /* DiaryListCellSelectedBackgroundView.m in Sources */ = {isa = PBXBuildFile; fileRef = 149EE4C41049A60A0022308F /* DiaryListCellSelectedBackgroundView.m */; };
149EE4E11049AB010022308F /* DiaryNextCellSelectedBackgroundView.m in Sources */ = {isa = PBXBuildFile; fileRef = 149EE4E01049AB010022308F /* DiaryNextCellSelectedBackgroundView.m */; };
+ 149EE4EB1049ADC60022308F /* Comment.png in Resources */ = {isa = PBXBuildFile; fileRef = 149EE4EA1049ADC60022308F /* Comment.png */; };
+ 149EE5041049B0880022308F /* Syntax.png in Resources */ = {isa = PBXBuildFile; fileRef = 149EE5031049B0880022308F /* Syntax.png */; };
149F5E050EE168A300327D14 /* HttpClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 149F5E020EE168A300327D14 /* HttpClient.m */; };
149F5E060EE168A300327D14 /* StringHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 149F5E040EE168A300327D14 /* StringHelper.m */; };
149F5E230EE16A9500327D14 /* dialogue.png in Resources */ = {isa = PBXBuildFile; fileRef = 149F5E220EE16A9500327D14 /* dialogue.png */; };
@@ -84,8 +78,6 @@
/* Begin PBXFileReference section */
14016AC10EE13DAA00A427D9 /* Debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Debug.h; sourceTree = "<group>"; };
- 14016C350E8170E000DF1904 /* Comment.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Comment.png; sourceTree = "<group>"; };
- 14016DBF0E823DBB00DF1904 /* Syntax.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Syntax.png; sourceTree = "<group>"; };
14016DC10E823DDB00DF1904 /* Album.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Album.png; sourceTree = "<group>"; };
14016DC30E823DF800DF1904 /* Camera.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Camera.png; sourceTree = "<group>"; };
1404AFE51001162E00E133B9 /* EntryCellSelectedBackgroundView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EntryCellSelectedBackgroundView.h; sourceTree = "<group>"; };
@@ -118,22 +110,10 @@
141DE8FF0E71A28900FBA9A5 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/PageBookmarkCell.xib; sourceTree = "<group>"; };
141DE9020E71A29300FBA9A5 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Japanese; path = Japanese.lproj/AddBookmarkView.xib; sourceTree = "<group>"; };
141DE9030E71A29400FBA9A5 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Japanese; path = Japanese.lproj/PageBookmarkCell.xib; sourceTree = "<group>"; };
- 141DE91A0E71A32000FBA9A5 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/DiaryCell.xib; sourceTree = "<group>"; };
- 141DE91E0E71A32000FBA9A5 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/DiaryTitleCell.xib; sourceTree = "<group>"; };
141DE9200E71A32000FBA9A5 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/HatenaSyntaxSheet.xib; sourceTree = "<group>"; };
- 141DE9250E71A32E00FBA9A5 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Japanese; path = Japanese.lproj/DiaryCell.xib; sourceTree = "<group>"; };
- 141DE9270E71A32E00FBA9A5 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Japanese; path = Japanese.lproj/DiaryTitleCell.xib; sourceTree = "<group>"; };
141DE9280E71A32E00FBA9A5 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Japanese; path = Japanese.lproj/HatenaSyntaxSheet.xib; sourceTree = "<group>"; };
141DE92F0E71A3B100FBA9A5 /* DiaryViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryViewController.h; sourceTree = "<group>"; };
141DE9300E71A3B100FBA9A5 /* DiaryViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryViewController.m; sourceTree = "<group>"; };
- 141DE9310E71A3B100FBA9A5 /* DiaryTitleCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryTitleCell.h; sourceTree = "<group>"; };
- 141DE9320E71A3B100FBA9A5 /* DiaryTitleCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryTitleCell.m; sourceTree = "<group>"; };
- 141DE9330E71A3B100FBA9A5 /* DiaryTitleCellController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryTitleCellController.h; sourceTree = "<group>"; };
- 141DE9340E71A3B100FBA9A5 /* DiaryTitleCellController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryTitleCellController.m; sourceTree = "<group>"; };
- 141DE9350E71A3B100FBA9A5 /* DiaryCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryCell.h; sourceTree = "<group>"; };
- 141DE9360E71A3B100FBA9A5 /* DiaryCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryCell.m; sourceTree = "<group>"; };
- 141DE9370E71A3B100FBA9A5 /* DiaryCellController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryCellController.h; sourceTree = "<group>"; };
- 141DE9380E71A3B100FBA9A5 /* DiaryCellController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryCellController.m; sourceTree = "<group>"; };
141DE9390E71A3B100FBA9A5 /* DiaryListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryListViewController.h; sourceTree = "<group>"; };
141DE93A0E71A3B100FBA9A5 /* DiaryListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryListViewController.m; sourceTree = "<group>"; };
141DE93B0E71A3B100FBA9A5 /* DiaryListCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryListCell.h; sourceTree = "<group>"; };
@@ -197,6 +177,8 @@
149EE4C41049A60A0022308F /* DiaryListCellSelectedBackgroundView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryListCellSelectedBackgroundView.m; sourceTree = "<group>"; };
149EE4DF1049AB010022308F /* DiaryNextCellSelectedBackgroundView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiaryNextCellSelectedBackgroundView.h; sourceTree = "<group>"; };
149EE4E01049AB010022308F /* DiaryNextCellSelectedBackgroundView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiaryNextCellSelectedBackgroundView.m; sourceTree = "<group>"; };
+ 149EE4EA1049ADC60022308F /* Comment.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Comment.png; sourceTree = "<group>"; };
+ 149EE5031049B0880022308F /* Syntax.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Syntax.png; sourceTree = "<group>"; };
149F5E010EE168A300327D14 /* HttpClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HttpClient.h; sourceTree = "<group>"; };
149F5E020EE168A300327D14 /* HttpClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HttpClient.m; sourceTree = "<group>"; };
149F5E030EE168A300327D14 /* StringHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringHelper.h; sourceTree = "<group>"; };
@@ -281,8 +263,6 @@
141DE9120E71A2FD00FBA9A5 /* Diary */ = {
isa = PBXGroup;
children = (
- 141DE91D0E71A32000FBA9A5 /* DiaryTitleCell.xib */,
- 141DE9190E71A32000FBA9A5 /* DiaryCell.xib */,
141DE91F0E71A32000FBA9A5 /* HatenaSyntaxSheet.xib */,
);
name = Diary;
@@ -294,10 +274,10 @@
149EE4601049962D0022308F /* Default.png */,
142E33620EB215860078889A /* Icon.png */,
149F5E220EE16A9500327D14 /* dialogue.png */,
- 14016DBF0E823DBB00DF1904 /* Syntax.png */,
+ 149EE5031049B0880022308F /* Syntax.png */,
14016DC10E823DDB00DF1904 /* Album.png */,
14016DC30E823DF800DF1904 /* Camera.png */,
- 14016C350E8170E000DF1904 /* Comment.png */,
+ 149EE4EA1049ADC60022308F /* Comment.png */,
149EE4691049965E0022308F /* back.png */,
149EE46A1049965E0022308F /* forward.png */,
);
@@ -310,14 +290,6 @@
14C5F1DB0E7E3816001C55B2 /* List */,
141DE92F0E71A3B100FBA9A5 /* DiaryViewController.h */,
141DE9300E71A3B100FBA9A5 /* DiaryViewController.m */,
- 141DE9330E71A3B100FBA9A5 /* DiaryTitleCellController.h */,
- 141DE9340E71A3B100FBA9A5 /* DiaryTitleCellController.m */,
- 141DE9310E71A3B100FBA9A5 /* DiaryTitleCell.h */,
- 141DE9320E71A3B100FBA9A5 /* DiaryTitleCell.m */,
- 141DE9370E71A3B100FBA9A5 /* DiaryCellController.h */,
- 141DE9380E71A3B100FBA9A5 /* DiaryCellController.m */,
- 141DE9350E71A3B100FBA9A5 /* DiaryCell.h */,
- 141DE9360E71A3B100FBA9A5 /* DiaryCell.m */,
141DE93F0E71A3B100FBA9A5 /* Diary.h */,
141DE9400E71A3B100FBA9A5 /* Diary.m */,
141DE9410E71A3B100FBA9A5 /* HatenaSyntaxSheetController.h */,
@@ -551,11 +523,7 @@
141DE8FA0E71A27300FBA9A5 /* InformationSheet.xib in Resources */,
141DE9000E71A28900FBA9A5 /* AddBookmarkView.xib in Resources */,
141DE9010E71A28900FBA9A5 /* PageBookmarkCell.xib in Resources */,
- 141DE9210E71A32000FBA9A5 /* DiaryCell.xib in Resources */,
- 141DE9230E71A32000FBA9A5 /* DiaryTitleCell.xib in Resources */,
141DE9240E71A32000FBA9A5 /* HatenaSyntaxSheet.xib in Resources */,
- 14016C360E8170E000DF1904 /* Comment.png in Resources */,
- 14016DC00E823DBC00DF1904 /* Syntax.png in Resources */,
14016DC20E823DDB00DF1904 /* Album.png in Resources */,
14016DC40E823DF800DF1904 /* Camera.png in Resources */,
142E33630EB215860078889A /* Icon.png in Resources */,
@@ -563,6 +531,8 @@
149EE4611049962D0022308F /* Default.png in Resources */,
149EE46B1049965E0022308F /* back.png in Resources */,
149EE46C1049965E0022308F /* forward.png in Resources */,
+ 149EE4EB1049ADC60022308F /* Comment.png in Resources */,
+ 149EE5041049B0880022308F /* Syntax.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -577,10 +547,6 @@
141DE83A0E71A0BC00FBA9A5 /* HatenaTouchAppDelegate.m in Sources */,
141DE83B0E71A0BC00FBA9A5 /* RootViewController.m in Sources */,
141DE9470E71A3B100FBA9A5 /* DiaryViewController.m in Sources */,
- 141DE9480E71A3B100FBA9A5 /* DiaryTitleCell.m in Sources */,
- 141DE9490E71A3B100FBA9A5 /* DiaryTitleCellController.m in Sources */,
- 141DE94A0E71A3B100FBA9A5 /* DiaryCell.m in Sources */,
- 141DE94B0E71A3B100FBA9A5 /* DiaryCellController.m in Sources */,
141DE94C0E71A3B100FBA9A5 /* DiaryListViewController.m in Sources */,
141DE94D0E71A3B100FBA9A5 /* DiaryListCell.m in Sources */,
141DE94F0E71A3B100FBA9A5 /* Diary.m in Sources */,
@@ -680,24 +646,6 @@
name = PageBookmarkCell.xib;
sourceTree = "<group>";
};
- 141DE9190E71A32000FBA9A5 /* DiaryCell.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 141DE91A0E71A32000FBA9A5 /* English */,
- 141DE9250E71A32E00FBA9A5 /* Japanese */,
- );
- name = DiaryCell.xib;
- sourceTree = "<group>";
- };
- 141DE91D0E71A32000FBA9A5 /* DiaryTitleCell.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 141DE91E0E71A32000FBA9A5 /* English */,
- 141DE9270E71A32E00FBA9A5 /* Japanese */,
- );
- name = DiaryTitleCell.xib;
- sourceTree = "<group>";
- };
141DE91F0E71A32000FBA9A5 /* HatenaSyntaxSheet.xib */ = {
isa = PBXVariantGroup;
children = (
View
BIN  Japanese.lproj/Localizable.strings
Binary file not shown
View
BIN  Syntax.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.