2011-11-01ãã1ã¶æéã®è¨äºä¸è¦§
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â¦
UIAlertViewã¯ããªã²ã¼ãã®alertViewã¡ã½ãããå¼ã¶ -(IBAction)tapBtn { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"確èªãã¾ãã" message:@"OKã§ããï¼" delegate:self // ããã§èªåã«ããªã²ã¼ã cancelButtonTitle:@"ãã£ã³ã»ã«" otheâ¦
ã³ã³ãã¤ã«ã¨ã©ã¼ _OBJC_CLASS_$_ãã¡ã¤ã«å, referenced from ã¨ããã¡ãã»ã¼ã¸ã§ã³ã³ãã¤ã«ã§ããªãã¨ããããã Xcodeããã¡ã¤ã«ã®å ´æãèªèãã¦ããªã ããã¯å¤ãã®å ´åããã£ã¬ã¯ããªã«ã¯ãã¡ã¤ã«ãåå¨ããã¦ãããã Xcodeããã®ãã¡ã¤ã«ã®å ´æãæâ¦
ã¯ããã« Interface Builderãªã©ã§ä½ã£ã¦ããã¨ã Xcodeãå é¨ã®è¨å®ãã¡ã¤ã«ãæ¸ãããããªã©ãã¦ã ããã¸ã§ã¯ããæ§ç¯ãã¦ããã¯ããªã®ã§ããããæ¢ã Labelãç½®ãã¦ã¿ãã¨ã chapter4.xcodeproj/project.xcworkspace/xcuserdata/ã¦ã¼ã¶å.xcuserdatad/Usâ¦
ãªã³ã¯å ã¯Subversiveã ãã©ã大差ã¯ãªãããªã¨ãèªåç¨ç¿»è¨³ï¼è¶ æ訳ï¼ãªã®ã¨åéããå«ãã§ããå¯è½æ§ãå¤ãã®ã§ãä½ãåèã«ããªãã§ãã ããã â+ incoming addition icon å¼ç¨ï¼ An incoming addition icon means, that the marked resource was added tâ¦
åè http://book.mycom.co.jp/support/pc/iphonesdk_book/xcode42/index.html
YouTube showmedo.com http://showmedo.com/videotutorials/video?name=950010&fromSeriesID=95
Eclipseã§svnã使ããã©ã°ã¤ã³ã Subclipseã®ã¤ã³ã¹ãã¼ã« Subclipseã®ã¤ã³ã¹ãã¼ã«æ¹æ³ Adding SVN repository Subclipse import and commit importãããã¨ã³ãããããªãã¨ãããªãã¿ããã Eclipseã®Javaãã¼ã¹ãã¯ãã£ãããã ããã¸ã§ã¯ãã®ãã©ã«ãâ¦
Actionã¸ã®ãã©ãã°ã®ä»æ¹ ãã«ãé¢ä¿ã®æ å ± å·¦ãã¤ã³ã®ä¸ã®æ¹ã®ããã¸ã§ã¯ãã示ãã¦ããã¨ãããé¸æããã¨ã ãã«ãé¢ä¿ã®æ å ±ãè¦ããã å·¦å´ãã¤ã³ã¿ã°èª¬æ é層ã§è¡¨ç¤º ã¢ã¤ã³ã³ã§è¡¨ç¤ºï¼ããããããªãï¼ æ¤ç´¢çª è¦åæç« ãªã© ãããã°ããã²ã¼ã¿ã¼ ãâ¦
How to use Git - Git Video Tutorial Part 1 (add, commit, push, pull, status) Part 2 (log, reflog, show, gitk, checkout, reset) Part 3 (The basic file flow, rm, add, commit, gitignore) Part 3.5 (Setting up a new user account) Part 4 (Merge â¦
ã©ãã ãè©°ã¾ãããããã¨ããã³ããå ¥ãã¾ãããããªãã¯ã©ã¹ãã¹ åæ importã§å¤§åãªã®ã¯ãã³ã³ãã¤ã«(javacã³ãã³ã)ã®æã ã使ãããã ã¨ãããã¨ã§ãã importæã§ãã£ã¦ã¯ã©ã¹ãã¹ã§ã¯ãªããã¨ã«æ³¨æ åèï¼ CLASSPATHã£ã¦?(ytp.ne.jp) importã®æ©è½â¦
Macã®Eclipse ç°å¢ã¯Mac OS eclipse.iniãã¡ã¤ã« ãã£ããeclipse.iniãã¡ã¤ã«ã®å ´æããããããªããã Eclipse.app/Contents/MacOSã®ä¸ã«ãããã¨ãreadme_eclipse.htmlã«æ¸ãã¦ãã ããã±ã¼ã¸ãããªã¼æ§é ã§ã¿ããªã ããã±ã¼ã¸ã¨ã¯ã¹ããã©ã¼ããããã©â¦
åè http://fg-180.katamayu.net/archives/2005/10/17/022155 å¼ç¨ã½ã¼ã¹ indent-equal.rb #!/usr/bin/env ruby src = ARGF.read l_max = r_max = 0 src.scan(/^\s*(.+?)\s*=\s*([^#]+?)\s*(#.*)?$/) do l_max = [l_max, $1.length].max r_max = [r_max, $2â¦
åè http://hatena.g.hatena.ne.jp/hatenatech/20060515/1147682761 http://peace-pipe.blogspot.com/2006/05/vimrc-vim.html http://d.hatena.ne.jp/shim0mura/20111011/1318303833 vimrc """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""â¦