Hello.
I have a problem with this code.
As you can see a launch with an internal thread recv so that the program is blocked pending a given but will continue its execution, leaving the task to lock the thread.
My program would continue to receive the recv data socket new_sd and so I entered an infinite loop (the commented code).
The prob...
I have an section header view. When The user scrolls down, the section header view keeps hovering over the section as long as that section is visible (default behavior).
Is there a way to figure out if the section header view hovers over an row? What I mean is: As long as the header didn't reach the top of the table view, it won't hove...
I'm planning to write couple applications for iPhone and wonder if there are any Unit Testing and Code Coverage Frameworks for Objective-C?
...
Hi everyone,
I'm trying to add UIBarButtonItems to a Navigation Controller that is displayed as a popup. I can't seem to add the buttons, and I'm wondering if someone can help me out.
Here is the code I have so far:
UINavigationController* navigationController = [[UINavigationController alloc] initWithRootViewController:aStudentsViewC...
I'm building an iPad app that will have multiple paper pages and I'd like to implement a page transition affect that is similar to the animation you see when you turn pages in the iBooks app on the iPad. A few questions...
Is that animation readily available somewhere in the UIKit API or would I have to implement it myself?
If I have ...
Hi, This is a simple question:
I have 2 different view controllers, and each one has its own data stored in its .m file.
I want to take a value, for instance, an integer value (int i=3;) that is declared in ViewController1 and pass it to ViewController2, so I will be able to use that value in the second view controller.
Can anyone plea...
Hi
I'm trying to create a UIScrollView with loop that contains a collection of ViewControllers. The answer to this question here shows the code that is the basis for what I'm trying to do. It uses images instead of viewControllers.
I've managed to get the all the viewControllers loaded (4) and displaying but the first view which is a...
I am trying to do something interesting.
I am pulling some JSON data and populating cells in a UITableView. How can I make the UITableView scroll ever second or so? I want to give the effect that as new data is coming in, the table is scrolling, so it is streaming.
Any ideas?
...
I am thinking of buying a new iTouch to try out 4.0 multi-tasking. Can someone provide a link that describes how I get iPhone OS 4.0 on the device? Thanks in advance.
...
I have tried this on a few installations of the 3.1.3 SDK.
When I add a label to my view, I would like to change the font to something like Futura. I know how to change the font, but, for some reason, it does not show that it is changed. ONLY when I edit the label by double clicking, do I see my new font. And, this is the only time t...
I'm creating a navigation controller based application.
In first view, there's a button. When clicked app will play a movie for 10 seconds.
In next view, there's another button. When clicked it will also play a movie.
I'm using two different objects of MPMoviePlayerController in two views.
But my problem is that the movie is playing in f...
I want to have a thin gray border around UITextView, I have gone through documentation but couldn't find any property there. Please help.
...
Hi,
I'm using OpenGL ES in my iPhone application and sometimes during startup the screen goes purple or black - in one case from twenty. This happens only during initialization and if the screen became black or purple it will remain in such a color - only restarting the application helps.
Also I found out that when this bug happens, app...
Hi,
I am working on an iphone application in which I am consuming a webservice.
So i am parsing the XML file data. any idea about how to parse self closing tag
like: State/ and how to read data of self tag like: Contact Email="[email protected]" Name="PhD" Phone="123-521-3388" Source="location"/
I am parsing xml file using NSXMLPARSER class ...
how do I make sure that UIInterfaceOrientationPortraitRight and UIInterfaceOrientationPortraitLeft are not supported.
Basically I want my application to be used ONLY in UIInterfaceOrientationLandscapeRight and UIInterfaceOrientationLandscapeLeft
I edited the Info.plist file
<string>MainWindow</string>
<key>UISupportedInterfaceOrient...
I just created an iPhone app and am having friends try it out, but it seems like there's a lot of stuff that needs 'management' in order to have efficient development/test cycles. There are also a bunch of things which are only on my machine (the Keychain and my test cert that I use to create the app/provisioning profiles) which other de...
Hi
If I have a view inside another view, than its x,y values are relevant to its parent view.
I would like to know its x y position relative to the whole screen window-
that means 320 X 480 iphone screen window
The top left corner is 0,0 of course.
What is the way for getting its "True" x ,y values?
Thanks.
...
I want to create an application that doesn't use Portrait mode.
I am not sure if I need to edit the plist or have code in addition to the plist
...
Hi,
I am trying to parse a XML File using NSXMLParser, I also have a Container class, in which I have a few instance variables. One of the elements that I am trying to parse in the XML is:
<book sn="32.859669048339128" pn="-116.917800670489670">
I am trying to save the value of sn and pn in an instance variable of object Container: ...
I've searched SO for the answer to this question, and it's not really addressed, at least not to a point where I can make it work.
I was originally only checking for Internet reachability, using:
self.wwanReach = [Reachability reachabilityWithHostName:@"www.apple.com"];
[wwanReach startNotifer];
I now need to support a local WiFi con...