åºå¾ ã¡ã«ã¤ã㦠æ°åã³ããã¦ã¤ã«ã¹å¯¾çã¨ãã¦ããã¡ã³ã¨ã¡ã³ããã¼ãäºãã®å®å ¨ã®ããã«ãå ¨ã¦ã®ã¤ããã³ãã¦ãåºå¾ ã¡ãããé æ ®é ãã¾ãæ§ããé¡ãè´ãã¾ãã ããã¬ã»ãã³ããæç´ãªã¨ãããå ¨ã¦ææäºé²ã®é¢ããããé æ ®ããã¦é ãã¦ããã¾ãã ãªããã¡ã³ããã¼ã¸ã®å¿æ´ã®ãæ°æã¡ã¦ãããã¯ããæ¬äººã® CYBERJAPAN STORE ã®å ¬å¼ã¯ããã¹ããããè³¼å ¥é ããã¨ãæ¬äººã¸ã®ãã¤ã¤ãªãã£ã«ããªãã¾ãã®ã¦ãæé£ãã¦ããã ãããSOLD OUT ã®å ´åã¯ãæã®Tã·ã£ããçã¦é ãã¦ãæ¬äººã¯åãµãã¨æãã¾ãã CYBERJAPAN STORE: https://cyberjapan.shop/ ãã£ãããã®ç¶æ³ã«ãé¢ãããããã¤ããã³ãã«æ¥ã¦é ããä¸ãå¿è¦ããã®ã¦ãããããã¨ãããããç解é ããã¨å¹¸ãã¦ããã æ¬ã«ã¼ã«ã¯ãä»å¾ãç¶æ³ã«ããå¤æ´ããå ´åããããããã¾ãã®ã¦ããããäºæ¿ãããããã çæ§ã®ãã
ã¤ãã«æããã«ãªã£ããiPhoneã¢ããªã®ãªã¸ã§ã¯ãåºæºæ¡é ã Engadetãå ¬éããPDFããã¼ã¹ã«ããªã¢ã«ã¿ã¤ã ã«æ´æ°ä¸ã ã¨ãããããªã¢ã«ã¿ã¤ã ã«ç¿»è¨³ãä½æä¸ã ãããã£ããæ訳ãªã®ã§ãééãã®ææãçªã£è¾¼ã¿ã¯ã³ã¡ã³ãæ¬ãTwitterã§ãé¡ããã¾ãã ï¼ãã®ãªã¹ãã¯ã2010å¹´9æ10æ¥ç¾å¨ã®ãã®ã§ããã¾ãæ訳ãªã®ã§ãæ°ã«ãªãæ¡æã¯åå ¸ããã§ãã¯ãããã¨ãï¼ 2. æ©è½ 2.1: ã¯ã©ãã·ã¥ããã¢ããªã¯ãªã¸ã§ã¯ãã 2.2: ãã°ã®ããã¢ããªã¯ãªã¸ã§ã¯ãã 2.3: éçºè ã®ç³è«ãããã®ã¨éãã¢ããªã¯ãªã¸ã§ã¯ãã 2.4: ã¢ããªã®ç´¹ä»æã«ãªãé ãæ©è½ãæã¤ã¢ããªã¯ãªã¸ã§ã¯ãã 2.5: éå ¬éã®APIãç¨ããã¢ããªã¯ãªã¸ã§ã¯ãã 2.6: ãµã³ãããã¯ã¹å¤ã®ãã¼ã¿ãèªã¿æ¸ãããã¢ããªã¯ãªã¸ã§ã¯ã 2.7: å®è¡ã³ã¼ããå¤é¨ãããã¦ã³ãã¼ãããã¢ããªã¯ãªã¸ã§ã¯ã 2.8: ä»ã®å®
#nowplaying tw åæ¥æè¨
Wondershakeé¢é£ã§ã¡ãã£ã¨èª¿ã¹ãã®ã§ã¡ã¢ã£ã¨ãã¾ãã 使ããã®ã¯ä»¥ä¸ (ã¾ã ä»ã«ãããããï¼ fb://profile â ã¦ã¼ã¶ã®ãããã£ã¼ã«ãéã fb://friends â ã¦ã¼ã¶ã®åéãªã¹ããéã fb://notifications â ã¦ã¼ã¶ã¸ã®ãç¥ãã(notification list)ãéã (ãã°ãã?) fb://feed â ã¦ã¼ã¶ã®ãã¥ã¼ã¹ãã£ã¼ããéã fb://events â ã¦ã¼ã¶ã®ã¤ãã³ããã¼ã¸ãéã fb://requests â ã¦ã¼ã¶ã«å±ãã¦ãããªã¯ã¨ã¹ããªã¹ããéã fb://notes - ã¦ã¼ã¶ã®ãã¼ããã¼ã¸ãéã fb://albums - ã¦ã¼ã¶ã®ã¢ã«ãã ãéã NSURL *theURL = [NSURL URLWithString:@"fb://"]; [[UIApplication sharedApplication]
iPhoneã®UIKitã«ç¬èªã®ã¹ãã³ã被ãããã¨ããã¨ãè²ã ã¨ãã¯ãã«ã«ãªé害ãããããããããã©ããã£ã¦è§£æ±ºãããï¼ã®ã¡ã¢ã èªå·±æµãªã®ã§ãæ´æ°ã®ãã¡ã¯å¨ãå¨ãã åºæ¬ã¢ããã¼ã ã»åºæ¬ã®ã¹ãã³ã®ã«ã¹ã¿ãã¤ãºã¯UIViewã¬ãã«ã§è¡ããã«ãUIViewControllerã¬ãã«ã§è¡ãã ã»UIViewControllerãæ¡å¼µãã¦ãSkinnedViewControllerãä½ãã ã»SkinnedViewControllerã®viewDidLoadã®ã¿ã¤ãã³ã°ã§ãããã²ã¼ã·ã§ã³ãã¼ããµã¼ããã¼ãªã©ã®Viewæ§é ãæ¸ãæããã ã»ããããã¨ãNavigationBarã®æ»ããã¿ã³ãSearchBarãªã©ãç´æ¥allocã§ããªãViewãä¸æ¬ãã¦ã«ã¹ã¿ãã¤ãºã§ããã ãã¿ã³ç³» ã»ãã¿ã³ç³»ã¯ãCustomãã¿ã³ãä½ã£ã¦ããããã£ãå¼ã£ããããµãã¯ã©ã¹ãä½ã£ã¦ç´æ¥Allocããªãã ã»ããã
This is how we implemented metrics in recent apps Iâve worked on: Right before the app shipped weâd go thru the app and anywhere something interesting happened, weâd add a metric by naming it and inserting a line of code to trigger the metric. Some header file would contain all the metric names. Later after the app shipped weâd need to answer a question like: How many of our users are using a spec
ãµã«ã§ãããã Core Data å ¥éãæ¦å¿µç·¨ãã®ç¶ãã§ããä»åã¯å®éã« Core Data ã使ã£ãããã°ã©ã ãä½æãã¾ãã ãµã³ãã«ã¢ããªã®æ¦è¦ ã¢ãã¬ã¹å¸³ã¢ããªãä½ããªãã Core Data ã®ä½¿ãæ¹ã説æãã¦ããã¾ãã 以ä¸ã¯ãµã³ãã«ã¢ããªã®ç»é¢æ§æã§ãã é£çµ¡å ä¸è¦§ç»é¢ã¨é£çµ¡å 詳細ç»é¢ã®2ç»é¢æ§æã«ãªã£ã¦ãã¾ãã ãµã³ãã«ã¢ããªã®ã½ã¼ã¹ã³ã¼ãã¯ãã¡ãã§å ¬éãã¦ãã¾ãã AddressBook éçºã®æµã ãµã³ãã«ã¢ããªã®éçºã®æµãã¯ä»¥ä¸ã®ããã«ãªãã¾ãã ããã¸ã§ã¯ãã®ä½æ ã¢ãã«ã¯ã©ã¹ã®ä½æ ã¨ã³ãã£ãã£ã®å®ç¾©ã¨ã¨ã³ãã£ãã£ã¨ã¢ãã«ã¯ã©ã¹ã®é¢é£ä»ã ã¹ãã¼ãªã¼ãã¼ã(Storyboard)ã使ã£ã¦ãã¥ã¼ã³ã³ããã¼ã©ã®é·ç§»ã¨ç»é¢ãã¶ã¤ã³ãä½æãã é£çµ¡å 詳細ç»é¢ã®éçº é£çµ¡å ä¸è¦§ç»é¢ã®éçº ããã¸ã§ã¯ãã®ä½æ ããã§ã¯åãã«ããã¸ã§ã¯ããä½æãã¾ããããããã¸ã§ã¯ãã®ä½ææé
applicationWillTerminateã使ã£ã¦ã ã¢ããªã®çµäºæã«ãã¼ã¿ã¨ããä¿åãã¾ããã ã·ãã¥ã¬ã¼ã·ã§ã³ã§ã¯ applicationWillTerminateãåããªã ãããã£ãã±ã¼ã¹ãããã¾ãã æ®éã«ãåã¯ã¯ã¾ãã¾ããã iOS4以åã¯ã ç¹ã«æ³¨æããã«viewDidLoadã§ã UIApplication *app = [UIApplication sharedApplication]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:UIApplicationWillTerminateNotification object:app]; ã¨å±ãã¦ããã°ãã¢ããªçµäºæã«ã applicat
UIView ã®ä½ç½®ããµã¤ãºãç¥ãããããã£ã« frame 㨠bounds ãããã¾ãããã® frame ã¨bounds ã®éããç°¡åã«ã¾ã¨ãã¦è¦ã¾ããã ç°¡åã«ã¾ã¨ããã¨ä»¥ä¸ã®ããã«ãªãã¾ãã frame ã¯ã¹ã¼ãã¼ãã¥ã¼ããè¦ãåº§æ¨ bounds ã¯ãã¼ã«ã«ã®ãã¥ã¼ããè¦ãåº§æ¨ å®éã«è¦ªåé¢ä¿ã®ãã¥ã¼ãä½æãã¦ç¢ºèªãã¦ã¿ã¾ãã ViewB 㯠ViewA ã®ä¸ã«é ç½®ããã¦ãã¾ãã [ViewA addSubView:ViewB] ã®ãããªé¢ä¿ã§ãã ãã®æã® frame 㨠bounds ã¯ãããã以ä¸ã®ããã«ãªãã¾ãã ViewA.frame origin: 0,0 size: 550Ã400 ViewA.bouns origin: 0,0 size: 550Ã400 ViewB.frame origin: 200,100 size: 200Ã250 ViewB.bounds or
ãããObjective-Cã«ã¯NilPointerExceptionã®ãããªãã®ããªããã§ãã Javaã§ã¯ int main(String[] args) { String str = null; int length = str.length(); //NullPointerException // bar()ãnullã ã¨NullPointerException Object result = Foo.bar().baz().abesi().hidebu(); } Objective-Cã§ã¯ int main(int argc, char** argv){ NSString *str = nil; int length = [str length]; //ä½ãèµ·ãããªããlengthã«ã¯ããã©ã«ãå¤0ãå ¥ã // barãnilãè¿ããããå¾ç¶ã®baz, abesi, hidebu
iPhoneã¢ããªã§ãæ®ã£ãç»åãå å·¥ããããã®å¦çã調ã¹ããã¨ãã ãiPhone ã«ã¡ã© åå¾ã ã¿ãããªãã¼ã¯ã¼ãæ¤ç´¢ããã¦ãä¸ä½ã«ããããããã¼ã¸ãè¦ã¦ãã£ã¦ã¿ããã©ãå®ã¯ãã®ã¡ã½ãããéæ¨å¥¨ã«å¤ãã£ã¦ãããã¨ããããã¨ã¯ããããã¾ãã ã«ã¡ã©æ®å½±å¾ã«å¼ã°ãã imagePickerController:didFinishPickingImage:editingInfo ã¯éæ¨å¥¨ã¨ãªãã imagePickerController:didFinishPickingMediaWithInfo ã使ãããã«ãªã£ããã©ã 横ã«ãã¦æ®ã£ãç»åã縦ã«è¡¨ç¤ºãããã¨ããæã«å°ã£ãã - (void)imagePickerController:(UIImagePickerController*)picker didFinishPickingMediaWithInfo:(NSDictionary *
iOSã§ã¯ãã¼ã¿ã®ä¿åå ´æã¨ãã¦ç¹å®ã®ãã£ã¬ã¯ããªãå©ç¨ãããã¨ãã§ãã¾ãã Best Albumã§ã¯ãµã ãã¤ã«ç»åããªãªã¸ãã«ç»åãå ¨ã¦ãã£ãã·ã¥ãã£ã¬ã¯ããªã«ä¿åãã¦ããã®ã§ãããããã©ã¼ãã³ã¹çã«å ¨ãåé¡ããªããä»å¾æ´»ç¨ããæ©ä¼ãå¢ããããªã®ã§ã¾ã¨ãã¦ããã¾ãã ãã£ã¬ã¯ããªæ§é /Documents ã¢ããªåºæã®ãã¼ã¿ãã¡ã¤ã«ãä¿åãããã£ã¬ã¯ã㪠(ããã¯ã¢ããããã) /Library/Preferences ã¢ããªåºæã®ç°å¢è¨å®ãã¡ã¤ã«ãä¿åãããã£ã¬ã¯ã㪠(ããã¯ã¢ããããã) NSUserDefaults or CFPreferencesAPIçµç±ã§èªã¿æ¸ããã /Library/Caches ã¢ããªåºæã®ãµãã¼ããã¡ã¤ã«ãä¿åãããã£ã¬ã¯ã㪠(ããã¯ã¢ãããããªã) /tmp ä¸æãã¡ã¤ã«ãä¿åãããã£ã¬ã¯ã㪠(ããã¯ã¢ãããããªã) ãã¹ã®åå¾ ä¸è¨ãã£ã¬ã¯ããª
Best Albumã®éçºã§ãã£ã¨ãè¦ãããããã¨è¨ã£ã¦ãéè¨ã§ã¯ãªãã®ãExifæä½ãiOS4以éã§èªç±ã«ããããããã«ãªã£ãã¨ã¯ããããã¾ãã¾ã¨ã¾ã£ãè³æããªãã¦å¤§å¤ã ã£ãã®ã§ããããä½ã人ã®ããã«ã(iOS4.2ã§åä½ç¢ºèªããã¦ãã¾ã) ã©ã¤ãã©ãª ããã§ã¯ä¸è¨ã®ãã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ãã¾ãã #import <AssetsLibrary/AssetsLibrary.h> #import <ImageIO/ImageIO.h> ãã©ãã©ã¤ãã©ãªã¸ã®ä¿å ImagePickerControllerã§æ®å½±ãè¡ã£ã¦ããä¿åããå ´åãé常ã®æ¹æ³ã§ã¯Exifæ å ±ãä¿åããã¾ãããExifãä¿åãããå ´åã¯iOS4.1ãã追å ãããAssetsLibraryã®ã¡ã½ãããå©ç¨ãã¾ãã ã¾ãã¯ã«ã¡ã©ï¼or ãã©ãã©ã¤ãã©ãªï¼ã®èµ·å UIImagePickerController *imgPicker
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}