In a previous project, I built an iPhone app for 2.2.x that used SQLite. It had existing data (in XML form) that needed to be pre-loaded into the build. So I wrote a small tool which used libxml2 to parse the XML, and then write out an SQLite database, which then was included directly in the build as a resource. This worked out great.
I...
Hey guys!
I need to build a visual graph that represents voice levels (dB) in a recorded file. I tried to do it this way:
NSError *error = nil;
AVAudioPlayer *meterPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:self.recording.fileName] error:
if (error) {
_lcl_logger(lcl_cEditRecording, lcl_vError, ...
Hello folks,
I approaching core animation and drawing empirically.
I am trying to animate a simple shape; the shape in question is formed by 3 lines plus a bezier curve. A red line is also drawn, to show the curve control points.
My main controller simply adds this subview and calls the adjustWave method whenever touchesEnd.
Here is t...
When the keyboard appears, I want to set the
keyboardAppearance = UIKeyboardAppearanceAlert
I've checked the documentation and it looks like you can only change the keyboardType.
Can this be done without violating any of Apple's private API's ?
...
Hi there,
When you enter the search bar handled by a search display controller, it slides the view up and pushes the navigation bar up with it. This is easy enough to do, however, when you click a search result and a new view is pushed on the navigation controller's stack, the navigation bar slides in from the right with the view!
How ...
Background
There are a lot of App Store released iPhone apps that require an IP based server on the desktop so that the iPhone can connect to the desktop as a client. For example, there are many programs that emulate a keyboard, touchpad, or Apple remote on the iPhone so that a desktop computer can be controlled over wifi. However, many...
So my app was rejected (it has been approved every other time i have put it in for review and I hadn't touched this code path in ages) or this line:
[myAlert addTextFieldWithValue:nil label:NSLocalizedString(@"Name",@"Name")];
Apparently addTextFieldWithValue:label:
is a private API...
so how are we supposed to put a UITextField insid...
I have a standard developer account($99). Can i generate the CSR in my friends mac or does the mac also need to be registered on my name ?
...
Hey guys,
So I'm trying to make a UITableView that has a repeating background. I want the background to scroll with the text. The catch is that the background is 2 images. There is a top image that is about 550px in height, and then a repeater image that's 2px in height. I want the top image to scroll with the table view and then eventu...
I have a predefined array of rgb values. I want to be able to compare a user defined color to my array and return the closest match in Objective C.
Any help is greatly appreciated.
...
Hello All,
My game program is running two timers at a time. For showing timer logic and game logic. As far as now, no problems. Both seems to be working fine. Can it be there or will it create any problems or crash at any point of time? When i want to stop the timers at a time, can i just 'invalidate' both timers at a time? Does anyone ...
Hello All! I have a (hopefully silly) iPhone programming question. I'm trying to get a string out of an object I created, stored in an AppDelegates NSMutableArray--is there a reason I always get an EXC_BAD_ACCESS error when I try to access (via the appdelegates array, or my controllers copy of it) my NSMutableArray in the cellForRowAtI...
I have a query about the use of viewDidUnload and dealloc in a simple implementation of UITableViewController.
Essentially I'd like to know more about weather or not both viewDidUnload and dealloc are always called in succession in the tear down process. Is it possible that dealloc could be called on the controller without viewDidUnloa...
My professor has got a iphone standard developer program and has given me the credentials to login. I am unable to create a CSR following the steps in the program portal. The email id in the profile shown in the apple developer site is different from the id that was used is for registering to the program. My professor has never logged in...
Hi, I'm developing an iPhone app, I'm trying to push a view into the navigation controller, which I've done many times before, however, I'm having some issues with this particular app. I have a table view, and when the user selects one row the new view is pushed into the controller:
DataWrapper *row=[[self.rows objectAtIndex:[indexPath ...
I have a navigation controller-based application that could be active for a relatively long time and can load multiple screens, revisiting some in the course of its life - a business application. When I push a screen I allocate some memory; when I go back (pop it) I need to ensure memory is not lost.
Now in Leaks I have a clean slate. N...
Hi All,
Is it possible to modify the BundleDisplay name at runtime ???
Thanks
...
Hi All,
By default the Alert view title in the PushNotification displays the "Bundle Display name" from info.plist.
Is is possible to change the AlertView title ?
Thanks
...
i'm new to iphone dev.. i was trying to create an application which will authenticate the user and download some data from de url(.php) via xml parsing into the table view. i have figured how to parse and populate the table view but stuck up with user authentication... ie- extracting textfield data and appending it to the URL on submit....
I am using CXMLDocument parser to parse an xml file in iphone... Its work great for me...
But i dont know how i parse the attribute name of the CXMLElement ? my sample xml is here
<thumbnail url="http://www.samplewebservice/image.gif"/>
<rating value="3" max="5"/>
<views value="1654"/>
I want to get url,value and max values from...