DetailNoteViewControler.h Open source code 2013年10月14日 //// DetailNoteViewControler.h// PlainNote// Created by fablab on 2011/12/18.// Copyright (c) 23 __MyCompanyName__. All rights reserved.////#import <UIKit/UIKit.h>#import <EventKit/EventKit.h>#import <MessageUI/MessageUI.h>#import <MessageUI/MFMailComposeViewController.h>@interface DetailNoteViewControler : UIViewController <MFMailComposeViewControllerDelegate,UIAlertViewDelegate,UITextViewDelegate,UIActionSheetDelegate> {NSDictionary *Notedict;IBOutlet UITextView *NoteDetail;NSMutableArray *noteArray;//future for up and down through notes// IBOutlet UIBarButtonItem *upButton;// IBOutlet UIBarButtonItem *dnButton;BOOL keyboardVisible;BOOL didEdit;IBOutlet UIScrollView *scrollView;IBOutlet UIToolbar *toolBar;EKEventStore *eventStore; // カレンダーデータベースアクセスオブジェクト}//メールアクションの準備-(void) launchMailComposer;-(void) openMailComposer;-(void) openMailApp;@property (nonatomic, retain) EKEventStore *eventStore;@property (nonatomic, retain) NSMutableArray* noteArray;@property (nonatomic, retain) UITextView *NoteDetail;@property (nonatomic, retain) NSDictionary *Notedict;@property (nonatomic, retain) UIBarButtonItem *mailButton;@property (nonatomic, retain) UIScrollView *scrollView;@property (nonatomic, retain) UIToolbar *toolBar;// 送信ボタンアクション- (IBAction)shareButton:(id)sender;//Mail- (IBAction)mail:(id)sender;//@property (nonatomic, retain) UIBarButtonItem *upButton;//@property (nonatomic, retain) UIBarButtonItem *dnButton;-(void)keyboardDidShow:(NSNotification *)notif;-(void)keyboardDidHide:(NSNotification *)notif;-(void)textViewDidChange:(UITextView *)NoteDetail;-(void)savePlist;-(void)popupActionSheet;//future for up and down through notes//- (IBAction) upButtonAction: (id) sender;//- (IBAction) dnButtonAction: (id) sender;@end [0回]PR