iphone

How to remove subview loaded from another window/view? iPhone SDK

EDIT: I had set the overlay view to 460px high, not 480. New question: How do you remove a subview loaded to another window/view? ...

Playing multiple MP3 songs simultaneously on iPhone

Hello ! I would like to do a mixing table on iPhone. I have the different tracks of one song and I want to play them on iPhone simultaneously. These songs are MP3 files, I want to be able to play up to 15 tracks simultaneously, and changing volume, muting some tracks, navigating in the total song, etc. Apple MultichannelMixer example ...

delete row from uitableview crashes

Hi all I simply try to delete a row from a uitableview with the following code: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) { [self.tableView deleteRowsAtInde...

Does the performance of saving a ManagedObjectContext depend on the number of contained (unchanged) objects?

A general CoreData/SQLite question Is there a significant difference between these two scenarios when saving a NSManagedObjectContext using an SQLite store: After adding/changing/deleting one object in a NSManagedObjectContext containing 10 otherwise unchanged NSManagedObjects After adding/changing/deleting one object in a NSManagedOb...

Recieving notifications from APNs in iPhone applicationg without provisioning profile.

Task: have a jailbroken iPhone need to write an application which would receive notifications from APNs Problem: after running the application on iPhone program shows an error: "no valid apps-environment entitlement string found for application" (at registerForRemoteNotificationTypes- call i suppose). As I've understood the problem s...

Streaming .mov memory issue

I've recently posted a question regarding MPMoviePlayerController and issues I have been having with getting movies to stream on anything pre 3GS or iPod touch 2G, for what I believe was an issue with too little memory. I have now investigated a bit more and run it through Instruments, which has revealed weird memory usage, even after t...

NSXML Parser width a searchBar

Hi, I tried to find some ressources for creating an XML parser with a searchBar. Any Idea? Thanks a lot ...

Why my NSDate Formatter can't convert correctly and returns null on device?

I have an NSDate Formatter that should create an NSDate from string and should return it formated. The problem is that the result of converting from String to NSDate is wrong, the bigger problem is that on iPhone OS 3.1.2 it returns null while in the simulator it returns a wrong date. //start formating date NSMutableString *rawNewsDate ...

How to release the memory in Master View Controller(First View Controller) in the application?

While we returning back to the 2nd view controller to main view controller, The Dealloc method is called and all the allocated memory is released of that view controller that is 2nd view controller. Then when will the dealloc method is called of Master View Controller that is First view contoller. ...

uitabbarcontroller + uitableviewcontroller + uiviewcontroller

I'm using the code extracted from the URL http://www.iphonemusings.com/2009/01/iphone-programming-tutorial-creating.html to show initial screen with tab bar and having table view in both the tabs. It is displaying the text in cells as well after taking necessary changes in table view delegate. Now I want to show a view on click of table ...

UISearchBar Scope Button Color / Formatting

Hi there Simple and short: How do I change the color / textcolor / font etc. of a "Scope Button"? Is there a way at all or do i have to re-implement the whole thing all by myself? thanks in advance sam ...

dequeueReusableCellWithIdentifier after resolving memoryleaks

Hello, I found a memoryleak using instruments in one of my TableView, exactly at the line: [[NSBundle mainBundle] loadNibNamed:@"ShopListCell" owner:self options:NULL]; The Identifier from the nib ShopListCell wasn't correct with the CellIdentifier. Now, I don't have memory-leaks, but my UITableViewCells have their own-life :-) I'm...

Buffer overflow or Race Condition with multiple NSInputStream, NSOutputStream and NSURLConnection?

Hi, I have a strange problem with some multiple input/output streams and NSURLConnection: First I open each one NSInputStream and NSOutputStream. They are communicating with a socket connection. After some communication I open a second socket connection. After that I need to connect to a web server by using NSURLConnection. After the c...

Any way to pre populate core data?

Hi all, ive been creating a list app and backing it with core data. I would like to have a default list of say 10 airport items so that the user doesnt have to start from scratch. Is there any way to do this? Any help is appreciated. Thanks in advance. ...

iPhone SOAP Web Services - Sample code on how to use the parsed code from wsdl2objc?

Hello, Is there any other documentation available at wsdl2objc besides the Usage Instructions?. The documentation is very limited, it may be because I have never used a wsdl parser before, in that case does anyone have any recommending reading for this?. If someone could please provide some sample code or link to a tutorial, on how to ...

NSSortDescriptor for NSFetchRequestController causes crash when value of sorted attribute is changed

I have an Core Data Entity with a number of attributes, which include amount(float), categoryTotal(float) and category(string) The initial ViewController uses a FethchedResultsController to retrieve the entities, and sorts them based on the category and then the categoryTotal. No problems so far. NSManagedObjectContext *moc = [self ma...

How to implement views to the pagecontrol

Hello! I'm about to create an App. It should have 3 main pages. So I thougt i realize this with a PageControl. I crated 3 Views and now i stuck on the implementation of this PageControl. Has anyone a good tutorial or a examplecode where i can look at (it can be german too)? Thanks, Michael ...

variable out of scope between view controllers

Hi, I am working on a navigation based iphone application. I have some information I want to pass on when I push a new view controller on the stack, say myObject. So: aViewController *vc = [[aViewController alloc] initwith....]; vc.object = myObject //myObject is defined in the current view controller [self.navigationController pushView...

How to add locationPreview icon of the certain location in iPhone app?

Hi guys, I was wondering if it is possible to add an icon (or image) with selected location like it is shown on the attached picture (left top corner) to my app? Maybe such an image could somehow be captured from Google or there is another way to deal with it? Any idea? ...

Partialy clip subviews

I am trying to get a UIView to clip to subviews but not entirely. I mean like an alpha change, outside the bounds Edit: I want this to be like the keynote mask feature for an image in the iPad. ...