I am learning to use Core Data. I have created a data model etc and have been inserting items using NSManagedObjectContext and NSManagedObject.
I have noticed something though - I didn't have to create any db.
So why question is - when I create the data model - is that actually creating the db i.e. is that all there is to it? It seem...
Hi There
The problem i am having is if i make changes to the application settings while the application is running in the background the changes aren't available in my app until it is restarted. Am i missing something or is this way it is?
Thanks very much. Sj
...
Hi,
What is the way to download and save image in iPhone memory from server in javascript??
Is it possible??
Thanks
...
When increasing the height of label, everything is fine and smooth. When decreaseing, the label is instantly changing the size then repositioning with animation.
@interface
@property (nonatomic, retain) IBOutlet UILabel *explanationLabel;
@implementation
CGRect frmExpl = explanationLabel.frame;
[UIView beginAnimations:nil context:NULL]...
Do I need to recompile, resign the application for AdHoc distribution and re-distribute it to all beta testers after I add a new device to the Adhoc distribution profile?
...
I have created a UIToolBar using the IB. In one view, I have called the camera and the camera controls are masked by the toolbar.
I have tried several methods to hide the toolbar - alpha=0, toolBarHidden, hidesBottomBarWhenPushed and thought how I could re-size the camera view to allow the camera controls to be used. All with no luck....
Hi folks,
wondering here if there is a way I could trigger an event, so that any library listening for these events (e.g. jQTouch, Sencha touch, iUI, ... ).
If I could extend or use jQuery for such task e.g. $(...).trigger('event') that would be great to know.
Usage example:
I need to debug a few web apps by simulating multi touch ...
Hi there,
My iPhone application occasionally crashs the first time it is run after being installed. After this every time i try and run the app it remains on the splash screen or even a black screen until eventually it dies. I have to restart the device to get the application to work. After this it works fine every time. The only change...
Hi guys, I have this very strange problem, I'm new to objective-c and it probably comes from depths which I don't comprehend yet.
So, in my header file I declare the variable
NSString *curTitle;
then in .m file I synthesize it:
curTitle = [[NSString alloc] init];
after that in other method I assign it:
curTitle = string; // strin...
Holy Crap! Really... I'm frustrated with this problem that get me stuck with my apps for a week now.
Here is the code
- (IBAction)loadTheImage {
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
// picker.sourc...
I accept NSString as
NSString *value = [valuelist objectAtIndex:valuerow];
NSString *value2 = [valuelist2 objectAtIndex:valuerow2];
from UIPickerView.
I want to
double *cal = value + (value2 * 8) + 3;
NSString *message =[[NSString alloc] initWithFormat:@"%@",cal];
I should be able to get the string in message after I do the calc...
Which eBooks are best and free for iphone developement?
...
I need to show a few texts fetched from web in my app. I need to ensure internatiolisation, but i dont want to keep all the resources locally. is it possible that when i hit server from china i get chinese response ? from japan i get japan response ?
what would be the ideal solution ?
...
In my App I use push notifications. I have settings to set the maximum amount of push notification per day and more.
when the user change the notification status in the iPhone settings to off I want to let the user know it - I use enabledRemoteNotificationTypes.
How can I load the settings so the user will be able to turn it on? or eve...
The the problem arises when i dynamically load subview from nib and add it to the current main view during viewDidLoad.
UIView *someView = // load from nib
someView.frame
= CGRectMake(.0,
.0,
kFormSheetWidth /* = 540.0 */,
kFormSheetHeight) /* = 576.0 */;
[self.view addSubview:some...
I'm attempting to achieve a "drop down" menu effect with a UIPopover. When I change the height from 0px to 500px it appears to stretch 250px up and 250px down... essentially anchoring the UIPopover at the original spawn point on center. I would like the anchor to be the top of the popover, so that when I adjust the size it is the bottom...
I've got the following iphone code, which seems to be failing:
sqlite3_stmt *dbps;
NSString *sql = @"delete from days where day=?1;insert into days(disabled,recipe_id,day) values(?2,?3,?1)";
int rc = sqlite3_prepare_v2(db, sql.UTF8String, -1, &dbps, NULL);
...
The 'rc' return code is 1, meaning SQLITE_ERROR (SQL error or missing datab...
Hi,
I am running into a very annoying problem: I am creating an UIScrollView that containes an UIView that contains some buttons. The UIView with buttons work fine. But the UIScrollView, no matter what I do with it, when touched, crashes. It doesn't make any difference it's empty or not. It keeps crashing.
I am very lost and don't know...
Hello guys!
Can you explain me please in short how to start with admob? I registered, but can't find the download link for the sdk. Any good tutorials? Thank you for your help.
...
Hi All,
Thanks for the suggestion well i am writing in detail about it.
I have a requirement to do in my project like this,
When the app launch for the first time it should display the device native dialer and then check for callDidConnected in background.
once the callDidConnected is true app should launch itself.
Here I tried a l...