iOS/iPhone/iPad/MacOSX ããã°ã©ãã³ã°, Objective-C, Cocoaãªã© Defaultså¤ãä¿åãããããããã¯åç §ãããããã¿ã«ã¯å¿ è¦ãªç®æã§æ¸ãï¼ãã¡ãã¡ï¼ã [[NSUserDefaults.standardUserDefaults setObject:@"hoge" forKey:@"name"];ã§ããã¼åãç´æ¥æ¸ãããã«ããããå®æ°å®ç¾©ã®ããããä½ãã [[NSUserDefaults.standardUserDefaults setObject:@"hoge" forKey:KEY_NAME];ã§ã synchronize ãå¿ãããããã®ã§ãã£ãã®ãã¨ç¬èªã¯ã©ã¹ãä½ã£ã¦ãã¡ãã§ç®¡çããã [myDefaults setObject:@"hoge" forKey:KEY_NAME];ã§ãå®æ°å®ç¾©ãæ¯åé¢åã ãªã«ãããè¨å®/åç §ã®ã³ã¼ããé·ã
ã·ã³ã¬ãã¼ã«å¨ä½ã®ã½ããã¦ã§ã¢éçºè ã§ãããªãã ããã ã§ã·ã³ã¬ã4å¹´ç®çªå ¥ãä»äºãããã¯è¶£å³ã§ãã£ã¦ãããã¨ãã¾ã¨ãã¦ãã¾ãããè±èªã®ããã°ã¯ http://atmarkplant.com ã«ããã¾ã ããã«ã¡ã¯, ã¾ããã°ããWebç³»éçºã«ããããã§ããã¾ãã¦, iOSã触ããªãæ¥ã ãç¶ãã¦ãã¾ãã å æ¥, ã¢ããªã®æç´ããã㦠ããããupdate ããããã¾ããã®ã§, ãã®å 容ãæ¸ããããã«ãªãã¾ããã UIView ã使ã£ã¦, ãããããªå½¢ãä½ã£ã¦, ãããç»é¢ã«å¼µãä»ããããã¦, ãã£ãããUIãã¤ããããããã§ãã, ãã®ä¸ã§, åã¨è§ä¸¸ã®View ãä½ã£ã¦ã¿ã¾ããã ææç©ã¯ãã¡ã, ColorDos ã¨ããã½ããã§ããTODOã¢ããªã§ãã 4ã¶å½èªå¯¾å¿, ç¡æã§ãã®ã§, ä»åã®ã³ã¼ãã§ã©ããªãã®ãã§ããã®ç¢ºèªãããæ¹ã¯æ¯éæ¯éãããããã§ãã(ãã£ã±ã, æè¿ã¯åºãã¦ãDo
CALayerãç¨ãã¦UIViewãç¶æ¿ããã¯ã©ã¹ã«å½±ãã¤ããæ¹æ³ã¯ãä¸è¨ã®ãããªæãã§ï¼CoreGraphicsã§æç»ããæ¹æ³ãªã©ã¨æ¯ã¹ã¦ï¼ãããããããæ軽ã§ã質æãã°ãã¨å¢ãã®ã§ãã¤ãã¤ãå¤ç¨ããããªãã¾ãã self.layer.shadowOpacity = 0.5; self.layer.shadowRadius = 2.0; self.layer.shadowOffset = CGSizeMake(0.0, 0.0); ãã ãå½±ã¨ãééã¨ãã®å¦çã¯ãªããªãéãããããä¾ãã° UITableViewCell ã«ç½®ããèæ¯ç¨ç»åã«å½±ãã¤ããã¨ãiPhone4ãããã§ãå®å ¨ã«ä½æã§ãããããã«é ããªã£ã¦ãã¾ãã¾ãã ã§ããã®ã³ã¼ãã«ä¸è¨ã®ï¼è¡ãä»ãå ãã¦ããã¨ãä½æã§ããããããã«æ¹åããã¾ãã self.layer.shadowPath = [UIBezierPath bezie
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
Modernize your Objective-C // Speaker Deck ã®ã¹ã©ã¤ããèªãã§åãã¦ç¥ã£ãã®ã§ã調ã¹ã¦ã¿ãã便å©ããã ã£ãã®ã§ããã®ã¡ã¢ã§ã å ¬å¼ããã¥ã¡ã³ã Key-Value Coding Programming Guide: Collection Operators æ¦è¦ ã³ã¬ã¯ã·ã§ã³ã®valueForKeyPathã¡ã½ããã§ç¹æ®æ¼ç®åãæååã§æå®ãããã¨ã§åè¨ãå¹³åãåå¾ãããã¨ãã§ãã¾ãã æ¼ç®å㯠@ ããå§ã¾ãã¾ãã ãªããè¨èã§èª¬æããã®ãè¦æãªã®ã§ãµã³ãã«ãã ãã ãã¨æ¸ãã¦ããã¾ãã Simple Collection Operators ä¾ã¨ãã¦æ¬¡ã®ãããªé åãããã¨ãã¾ã // æ°å¤é å NSArray *numbers = @[@3, @2, @5, @1, @4]; NSDateFormatter *formatter = [[NSDa
iOS 7ã®ãã©ã¼å¹æãã©ãå®ç¾ããï¼ ã³ã³ããã¼ã«ã»ã³ã¿ã¼ãé³é調ç¯ã®èæ¯ãªã©ãiOS 7ã§ããè¦ããã磨ãã¬ã©ã¹é¢¨ã®ããã§ãããã©ã¼ããããã¨ãªãã¨ãªãiOS 7ã£ã½ããªãã®ã§ããã³ã³ããã¼ã«ã»ã³ã¿ã¼ã¿ããã«ãã©ã¼ããã¦ãï¼ãã£ã¦è¨ããããã¨ãå¢ãããã§ããã ã磨ãã¬ã©ã¹é¢¨ã®ç»åãä¸ã«ãã¶ãããããããããªãã®ï¼ãã¨èª¤è§£ããã¦ããæ¹ãå¤ãããããã¾ããããããããããã«ã¯ããã¾ããï¼ããã£ã½ãè¦ããã«ã¯ããã°ã©ã ã§ããããã®ã³ã¼ããæ¸ãã¦ãããªããã°ãªãã¾ããã UIViewã¨ãã«ãã©ã¼ããããã¡ã½ãããããã¨ããã®ã§ãããä»ã®ã¨ãããªãã§ãããããã£ã¦ãèªåã§ä½æãããã¥ã¼ã«ãã©ã¼ããããã«ã¯ããã®å¦çãèªåã§å®è£ ããå¿ è¦ãããã¾ããããããã«æéããããã¾ãã ããã§ããã©ã¼ããããã®ã«ã©ããã£ãå®è£ æ¹æ³ãããã®ãã調ã¹ã¦ã¿ãã¨ããã以ä¸ã®ï¼ã¤ã®æ¹æ³ãã¿ã¤ããã¾ããã æ¨æºã³ã³ã
2013-12-21 iOS7ã¹ã¿ã¤ã«ã®ã¼ããã¨ãã§ã¯ãã使ç¨ãã¦ãããã¤ã¯ãªãªãã£ãªãªã¼ãã³ã½ã¼ã¹UIã©ã¤ãã©ãªé iOS7ããªãªã¼ã¹ããã¦ãããiOS7ã®ã¼ããã¨ãã§ã¯ãã使ç¨ãããªã¼ãã³ã½ã¼ã¹ã®UIã©ã¤ãã©ãªãå¤æ°ãªãªã¼ã¹ããã¦ãã¾ããä»åã¯ãã®ä¸ã§ããã¤ã¯ãªãªãã£ãªUIã©ã¤ãã©ãªãç´¹ä»ãã¾ãã ã¡ãªã¿ã«iOS7ã®APIã§ã¯ãã¼ããã¨ãã§ã¯ããæ¨æºã§æä¾ãã¦ãã¾ããããã£ããã£ãã¦ã¼ããã¨ãã§ã¯ããå®ç¾ãã¦ãããã®ãå¤ãã§ãã ãã®ã¿ã¤ãã®ãã®ã¯å¦çãéãã®ã§iPhone5以åã§ã¯å¯¾çãå¿ è¦ã§ãã iOS-blur https://github.com/JagCesar/iOS-blur iOS7ããªãªã¼ã¹ããç´å¾ãããã«ã§ãUIã§ããããã¯ãã£ããã£ã¼ããã«UIToolbarã®ã¬ã¤ã¤ã¼ãå©ç¨ãã¦ãã¤ãã£ãã®ã¼ããã¨ãã§ã¯ããå®ç¾ãã¦ãã¾ãã FXBlurView https://g
ç´°ããã¨ããã®ã¡ã¢ãã¡ããã¡ããæ´æ°ãã¦ãããã¨æãã¾ãã foræã§indexãåãåã forææ®éã«åãã ããªãã¨ã¦ãæ軽ã§ããããã¯ãindexãã»ããå ´åãããã¾ãã ãããªã¨ãã¯ãããªãµãã«æ¸ãã¾ãã var someList: String[] = ["hoge", "fuga", "foo", "bar"] for (index, value) in someList.enumerate() { println("index: \(index), value: \(value)") }
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¯ããã«: Vimãªãã§ã¯ã®ä¾¿å©æ©è½ããã¹ã¿ã¼ãããï¼ ããããæ°å¹´åãåãVim(ã¨ãããããã¶ãVi)ã¨å対é¢ããã¨ãã¯ãããªãã¦ä½¿ãã«ããã¨ãã£ã¿ãªãã ï¼ï¼ãã¨ææªã®å°è±¡ã§ããã ããããå¨ãã®ããã°ã©ãããããä¸ã®ã¨ã³ã¸ãã¢ãã¡ã¯ã¿ããªãVim便å©ï¼ããVimæé«ï¼ãã¨è¨ãã¾ãã ãªã®ã§ãã®è¨èãä¿¡ããåãææªã®å°è±¡ã ã£ãVimã¨ããä¸åº¦æ£é¢ããåãåããã¨ã«ãã¾ããã ããã¦ãææ¥ãéãã»ã»ã»åããã¤ãããVim便å©ï¼ããVimæé«ï¼ãã¨å«ã¶ããã«ãªã£ã¦ãã¾ãã¾ããï¼ï¼ ããã£ã¦æ´è³ï¼ ãããããæ´è³ããããã¾ããw Vimã«
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¯ããã« iPhone5sã¯A7ããããæ¡ç¨ãããä¸çåã®64ãããã¹ãã¼ããã©ã³ã¨ãã¦è©±é¡ã«ãªãã¾ããããã®è©±ãèãã¦è奮ãããæ¹ãããã§ãªãæ¹ãå¤ã ããã£ãããã¨æãã¾ãããç§ã¯å¾è ã§ã(^_^; 64ããã端æ«ãæå³ããäºã¨ã¯ï¼ï¼ã©ããªãä»ãåããããã°ããã®ãï¼ï¼ãªã©ãªã©ãã¢ããªéçºè ç®ç·ã§ãã£ãã°ããï¼ç¬æã¨åè¦ã«æºã¡ã¦ãã¾ãï¼ã«ã¾ã¨ãã¦ã¿ã¾ããã ãªãã§ãã®ã¿ã¤ãã³ã°ã§64ãããåããã®ï¼ 64ãããåã¨èãã¦ã¢ããªéçºè ãä¸çªæ³åãæãã¡ãªããã¯ããããã使ç¨ã§ããã¡ã¢ãªéã®ä¸éã4GB(2GB)ãè¶ ãããããã¨ããç¹ã ã¨
UIWebView ã®åãæ±ãã«ãã£ã¦ã¯javascriptçµç±ã§ãµã³ãããã¯ã¹å¤ã®ãã¡ã¤ã«ã·ã¹ãã ã«ã¢ã¯ã»ã¹ã§ãã¦ãã¾ãã¨ãã話ã¨å¯¾å¦æ³ - laiso - iPhoneã¢ããªéçºã°ã«ã¼ã http://iphone-dev.g.hatena.ne.jp/laiso/20111003/1317651353 ããã®ç¶ãã ã«ã¹ã¿ã ãªã½ã¼ã¹ã«ã¯NSURLProtocolã使ãã°è¯ãã®ãããªããï¼ â sklave http://sklave.jp/logs/2011/10/4/%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%81%AB%E3%81%AFnsurlprotocol%E3%82%92%E4%BD%BF%E3%81%88%E3%81%B0%E8%89%AF%E3%81%84%E3
Angularã¨ãµã¼ãã¼ãµã¤ããã³ãã¬ã¼ãã®æ··å¨ å æ¥ãªãªã¼ã¹ãããæãµã¼ãã¹(ä»ç¤¾)ãAngularã使ã£ã¦ãã¦ãXSSãããããåºã¦ããã ã¨ãã{{var}} ãªå½¢å¼ã§å¤ãå ¥åããã¨ng-templateå´ã§ãã³ãã¬ã¼ãã£ã³ã°ãããã ã¨ãã®è©±ãããã¾ããã 詳ããã¯è¦ã¦ããªãã®ã§ãä»åã®è©±ã¨ã¾ã£ããåããã¯ææ¡ãã¦ãã¾ãããããµã¼ãã¼ãµã¤ããã³ãã¬ã¼ããæ··å¨ãããã¨ã次ã®ãããªãã¨ãèµ·ãããã¾ãã ä¾ãã°ejsã¨Angular ãµã³ãã«ã¨ãã¦ã¹ã«ã¹ã«ãªControllerãç¨æãã¾ãã angular.module('app', []).controller('AcmeCtrl', function($scope) { $scope.foo = 'bar'; }); ejsã¯æ¬¡ã®ãããªãã³ãã¬ã¼ãã«ãªã£ã¦ããã¨ãã¾ãã
ãã®è¨äºã¯ Git Advent Calendar 6æ¥ç®ã®è¨äºã§ãï¼ Git submodule ã£ã¦æåãããã«ããã¨æãã®ã§ãåºæ¬çãªèª¬æããããã¨æãã¾ãã git submodule ã¨ã¯ git submodule ã¯ãå¤é¨ã® git ãªãã¸ããªããèªåã® git ãªãã¸ããªã®ãµããã£ã¬ã¯ããªã¨ãã¦ç»é²ããç¹å®ã® commit ãåç §ããä»çµã¿ã§ãã Subversion ã§ããã¨ããã®ãexternal ã¨ä¼¼ã¦ãã¾ãã ãã¦ã解説ã®ãããæå ã«ããªãã¸ããªA (/path/to/a) ã¨Aã® submodule ã¨ãã¦ããã使ãä¾ã¨ã㦠Bootstrap (å Twitter Bootstrap) ãç»é²ãã¦ã¿ã¾ãã git submodule ãç解ããããã§éè¦ãªã®ã¯ã ãªãã¸ããªAãæã示ãsubmoduleã¨ãã¦ã®Bootstrapã®commit ç¾å¨ã®Bootstr
B! 70 0 0 0 Gitã®submoduleããã¤ãã¤ãã¤ãè¯ãããããªããªãã®ã§ èªåãªãã®ã¾ã¨ãã ã¬ãã¸ããªã«submoduleã®è¿½å submoduleã®ããã¬ãã¸ããªãcloneãã submoduleã®æ´æ° submoduleã®åé¤ ignore = dirty Submoduleã®ãããã³ã«ã®å¤æ´ ã¬ãã¸ããªã«submoduleã®è¿½å git submodule addã§è¿½å ã $ git submodule add [email protected]:rcmdnk/evernote_mail.git ./submodules/evernote_mail addããã¨.gitmoduleã¨ãããã¡ã¤ã«ãã¾ã ç¡ãå ´åã¯ä½ããããã®ä¸ã« [submodule "submodules/evernote_mail"] path = submodules/evernote_mai
JavaScriptã«éã£ã話ã§ã¯ãªãã®ã§ãããreduceé¢æ°ãæã¤ããã°ã©ãã³ã°è¨èªãããã¤ãããã¾ãã JavaScriptã«é¢ãã¦ã¯ãä¸å¿ãECMAScript5ã®ä»æ§ã«ç»å ´ããããã§ãå°æ¥çã«ã¯ã©ã®ãã©ã¦ã¶ã§ã使ããããã«ãªããããªæ°é ã¯ããã¾ãã Standard ECMA-262 ã¾ããMDCã§ã¯reduceã®ã¢ã«ã´ãªãºã ãæ²è¼ããã¦ããã®ã§ããããå©ç¨ããã°ç¾æç¹ã§ãã©ã®ãã©ã¦ã¶ã§ãreduceé¢æ°ãå©ç¨ãããã¨ãã§ãã¾ãã reduceé¢æ°ã¨ã¯ï¼ MDCã«æ²è¼ããã¦ããæç« ãå¼ç¨ãã¾ãã é åã®ï¼å·¦ããå³ã¸ï¼ 2 ã¤ã®å¤ã«å¯¾ãã¦åæã«é¢æ°ãé©ç¨ããåä¸ã®å¤ã«ãã¾ãã JavaScriptã®reduceã¯ãé åã®ã¡ã½ããã§ããå·¦ãå³ã¸ã¨ããã¾ãããå³ããå·¦ã¸é¢æ°ãé©ç¨ããreduceRightã¨ããé¢æ°ãããã¾ãã*1 ã©ãããæã«ä½¿ããã å ã¨ãªãé åããã£ã¦ããããç´¯ç©
X-BASIC for iOSã®iOS7対å¿ãå§ãã¦ãiOS6ã¨ã®éãã¨ããã°ã¨ããè¦ãã¦ããã®ã§ã ããã«è¦æ¸ããã¦ããã çºè¦ããæç¹ã®ãã®ãæ¸ãã®ã§ãææ°ãã¼ã¸ã§ã³ã®iOS7(ãããã¯SDK7)ã§ã©ããã¯ãç¹ã«èª¿ã¹ããã®ä»¥å¤ã¯æªç¢ºèªã ã»ã»ã» (1)NSMutableArrayã«UILabelãå ¥ãã - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view { return [lblArray objectAtIndex:row]; } ã¨ããã¨ãé¸æé ç®(ä¸å¤®)ã®è¡¨ç¤ºãæãã¦ãã¾ãã { UILabel *lbl=[lblArray objectAtIndex:row
表示ãæ¬ ããã®ã¨ãä¸çªä¸ã®è¡ãé ãã¦ãã¾ãåé¡ã®å¯¾å¿ã 2014.9.10 è¿½è¨ ä»¥ä¸ã®æ¹æ³ã¯ãiOS 7ã¾ã§æå¹ã§ãã UITextViewã®scrollEnabledã¯ç¾ç¶ä½¿ã£ã¦ã¯ããã¾ããã ãã¡ã®ã¢ããªã¯ãããæ©è½ã®ããã«å ¨æç½®ãæããããå¿ è¦ãããã¾ããããåã«æååãç½®ãæããã®ã¯ - (void)replaceRange:(UITextRange *)range withText:(NSString *)text ã使ãã®ãç¡é£ã§ãã iOS7ã®ä¸å ·åã¨æãããç¾è±¡ã§ãã iOSã®æ´æ°ãå¾ ã£ã¦ããã®ãã解決ãé ããªããããå æ¥å¯¾å¿ãã¾ããã 試ãã¦ã¿ããæ¹åãããã¨ããæããªç¹ãããã®ã§ãã¢ããªã«é©ç¨ãããã¯ãã®ç¹ãèæ ®ãã¦ãã ããã 表示ãæ¬ ããåé¡ æå表示ãèªåæ¹è¡ãããå ´åã«çºçã æåããç¬èªãã¼ãã¼ãããã¿ã³å¦çãªã©ãããç´æ¥æç« ã«æ¿å ¥ããå ´åã表示ãèªåæ¹è¡ãã
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}