2011-01-01ãã1å¹´éã®è¨äºä¸è¦§
è¨å®ãã¡ã¤ã«ã®å ´æ /etc/apache2/httpd.conf èµ·åã¨åæ¢ ã·ã¹ãã ç°å¢è¨å®ããWebå ±æ DocumentRootã®å¤æ´ DocumentRoot "/Users/ã¦ã¼ã¶å/Documents/workspace/hoge/app"Documentsãã£ã¬ã¯ããªã®ä¸ãDocumentRootã«ãããã¨ãã Documentsãã£ã¬ã¯ããªã®æ¨©â¦
ãã¼ã å³ä¸ã«ãããã¼ã ãã¿ã³ãæ¼ãã¨ã管çãã¦ããFacebookãã¼ã¸ã®ä¸è¦§ãã å·¦ã®ã«ã©ã ã«ãããããã Facebookãã¼ã¸ã®ã¦ã©ã¼ã« Facebookãã¼ã¸ã®ã¦ã©ã¼ã«ã§ã§ãããã¨ã å·¦ã®ã«ã©ã ããé¸æã§ããã 以ä¸ã®ãããªæãã®ãã¨ãã§ããã åç åçãã¢â¦
ã³ã³ããªã¯ããpostponããå¾ã§è§£æ±ºãããã¨ãä¼ããã
NSFetchedResultsController 㯠ãã¼ãã«ã表示ãããã¨ãã«ä½¿ãï¼ããªã²ã¼ãã§ã»ã«ããããï¼ã1åã ã欲ããã¨ãã ãã©ãã¯ã [CoreData findFirst] NSFetchedResultsControllerã¯å¿ è¦ãªãã¦ãä¸è¨ã®ã³ã¼ãã§ããã
ã¯ããã« æ¥ä»ã¾ããã®å¤æ°åãé¢æ°åã«ãã¤ãæ··ä¹±ããã æ··ä¹±ããã¨ããã¯ããæ¥ãã¨ãææ¥ãã®ã¨ããã§ããã ãå¹´ãããæãã¯ãYearãããMonthããªã®ã§å°ããã¨ã¯ãªããããè¦ããããªãã®ã§ãæ¯åããã®èªåç¨è¦ãæ¸ããè¦ããã¨ã«ããã JavaScript Dâ¦
SQLight 㨠CoreData å é¨ã§ã¯SQLightã§ãã¼ã¿æã£ã¦ããã©ã RoRççºæ³ã§ãªãã¸ã§ã¯ãã¨ãã¦æã¡ãããããã§SQLightã®é¨åã¯é è½ãã¡ãã£ã¦CoreDataã使ããã NSPredicateã¯ã©ã¹ CoreDataã«SQLã§ããwhereã«ããããã®ãæ¸ãããã¨ãã«ã¯ NSPredicateã使â¦
æ¥ä» ï¼ dateææ¥ ï¼ day
Hooã³ã³ããã¼ã©ã¨Fooã³ã³ããã¼ã©ãæã¤UITabBarã¸ç§»å -(IBAction)HogeAndFooPressed:(id)sender { //---------------------------------------------------------------------------// // HogeViewControllerã¨FooViewControllerçæ //-----------------â¦
è§£æ±ºæ³ 2009-02-22
ç»åããã©ãã°ã¢ã³ããããã ãªã«ãã¢ããªã±ã¼ã·ã§ã³ãèµ·åãã¦ãªãç»é¢ï¼ã¢ã¤ã³ã³ããã£ã±ããªããã§ãç»é¢ï¼ã« ç»åããã©ãã°ã¢ã³ãããããã§æã£ã¦ããã ãµãã¡ãªãåã£ã¦ã«èµ·å ãµãã¡ãªãåæã«èµ·åããã®ã§ã 表示ãããç»åãé·æ¼ãã ç»åãä¿â¦
iPhone SDK UIViewã«è¿½å ããUIButtonãåå¿ã㪠- BIGLOBEãªãã§ãç¸è«å®¤UILabelã«UIButtonãaddSubviewãã¦ããã ãã©ã ããããã¨ãã¿ã³ã¯è¦ãã¦ããã®ã«ãæ¼ãã¦ãåå¿ããªãã UIViewã«addSubviewããªãã¨é§ç®ã ã ããããUILabelã¯æååã表示ããâ¦
åè http://ryukyu.astr.tohoku.ac.jp/pukiwiki/index.php?Members%2Fchinone%2F%B3%D0%BD%F1%2FSubversion svnã§ééã£ãã³ããããmergeã§æ»ãã³ãã³ãã®ã¡ã¢ | ææµå¤©æ§ ããããå± æ¦è¦ æ®éã«æ§ãã¼ã¸ã§ã³ãcheckoutãã¦ãããã³ãããã§ããªãï¼ï¼ï¼ â¦
ãããã¼ã«ç»åãè¿ããããã«ããã -(UIView*) tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { }ã§ã©ãã«ã¨ãè¿ãã¦ãããã¨ããã ã§ããããã ãã ã¨ãé«ããä½ããããããã®ã§ã - (CGFloat)tableView:(UITableViewâ¦
UITextField åèï¼UITextField - iPhoneã¢ããªéçºã®èã®å·» UITextView åèï¼ UITextView - iPhoneã¢ããªéçºã®èã®å·» iPhone UITextView æ¹è¡ãã¿ã³ãå®äºãã¿ã³ã« - è¢è§¦ãåããå¤å°ã®ç¸ ãªãã®æ¥è¨ï¼ WEBç³»: UIView UILayout UITextViewãè§ä¸¸ã«ãã è§â¦
ã¤ã³ã¿ãã§ã¼ã¹ãã«ãã¼ã§ç»é¢ãä½ã£ã¦ãããªããã èªåã§ããã°ã©ã ã§ãããã²ã¼ã·ã§ã³ãã¼ãæ¸ãã¨ãã«ã¯ã ã¤ã³ã¿ãã§ã¼ã¹ãã«ãã¼å´ã§ããTop Barè¨å®é ç®ã«ãNavigation Barããªã©ãã ã¡ããã©ãã大ããã®ãã®ãè¨å®ãã¦ãããªãã¨ã ç»é¢å ¨ä½ã®é«ãâ¦
- (void)tableView:(UITableView *)_tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { switch (indexPath.section) { case 0:{ UITableViewCell *cell = [_tableView cellForRowAtIndexPath:indexPath]; //ã»ã«ã«ãã§ãã¯ãä»ãã¦ããå ´åã¯ãâ¦
UIImageView *backgroundImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Blah.png"]]; [self.view addSubview:backgroundImage]; [self.view sendSubviewToBack:backgroundImage]; [backgroundImage release]; åèï¼ iphone - UIViewCoâ¦
ãã¼ãã¼ãã«åããã¦ç»é¢ãä¸ãä¸ããã | runLoop run]; ãã®ããã
ãããã¼é¨åï¼*.hï¼ã« @property(nonatomic, retain) å å¤æ°åå®è£ é¨åï¼*.mï¼ã« @synthesize å¤æ°åã¨æ¸ã㨠簡åã«è¨ãã¨ãã¡ã¢ãªç®¡çãObjective-Cã«ä»»ããã¢ã¯ã»ãµã¼( getter, setter ï¼ãä½æããã¨ãããããªæå³ã
Xcodeã®ã¡ãã¥ã¼ãããããã£ã¼ã«
didSelectRowAtIndexPath ã»ã«ãã¿ãããããæã«è¡ãåä½ åè UITableViewã®ä½¿ãæ¹ãã®1:åºæ¬ç·¨ becomeFirstResponder UITextField ãé¸æããã UITextField ãé¸æããç¶æ ã«ãªãã ã«ã¼ã½ã«ãç¹æ» ãã ã½ãããã¼ãã¼ãã表示ãããã 次ã®ãã£ã¼ã«ãã«â¦
2ã¤ã®ã¹ã¿ã¤ã« ã¹ã¿ã¤ã«ã«ã¯ã ããã¼ãã«å ¨ä½ã®ã¹ã¿ã¤ã«ãã¨ãã»ã«åä½ã¸ã®ã¹ã¿ã¤ã«ãã®2ã¤ãããã è¨å®ã®ä»æ¹ ãã¼ãã«å ¨ä½ã®ã¹ã¿ã¤ã« ãã¼ãã«ãallocããã¨ããã§initWithStyleã¡ã½ããã®å¼æ°ã«è¨å®å¤ãä¸ããã UITableViewStyle**ã¨UITableViewStyleâ¦
Finderã®ãã¼ã«ãã¼ããã ã移åãâããµã¼ãã¸æ¥ç¶ãsmb:// ã§å§ã¾ãæååã§ã¢ã¯ã»ã¹ããã°OK
ç°¡åãªãã¼ãã«é·ç§»ãä½ãããã¨ã New File ãã UIViewController subclassãé¸ãã§ããUITableViewControllerããé¸ã¶ã ãã®ã¨ã XIBãã¡ã¤ã«ããããªãå ´åãå¤ãã®ã§ããwith XIB for user interfaceãã®ãã§ãã¯ã¯ã¯ããã¦ããã ãªãããã¼ã éçºãªâ¦
NSLogã§ã¡ã½ããçªå ¥æã«æ å ±ã表示ããã // é çªææ¡NSLog start // NSLog(@"\n========================= \nãã¡ã¤ã«å:%s \nã¡ã½ããå:%s \nè¡çªå·:%d \n========================= \n", __FILE__, __FUNCTION__, __LINE__ ); // é çªææ¡NSLog end // â¦
ä»ã®æ¹ãcommitããã½ã¼ã¹ããªãã¸ããªã«åæ ããã¦ãªãããã«è¦ããã¨ã æã ããªãã¸ããªã«åæ ãããæ§åãè¦ããªããªã£ã¦ãã¨ããããã®ã§ã F5ãæãã¦ãåèªã¿è¾¼ã¿ããããã 赤åã®ââã§ã³ã³ããªã¯ãããã¨ã çãä¸ã®ãã¿ã³ã§ãã½ã¼ã¹ãç·¨éãã¦ããâ¦
UIViewã管çããã®ãUIViewController ã¤ã³ã¿ãã§ã¼ã¹ãã«ãã¼ã§ãã©ãã°ã¢ã³ãããããã§æã£ã¦ãããã®ã¯ã UIViewãç¶æ¿ãã¦ããã ããããUIViewControllerã§ç®¡çããã UIViewControllerã¯UIViewãæã£ã¦ãã UIViewControllerã¯çµå±UIViewãhas aã®â¦
ã»ã¯ã·ã§ã³ã®æ°ãè¿ãã¡ã½ãã - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 2; // ã»ã¯ã·ã§ã³æ° } è¡æ°ãè¿ãã¡ã½ãã - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { // â¦
Tabbed Application æã¯Tab Bar Applicationã¨ããååã ã£ãã½ããã©ã Tabbed Applicationã¨ããååã«å¤ãã£ãã½ããããã¨ãMainView.xibãªã©ã®MainViewé¢ä¿ã®ãã¡ã¤ã«ããªããªã£ã¦ããã®ã§ã 3ã¤ç®ã®ã¿ãã追å ã§ããã«å°ã£ãã ã¿ãã®ä¸ç観 UITabBarâ¦
MainViewController#showInfo iãã¼ã¯ãã¿ã³ãæ¼ããã¨ãå¦çãããã¡ã½ããã MainViewController#flipsideViewControllerDidFinish è£é¢ããæ»ã£ãã¨ãå¼ã°ããã¡ã½ããã å³å¯ã«è¨ãã¨ãè£é¢ããæ»ã£ã¦è¡¨ç¤ºããæºåãã§ããã¨ãã FlipsideViewControllerâ¦