å¥ã®èªè»¢è»ã¯ãã€å¿ èŠã§ããïŒ
ãªã³ã°ã¹ãããŒã ããã¡ãããå®è¡ãããæ©èœãèªè»¢è»ãèŠããšã åäœãå€æããæ¹æ³ã¯ããã€ãããŸããïŒ ããããã Googleã䜿çšã§ããŸããiOSãŸãã¯Androidçšã®æ°çŸã®ã¢ããªã±ãŒã·ã§ã³ã®ããããã䜿çšã§ããŸãã
ãããåæã«ã1ã€ã®æ¹æ³ã§1ã€ã®åé¡ã解決ããããã§ã¯ãããŸããã ã·ãªãŒãºãèŠèŽãããšãã«å€æçµæãååŸããã«ã¯ã©ãããã°ããã§ããïŒ å ·äœçã«ã¯ã Mythbusters ã 圌ãã¯åžžã«ãã£ãŒããšãã³ãã«ã€ããŠäºãã«è©±ããŸãã ããã¯ãããã§ããïŒ ã¢ããŒãã¯å€§ããã500å¹³æ¹ãã£ãŒãã§ããïŒ ïŒå®éã¯ããã§ã¯ãããŸããã§ããïŒ27 psiïŒãããããã£ã¬ïŒããããã§ããïŒ ãããŠæåŸã«ãè¯æ°ã¯ã ãã«ãç解ã§ããªãããšãäŒããŸãïŒ
éåžžã®ã³ã³ããŒã¿ãŒã§ã¯ããããªãåæ¢ããã«ããŽãªãpsiããèŠã€ããŠãããã§åããå¹³æ¹ã€ã³ããããã®ãã³ãããæ¢ããå ¥åããå¿ èŠãããæ°åãèŠããŠããããäœã«ç¿»èš³ããããç解ããå¿ èŠããããŸãïŒåé¡ã®èŠæš¡ãç解ããããïŒã æå ã«ããããã€ã¹ã§ãã§ããã°ã€ã³ã¿ãŒããããªãã§ãããè¡ããããšæããŸãã
ãããŠããã®åé¡ã解決ã§ããã³ã³ããŒã¿ã¯ãããŸããã ç§ã¯ããããçŸãè©Šã¿ãŸããã ããã¯Googleã«ãã£ãŠè§£æ±ºãããŸãããé ãïŒãã©ãŠã¶ãŒãèµ·åãããè¡ã«äœããå ¥åãããGoogleãç解ããªãã£ãããŸãã¯ããç解ããªãã£ã...ïŒã
Angstromã¯èªè»¢è»ã§ããïŒ ããã§ã¯ãªãããã§ãã
ããã§ã¯ãéçºäžã«è§£æ±ºããªããã°ãªããªãã£ãå°é£ãèŠãŠã¿ãŸãããã æè¡çãªåé¡ãããã°ã©ãã
èšèšæŠèŠ
è€éãã®å€§éšåã¯ãã€ãªã€ã»ããŒãã³ãèæ¡ãã壮倧ãªãã¶ã€ã³ããçãŸããŸããã ãããªãã§ã¯ãAngstromã¯GeeKonvãšåŒã°ãã次ã®ããã«ãªããŸãã
代ããã«ãèŠããããŠäœ¿ããããã¢ããªã±ãŒã·ã§ã³ãå€æããŸããã
UIã«ã€ããŠã©ã®ãããªåé¡ã解決ããªããã°ãªããªããã«ã€ããŠã¯ã Angstromã«é¢ãã Ilya ã®ããã°ã»ã¯ã·ã§ã³ã§ç¢ºèªã§ããŸãããã®ãã¯ããã¯ã«ã€ããŠã¯åŒãç¶ã説æããŸãã
ãã©ãŒãã¥ã©èšç®
ãŠãããã®å€æã¯é£ããäœæ¥ã§ãã 第äžã«ãå€ãã®åäœãããããã¹ãŠã®ä¿æ°ãšå€æãšééããããªãããšã¯å°é£ã§ãã 第äºã«ãããã€ãã®å€æã¯èªæã§ã¯ãããŸããã ãã£ãŒãããã¡ãŒãã«ã«å€æããéã«ãããä¿æ°ã§é€ç®ããŠããå¥ã®ä¿æ°ã§ä¹ç®ããå¿ èŠãããå Žåãããšãã°è¯æ°ãææ°ã«å€æããã«ã¯ãããå°ãè©Šãå¿ èŠããããŸãã
æ°åŒã®èšç®ã¯ç°¡åãªäœæ¥ã§ã¯ãããŸããã ãªãããã®æ¹æ³ã§èšè¿°ããäœããã®æ¹æ³ã§è§£æããäœããã®æ¹æ³ã§å€æ°ã眮æããå¿ èŠããããŸãã 幞ããªããšã«ãç 究ã®éçšã§ã
NSExpression
ã®å¯æ¬¡çæ§è³ªã«ã€ããŠèª¬æããèšäºã«
NSExpression
ãããã«ãããããã€ãã®ç®è¡åŒãèšç®ã§ããŸãã 次ã®ããã«æ©èœããŸãã
[[NSExpression expressionWithFormat:@"(23-7.5)*40.0/21.0+273.15"] expressionValueWithObject:nil context:nil]
ãŸããïŒäŸã®ããã«ïŒåçŽãªãã®ãèšç®ãããã ããã¥ã¡ã³ãã«ãªã¹ããããŠããé¢æ°ã䜿çšããŠãããå°ãè€éãªèšç®ãè¡ãããšãã§ããŸãã
NSNumber
ããã³
NSExpression
ãä»ããŠèšç®ãè¡ãå Žåã誀ã£ãçµæãçºçããå Žåã®
NSNumber
ã®åäœã決å®ããããšãå¿ããªãã§ãã ããã ããããªããšãèšç®ãäžæããŸãã ããã¯ã次ã®ã³ãŒãã§å®è¡ãããŸãã
[NSDecimalNumber setDefaultBehavior:, NSDecimalNumberHandler]
ããã§å€ãè¿ãã®ã§ãäœãå£ããããšã¯ãããŸããããåæã«ãã°ã«ãšã©ãŒã衚瀺ãããŸãã
@implementation CONDecimalNumberHandler - (NSRoundingMode)roundingMode { return NSRoundBankers; } - (short)scale { return NSDecimalNoScale; } - (NSDecimalNumber *)exceptionDuringOperation:(SEL)operation error:(NSCalculationError)error leftOperand:(NSDecimalNumber *)leftOperand rightOperand:(NSDecimalNumber *)rightOperand { NSLog(@"Error during parsing number: %@/%@ (%d)", leftOperand, rightOperand, (int) error); if (error == NSCalculationOverflow || error == NSCalculationUnderflow) { return [[NSDecimalNumber alloc] initWithString:@"0"]; } else { return [[NSDecimalNumber alloc] initWithString:@"1"]; } } @end
ãŠãããä»ãã®ã¹ãã¬ãŒãžããŒãã«
ãŠãããã®ãªã¹ãèªäœãç°¡åã«ä¿åã§ããŸããã çµå±ã®ãšããã次ã®ãã®ãå¿ èŠã§ãã
- ããããã®ä¿æ°ãŸãã¯åŒãç解ããŸãã
- ç¹å®ã®ã±ãŒã¹ããšã«æãé©åãªãŠããããéžæã§ããããã«ãåªå é äœãä¿åããŸãã
- ãã®ããã«ãåäœæž¬å®ã·ã¹ãã ã®ã¿ã€ããä¿åãããŸãïŒããšãã°ãSIãŸãã¯ã€ã³ããªã¢ã«ïŒã
- ãŠãããåã®ç¿»èš³ã¯ãåèšèªããã³å¯èœãªãã¹ãŠã®åèªåœ¢åŒïŒãã·ã¢èªã®å Žåã5ã€ã®åèªåœ¢åŒãªã©ïŒã«å¯ŸããŠè¡ãããŸãã ããã«ã¯ããŠãããã®å¯èœãªã·ã³ãã«ãååã®å矩èªïŒarãŸãã¯weavingãŸãã¯square decameterïŒãå«ãŸããŸãã
- äžéšã®ãŠãããã¯ãã¯ã©ã¹ã¿ãŒãã«çµåãããŸããããšãã°ã1ã¡ãŒãã«ã¯ãã£ãŒãã«ã10ã¡ãŒãã«ã¯ã€ãŒãã«å€æãããŸãã 2çªç®ã®ãŠãããã¯ã¯ã©ã¹ã¿ãŒããéžæãããŸãã
- æåŸã«ãã¡ãã¥ãŒã«æ£ãã衚瀺ããããã«ããŠãããèªäœãã«ããŽãªã«çµåãããŠãããããã©ãŒããã/å€æãããšãã«ãã®æ å ±ãèæ ®ããå¿ èŠããããŸãã
æåã¯ããŠããããããã¹ããã¡ã€ã«ã®åœ¢åŒïŒç·šéããããïŒã§ãåºæ¬æ å ±ãåèšèªãã¡ã€ã«ã®ããŒã«ã©ã€ãºããšã«åå¥ã«ä¿åããŸãã ãããé床ã®ãã¡ã€ã«ã§ãïŒç¡æïŒ
knot kn,kt 0.514444 3 impAdd # 11 - â 295 / 1062 /. Mach M 295.0464 2 other speed of light c 299792458 0.11 siAdd meter per minute m/min 60 0 siAdd2 centimeter per second cm/s 100 0 siAdd2 ^minutes per kilometer min/km FORMULAE(16.666666667/X,16.666666667/X) 0 other ^minutes per mile min/mi FORMULAE(26.805555556/X,26.805555556/X) 0 other
ããããããããšããšäœæ¥ã«äœ¿çšãããŠããJSONãã¡ã€ã«ãååŸããŸãã æ®å¿µãªãããããã¯æè»æ§ããªããååã«é«éã§ã¯ãããŸããã§ããã ãããã£ãŠããã¹ãŠã®ããŒã¿ãSQLiteããŒã¿ããŒã¹ã«ããã¯ãããå¿ èŠã«å¿ããŠããããèªã¿åãããŸãã ããŒã¿ããŒã¹åœ¢åŒã¯ã次ã®ãããªJSONãã¡ã€ã«ã®æ§é ãã»ãŒç¹°ãè¿ããŸãã
[ { "fml": "", "abbrs": [ "m\/s" ], "us": "si", "id": 1, "tag": "meter per second", "pri": 3, "to": 2000002, "cof": 1, "names": [ "meter per second" ] }, ... ]
ã¡ã€ã³ããŒã¿ãå«ãããŒã¹ã«å ããŠãæ€çŽ¢ããªãŒãå¿ èŠã§ãã Angstromã¯2ã€ã®ã¢ãŒãã§åäœããŸãïŒ
- ãæ°ãããæéã®åäœããã2ã€ã®åäœãã®3è¡ãããå Žåã®ã¢ããªã±ãŒã·ã§ã³å ã®ç¿»èš³ã ãã®å Žåãè¡ã§2ã€ã®åäœãèŠã€ããŠãçµæãèšç®ããå¿ èŠããããŸãã èªèã¯éåžžã©ããè¡ãããŠããŸãã æåãååšããããŒãå ã®éšåæååã§ããªãŒãå®è¡ããåããŒãã«ãŠãããã®ãªã¹ããæ·»ä»ããŸãã ç®çã®ããŒãã«ç§»åãããŠãããã®ãªã¹ããååŸãããªãã·ã§ã³ã衚瀺ããŸããïŒãŸãã¯ãå¿ èŠãªå Žåã¯æåã®ããŒããååŸããŸããïŒã
- æ¹è¡ã äŸãã°ãç§ãã¡ã¯äœããå£è¿°ã§ïŒå£é ã§ããŸãã¯æšæºã®å£è¿°ã䜿ã£ãŠïŒå£è¿°ããããå¥ã®ã¢ããªã±ãŒã·ã§ã³ããã³ããŒããŸããã ãã®å Žåãæé ã¯ããã次ã®ãšããã§ãã
- æååãåèªã«åå²ããŸã
- äžå¿ èŠãªãã®ããã¹ãŠåé€ããæºåããéæ³ã®æåã®éšåãå®è¡ããŸãïŒããšãã°ãã·ã¹ãã ã¯ããããç§ããšããŠã§ã¯ãªããéåžžã¯æ£ãããªããç§ããšããŠèªèãããããç§ã眮ãæããŸãïŒã
- ããŒã·ã çªå·ã ããã§ã¯ãããžãã¯ã®2çªç®ã®éšåãé©çšãããŸãã å®éã«ã¯ã
NSNumberFormatter
ã¯æååãNSNumberFormatter
ãšããŠè§£æã§ãããããããšãã°ã34ããšèªèã§ããã34ãã§ãã ããã¯ãæ°åã ãã§ãªãããã®æ°åãéžæããå¿ èŠãããè¡ããããããæ£ãã䜿çšããã®ãéåžžã«é£ããã¹ãŒããŒæ©èœã§ãã å¯èœãªæ倧æ°ã解æããããã«ããã¹ãŠã®æ¡åŒµç¯å²ã䜿çšããŠãåèªã«åŸã£ãŠå®è¡ããå¿ èŠããããŸãã - æ®ãã®åèªã1ã€ãŸãã¯2ã€ã®åäœã«è§£æããããšããŸãã ããã§ã¯ããŠãŒã¶ãŒã奜ããªããã«å¥œããªé çªã§è©±ãããšãã§ããã®ã§ãéæ³ãäžçªã§ãã ç¹å®ã®ããŒã«ãŒã¯ãŒãã«æ£ããå¿çããäžé£ã®ãã¥ãŒãªã¹ãã£ãã¯ãäœæããå¿ èŠããããŸãã ããã§ã®åºæ¬ã¯ãéåžžã®ããŒãžã§ã³ãšåããŠãããããªãŒã§ã®æ€çŽ¢ã§ãã
ãããã®ã¢ãŒãã¯äž¡æ¹ãšããŠãããããªãŒã䜿çšããŸãã ããšãã°ãSQLiteããã®æšæºã®ããã¹ãæ€çŽ¢ã䜿çšã§ããŸãããããŒã¯ã³ãšèšå®ããããå¿ èŠããããããèªåã§äœæããããšã«ããŸããã è€éãã¯ãã¡ãã¡ã§äŒŒãŠããŸãããèªåã®å Žåã¯æé©åã®æ©äŒãå¢ããŸãã
æ€çŽ¢ããªãŒã®ããŒãã¯åå¥ã®ãã¡ã€ã«ã«ä¿åãããŸãã ãããã¯æ¬¡ã®ãšããã§ãïŒéåžžã«çããã®ãåããŸããïŒã
{"p":"","u":{"":[[1,13,631]]},"s":{},"f":""}
ããã«ãããå¿ èŠã«å¿ããŠããŒãããå®å šã«ã¡ã¢ãªã«ä¿åããå¿ èŠããªããªããŸãã ããªãŒã¯å€§ãããããã«ããèµ·åãå€§å¹ ã«é«éåãããå€ãããã€ã¹ã§ã®äœæ¥ïŒAngstromã¯iPhone 4ã§æ£åžžã«åäœããŸãïŒãè¡ãããã¡ã¢ãªã®è² è·ã軜æžãããŸãã
DPLPacker',
ã«ã€ããŠã®ç§ã®èšäºã§èª¬æãããŠãã
DPLPacker',
ãããã¯ããŸããã çŸæç¹ã§ãããã®ã»ãŒ7500ããããããã±ãŒãžåããã«åœŒãã¯éåžžã«æªãã£ãã§ãããã
Angstromã®ãŠãããã«é¢ãããã¹ãŠã®æ å ±ã¯çŽ5ã¡ã¬ãã€ãã«ãªããã¹ãã¢å ã®ã¢ããªã±ãŒã·ã§ã³ãã¡ã€ã«ã¯13.2ã¡ã¬ãã€ãã«ãªããŸããã ããªãã¯ããã«èŠãããšãã§ããŸããã¢ããªã±ãŒã·ã§ã³ã¯ãŠãããã®å€æã«ã€ããŠã§ã:)
æé©å
æé©åã¯ãåžžã«ã¢ããªã±ãŒã·ã§ã³éçºè ãçŽé¢ããåé¡ã§ãã æè¡éçºã®é床ã«ãããåã«ãããå©ããããåçŽãªããšããè¡ãããšãã§ããŸãããããã§ååã§ãã Angstromã¯ãããšãã°Apple Watchãå€ãiPhone 4ïŒiOS 7ã¯åŒãç¶ããµããŒããããŠããŸãïŒãªã©ãéåžžã«æ¥µç«¯ãªæ¡ä»¶ã§äœ¿çšããå¿ èŠããããŸãã ãããã®ããã€ã¹ã§ã¯ãã¡ã¢ãªãã»ãšãã©ãªããããã»ããµãæ¯èŒçäœéã§ãã ãããã£ãŠããã¹ãŠãæé©åããå¿ èŠããããŸããåæã«ãå°æ¥çã«ã¯ããã«10åã®ç°ãªããŠããããååšããå¯èœæ§ãããããšãå¿ããªãã§ãã ããïŒçŸåšã¯çŽ1050åãããŸãïŒã
æé©åã«ã¯3ã€ã®äž»èŠãªãã€ã³ãããããŸãã
- ã¢ããªã±ãŒã·ã§ã³ã®éå§ã éå§ããããã°ããããã«ãInstrumentsã䜿çšããéå§ããå¯èœãªãã¹ãŠãç Žæ£ããŸãã ãã¹ãŠã®æŽæ°-éå§ããæ°ç§åŸã«éå§ããŸãã ç»é¢äžã®ãã®ä»¥å€ã®ãŠãããã®ããŠã³ããŒãã¯ãããŸãããéããªãœãŒã¹ã¯ãããŸããã
- æ€çŽ¢ãŠãããã ãããè¡ãããã«ãæ€çŽ¢ããªãŒãäœæããæ å ±ãæåããšã«å¥ã®ãã¡ã€ã«ã«åå²ããŸããã ç§ãã¡ã¯æçŽãå ¥åããŸãã-ãã®æçŽã«é¢ãããã¡ã€ã«ã ããããŠã³ããŒãããŸããã ãã¡ã€ã«èªäœã«ã¯ãæ å ±ãéåžžã«ã³ã³ãã¯ããªåœ¢åŒïŒèå¥åãåçŽãªãªã¹ãïŒã§ä¿åãããŸãã
- ã¡ã¢ãªäœ¿çšéã ããã§ã®ãã¯ããã¯ã¯ãã¡ã€ã³ã¡ã¢ãªã³ã³ã·ã¥ãŒãããŠãããåäœã®ããŒã¹ã§ãããããåã®æ®µèœãšäŒŒãŠããŸãã SQLiteã¯ããã¡ã€ã«ã®æçåãããæ€çŽ¢ããªãŒãšãšãã«ãåé¡ãããŸã解決ããŸãã
Angstromã®éçºã®åã§ããããããªãœãŒã¹ã§éåžžã«å¶éãããã¿ã¹ã¯ãããå Žåãããã¯éåžžã«äŸ¿å©ã§ããããšãããããŸããã ããšãã°ãã¢ããªã±ãŒã·ã§ã³ãApple Watchã§åäœããããã«ã¯ãé床ãæé©åããå¿ èŠããããŸããæåã®ããŒãžã§ã³ã®æèšã¯éåžžã«é ããèªç¶ãªããã¹ãã解æããå¿ èŠããããŸããããã«ã¯ããªãã®æéãããããŸãã ãŸããããŒãžã§ã³1.8ã§ã¯ã解æãäžåºŠã«è€æ°ã®èšèªã§è¡ããããããã€ã³ã¿ãŒãã§ãŒã¹ãè±èªã§ãã£ãŠãããã·ã¢èªã§å£è¿°ããããšãã§ããŸãïŒå£è¿°èªäœã¯çŸåšã©ã®èšèªã䜿çšãããŠãããã瀺ããŸããïŒã ãã®ãããªãäžè¯ãããã€ã¹ã®æé©åã«ãããæ®ãã®ããã©ãŒãã³ã¹ãåäžããããè¿ä»£çãã€é«éã«ãªããŸãã
Today Extensionãäœæããã«ã¯ïŒãã°ãçºçããããŸãæ©èœããªããããçŸåšã¯ç¡å¹ã«ãªã£ãŠããŸãïŒãå³ããã¡ã¢ãªæé©åãå¿ èŠã§ããã ç§ã¯åœŒã«ã¯ãªããããŒãã®è¡ã解æã§ããããã«ãããã£ãã®ã§ãïŒæ°è¡ã ãã衚瀺ããã®ã§ã¯ãªãïŒãããã«ã¯æ¬æ Œçãªã¢ããªã±ãŒã·ã§ã³ãå¿ èŠã§ããã é¢çœãã®ã¯ãAppleããã®ã¿ã€ãã®æ¡åŒµæ©èœã§äœ¿çšå¯èœãªã¡ã¢ãªéã«ã€ããŠè©±ããŠããããšã§ãã ãååã§ã¯ãªãããšåœŒãã¯èšãã ã©ãã ã足ããªãã®ã§ããïŒ ãå°ããã»ã©è¯ãïŒãå ·äœçãªæ°åã¯ãããŸããã ãããã£ãŠãã¡ã¢ãªã«ããæé©å-éçãŸã§ã
ããã¯ãã¹ãŠãæé©åã®èŠä»¶ã極éãŸã§é«ããŸãã ãã¹ãŠã®æ¢ç¥ã®ææ³ãé©çšããæ°ããããŒã¿æ§é ãäœæãïŒããæ£ç¢ºã«ã¯ãå¿ããããå€ããã®ã䜿çšïŒãæã䞊è¡ããŠçªããŠãã€ã³ã¹ãã«ã¡ã³ãã瀺ããã®ã泚ææ·±ãèŠãŠãã¹ããŒããŠã³ããã¢ã«ãŽãªãºã ãæã èŠãŠãããè€éã«ãªããŸãããããå¹æçã
ã¢ããªã±ãŒã·ã§ã³ãéçºããŠããå Žåã¯ãéåžžã«å¶ååã®é«ãããã€ã¹ã䜿çšããŠèµ·åããŸãã ããã«ã¯ãiPhone 4ãšç¬¬5äžä»£iPod Touchã®äž¡æ¹ããããŸãïŒiPhone 4SãšåãããŒããŠã§ã¢ããããŸãïŒã æåã®ãã®ã¯ã»ãšãã©ç¡é¢ä¿ã§ããã2çªç®ã®ãã®ã¯ãã1幎åã«é¢é£ããŸãïŒä»æ¥ã®iOS 9ã®ææ°ã®ãã®ãå«ãããã¹ãŠãããã«é¢é£ããŸãïŒã
ãã¯ããã¯ã å€èŠ³
å€èŠ³ã«ã€ããŠã¯ãã§ã«å°ãæžããŸããã ããšãã°ãè§ã®æ£ããäžžã¿ã«ã€ããŠã¯ãç§ã®ããã°ã§èªãããšãã§ããŸããUIã® ãã¹ãã«ã€ããŠããããŸã ã ãããããŸã 説æããŠããªãç¹ãããã€ããããŸãã
ããŒããŒã
ãªã³ã°ã¹ãããŒã ã®ããŒããŒãã¯ã衚瀺ãããŠããªãå Žåãé€ããåžžã«è¡šç€ºãããŸãã 移åãïŒæåã®ç»é¢ã®å³ã«ã¹ã¯ã€ãããŠã¿ãŠãã ããïŒãæ¶ããŸãïŒå€éšããŒããŒããæ¥ç¶ããããiPadã§é衚瀺ã«ããŸãïŒãç°ãªãå ŽåããããŸãïŒiPhone / iPad / iPad ProïŒã ãã³ããŒãåãä»ããããŠãããå¹ ãçãå ŽåããããŸãã
é«ã
ããã¯Aypadnayaãèµ·ãããŸã
ããŒãžã§ã³1.8ã§ã¯ã16é²æ°ãŸãã¯ããŒãæ°åãå ¥åã§ããããã«åãæ¿ããããšãåŠã³ãŸããã èŠçŽãããšããã¹ãŠãè€éã§ãã
2ã€ã®ããšã«ã€ããŠã話ãããŸãã ããŒããŒãã移åããæ¹æ³ãããã³ã¢ã¯ã»ã·ããªãã£ã§kipadïŒããžã¿ã«ïŒãæ©èœãããæ¹æ³ã
ããŒããŒãã移åããã«ã¯ãiOSã®ããã€ã¹ãŠã£ã³ããŠãç解ããå¿ èŠããããŸãã åãŠã£ã³ããŠã«ã¯ç¬èªã®ãŠã£ã³ããŠïŒUIWindowïŒããããŸãããã¢ãŒãã«ãã€ã¢ãã°ãŸãã¯ããŒããŒãã衚瀺ããããšããŠã£ã³ããŠã®æ°ãå¢ããŸãã Revealã®ãããªãã®ã䜿çšãããšãéå±€ãéåžžã«ããèŠããŸãã
ç»åïŒé æ¹ããè¿æ¹ãžïŒã¬ã€ã€ãŒïŒ
- ãŠã€ã¹ã¯ãªãŒã³
- ã¡ã€ã³ã¢ããªã±ãŒã·ã§ã³ãŠã£ã³ããŠ
- ã·ã¹ãã ãã«ã¹ã¿ã ããŒããŒããããã·ã¥ãããŠã£ã³ããŠ
- ããŒããŒããŠã£ã³ããŠ
ããã§ãããªãã¯ããã«ïŒããã®ããã«ç§ã¯æããã«ããã®ã倧奜ãã§ãïŒäœãã©ã®ããã«åããããã«åãããèŠãããšãã§ããŸã ãã®çµæãã¡ã€ã³ãŠã£ã³ããŠãå¿ èŠã«å¿ããŠç§»åãïŒå®å šã«å¶åŸ¡ã§ããŸãïŒãå°ãªããšããªã³ã¯ããããŒããŒããååŸããŠç§»åã§ããŸãã
_keypadView.transform = CGAffineTransformMakeTranslation(_keypadView.virtualFramePositionX, 0);
ãã¹ãŠã®ã¢ããªã±ãŒã·ã§ã³ãŠã£ã³ããŠãåæããããããŒããŒãã®ããã«èŠããå Žåã¯æåŸã®ãŠã£ã³ããŠãååŸããã ãã§ãããŒããŒããŠã£ã³ããŠãååŸã§ããŸãã
NSArray *windows = [UIApplication sharedApplication].windows; if ([NSStringFromClass([windows.lastObject class]) contains:@"Keyboard"]) { _keyboardWindow = windows.lastObject; }
æ¯åãã¢ããªã±ãŒã·ã§ã³ã®ãã¹ãŠã®ãŠã£ã³ããŠã§å埩åŠçã䜿çšããŠãå€ããã£ãã·ã¥ããªãã®ã¯ãªãã§ããïŒ ããã¯ãiOS 9ã§ã¯ããªãé ããªããŸãïŒãã以åã¯æ£åžžã§ããïŒã ãããã£ãŠãæé©åããå¿ èŠããããŸãïŒã³ãŒãã¯ã€ã³ã¿ã©ã¯ãã£ããªsvaypahã§ãæ¯ç§60ãã¬ãŒã åäœããã¯ãã§ãïŒã é床ãäžããããã«ããŠã£ã³ããŠãã¬ãŒã ãå®éã«å€æŽãããŠããããšã確èªããé©åãªç¶æ³ã§æä»çã«æŽæ°ããŸãã ãŸãããã¬ãŒã ã§ã¯ãªããäžå¿ã®ã¿ã§ãããŠã£ã³ããŠã®å¯žæ³ã¯åžžã«åãã§ããããããã¬ãŒã ãå€æŽãããšããã¥ãŒã®äœçœ®ãå€æŽããã ãã§ãªããããæ·±å»ãªå€æŽã«ã€ãªããå¯èœæ§ããããŸãã
ç§ã®ããã«ããŒããŒããåãããå Žåãã°ãªããã«åããŠãã ããã iOSã®åããŒãžã§ã³ã®ã°ãªããã¯ç°ãªãã以äžã«è¡šç€ºãããŸãã
- ã¢ãŒãã«ãã€ã¢ãã°ã§ã®ããŒããŒãã®äžè¶³ã ããšãã°ãEgout of Angstromã§ã¬ã¿ãŒã®äœæãéããšããã€ã¢ãã°ã«ããŒããŒãããªãå ŽåããããŸãïŒãŸãã¯å€åïŒã ããã¯ããã¹ãŠã®ãŠã£ã³ããŠã§åãããŒããŒãã䜿çšãããŠããå€ãããŒãžã§ã³ã®iOSã§çºçããŠããŸããã ç§ãã¡ã¯äžäººã§å»ããä»ã®ã¿ããªã¯å»ããŸããã è¿ãå¿ èŠããããŸãã
- ã·ãããããèŠçŽ ã ããšãã°ãåãã¡ãã»ãŒãžäœæãã€ã¢ãã°ã§ã
UIMenuController
ãã·ããã§ããŸãã - ããŒããŒãã®æäœãå°é£ãªå ŽåïŒå·Šãã¢ãŒãã«ã³ã³ãããŒã©ãŒã«è¡šç€ºããããè¿ãããïŒ-ããŒããŒããæ¶ããå ŽåããããŸãã ã©ããããããŒããŒããŠã£ã³ããŠèªäœãæã åäœæãããå€ããªã³ã¯ã倱ãããŸãã
ãŸããããŒããŒããæ¶ããããã«æºåããŠãã ããïŒãŸãã¯ãå¥ã®ããŒããŒãã衚瀺ãããŸãïŒã ããšãã°ãæ¡åŒµãŠãããã®ã»ãããè³Œå ¥ããå Žåããã¹ã¯ãŒããå ¥åããããã®ã·ã¹ãã ããŒããŒãã衚瀺ãããŸãã è³Œå ¥æé ãå®äºããåŸïŒå®äºæ¹æ³ã«é¢ä¿ãªãïŒãããŒããŒããæ»ãå¿ èŠããããŸãã
äžè¬ã«ãå®éã«ã¯ãæšå¥šäºé ã¯ç°¡åã§ãã çç±ããªãããŒããŒãã«è§Šããªãã§ãã ãããã·ã¹ãã ã«ä»»ããŠãã ããã ããã§ãªããã°ãããªãã¯é¢äžããŸããç§ãé¢äžããã«ã€ããŠãããã«ã¯ããããã®çæããããŸãã
ã¢ã¯ã»ã·ããªãã£
ãããããæšæºã®ããŒããŒãã®ããã«èŠããªããŠããåãããã«åäœããããã«ãããã£ãã®ã§ãã æåã«ãæŒãããããŒã®é³ãåçããæ¹æ³ãèŠã€ããããšããŸããã ããããããªãç§ã¯
UIInputViewAudioFeedback
ãšã
[[UIDevice currentDevice] playInputClick]
ã«ã€ããŠåŠã³ãŸãããããã¯ãŸãã«å¿ èŠãªããšãè¡ããŸãã
ãã®åŸãã¢ã¯ã»ã·ããªãã£ãç¶æããå¿ èŠããããŸãããã€ãŸããé害ãæã€ãŠãŒã¶ãŒã䜿çšãããšãã®ã¢ããªã±ãŒã·ã§ã³ã®åäœã§ãã éåžžã®ã€ã³ã¿ãŒãã§ã€ã¹ã³ã³ããŒãã³ãã®å Žåããã以äžç°¡åãªãã®ã¯ãããŸããã ã³ã³ããŒãã³ãã«ããã€ãã®ã³ã³ããŒãã³ããèšå®ããŸãããããã ãã§ãã
self.isAccessibilityElement = YES; self.accessibilityLabel = @" "; self.accessibilityHint = @", "; self.accessibilityValue = @"";
kipadã§ã¯ããã¹ãŠãããè€éã«ãªããŸããã èæ¯ã®ã°ã©ããŒã·ã§ã³ãç°¡åã«æç»ã§ããããã«ãå šäœãæç»ããŸããå€ãããŒãžã§ã³ã§ã¯ãè§ãäžžãããŸãã
ããŒããŒãã®åäœïŒã¯ãªãã¯ïŒãšä»ã®ãã¹ãŠã®äž¡æ¹ããµããŒãããããã«ãæç»ãããããŒããŒãã®äžã«éæãª
UIButton,
åŸç¶ãã¿ã³ãäœæããŠå€ãæ£ããèšå®ããããŒããŒããå€æŽããããšãã«ããããå€æŽãããããšã泚ææ·±ãç£èŠããå¿ èŠããããŸããïŒææ°ããŒãžã§ã³ã§ã¯ããŒãåãš16é²æ°ïŒã
ã¢ã¯ã»ã·ããªãã£ã®ãããã¯ã«èå³ãããå Žåã¯ãããã«ã€ããŠè©³ãã説æã§ããŸãã ãŸãã¯ã察å¿ããWWDCã®ã»ãã·ã§ã³ãèŠãããšãã§ããŸããéåžžã«åªããŠããŸãïŒ iOSã¢ã¯ã»ã·ããªãã£ãšApple Watchã¢ã¯ã»ã·ããªãã£
ã¢ã¯ã»ã·ããªãã£ããã¹ãã«åœ¹ç«ã¡ãŸããããã¹ãã«ã€ããŠã¯ãããã°ã§è©³ãã説æããŸãã ã
ã質åã¯ïŒ
ä»ã®æ©èœãå®è£ ã®è©³çŽ°ã«èå³ãããã®ã§ã¯ãªãã§ããããïŒ èããŠïŒ