I have separate files for the UITableViewDataSource and UITableViewDelegate
I am implementing a 'Pull Down to Refresh' feature on a UITableView and wish to send a signal from the UITableViewDataSource to the UITableViewDelegate to stop the loading indicator from turning.
I was wondering what the best way to send a signal between the U...
I have a xml file. That I want to parse with NXXMLParser. I have a basic understanding of how to use NSXMLParser but ive reached this problem were the xml file is using duplicate tags for different reasons.
The xml file looks a little like this.
<member>
<name>billy</name>
<id>1</id>
</member>
<token>
<name>login token<...
I only have one managed object context.
I have modified the managed object store though.
There are certain fields that I would like to add to every managed object. It would take far too much time to add them all one by one to every object in my system, so I decided to add them programmatically to the managed object model. In the appli...
I have an UIView in which I draw texts using drawAtPoint:withFont:. Now I want users be able to select the texts by touch-and-hold, the same way as with UITextField or UITextView. I can draw selection rectangle without problem, however, I cannot find anywhere in documentation describing how to display the tracker (two blue bars) allowing...
HI All,
I currently have an NSFetchedResultsController setup to return all rows in a table in my core data database. This then fills up my UITableView. The trouble is this will quickly get out of hand as the rows grow in number.
How can I limit the initial query to say 20 results, then add a button somewhere to "Get More" from where we...
I am modifying a rails server to handle binary plist from an iPhone client via POST and PUT requests. The content type for text plist is text/plist, as far as I can tell. I would like the server to handle both text and binary plists, so I would like to distinguish between the two forms. What is the content type for binary plist?
...
Hello.
I'm making an Opengl ES application and I am trying to work out how to incorporate parts of the UIKit GUI over the view with the OpenGL ES working on it.
In the init method of the EAGLView class I have this to setup the UITextField:
add_name_field = [[UITextField alloc] initWithFrame: CGRectMake(10, 10, [UIScreen mainScreen].bo...
After getting pretty far along with a jQTouch web application for our website, my boss and I decided we may as well just make a true iPhone app instead of struggling with sloppy flickering animations and login authentication issues. We currently have a fully functional web site with some SOAP web services, but we are looking at rewriting...
Hi,
I am having trouble passing data from a childView to the parentView inside a navigationController when the user click on the back button.
I tried using the viewWillDisappear and it is not being called.
Any ideias?
...
hi, can anybody figure out why this is not working?? With the following code implemented text only appears in the first component but not in the second..... Thanks very much!
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view
{
UILabel *lbl = (UILa...
Hi,
I am trying to create a 1-2 second splashcreen for my application using a modal view controller however when i try to dismiss the view my application crashes with a bad access error. So in my application delegate i have:
- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ...
I'd like to control an instance of AVAudioPlayer from a UITableView item in a didSelectRowAtIndexPath instance.
First touch of the row item triggers 'play' of the AVAudioPlayer. Second touch of the row item triggers 'stop' of the AVAudioPlayer.
I can make the 'play' work but can't get the 'stop' to work. Also, subsequent touches of t...
Hey,
I'm building a multiplayer game app. The user will be have to connect to the intenet to use the app.
I want to force the user to update the app if there is an update avilable on the app store, or he can't log in and play. Is there an API for what user's version? Also, will Apple agree to this like that - you must have an updated ap...
I need to mix two simultaneous looping m4a sounds for my application, and the only 100% reliable loop method i have come accross is using AudioQueue with this method: http://developer.apple.com/mac/library/qa/qa2009/qa1636.html
However, when I initialize two instances of AudioQueue, I can only seem to get one instance playing. I know th...
Possible Duplicate:
Can't remove Default.png?
I am using Xcode 4, but I am sure the issue does not pertain to this specific IDE.
I have set a "Default.png" using the organizer, but I would like to remove it.
At the time I had already created an image in my project which was no longer being used, instead replaced by the image...
For some reason I can't find this information anywhere. I'm looking to figure out best practices for how to design and architect Facebook integration into an iPhone app that also has a cloud service backing it for my own (non-facebook) data.
Specifically, assume a user is going to authorize Facebook access in my iPhone app and I want t...
Hi everyone.
I've been struggling with this for a while and have not found a solution.
I'm resizing a UIWebView using animations through beginAnimations: and commitAnimations. All goes well, except for when the resizing tries to make the UIWebView larger.
Let me make this clearer. Suppose the current frame of my UIWebView is (0, 0, 32...
I'm in the process of learning and designing an app for our company. At its heart, it has a list of "alarms" which when clicked on, goes to a more detailed view with a toolbar to perform tasks upon that "alarm".
I'm having a devil of a time working out how to structure this application. I have something that works currently (i'll explai...
So I have an app. On the mainWindow I have 1 button. When that button is pushed i want it to open up a completely separate file and start a navigation controller. How can I achieve this all the sample code that I look at base the view controller out of the app delegate.
Basically what I want to do is create something like the facebook ...
Hi
I would like to ask i have successfully make segments of .mp4 file using mediafilesegmenter by using command
mediafilesegmenter -f Sites/stream Sites/song.mp4
But when i am giving another extension like Flv, Mp3, OGG , It wont allow me to do it. How can i do it? Can anyone help me in this regard...
Should i have to convert it to .mp...