Tag: "ios"
iOS: Print "%" in Label
'%' is a function word in Objective C, such as '%d" to print a number, How to print a '%' in a string? that is easy, just '%%'
Codeself.txtPercent.text= [NSString stringWithFormat:@"%d%%", (int)sender.value]; more »
Tags: ios
UIAlertView Button Click in IOS
if you only have an ok button for alert view, that is easy.
However, if you have more than an "OK" button, you need to implement your controller as UIAlertViewDelegate
For example:
Code@interface TipRecordListViewController :… more »
Tags: ios
IOS:Loading another screen in story board
I tried to build another logic flow in story board after the add button clicked.
This is easy. Please add them in the main view controller.
AddTipRecordViewController *labelEntryViewController = [self.storyboard instantiateViewControllerWithIde… more »
Tags: ios
Core Data in IOS
Building a data layer in sqlite for android is a bit of time consuming. Recently, we have moved to the IOS world. I found that is a bit easier to build in data layer in there. It has Core data concept which is a kind of ORM. But that is completely OOP s… more »
Tags: ios