iphone

xcdatamodel with a new attribute

I've updated the xcdatamodel with a new attribute. i've made sure to remake the managed object class file. the add new version/set current version has been done also. I made sure to delete the app from the iPhone and even did the build > Clean all targets thing. the problem is that when I look in the sqlite file the new attribute/field...

2D charts on iphone

Is there any API for drawing charts on iphone? ...

Sort Date[dd/MM/yyyy] which is in NSString data type inside an array in Objective-C for iPhone

Hello, I have an NSMutableArray which holds the dates in format dd/MM/yyyy of type NSString. Now i need to display the sorted array of dates. Please suggest me how to achieve it. Thank You. ...

Unused variable warning on for each loop

I've got an array of NSNumber objects created thusly: myArray = [[NSMutableArray alloc] initWithObjects:[NSNumber numberWithDouble:0.0], [NSNumber numberWithDouble:0.0], [NSNumber numberWithDouble:0.0], [NSNumber numberWithDouble:0.0], [NSNumber numberWithDouble:0.0...

Display two modal view controllers one after another

Hi all, How to display 2 modal view controllers on iphone one after another? Please help ...

Sync Outlook with an iPhone app (

Hello to everyone! I was wondering if thee is an API for outlook that enables to sync an iPhone app with Outlook over WiFi (computer and iPhone on the same network). I need to sync information like calendar events and tasks. Thanks ...

UIImageView is disappearing after CAKeyframeAnimation

I'm trying this code (found in an answer here on SO) in a category on UIView and am using it to peform a "pop" animation on a UIImageView nested inside of a UITableViewCell. - (void)attachPopUpAnimation { CAKeyframeAnimation *animation = [CAKeyframeAnimation animationWithKeyPath:@"transform"]; CATransform3D scale1 = CATr...

What should I use ? core Data or sqlite in iPhone SDKc

I'm making dictionary, it have over 50000 rows. Now, I'm using sqlite for 30000 testing. It is slow for searching. I'm worrying about 50000 records. So, I'm thinking to use core data in iPhone SDK. Should I use coredata , instead of sqlite ? Which one is faster ? ...

How can I update data in iPhone app

Hi, I create an app, with data store in plist. Now what are the wAys I cAn update the data? Maybe if I create a webpage and retrieve my dAta from it instead of storing in plist? Or is there a way I can update my data when I plug into iTunes? Or any other suggestion? WhAt I want to achieve is a way of updating my data once user have downl...

iPhone: How to change camera photo quality

I've not found a answer to this question anywhere, but this seems like a typical problem: I am taking pictures from an iPhone 4, and I have to send these pics to a server through a POST-Request, but the server does not accept pictures that are bigger than 0,5 MB, so I have to compress the pictures before I send them. In order to achieve ...

Function pointer in iOS?

Anybody can tell me about Function pointer in iOS? Thanks :D ...

How to integrate html5 and iphone applications?

Hi All, As we all know that html5 has introduced lots of new features. How can html5 be integrated to an iphone application? ...

detailViewController Control Child From Parent

I am using navigation based approach. In RootViewController, I got a detailViewController. I want to control detailViewController from RootViewController. I tried Something like that. in RootViewController.h @interface RootViewController : UITableViewController{ PlayerListView *detailViewController; } in RootViewController.m - (v...

iPhone app crashes on 3.1.2 after approvement, but not on 3.2 & 4.0.x

Hi! After App Store approvement my app started to crash on launch on 3.1.2 devices. Debug version installed from Xcode works fine on 3.1.2. Both debug and distribution version from App Store work fine on 3.2 and 4.0.1 devices. From crash log: Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x00000000, 0x00000000 Crashed Thread: 0...

Core Data - accessing objects returned from fetch EXC_BAD_ACCESS

The following is implemented as a class method in a category on one of my managed object entities, with a bunch of other operations: + (NSArray*)newArrayOfAllOtherBibs { NSManagedObjectContext* moc = [(MyAppDelegate *)[[UIApplication sharedApplication] delegate] managedObjectContext]; NSFetchRequest* fetchRequest = [[NSFetchRequest ...

create hyperlink in sms in iPhone

Is it possible to create a hyperlink in an sms in an iPhone? For example, if I want the word 'foo' hyperlinked in HTML then I'll write <a href="http://foo.com"&gt;foo&lt;/a&gt; in a normal situation. If I want to have a certain word in my sms to be hyperlinked to something, is there any way I can do this? Like "I have a <a href="http...

Android, Iphone app with JS and HTML

Hi, I have read some post about apps programming for Iphone and Android, but I have one question. Is it posible when there is a mobile website optimized for mobile phones, that I can create apps for Iphone, Android, Win 7 and Blackberry, that only statrts the browser as instance and display the mobile website? What do you think, is this ...

Xcode Sqlite persistence problem

Hi, I have a persistence problem in my application. I'm using sqlite database. when some insert queries executed results temporary added to the database. After restarting application the new values vanish! I think new values stored on RAM do not save on hard-disk. -(IBAction)add:(id)sender { NSString *myDB; NSString *query; myDB=[...

NSFetchRequest on to-many-relationship excluding some objects does not work as expected

Hi there, i struggling around NSFetchRequest these days. My data model look like this: Post <->> Category Now i need a fetch request to get all posts where the category.name attribute is not "xxx". Looking at the documentation for NSFetchRequest is should be: NSPredicate *predicate = [NSPredicate predicateWithFormat:@"NONE category...

Problem with ADBannerView in combination with UINavigationController

I have the following application: I have 1 window. On that window I add two views. One view is the view of the UINavigationController. This is used to let the user navigate through my application. The other view has a ADBannerView on it. This view is placed on the bottom of the screen. The user can navigate through my application with...