Is it possible to update a file stored in an applications bundle programmatically?
Basically I want to get a remote file and overwrite one of the bundle files with it (a sqlite database in fact).
This works fine on the simulator but on the device it does not work, though it does not error either (it just doesn't seem to actually overwr...
I want to play multiple songs with single object of AVAudioplayer, I put songs List in scrollview, when user tap on list player view is open but when user go back for other song player play both songs simanteniosly . what I Can do to fix this?
...
A quick question, I am setting a delegate for UITableView and I have a question regarding setting the delegate and dataSource properties. I have noticed that the properties for delegate and dataSource are not available, I was thinking that adopting the protocols would make them available. But I am now thinking that I maybe have the supe...
What is the difference between two snippets?
[myObj release];
and
[myObj release];
myObj = nil;
...
Hello guys,
I'm in the middle of development of a client-server "socializing" that is supposed to run on several mobile devices. The project is pretty complex, involving networking, exchanging media, using geolocation services, and nice user UI.
In terms of development efforts, technical risks and extensibility what is the best platfor...
I'm implementing core data in my iphone app. It has two entities.
Entity1: LatestData
Entity2: LatestDetailedData
LatestData has URL, publishedDate, heading
LatestDetailedData has URL, NewsDescription, PublishedDate, Author
Both entities have same URL for a record.
Both the entities are connected with inverse relation ship. And the rel...
What is the use of viewDidUnload and didReceiveMemoryWarning methods?
When they actually get called?
what are the difference between dealloc, viewDidUnload and didrecievedmemorywarning?
...
Hi,
In my application I m using following codes to crop the captured image :-
-(void)imagePickerController:(UIImagePickerController *) picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
#ifdef _DEBUG
NSLog(@"frmSkinImage-imagePickerController-Start");
#endif
imageView.image = [info objectForKey:@"UIImagePickerContr...
Hi all ,
I am developing an iPhone application in which I needs to implement a Coverflow component.
I got a good library from here
It is working nicely .
Now I want to show a different back view with 6 buttons when a user double taps on the image in the coverflow .
For that the tapkulibrary author has implemented a delegate method...
my attempt to init an array with a number of bool values using:
[myArray initWithObjects:[NSNumber numberWithBool:YES],
[NSNumber numberWithBool:YES],
[NSNumber numberWithBool:YES],
nil];
seems to fail since the debugger shows an empty array after this statem...
I have an UISegmentedControl with two buttons. I want each button of control to have specific color of borders and title.
Is is possible and if yes how it can be archived?
...
Hi,
I am trying to navigate to a different view in the detailview of the splitviewcontroller. I dont want the new view to display in the split view.
I am using this code to change views. This works ok in portrait orientation, but in landscape the split view table view still appears. Can anyone help with this?
Next *any = [[Next al...
Hi All,
I'm looking to create quite a basic app with a very simple navigation system but each of the tutorials I've come across so far go into too much depth or just involve lots of different form elements. I want to keep it as straight forward and simple as I can.
If anyone knows of any tutorials that can show me how to create a root ...
hi,
I m stuck in a really simple problem. And i m afraid my question might annoy some people.
The problem i am facing in short is that i want to add UITabBar Control to my iphone application other than the main screen.
Let me explain, I have done everything successfully
Added UItabbar control from IB in the main window's xib, added a ...
Is there a tool with which I can click on a window and the tool will tell me which process that window belongs to ?
Explanation:
I was working in Xcode 3.2.3 for iPhone OS 4.0beta3.
Wanted to install old Xcode (all old SDKs got removed with beta3).
Didn't want to waste time so I kept working in new Xcode for iPhone OS 4.0beta3 while d...
Here is how I can get the value:
NSString *path = [[NSBundle mainBundle] pathForResource:@"myPlist" ofType:@"plist"];
NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path];
NSArray *tempArray = [dict valueForKey:@"2"];
NSString *myTarget = [tempArray objectAtIndex:0];
the "myTarget" is something I want to replace wi...
Is it possible to force the call out bubble to be open all the time? I tried putting the following code in didAddAnnotionViews:
for (id<MKAnnotation> currentAnnotation in mapView.annotations) {
[mapView selectAnnotation:currentAnnotation animated:NO];
}
Which works, however, when I single tap the MKMapView the bubble dis...
Hi,
I am trying color a wavefront OBJ 3D model using a PNG file on iPhone 3G. The model is superimposed on a background and the PNG file is extracted from the background image. I notice that the blending could be better, though the texture parameters seem to work fine. I have given the code below. Any pointers as to which other paramete...
Hi Everyone,
I've currently got a UITabBar with 5 screens calling UIViews. That part works fine but I want to put in a UINavigationController in a couple of them. I have found a few tutorials that work fine but all of them implement it in IB and I want to avoid that if possible.
I'm lost as to where to implement the UINavigationContro...
Hi,
I am developing an application for iPhone.I am using some objective c++ classes with .h and .mm extensions.My problem is that when i am trying to access a method in .mm file from .m file i am geting a warning that "No '-methodname' found".how can i resolve this warnings
Thanks in advance
...