Objective-C
æ¨æºã®UIButtonã®Systemã ã¨ãã¤ã©ã¤ããæåãç½ããªãã ããªã®ã§ããããUITableViewCellã£ã½ãããã¨ããtipsã§ãã å®è£ æ¹æ³ã¯ãUIButtonã®ãµãã¯ã©ã¹ãä½ã£ã¦Storyboardã§ã«ã¹ã¿ã ã¯ã©ã¹ã§æå®ããã ãã§ãã 1. UIButtonã®ãµãã¯ã©ã¹ãä½ã @interfaceâ¦
iPadç¨ã®ã¢ããªãä½ãã¨ãã®è©±ã§ãã iPadã®size classã¯ç¸¦åãã横åããRegular/Regularã£ã¦ãã¨ã§ããã®size classã§ãã£ãã¨ç»é¢ãä½ã£ã¦ã¦ãiOS8ã®Simulatorã ã¨ã¡ããã¨è¡¨ç¤ºããã¦ã¾ãããããã§2ç»é¢ãããä½ã£ããã¨ããµã¨ãiOS7ã®Simulatorã§åããâ¦
UICollectionViewCellä¸ã®Viewã«AutoLayoutããããä¸è¨ã®ãããªwarningãåºã¦AutoLayoutãå¹ãã¾ãããç°å¢ã¯iOS8ãXcode6ã§ãã SampleApp[3298:353432] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the â¦
ç»é¢ã®å転ã®ã¤ãã³ãã§ãwillRotateToInterfaceOrientation:duration:ãããã¾ãããiOS8ããã¯deprecatedã«ãªã£ã¦ãã¾ããã§ã代ããã«ãviewWillTransitionToSize:withTransitionCoordinator:ã使ãã¨æ¸ãã¦ãããã§ãããããããã¡ã¤ã«ã®ã³ã¡ã³ãã«supeâ¦
ééã£ã¦ãã®ã§ããããè¿½è¨ Xcode6ã§UIViewControllerã®interfaceOrientationããããã£ã使ãã¨iOS 8.0ããdeprecatedã§ããã®warningãã§ã¾ãã ã§ãã代ããã«å¤æã§ããããããã£ãiPadã ã¨åãããªãã£ã¦è©±ã§ãã誰ãæã㦠⻠追è¨1 statusBarOrientaâ¦
Objective-Cãªãããæ¸ãããã // ã¯ã©ã¹ã¡ã½ãã NSDate *date1 = [NSDate date]; // ã¤ã³ã¹ã¿ã³ã¹ã¡ã½ãã NSDate *date2 = [[NSDate alloc] init]; // objcã§ã¯ããã¯ããã¾ã使ããªããã© ãããSwiftã¯ï¼ var date1 = NSDate.date() var date2 = NSDatâ¦
1. Beaconã«é¢ããCLLocationManagerãä½æãã // 以ä¸ã®ã¡ã½ããã®å 容ãinitç³»ã®å¦çã§å¼ã³åºã - (void)initLocaitionService { // CLBeaconRegionãä½æ // ãã®ã¨ããProximityUUIDã¯ãbeacon製åã§æä¾ãããUUIDã使ç¨ããã // identifierã«ã¤ãã¦â¦
ããããã£ã«ã¢ã¯ã»ã¹ããã¨ãã«ã_hogeãªã®ããself.hogeãªã®ãçµ±ä¸ããæ¹ãããã¦ãreadonlyã®ããããã£ã ã¨ããsetterãgetterãããåãã£ã¦ãªããªãåºæ¬çã«self.hogeã§ã¢ã¯ã»ã¹ããã ãããã¨NSLogã®æ¸ãæ®ããå¤ããããã¡ããã¨èªåãè¦ãããã°ãâ¦
Clean table view code - Lighter View Controllers - objc.io issue #1 ã®è¨³ã§ãã TableViewã¯iOSã¢ããªã«ããã¦è²ã ãªãã¨ãã§ãããã¼ãã§ãã ãããããç´æ¥çããããã¯ãéæ¥çãªãã¼ãã«ãã¥ã¼ã®ã¿ã¹ã¯ã«é¢ããã³ã¼ããå¤ããªã£ã¦ãã¾ãã¾ããä¾ãâ¦
objc.ioä½ããããã¨è¨ãã¨ãæ°æ¥éAPIãããããåãã¦ãã£ã¨ããã使ãæ¹ã®ã³ãã¨ãå é¨çãªåãããµã©ã£ã¨æ¸ãã¦ãããå®è£ ã®ã¢ããã¼ããè¤æ°ç´¹ä»ãã¦ãããå®éã«ã¢ããªã«ãããã¨ãã«ãã³ãã³ãã©ã¼ã«ã¹ãã¦ã¦ããªããã¹ã²ã¼ç·¨éåãæãããâ Taku Okâ¦
ã»ã«ã®å·¦å´20pxãããã¶ãã ããå³å´ã«ããã¡ãããã ãã©ãStoryboardã®separator Insetã§è§£æ±ºãã¾ããã ç´ãæ¹ã¯ãstackoverflowã«æ¸ãã¦ããã¾ããã uitableviewcell - Is there a way to make UITableView cells in iOS 7 not have a line break in thâ¦
ãã«ãã¹åããã¼ã«å©ç¨ãã¦ãããã»ã»ã» ãã¦ã³ãã¼ãããç»åããã£ãã·ã¥ããã¯ã©ã¹ã®è¨è¨ã¨å®è£ ã«ã¤ã㦠- 24/7 twenty-four seven ã®ã¨ãã»ã³ã¹ãåèã«ããªãããç»åããã£ãã·ã¥ããã¢ããªãä½ã£ã¦ãã¦ã¯ã¾ã£ãã®ã§ã¡ã¢ã ç»åã®ãã«ãã¹åã®ããã·â¦
1è¡ãã¨ã«è²ãå¤ãã¦ãããã»ã«ã«è¡çªå·ã¨ã表示ãã¦ãã¨deleteRowsAtIndexPaths:ã ãã§ã¯ã表示ãæ´æ°ãããªããã¨ã«æ°ã¥ãreloadDataå¼ãã ã ã§ããreloadDataå¼ã¶ã¨åé¤ã¢ãã¡ã¼ã·ã§ã³ãæ¶ãã¡ããã®ã§ããã¼ã©ãããã®ããªã¼ã¨æã£ã¦èª¿ã¹ããã©ãæå¤ã¨â¦
â» ä»åã¯è©¦ãã«Qiitaã«ãæ稿ãã¦ã¿ã¾ããã Aspects Objective-Cã§ã¤ã³ã¿ã¼ã»ãã¿ã¼å ¥ãã¦æ¨ªæçã«å¦çå ¥ãã¦ã¿ãããªãã¨ã£ã¦ããããªã¨æãå ´é¢ã¯ãã£ããã©ãå ±éå¦çãè¡ãã¯ã©ã¹ã使ã£ã¦ãããç¶æ¿ããã¿ãããªããæ¹ãã¦ããå ±éã®å¦çã£ã¦ã©ããªãã®â¦
iphone_dev_jp æ±äº¬ feat. Ben Zotto (Penultimateéçºè ) - connpass ã«è¡ã£ã¦ãã¾ããã è±èªã®çºè¡¨ã ã£ããã©ãåæé訳ã®äººããã¾ãã¦çµæ§ç解ã§ãã¾ããã ï¼ã¾ãããããªç»åæé©åãããããªã¢ããªä½ããã¨ã¯ãªãã¨ã¯æããã©ï½ï¼ ç»åã¨ã¯é¢ä¿ãªã質â¦
è²ã ããæ¹ã¯ãããããããªããã©ãããã§ãããã æ´æ°ã¯å°æ°ç¹ããããªãã®ã§åãä¸ãã¦ããåãæ¨ã¦ã¦ãåãå¤ã«ãªãã®ãå©ç¨ã - (BOOL)isInteger:(NSDecimalNumber *)num { // å°æ°ç¬¬1ä½ãåãæ¨ã¦ NSDecimalNumber *floorNum = [num decimalNumberByRâ¦
XCTestã§testãfailedãã¦ããã®ã«ãXCodeã¯Test Succeedã¨å æ°ã«éç¥ãã¦ããã®ã§ã ãªããããã»ãã¨æã£ã¦ãããteståã«æ¥æ¬èªã使ã£ã¦ããã®ããã¡ãªåå ã§ããã ãã¹ãåãåè§è±èªã®å ´å - (void)testFail { XCTFail(@"失æ"); } ãã®ããã«ãã¡ããâ¦
iPhoneã¢ããªãã(not safari)socket.ioã¨éä¿¡ããããªã¼ã¨æã£ã¦ãã¦ã è¯ãè¨äºãã¿ã¤ããã®ã§æ©éãããã¦ã¿ã¾ãããiPhoneã¢ããªã§Node.js - webãã¿åºæ¬çã«ã¯ socket.ioã¨Objective-Cã§éä¿¡ããã ãã®ããã«ã¯Objective-Cå´ã§ã¯ãpkyeck/socket.IO-obâ¦
CGPDFBoxãä¸ä½ä½ã表ãã¦ããåãããªãã£ããã©ãå ¨é¨è©¦ãã¦ã¿ããä½ã¨ãªãåãã£ãããã http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CGPDFPage/Reference/reference.htmlå ¨ç¨®é¡ã§è©¦ãã¦ãCGPDFPageGetBoxRectãâ¦