ios

iOS trouble with changing launch view

Hello all, So I have a functional search app that searches through our company directory. Right now the launch screen goes right too the table with a toolbar to search. I want to modify the interface to launch to a google-esque view with just a simple search bar. I have created a new view and viewController but when I try to add it t...

Second touch after UILongPressGestureRecognizer has began

I'm using UILongPressGestureRecognizer and when I use one finger it works properly. When I lay down a second finger this is not captured by the recognizer, the delegate keeps being called but only with the first touch, [recognizer numberOfTouches] is always 1. If I set [recognizer setNumberOfTouchesRequired:2] it also works properly, I ...

Endless UITableview Section

Hi, I have a table view with one section. I pull the data down from the internet in small chunks asynchronously in the background. The problem I have is I don't know how many records there will be in total. When the web service stops returning data I know I have them all, in some cases the rows might be infinite. The method: -(NSI...

What is the proper way to be notified of a Core Data model object being restored after a deletion?

I've got an elegant system set up using Core Data where any time a property of a model object is changed it is automatically reflected in its associated view using key-value observing but I have ran into a problem using undo. The problem occurs when I have deleted a model object. The associated view is destroyed along with all the key-v...

iOS Application Terminates After Exception Thrown in UITableViewDataSource Method

Having meticulously followed the examples and instructions in the Table View Programming Guide for iOS about the proper order in which UITableView delegate and data source methods are called, I thought I had a good idea of how to implement the “handshake” shown in Figure 7-1 and the list that follows, but apparently not. Here's the code...

Download queue in iPhone

What's the best way to implement a download queue in iPhone? Can this be done with the ASIHTTPRequest library? ...

How can I store the song the user chose in my iPhone app and later retrieve it and play it?

Hello. I'm diving into iOS development and have been slowly building my own alarm clock app to learn how to develop on the platform. I want my alarm clock to allow me to display a list of songs on my iOS device, choose only one, and have it play when the alarm fires. I've figured out how to use the MPMediaPicker to display the list of...

Show same points of interest in MKMapView as in the Maps application?

If you look at a location in a MKMapView and in the Maps application, the maps app has a lot more points of interest. Is there a way to get the same items to show up in an MKMapView? Here is an example: http://drp.ly/1CJWbm ...

iPhone storage in tmp directory

Hi everybody, I have a question from this stackoverflow question about iPhone storage. Like I already tried to answer, we can cache data in tmp directory. But a comment says that the data can be deleted when OS whimp. I don't understand exactly the problem that the comment says. I want to ask if the process of OS deleting tmp director...

Is UITextView enough for a simple writing app?

Hi, I'm trying to make a simple writing program, like Notes app for iPad, with a custom keyboard. From OmniGroup's text editor open sources, I learned that UITextInput is mainly required to develop great text editor capable of having several fonts and size in one editor. But it seemed tough to implement a lot of methods in UITextInput Pr...

Send UITouches over a network

I am building an app which allows a user to draw on the screen. I'd like to add network capability so that user A can draw on user B's screen. My current plan is to build a system where I have my own UserOrNetworkTouch object which can be created based on either a real UITouch, or a message which comes over the network, and base all of t...

Developing RSS reader for iOS?

I like to make an app that reads articles from a website ad RSS or JSON. What method do I use to grab the XML or JSON to my app? How do I tell when the data is available locally? Thanks. Edit: I'm using Objective-c for iOS. I need code for iOS please. ...

Need iPhone Human Interface Tutorial!!!

I have just spent little time with iOS. Anybody can tell me how to construct a nice Human Interface in iPhone. Give me advices, tutorials or something help me to learn how to construct a nice iPhone Human Interface. Thanks:) ...

Drawing imagedata from data set of integers on an iPad using OpenGL

I'm trying to draw an image using OpenGL in a project for iPad. The image data: A data blob of UInt8 that represents the grayscale value for each pixel in three dimensions (I'm going to draw slices from the 3D-body). I also have information on height and width for the image. My current (unsuccessful) approach is to use it as a texture ...

Looking for the better way to make a kind of PDF reader w/ iOS 3+

Hi, I'm trying to make an iPhone application which can read PDFs in full screen and follow links on PDFs, but I can't find the right way to do it. First, I tried to use an UIWebView to read the PDF file, but it doesn't work exactly as I wanted (I was'nt able to fix the link problem). The second solution was to use the Quartz API to re...

Transition behavior using transitionFromView and transitionWithView

Hi, I am attempting to create a transition between two subviews (view1 and view2). When a button is pressed I want view1 (front) to flip and show view2 (back). I have tried both transitionFromView and transitionWithView. Each works - but each has a problem. transitionFromView - flips the superview (the whole window view flips, not the...

UISegmentedControl like in the AppStore app

How can I get a UISegmentedControl (I think it is one) like in the AppStore app after you chose a category in the categories tab. I do NOT mean a UISegmentedControl on a navigation bar but underneath a navigation bar (see screenshot). http://i.imgur.com/jnY7a.png update: I just found this question: http://stackoverflow.com/questions/2...

UITextField not showing when added as subview.

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...

Issue when resizing UIWebView using animation

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...

Does an In App Purchase's Product ID have to begin with a Reverse-DNS?

Does an In App Purchase's Product ID have to begin with a Reverse-DNS like com.mycompany.My_Awesome_Game.Level_Pack_1 or can it just be standalone like Level_Pack_1? ...