(Before beginning, there may be other ways to use KML. I am just beginner in iOS programming and this is how I work around.) XCode allows to simulate the locations using GPX file type. One of location tracker, Google Latitude, allows to download recorded locations to KML file type. To use KML file for iOS…
Category: iPhone
XCode crash every second time.
I have XCode 4.6.2 (4H1003) and MBP retina. When I run my project in simulator, it crashes every second running without any error message in debug console. return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); The error is “Thread 1: signal SIGABRT“. Annoyingly, XCode does not give any error. According to the this guy, it is because of…
To use ‘messageComposeViewController’
To use ‘messageComposeViewController’ Add “MessageUI.framework” Library And should define on “AppDelegate.m” #import <MessageUI/MessageUI.h>
Where is “UIViewController subclass”?
In latest XCode (v4.6.2), I couldn’t find “UIViewController”, which tutorial book wants me to choose. According to this article, choose “Object-C Class” instead of.
deprecated! ‘UILineBreakModeCharacterWrap’ & ‘UITextAlignmentCenter’
When I use UILineBreakModeCharacterWrap, I get this message ‘UILineBreakModeCharacterWrap’ is deprecated use NSLineBreakByCharWrapping instead of it. //[label setLineBreakMode:UILineBreakModeCharacterWrap]; [label setLineBreakMode:NSLineBreakByCharWrapping]; If I use UITextAlignmentCenter, then I get ‘UITextAlignmentCenter’ is deprecated: first deprecated in iOS 6.0 use NSTextAlignmentCenter instead of: //[textLabel setTextAlignment:UITextAlignmentCenter]; [textLabel setTextAlignment:NSTextAlignmentCenter];
MainWindow.xib absence in Xcode 4.2 beta 4 with iOS 5 SDK
“FYI, I am very newbie in iPhone development.” I had upgraded Xcode to 4.2 beta 4 and realised that there is no more templates for iOS 4. Obviously, it did not include iOS 4 SDK because it said “with iOS 5 SDK”, duh! I could not go back to Xcode beta 3 since I upgraded…
legacy cell layout warning??
legacy cell layout warning?? http://stackoverflow.com/questions/3297270/problem-in-table-view WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <DisclosureButtonController: 0x5f3b0b0>. Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior. This method will no longer be called in a future release. ANSWER: The…
In Xcode, Add > New File > Cocoa Touch Classes > UITableViewCell ???
In Xcode, Add > New File > Cocoa Touch Classes > UITableViewCell ??? The book said, select Add> New File > Cocoa Touch Classes > UITableViewCell in Xcode and you cannot find it? The book is based on old version of XCode. You can find Add > New File > Cocoa Touch Classes > Objective-C…
UITableViewCell setText deprecated
UITableViewCell setText deprecated UITableViewCell *cell = … … cell.text = … to cell.textLabel.text = @”test”;
Inserting iPhone Tab Bar Icons Using XCode
Firstly you will need to add the icons to your project. Right click the resources folder under the main project icons and select Add > Existing Files… (This is article from http://www.glyfx.com/guide_iphone.html) In Xcode find the folder labeled “NIB Files” and expand it to see it’s contents. Double click on the .xib file that contains the…
Designing for the iPhone 3G: Tips and Tools
아이폰 어플 개발시 UI Design 준비 과정 및 참고 프로그램을 알려준 글 주소: http://designingwebinterfaces.com/iphone-3g-design-tips iPhone Stencil Kit를 구입하고 싶지만, 역시 시간이 부족하여 나중에 주문하기로 하고 skip.
12 SQLite Resources for iPhone Developers
SQLite is a public domaindatabase library that offers file and memory based relational databasefunctionality from a single C library. The iPhone / iPod Touch has theSQLite library included and ready to roll and Apple expects the SQLitelibrary to form the backbone of most applications’ data storagerequirements. We’ve collected together some of the best SQLite related…
iPhone SQLite Database Basics
iPhone SQLite Database Basics 원본 출처 : http://wiht.link/sqlite_resources 번역자 : DELPAI(delpai at gmail.com) 번역날짜 : 2009년 3월 27일 번역자 이야기 : 너무 급하게 하는 바람에 오역이 있을 수도 있습니다. 오역이 있더라도 참고사항으로만 봐주시기 바랍니다. :) 고칠 부분이 있으면 댓글 남겨주세요. iPhone SDK에 NDA가 추가됨을 기뻐하며, iPhone에서 SQLite를 이용하는 설명서를 작성하기로 마음을 먹었습니다. 이 설명서는 SQLite…