iphone

UIimageViewcontrollerproblem

Hello, I have a problem... In my view i have Image.If i click on image is go to nextView. Please help in this issue ...

Ordering a list of NSStrings in NSMutableArray?

Is it possible to order an NSMutableArray where it's values are NSStrings? I'm looking to order alphabetically. Thanks ...

How to serialize object containing NSData?

I'm trying to serialize an object containing a number of data fields...where one of the fields is of datatype NSData which won't serialize. I've followed instructions at http://www.isolated.se but my code (see below) results in the error "[NSConcreteData data]: unrecognized selector sent to instance...". How do I serialize my object? He...

iphone project configurations and active sdk targets

I'd really like to have the various iphone configurations each targeting it's own sdk; right now I've set them up in this way: simulation : base sdk -> iphone simulator 3.0, no code signing debugging : base sdk -> iphone os 3.0, signed with provisioning certificate distribution: base sdk -> iphone os 3.0, signed with distribution cer...

iPhone 3rd Party Controls?

I was wondering if there are any 3rd party controls for use with the iPhone that are available, even better if usable from Interface Builder. From what I can gather, the answer is no. I come from a Microsoft .NET background where of course there are tons of controls available from 3rd parties. I'm curious if this is a general Mac develo...

Opening a View with a Table without a NavigationController

Hiya, I'm pretty new to developing with Cocoa Touch/XCode and I came across a problem. I'm making a sort of RSS reader for a newssite and I have 5 views of tables navigated with 5 tabs in a TabBarController. If someone selects a newsitem I want another view to open showing the complete newsitem. My problem is that it won't work. This ...

How to get tabs like zipcar app?

In the demo http://www.youtube.com/watch?v=TQ2EZ_tWsGc at about :22, he clicks the bottom tabbar and a new view slides up. It has three tabs at the top. How do you get the three little tabs working in the "Find car by" view? Also, how did they create the little tab where the "Find car by" text sits? It is sticking out on its own from...

NSoperation and key value observing

Hello guys! I am creating a MyOperation object (inherited from NSOperation) and add to a NSOperationQueue. Then I am doing KVO on MyOperation. I am using this method - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context; to get a value from MyOperation if it is fi...

NSDateFormatter only works on simulator?

Hey all, i simple try to reformat a date: NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; NSDate *date = [[NSData alloc] init]; //Mon, 05 Apr 2010 14:27:48 -0700 [formatter setDateFormat:@"E, dd MMM yyyy HH:mm:ss Z"]; date = [formatter dateFromString:self.currentItemValue]; [formatter setDateFormat:@"yyyy-MM...

AVAudioPlayer slow buffering over HTTP

Hi! When Im using AvAudioPlayer (Iphone) for streaming music from http it takes about 7 seconds until it starts playing. If Im using AudioQueue (about 8 buffers) instead the number of seconds is about 3 for the same song. Is this because AvAudioPlayer is using a larger buffer internally? Is there any way of speeding up AvAudioPlayer? ...

iPhone App too large for SpringBoard to launch?

I created an iPhone app that has almost 500MB of data. But the problem is SpringBoard keeps crashing when trying to run it. It runs fine without the 500MB of data so I'm guessing I am packaging the data wrong. I placed all the files under the resources in folders. Only one piece of data is called at anytime in my program, so I don't know...

iPhone, memory / autorelease objects.

I am a little concerned about building up a large amount of autoreleased objects on the iPhone. My application is only simple so it should not be an issue, but I just wanted to check that methods (like below) are correct and acceptable -(NSNumber *)numberFromCore { NSNumber *removedNumber = [[dataCore objectAtIndex:0] retain]; [...

zLib on iPhone, stop at first BLOCK

I am trying to call iPhone zLib to decompress the zlib stream from our HTTP based server, but the code always stop after finishing the first zlib block. Obviously, iPhone SDK is using the standard open Zlib. My doubt is that the parameter for inflateInit2 is not appropriate here. I spent lots of time reading the zlib manual, but it is...

UIViewController in NSObject not presenting when calling presentModalViewController

Hi, i'm new with iPhone developpement and i try to lunch a UIviewController when the user pressed a button witch will allow the user too send an email. So my AppControler is a NSObject witch contains a UIWindow and a UIViewController* myViewController When i detect the click on the button i create this: MFMailComposeViewController *p...

Webrowser which emulates the iPhone browser

On the Mac I got the iPhone Simulator but under Windows and Linux enviroments I need a webbrowser which emulates the behaviour and size of the iPhone browser. I'm not looking for a website with a frame with the iPhone screen size but an actual application. Prefably webkit based so it will behave as much like the iPhone as possible. It sh...

Clearing "may not respond" warnings for UIView and UIViewController

In an iPad app, I'm using a custom subclass of UIView with UIViewController. Here's the view header: @interface pdfView : UIView { CGPDFDocumentRef doc; } -(void)setDoc:(CGPDFDocumentRef)newDoc; @end And here's the controller header: @interface iPadPDFTestViewController : UIViewController { CGPDFDocumentRef doc; } - (void)...

iPhone APP - native versus external

Hello I am contracting a company to develop an iPhone APP. Here is the issue: part of the APP will deal with signatures that are sent via text message from user to user. I have been told that the native iphone OS is closed and that can't be modified so the only solution to is to build a completely new SMS APP using tools such as phone...

iPhone app: How to implement in-app purchased game levels

So, I understand that it's possible to set up in-app purchases for iPhone apps to purchase non-consumables like game levels. I understand the logic behind the purchase part, but what I don't understand is, how can I deliver the new game level. For example: I build an app that contains the first level and they purchase additional levels....

How to efficiently save changes made in UI/main thread with Core Data?

So, there have been several posts here about importing and saving data from an external data source into Core Data. Apple documents a reasonable pattern for this: "import and save on background thread, merge saved objects to main thread." All fine and good. I have a related but different problem: the user is modifying data in the UI and...

iphone facebook framework integration.

Hi I'm able to successfully integrate iphone app with facebook framework. But I need small change to be done. Please see the URL "http://beanstalkcreative.com/screenshots/Facebook_|_Sample_Sampleson-20100407-122254.jpg", if you see the image in above URL, it shows "via MMA_app". I want to change this text to some other name. How can I do...