How can I add Core Animation framework to my Xcode project?
I just can't find that framework for adding it. Any ideas? ...
I just can't find that framework for adding it. Any ideas? ...
Hey guys, Does anyone know what made Apple leave out NSAttributedString when turning AppKit into UIKit? The reason I ask is that I would really like to use it in my iPhone app, and there appears to be no replacement or alternative than doing it myself... It is possible to have mixed font attributes on a string - it's just a hell of a ...
Like I understand it, if I would take the View XIB, I had an Content View where I can put UI control elements inside. But what's an Window then? Isn't that pretty much the same thing? ...
I wonder why that file extension is called "nib" or "xib". I guess that the "ib" in "nib" is "Interface Builder". But the n? Or the x? Any idea? ...
I want to invisible some text which is show by leble.I can invisible using this ( leblename.visible = NO; ).But some time it's create problem when i call different screen.I need different way for invisible leble text which is not create this type of problem. ...
Hi ppl.. What I have is a basic 4 tabbar setup with different viewControllers. I have a settings tab that updates a .plist file with the correct settings. I need tab 1 to update it's on labels, either from the settings tab or on didSelectViewController on the 1 tab. But how do I do this, can't get it to work? The only thing I have had...
I'd like to make a URL click able in the email app. The problem is that a parameterized URL breaks this because of "&" in the URL. The body variable below is the problem line. Both versions of "body" are incorrect. Once the email app opens, text stops at "...link:". What is needed to encode the ampersand? NSString *subject = @"This...
I have participated in the iPhone Developer Program. I can debug my application through Mac over the iPhone. For some reasons I need to be able to test the same application on another iPhone using Windows. Is there a way to achieve this? How do I deploy the application from Windows? Any pointers will be highly appreciated. ...
Hi all, I would like to implement the following. When the user rotates the iPhone, I want to instantiate a new UIViewController (automatically upon rotation, not clicking a button or performing a similar action) and show to the user a view handled by this new UIViewController in landscape orientation. How to do this properly ? I tried ...
I have a bunch of small png images with about 45 x 45 pixels of size. not really big ones. there are about 40 of them right now. I want that the user can select one of them as his avatar image. For this, I created an brand new view with an controller class. Now the problem is: How to display all those images to the user? There's no "bi...
Hello, I have an UIScrollView which contains 3 UIWebview. The problem is that my webview no more scroll on touch. Do you have an idea ? Thanks Thierry ...
I have: - an AppDelegate class - two viewController classes - three nib files (MainWindow.xib, firstView.xib, secondView.xib) I want: The secondView.xib should have an UIScrollView inside, so that I can add a lot of stuff to the view and it can be scrolled down. Where would I have to conform to the UIScrollViewDelegate protocol now? I ...
That's strange, since apple says that there is somewhere an main function. But I really can't find any. It should look somehow like this: #import <UIKit/UIKit.h> int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, nil); [pool releas...
Hi, I can't find a cause for a memory leak in my application. I found out that there is a memory leak through instruments and than more times I call the function than more memory leaks occurs. So it is obvious that a memory leak takes place. Here is my code. Object: @interface WordObject : NSObject { int word_id; NSString *word...
Is there any reason why you shouldn't use the "-std=c99" flag for compiling Objective-C programs on Mac? The one feature in C99 that I really like is the ability to declare variables anywhere in code, rather than just at the top of methods, but does this flag causes any problems or create incompatibilities for iPhone or Cocoa apps? ...
If i want to extend a class like AVAudioPlayer, whats the best way to also add another method to AVAudioPlayerDelegate ?. Do I make a category for it, do I extend it? If I extend it do I then also have to make sure to overwrite the actual delegate getter/setter ? How would I extend the protocol ? The following gives me errors @prot...
I'm using NSURLConnection as listed below. I have three questions about this class. When I concatenate the url value, the debugger hits this line twice but not the line above it: if (theConnection){ The second time I get EXC_BAD_ACCESS. Using the first url assignment (commented out) works fine. 1.) What's the difference? - (void...
I doing a project where i need to use highlighted table view color not default. ...
Hi, I can't seem to find any help when I search via Google, so I guess it's time to ask the experts directly! I've got an iPod Touch which I'm using as a development device for an application that I'm producing. The first thing I did with my iPod Touch was connect it up and install my app. But when I try and install downloaded apps fr...
i have two viewcontroller one support orientation another not,but when i rotate in second viewcontroller (support orientation)to landscape,and back to first viewcontroller(not support orientation) at the mean time second view still remain landscape it will change the first view become landscape as well but it not suppose to be landscape ...