平成27年6月16日(火曜日)
メインは、pickerdataのcoredata版及び元データ(csv)の追加
以上作業、ほぼ本日完了!!
平成27年6月16日(火曜日)
メインは、pickerdataのcoredata版及び元データ(csv)の追加
以上作業、ほぼ本日完了!!
平成27年6月19日(金曜日)
LaunchImage
桜鼠色(d8c6bc)
裏柳色(c1d8ac)
平成27年6月12日(金曜日)
九州道アップデート
xcdatamodeld (editor add model version)(current model version change)
add entity (On_off.Version)
add attributes
AppDelegate.h修正(onoff entity version対応)
persistentStoreCoordinator以下変更 マイグレーション対応
[objc]
//——————————————————————–
// マイグレーション追加
NSMutableDictionary *options = [[NSMutableDictionary alloc] init];
[options setObject:[NSNumber numberWithBool:YES] forKey:NSMigratePersistentStoresAutomaticallyOption];
[options setObject:[NSNumber numberWithBool:YES] forKey:NSInferMappingModelAutomaticallyOption];
// マイグレーション追加
if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:options error:&error])
{
NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
abort();
}
//——————————————————————–
[/objc]
平成27年6月11日(木曜日)
九州道アップデート
Navigation Toolbarの表示
NavigationContorollerにて、shows Toolbarをチェック!!
ナビゲーションバー 遷移先再表示
[objc]
//—————————————————
// ***** ナビゲーションバー 表示 *****
// viewWillAppearにて、非表示をしたものを表示に戻す、でないと遷移画面でバーは非表示となる。
– (void)viewWillDisappear:(BOOL)animated {
[self.navigationController setNavigationBarHidden:NO animated:animated];
[super viewWillDisappear:animated];
}
//—————————————————
[/objc]
ナビゲーションバー 非表示
[objc]
//—————————————————
// ***** ナビゲーションバー 非表示 *****
[self.navigationController setNavigationBarHidden:YES animated:animated];
[super viewWillAppear:animated];
//—————————————————
[/objc]
Navigation Toolbar 透明化
[objc]
//—————————————————
// Toolbarを透明に設定
[self.navigationController.toolbar setBackgroundImage:[[UIImage alloc] init] forToolbarPosition:UIToolbarPositionAny barMetrics:UIBarMetricsDefault];
[self.navigationController.toolbar setBarStyle:UIBarStyleBlack];
self.navigationController.toolbar.translucent = YES;
//—————————————————
[/objc]
‘ld: warning: directory not found for option’
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.1' pod 'GoogleMaps'
Google旧バージョンからの移行
DEMOアドレス
/private/var/folders/p3/z71vj7x13qvfmhbcmv__4_lh0000gn/T/CocoaPods/Try/GoogleMaps/GoogleMapsSDKDemos/
平成27年5月31日(日曜日)
構築中
UIAlertController
Eggs Icon
899 Transport icons
Custom Transparent UIView ios
平成27年5月26日(火曜日)
構築中
温泉郷選択・表示・フェッチカウント等終えて、全体としてほぼ完了間近。
後は、温泉郷のcoredata取得と入湯データ削除、全体微調整。
アイコン、◉の二分割、四分割 gimpにて作成か。
サーチビュー エラー対応
UISearchDisplayController and UITableView prototype cell crash
平成27年5月25日(月曜日)
構築中
How to check in which position (landscape or portrait) os the iPhone now?
HexRGB To UIColorHexRGB To UIColor
日本の伝統色日本の伝統色
How do I show/hide a UIBarButtonItem?
How do I change the color of the text in a UIPickerView under iOS 7?
平成27年5月23日(土曜日)
構築中(課題)
①タップによって、アイコンの向き変更検討。
②泉質関連 抽出 既にあるもの(sql後重複削除)で良いか確認 sqlハンドブック coredata distinct
CoreData での DISTINCT 取得
③(キーワード UIPresentationController)
④pickerview
以下を参考に修正
UIPickerView をキーボードのように表示・非表示させる
更にtableviewcontroller用に以下を参考に修正、キモは、tableView.contentOffset.y;
How can I get the UITableView scroll position so I can save it?
how to create a popup uipicker and uitextfield for iOS 7?
可能か↓検討中 関連リンク
NSDictionary result type fetch objects in relationship
Core Data – efficient fetching of portions of Entities
Core Data: Fetch result from multiple entities or relationship
NSDictionary result type fetch objects in relationship
入湯データ消去
平成27年5月19日(火曜日)
ROOTからタブチャイルド(mapview)へのラウンド渡し(完了)
入湯on_offメソッドは、utility利用
フェッチリクエストにてpredicate(共同湯等)
あとは、viewWillAppearにて、pin表示の際に、utilityメソッド使用。
fetchedResultsControllerかNSFetchRequest 検討。
ひとまず保持されるfetchedResultsController利用。
how can i call method from another class in iPhone Xcode
構築中
平成27年5月18日(月曜日)
構築中
平成27年5月15〜17日(日曜日)
構築中
SORT & PREDICATE & ボタン連動完了 SORTによる表示完了
セクション表示変更 色分けはPARTのみ
入湯、未入湯ボタン押下による表示については、二度のクエリーにより解決。
タイトルカラーは、delegateにて設定。その他、global tint
参考URL
Core Data: NSPredicate that looks in two Entities
平成27年5月14日(木曜日)
構築中 TOOLBAR追加
平成27年5月13日(水曜日)
構築中 PAGEVIEW遷移に伴う表示不具合
平成27年5月12日(火曜日)
構築中 SearchBar ランドスケープ表示不具合
平成27年5月11日(月曜日)
構築中 SideMenu + テーブルビュー基本部分完了
平成27年5月10日(日曜日)
構築中 SideBar関連
平成27年5月8日(金曜日)
構築中 DetailTableViewController 完了
平成27年5月7日(木曜日)
構築中 CustomCell
平成27年5月5日(火曜日)
構築中 SerchBar
searchDisplayController deprecated iOS 8
Updating to the iOS 8 Search Controller
平成27年5月4日(月曜日)
構築中(懸案事項は本日でほぼ解決)今後は組み立て
平成27年4月30日(木曜日)
構築中
平成27年4月26日(日曜日)
[objc]
// core data directory
NSLog(@"applicationDocumentsDirectory=%@",[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]);
[/objc]
CoreData – リレーションシップ(1) シンプルなモデル
Unrecognized selector sent to instance when using @dynamic with Core Data
リレーションをSpaListsのみに設定(片方向)
EDITOR CREATE MSMANAGEDOBJECT SUBCLASSにてクラスファイル自動作成
ERROR解消については、以下リンク
How to disable no inverse relationship warning for CoreData in Xcode 4.2?
参考URL
Core Data on iOS 5 Tutorial: How To Work with Relations and Predicates
重要!!
参考URL(two Entities)
コアデータのAPIは、リレーショナルデータベースのように設計されていない。(名前からon_off entityを検索し(結果集合 nsset)、現在の設定をゲットすることとする。)
Core Data: NSPredicate that looks in two Entities
臙脂色(えんじいろ)
#9B003F
平成27年3月13日
CSVFILEからのリード(新板)What is the fastest way to load a large CSV file into core data
Objective-CでCSVをプロパティリストに変換する方法
サイトへアップロード
【Objective-C】.plistファイルの作り方と読み込み方
変換ソフトダウンロード
①CSV2Plist
変換ソフトダウンロード 変換不良
②CSV2Plist
平成27年3月5日(木曜日)
Coredata グローバル変数(既存satellite中 appdelegate、modelで使用)〔pageview版〕
既存モデルのCopy バージョニング別プロジェクトからインポート
バンドル セットアップしたデータベースを使う①Core Data Store included in App Bundle
バンドル セットアップしたデータベースを使う②バンドルしておく方法 [最新版]
Creating a CoreData Model in CodeCreating a CoreData Model in Code
CoreDataの一対多関連(One To-Many Relationship)
CoreData – マイグレーション[1] NSEntityMigrationPolicyを使う
平成27年2月23日(月曜日)
[objc]
– (void)viewWillAppear:(BOOL)animated {
[self.navigationController setNavigationBarHidden:YES animated:animated];
[super viewWillAppear:animated];
}
– (void)viewWillDisappear:(BOOL)animated {
[self.navigationController setNavigationBarHidden:NO animated:animated];
[super viewWillDisappear:animated];
}
[/objc]
平成27年2月12日
参考HP
[iOS][Objective-C]UIPageViewControllerを実装する
templateによるviewcontrollerからuinavigationcontrollerへの変更は、そのままで動作。
但し、index保持のためのobjectを必要とするため、uinavigationcontrollerを継承し、
propertyを設けたクラスの作成要。
平成27年2月12日(木曜日)
How to Make a Slide Out Menu with Objective-C in Xcode
スライドアウトメニュー
You Tube — How to Make a Slide Out Menu with Objective-C in Xcode
How To Add a Slide-out Sidebar Menu in Your Apps
平成27年1月22日(木曜日)
スライドアウトメニュー
You Tube — How to Make a Slide Out Menu with Objective-C in Xcode
url — How To Add a Slide-out Sidebar Menu in Your Apps
プロトタイプセル カスタムセル
You Tube — Creating a Custom UITableViewCell
平成27年1月21日(水曜日)
Creating a Custom UITableViewCell
ポイント:平成27年3月4日追加