iphone

Updating UIView subclass contents

Hi; I am trying to update a UIView subclass to draw individual pixels (rectangles) after calculating if they are in the mandelbrot set. I am using the following code but am getting a blank screen: //drawingView.h ... -(void)drawRect:(CGRect)rect{ CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSetRGBFillCol...

How to integrate FFTW3 into an iPhone app?

I'm trying to integrate the FFTW3 (a GNU FFT library written in C, http://www.fftw.org/) into an iPhone app. I downloaded the source code and I found there are hundreds of .h and .c files along with a lot of other files I can't recognize. I'm not a linux expert so I don't really understand how the .configure file and other similar files ...

How to Get Search Bar in Tableview to Appear When User Taps Search Icon at the top of sectionIndex scroll bar?

I have a tableview with an indexed scrollbar on the right side that shows the letters A-Z and has a magnifying glass icon at the top ({search}). All of the letters in the scrollbar appropriately take the user to the corresponding section except for the magnifying glass, which takes the user to "A" and keeps the searchBar hidden. I just...

Animating multiple UIViews at once using CoreAnimation

Hi, I'm using a UIImageView as a background-image and placed multiple UIButtons on it. Now I want to move the UIImageView (with all the buttons on it) out of sight with a smooth animation (using CoreAnimation). I couldn't find a container or grouping element in IB, so is there a way to move all the Views at once? Thank you in advance a...

Using UIKit from C/C++

The questions might have been already asked, but I want to understand if iPhone's frameworks limited only to Objective-C use or it could also be accessed from C/C++ code? For example, is it possible to use standard iPhone controls from C/C++ code? Are standard classes like NSArray, NSSet accessible from C/C++ code? If they are, could a...

Updating parent table after child update in uinvaigationcontroller

So you have UINavigationController, with a parent table which has one cell --------------- | paul > | --------------- And you click on it and get a screen which has textfields that you enter --------------- | name: paul | --------------- | age: 23 | --------------- | hair: brown | --------------- | etc | ----------...

iPhone producing strange results on 'if' statement

I have a UIPicker where the user inputs a specified time (i.e. 13:00, 13:01, 13:02, etc.) - which determines their score. Once they hit the button an alert comes up with the score that is determined through this 'if-else' statement. Everything seems to work great MOST of the time - but I am getting some erratic behavior. This is the c...

how to move label text to centre of the label programatically

i have a cell in which 2 labels are present,i want to move top label to align centre and label to to disappear ,how can i do it ... please any one help me.... ...

Set the thumbImage and watch the slider-bar disappear?

[sld1 setThumbImage:[UIImage imageNamed:@"Blue.png"] forState:UIControlStateHighlighted]; [sld1 setThumbImage:[UIImage imageNamed:@"Blue.png"] forState:UIControlStateNormal ]; Would that cause the slider-bar image to disappear? Mine are all gone. (The thumb-image displays just fine.) Apple's docs make it sounds like I can use an...

Reverse geocode street name and city as text

Hello, I have been having some trouble finding a good way to output just the street name and city as text (Infinite Loop, Cupertino shown here) that can be displayed in my iPhone app. This needs to be able to dynamically change as you change streets and city. I don't have the slightest idea of how to do this, I hope someone can help. I h...

iPhone: variable type returned by yajl

Hello, I'm quite new to iphone programming and I want to do the following stuff: get data from a JSON REST web server parse the received data using YAJL Draw a graph with those data using core-plot So, 1th item is fine, I use ASIHttpRequest which runs as espected 3rd is almost fine (I still have to learn how to tune core-plot). The...

Basics of in-app email?

What classes am I looking in to? I'd like to allow the user to to "order" something via email in the app. i would like to use a modal view to show an email form which is pre-poulated. Can someone please explain the process of sending an in-app email like this or refer me to the proper documentation? ...

Getting WAP embedded video in android AND iphone?

Recently a client asked me to make their site "work on smart phones", which normally wouldn't be too much of an issue... However it's a video site, and I have absolutely no idea where to even begin. Right off the bat I'm not even going to consider allowing the site to even function in anything other than Android (Maybe even 2.0+) and iPh...

Add an external TableView inside a small view on the Main Screen

I have a simply MainWindow file created by the Interface Builder in black background. Inside this plain view, I've added from top to bottom a small view (300x100), a textLabel and a couple of buttons. In the MainApplication.h I've defined: IBOutlet RoundRectView* smallView; IBOutlet UILabel* label; In the MainApplication.h I've @synth...

UITableView cell text is cut off.

I am having a problem with the UITableview cell cutting off strings whose characters are more than 12 chars. Any ideas why this would occur? I have not made a custom cell at all. I cannot find any solution to this problem through a Google search. Any ideas? ...

Autoresize UIScrollView

I made a UIViewController, which programatically generates a UIScrollView. Everything's fine, but when I rotate the Device, the UIScollView should resize so it takes the complete width of my View. Is there a way to do that without rebuilding the complete UIScrollView ? Thx a lot ! Sebastian This is called in my viewDidLoad: -(voi...

touchesBegan and other touch events not getting detected in UINavigationController

In short, I want to detect a touch on the navigation controller titlebar, but having trouble actually catching any touches at all! Everything is done without IB, if that makes a difference. My app delegate's .m file contains: MyViewController *viewController = [[MyViewController alloc] init]; navigationController = [[UINavigationContr...

Develop iPhone application within a company?

Possible Duplicate: iPhone apps for company-internal use - possible? As a developer, I can sign up with Apple to develop and sell applications through Apple store. I think there may be ways for companies to setup company-wide applications so that those applications can only be deployed, downloaded, updated and used within a co...

Live streaming using iPhone and saving the video

What technology is used for live streaming of video from iPhone cam to a distant server. I want to show live streaming as well as save the video, once it gets finished. ...

Making 1 UITableView scroll to the same row as another UITableView

I have 2 UITableViews on my screen. As the user scrolls 1... I need the other 1 to also scroll to the same row. I assume I need to find a "tableViewDidScroll" method... and somehow detect a "whichRowIsDisplayed" value... and then set the other tableView to "displayThisSameRow". I can't find any of those 3 methods that I need. Help! ...