This is an iPhone programming question.
How to limit a UIImageView to move in a specific path?
The path is a circle, and I want the UIImageView to follow exactly the perimeter of the circle. How can I achieve it?
...
Hi Folks , Here is Jagadeesh, New to the Iphone Development Platform , i need to know the Difference among the Templates for our Applications( like we have Navigation, view, window, Open Gl, Tab Bar, Utility type application)over there and there is a small description at the bottom of the pane , can anyone let me know the Complete descr...
Hi there,
I need a toolbar like "panel" that could contain text fields and buttons, just like a toolbar you can define its width and height and its position. And you can put the elements you want into the "toolbar".
Like the following:
Any clues?
...
Hi,
I have following code which is called numerous times:
NSString *Final = [ NSString stringWithFormat:@"%@%@%@%@.%@%@", str1, str2, str3, str4, str5, str6];
Every once a while Final string is set to nil, while str1 ... to str6 are perfectly valid string (I have verified in debugger)!
I had this code originally, but every once a ...
Is the following true?
When the app is about to quit, it's
not necessary to clean up the memory
by calling release on all your
retained objects, because the iPhone
OS will reclaim the memory it
allocated for your app when you
launched it. This is faster and safer
than rely on the apps to correctly
clean up after thems...
Hai all,
In my iphone project i need to pass the user name and password to a web server,previously i pass data using GET method and used the url with GET format (eg: localhost:8888/login?userName=admin&password=password ) but now i need to sent this as a POST data,
can any one help me to find what wrong in this code below ?
code i tr...
I need to mask a whole animation that takes place in a UIImageView. I tried subclassing the UIImageView and doing the masking in its drawRect call but that doesn't get called on every frame of the animation as I expected (it doesn't get called at all actually) even though the animation plays fine.
Anyone has any experience on this?
...
I've written an application that synchronizes calendar from Lotus Notes to the iphone (using MS Outlook as conduit) and I want to tell iTunes to push the changes onto the iphone.
I can do this just fine using the COM interface (IITIpodSource.UpdateIpod) but the problem is that this method return immediately when it starts the synchroniz...
Hello to everyone,
I cannot understanding why values assign to array objects become "disordered" after executing executeFetchRequest. Well, I'm not certain that fetching is the problem here. Here's the code.
objects=[NSArray arrayWithObjects:@"a",@"b",@"c",@"d",@"e",nil];
NSManagedObject *DB = nil;
for (int i=0;i<[objects count];i+...
Hello guys,
I'm trying to use dateFromString method from NSDateFormatter but it somehow doesn't work for me. I made a test case to show my problem:
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
[dateFormatter setDateFormat:@"EEE, d MMM yyyy HH:MM"];
NSString *kkk = @"Thu, 15 Oct 2009 10:00";
NSString *t...
Hi Fellas
I am iphone application developer, I am just new into it. At work i use Mac for development which is quite obvious, but at home i have windows operating system. Is there any way to open iphone project codes like .h and .m files on windows through some converter n all? Coz at times i wish like going through codes back at home t...
When I select "Shake Gesture" from the Hardware menu in the iPhone simulator, my first responder always receives two shake events (with a few milliseconds in between).
Unfortunately these two events in the simulator lead to a problem with an UIScrollview that should scroll to a specific position - what it does, but only for the first ev...
I've been using OpenGL ES 1.1 on the iPhone for 10 months, and in that time there is one seemingly simple task I have been unable to do: programmatically fade a textured object. To keep it simple: how can I alpha fade, under code control, a simple 2D triangle that has a texture (with alpha) applied to it. I would like to fade it in/out w...
I want to store some coordinates on a text files that correspond to an image array i will call out on my apps. Is it possible to write it in a notepad and save it as a .txt and be able to read in xcode the coordinates written inside or do i have to use plist format for that?
thank you.
...
Hi Everyone,
I have three view controllers, one root controller, one login view controller and one customers view controller. I want to pass the entered username and password in login view controller to the customers view controller. My files and code is displayed below, could you please guide me, how can access to variables set in the ...
NSDictionary *topic = [spaces objectAtIndex:i];
NSInteger topicid = [topic valueForKey:@"TOPICID"];
when I run this and print out topic I get the following:
Printing description of topic:
<CFDictionary 0xdb2a70 [0x30307a00]>{type = mutable, count = 2, capacity = 12, pairs = (
10 : <CFString 0xdb5300 [0x30307a00]>{contents = "TOP...
I need to play frame based animations. I tried the UIImageView with animationImages but it doesn't give me any control over my animation. I can't pause it, I can't mask it, I can't know the current frame etc.
So I subclassed UIView and created something I called AnimationView which takes the array of images and does the animation using ...
For example I have a game with a menu screen and then I have the game itself. I want the timer disabled whilst playing the game but enabled when in the menu screen. I currently have the following code in my app delegate that disables the timer:
application.idleTimerDisabled = YES;
Any help would be appreciated.
...
Is there any way to uuencode data in the iPhone SDK? An API call or perhaps a library?
...
I am unable to populate the previewData NSMutableArray with this code. XML request is successfully retrieved, parsed but I am unable to populate the previewData array for tableviewController.
PreviewsController.h code:
#import <UIKit/UIKit.h>
@interface PreviewsController : UIViewController
<UITableViewDelegate, UITableViewDataSo...