Hi all,
In my application I need to cache the data that's being parsed for which I'm using coredata and inserting it in managedobjectcontext on a thread which is performing the xml parsing function. So this thread is performing two things: parsing and inserting in coredata.
I'm using the following function:
-(void)saveData
{
self.man...
I have amount attribute in coredata model with string datatype. I need to find records by comparing amount. I have tried NSPredicate with following but nothing is coming and result is always empty.
NSDecimal result;
NSScanner *theScanner = [[NSScanner alloc] initWithString:@"10.00"];
[theScanner scanDecimal:&result];
[theScanner release...
Hi,
Is there a logging framework for iPhone ? Which could be useful to the developers when the application crashes.
Or kindly suggest me alternate ways for doing the logging stuff on iPhone.
...
I'm capturing CGImageRef frames using UIGetScreenImage() on an iPhone 3GS 3.1.3 and want to stream this over the interwebs in any appropriate, well known format.
What video codec libraries are available that would allow me to encode the raw pixel data into a video? (i'm not too familiar with video codecs, but am familiar with network pr...
Hey,
Is it possible to generate video from images in iphone OS 4.0? if so could anyone tell me how to do it ?
regards
John
...
I've designed my main view using HTML, CSS and some images. It looks very nice. I'm using some images that are clickable in HTML code.
On click of some image, I want to load some view accordingly.
Is it possible? If yes, please suggest me how to do it.
If tutorial or some sample code is available please share it.
...
int a=7
int b=10
float answer = (float)a/b;
answer=0.699999988 ( I expect 0.7 ??)
...
I'm experiencing an issue with how iOS 4 manage Location Service. Previously, when the location service is disabled, any application that uses location service will prompt the user to turn it on. However, in iOS 4, it didn't prompt that dialog box and just stays quiet. Is there a way to call the default dialog box which ask the user to t...
Hi All,
Here is the scenario I am working on,
I have a single textField in the cell allocation section and after this section I try to provide give the text field various arguments.
Works fine no problem till here, the problem lies how to handle which textField is returning in the delegate method.
My Earlier approach was to simply ...
Hi All,
I am working on a chat application and using coredata to store the names of the person from which you have started chat to make it persists during application launches....
The problem is sometimes my sqlite db gets corrupted..The error that I get is:-
Unresolved error Error Domain=NSCocoaErrorDomain Code=259 UserInfo=0x2d3...
Hello everyone
I'm trying to place various size images inside imageView of UITableViewCell. I get the image data asynch'ly, create the image, set the content mode of imageView and finally set bounds of imageView. But the code seems insensitive to any changes I made. I want the images to be centered in a 75x75 area. I wrote the below cod...
I have implemented pdf reader application in which i have load one controller in UIScrollvew and implemented pagging functionality.Its working fine.But after 28 pagging show memory warning level 1.I dont know where is the memory leak.Please help me solve this problem.
Thanks in advance.
...
Hi There,
This is a question for iPhone development and I'm hopin someone can point me to the right direction on how i should go about implementing this.
I am trying to write a chat application that supports emoticons/smileys. Where the smiley/emoticon images are stored can be figured out later. I think few iphone applications out the...
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '*** -[NSPlaceholderString initWithUTF8String:]: NULL cString'
...
Background: I have XCode 3.2.3 installed and want to distribute a project, ideally to a variety of iPhone (iPod Touch?) devices, including older ones. When choosing Project -> Build -> Base SDK I'm seeing the options "iPhone Device 4.0" and "iPhone Device 3.2" (no more 3.1.x, though IIRC it was in in the previous version of XCode, before...
I using a self compiled Obj-C Library in two of my iPhone Apps. Now, I want to send one of my apps to the App Store Review Team. What's the best pratice here? They might be some problems if I'm going to send it without the library source code.
Any experiences to share?
Thanks,
Henrik
...
Hi,
I have an app in which the user can select the language for the session, so I have implemented my own localisation within the app (the app will be installed on iPads which will always be based in the UK, but users may be of different nationalities - which is why I'm not using device locale/region settings).
My problem is the UIDate...
Hi
Could anyone tell me what is the maximum application size supported by iphone? Also what is the maximum heap size and stack size supported? Application goes 'out of memory' very soon...
...
I'm building several different projects for iPhone (and iPod Touch, I suppose) in XCode. What is a reasonable iPhone OS target deployment version?
For instance, can 2nd generation iPod Touch devices upgrade to iPhone OS 3, so that I could be using iOS3 as reasonable minimum and still target the iPod Touch (figuring it's OK to ignore tho...
I have a trouble with Interface builder: I downloaded the iPhone SDK 4 but Interface Builder doesn't work: when I open it, it close immediately. What can I do???
...