Hi,
I'm new to developing for the iPhone and I'm using Core Data for my data management. My managed objects have a property called creationDate and I need to have a list of all distinct dates that are in the database. To reduce the overhead I set
[fetchRequest setPropertiesToFetch:[NSArray arrayWithObject:@"creationDate"]];
because th...
Looking at the QuartzDemo sample application, I love the speed of the PDF rending using quartz alone (that is, without using uiwebview). However, when I'm zooming in the PDF it doesn't seem to become more clear like it does in PDF view.
Is there something that I can change to have the same effect when zooming in and out using multito...
I am using UIAcceleration for rotation. I have opposite side, adjacent side, but I want to calculate tan-1(y/x) inverse tan.
...
i have used following code to play caf sound.but it works in simulator ,not in device...anyone can give solution?
NSString *pathe=[[NSBundle mainBundle] pathForResource:@"Watermovement3" ofType:@"caf"];
CFURLRef url =(CFURLRef)[NSURL fileURLWithPath:pathe];
AudioServicesCreateSystemSoundID(url,&okk);
AudioServicesPlaySystemSound(okk);
...
I have a Core Animation running and want to pause it when a button is pressed. So there is a method -pauseAnimation. When the animation is paused, I want the animated view to stay in the state as it currently was while animating. i.e. if a view moves from top left to bottom right, and somewhere in the middle the animation is paused, the ...
how do i find that flip animation has finished animation?
i want to update a label's text just after animation has finished..
or how do i update a view during flip animation.?
...
i.e. %@ for strings, %f for doubles... I don't know the word for these placeholders but it would be great to have list for how to print booleans and other values.
...
I have an class, and in the header I define this:
@interface MyViewController : UIViewController {
BOOL blackBackground;
}
@property(nonatomic, assign) BOOL blackBackground;
In the implementation I have the @synthesize for blackBackground.
Then, I instantiate this object and do:
[myViewController setBlackBackground:YES];
now t...
Hi
am trying to write a network application that would run on an apple itouch i was wounder if any body can help on how to start.
i would like information like ,the sdk,the os, the api, and deploying the application. thanks in advance.
...
Hi there,
I'm using Cocoa Touch to build an iPhone app.
I have an NSMutableArray called stories, that on printing to the console displays something like this:
2009-07-20 12:38:30.541 testapp[4797:20b] (
{
link = "http://www.testing.com";
message = "testing";
username = "test";
},
{
link = "http://www.testing2.c...
Hi all,i am having 3 tabs one is catalog tab,cart tab,seetings tab.When i close my app and once again open it i want my app to be in the same tab and same screen previously when i closed.So how to achive this?Are there any API's for restoring application status.
...
In the XCode project folder (the real one on my hard drive) there's a "Classes-1.moved-aside" folder inside the "Classes" folder. It contains a few files which are also in the "Classes" folder. What's the point of that "Classes-1.moved-aside" folder?
...
Hi -
I'm getting a strange error when assigning a value to one of my objects. As best as I can figure out, the compiler thinks I'm assigning to a read only variable. It gives me "lvalue required as left operand of assignment" on the myPlace.publicLocation... line.
I'm sure it's a classic novice mistake - where am I going wrong?
CSP...
I am digging into OpenGL ES on the iPhone, and I have still no big idea about OpenGL ES and Flash.
About Flash I only know it is capable of making really nice animations and transitions. For best example, lets look at the Ocarina flute for the iPhone. This application makes some simple but powerful animations. It expands little circles ...
I was reading that OpenGL ES can work together with Core Animation. So I wonder if I can re-use some of my hard-worked knowledge on Core Animation when I start doing OpenGL ES stuff...
...
I wonder if that hurts performance. I have an test app which is pretty huge regarding view controllers. Rather than changing just from view A to B, I slide everything around. So I have a root ViewController, which is used for the basic application feature areas. It instantiates other view controllers on demand, puts them into UIView cont...
Hi All,
I want to move the ball image on the desired path lets say a road with a "V" turn with the help of Accelerometer values.I have taken separate image for track with alpha non zero on track. Using alpha values i am calculating next point for the ball. This works fine for the part of the track parallel to X or Y axis.
But i am faci...
When you launch a video and IMMEDIATELY press "Done" the MPMoviePlayerController will exit, however the video still plays in the background (you can hear the audio). It works fine if you allow the video to begin playing before you hit the "Done" button.
Does anybody know a workaround for this?
...
Hello everyone!
Here is my situation. I am creating a landscape based app and doing all my testing on iPhone OS 2.2.1. In one section of the app, the user has to either click a picture using the camera or select a picture from the photo album. Obviously, I used the UIImagePickerController to get this done. But I am facing a very serious...
I have a refresh button on my iphone screen that refreshes a table in the current view.
The screen refresh beautifully, but is there a way I can make the screen dim and then lighten again after the table has refreshed?
...