Hi all,
I am developing a commerce application. When I add an item to the cart, I want to create an effect where an image of the item follows a curve path and ends up at the cart tab. This can be seen in Barnes and Nobles Bookstore app in the App store.
...
I know its possible with boundary fill, but have tried everything in Objective C and I'm still not successful. Any help with code will be highly appreciated.
This code returns the color of the touched pixel:
unsigned char* data = CGBitmapContextGetData (cgctx);
if (data != NULL) {
offset = 4*((w*round(point.y))+round(point.x));
...
I am including a plist file in my iPhone app. It is in binary format (using plutil to convert from xml to binary). I want to run an MD5 checksum (or SHA-1) on it at runtime to confirm its contents are what is expected. Unfortunately, I always get a checksum that's different than what I originally included. After over an hour of assumi...
Hello,
how do I use custom placemarks instead of the standard pins with MapKit
on the iPhone?
Regards
...
i developed an application for iPhone.
i want to install my iPhone. how it is possible..
what is the procedure .
tnx and regards ..
...
I'm writing an iPhone app which seems to run fine on the simulator, however when I try and run it on the device I get a libsqlite3.dylib, file is not of the required architecture error. I'm using os 3.0 on a 3GS. Any ideas on what could be causing this?
Thanks!
...
I was hoping to make use of the sounds that Apple has created for its applications, like the sound that is played when the camera's shutter is fired.
It appears that these sounds aren't available for usage from within the SDK. Is this accurate?
Thanks.
...
I'm trying to find any information I can on the PastryKit Javascript Framework. It appears to be in use on the iPhone User Guide that is displayed on the iPhone itself in Mobile Safari, but I cannot find any documentation or API. If you want to see it in action, open Safari 4, set your user agent to iPhone 3 (In the Develop menu) and che...
Hi
I've been reading three books (iPhone Game Development, iPhone cookbook and beginning iPhone development), but so far I've not found the answer to my question, so I was hoping someone here could help me.
As an example, lets say that I want to have a joystick onscreen, and three buttons.
I need all of these permanently visible on th...
Scenario:
I have a set of CGPaths. They are mostly just lines (i.e. not closed shapes). They are drawn on the screen in a UIView's draw method.
How can I check if the user tapped near one of the paths?
Here's what I had working:
UIGraphincsBeginImageContext(CGPathGetBoundingBox(path));
CGContextRef g = UIGraphicsGetCurrentContext()...
I am making a simple app in which filled circles bounce around the screen. Right now, the speed of the circles is fixed, but I want them to speed up or slow down randomly.
I originally tried to use NSTimer, but I discovered that the time interval could not be made irregular. According to Apple's documentation, with the NSAnimation c...
I'm trying to grope my way through Obj-C to build an iPhone game.
I'd like to build an array of objects for later use. Here's what I tried:
NSMutableArray *positionIcons;
[positionIcons insertObject:annotation atIndex:0];
positionIcons = [NSArray arrayWithObjects:annotation, nil];
The insertObject line leaves the count at 0. Howe...
I've observed similar behavior in an Apple example app and a game I am working on. In the game, the behavior is eventually causing the app to crash due to running out of memory. The example app is Touches.
At any point when touches are being tracked, which is when you're moving one of the objects around in Touches, and pretty much any t...
where can I watch a video or a thumbnail of iphone SDK?
...
I have a WebView that loads a simple html page in my resources folder. The page contains links. When the user touches on a link to a Web site, the iPhone will close my app and open Safari. Since the user may not want to leave my app right now, I use:
-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)reque...
Hi, I have a table that has a title column. I want to search for whole words like foo. so match " hi foo bye" o "foo", but not "foobar" or "hellofoo". Is there a way without changing the table structure to do this? I currently use 3 like queries, but it is too slow, I have " select * from articles where title like '% foo' or title...
After developing in VS.NET for many years, I'm starting to do some Xcode development and I'm very much hard-wired to the VS.NET way of doing things.
I'm not looking for a debate about which environment is better, but some productivity tips when moving from one to the other.
Does anyone have tips, keyboard settings, etc that they found...
I am having a problem with a UIView that when using a solid colour for the background, animates perfectly fine.
However when I set a background image for it's colour instead, the UIView animation doesn't work properly. It looks like a ghost outline of the page curl, but the UIView itself is 100% transparent (If that makes sense).
The i...
I have a UITabBarController which is switching between tabs just fine. The only issue I have is that sometimes it takes up to 3 seconds to respond (call didSelectViewController).
This only occurs when I am switching between pages with quite a few elements, UIViews and UILabels and such. It is instant to respond when it doesn't have any...
Hello,
I trying to use tabbar badges but i have problem ... I have found how to set the badge
but i can't find how to catch the touch event for the tabbaritem so i can delete the badge when the user is on the corresponding tabbaritem
Thanks for your help
...