NSXMLParserInvalidCharacterError # 9
This is the error I get when I hit a weird character (like quotes copied and pasted from word to the web form, that end up in the feed). The feed I am using is not giving an encoding, and their is no hope for me to get them to change that. This is all I get in the header:
< ?xml version="1.0"?>
<...
Hi all
Can we do the voice identify functionality in the iphone os 3.0 i have some sound recorded by the user than on them i have to do some function can we do it in the os 3.0.
example code would be appreciated .
i mean can we do that like: we record our sound and after just click on the call button and than first we speak the name ...
My object a sub class of NSObject has CALayer instance variable. I use it for drawing and caching content with its delegate set to my object.
But for some reason drawLayer:inContext: method NEVER gets called. Whereas actionForLayer:forKey: delegate method does get called implying the delegate is getting set properly with the [layer.de...
Hi guys,
I think I found some discussions on the above topic but nothing very clear. But I would like to know if there is any open source code for unzippping multiple files. I am trying to come up with utility that could download a zip file (with multiple iamges) and extract it in the Iphone .
...
I can't just do
[myViewController dismissModalViewControllerAnimated:YES];
[myViewController presentModalViewController:nextModalViewController animated:YES];
one after the other, because then the two animation blocks try to affect the same references simultaneously and things break badly.
So what I need to do is make the latter call...
Why isn't this code working? The app loads fine, however whenever I press the button the application locks up (doesn't crash) and returns me to Xcode and there is a red arrow pointing to one of the lines (Indicated on the line below).
I also get three warnings (not errors), one says 'NSMutableArray' may not respond to '-objectAt:' and t...
I'd like to use a modal UITableView at startup to ask users for password, etc. if they are not already configured. However, the command to call the uitableview doesn't seem to work inside viewDidLoad.
startup code:
- (void)viewDidLoad {
rootViewController = [[SettingsController alloc]
initWithStyle:UITableViewStyleGrouped];
n...
I'm using the unit testing tools provided in the Google Toolbox for Mac and I want to unit test some code involving NSURLConnections. I believe I need to setup my own NSRunLoop if I want to be able to do this.
What is the proper way to setup such a run loop?
...
I am trying to create an NSArray from a .plist file, but I keep getting this error:
"'NSUnknownKeyException', reason: '[<NSCFString 0x5bbca60> valueForUndefinedKey:]: this class is not key value coding-compliant for the key Value1.'"
In the .plist file, I have a key called "Item 1" and a string value called "Value1."
Then in the code...
I have a grid of images. I want to create an effect so that when the finger dragging through "a line" of images, each image which is touched will do some event (say wobble for example) in the order of being touched.
I tried to set the action:forControlEvents, but I couldn't find any appropiate UIControlEventxxx.
I'm working in an UIVie...
My iPhone app generates some very nice-looking plist files. I can look at them through xcode 's plist editor and through any plain text editor when I just want the xml. But can I do anything else with this data? I tried importing the xml into a spreadsheet in NeoOffice, but it just showed the plain text.
All I'm asking is this: Is t...
Hi, there's very strange error with my code.. In fact, there's no errors at all, just debugger starts with "Program received signal: “EXC_BAD_ACCESS”" message.
Can anyone help me? I'm absolutely confused... Thank you.
-(NSString *)fullNameForPhone:(NSString *)ph withAlternativeText:(NSString *)text
{
ABAddressBookRef addressBookRef...
Hi!
I've a noobish question. How does tabbed browsing work? I mean that you save the current webView with it's content in an array and show it later.
like you can read here http://www.iphonedevsdk.com/forum/iphone-sdk-development/24521-please-need-help-webview.html I made few attempts but no luck so far.
as anyone a nice suggestion? T...
I have a UITabBar in the detail view of my navigation based application. I am storing text and images in a tableview and would like the user to be able to tap on a cell to hide the navigation controller and the tabbar for full screen viewing of the content.
I found this code for hiding the top bars, but it does not seem as easy to hi...
Hi,
I want to detect, what part of screen is touched, when user shakes iPhone.
I do it in the following way:
-(void) accelerometer: (UIAccelerometer*)accelerometer didAccelerate: (UIAcceleration*)acceleration
{
float shakeStrength = sqrt( acceleration.x * acceleration.x + acceleration.y * acceleration.y + acceleration.z * accelera...
I am running into some odd issues with reordering table view cell. After reordering and clicking done (i.e. setEditing = false on the table view), one of the table view cells would always remain in editing mode while the rest reset back to normal (usually the one in close proximity to where the cell is moved from or to).
After some car...
Are there are libraries / frameworks that facilitate 2D game programming in Lua on the iPhone?
It looks like http://anscamobile.com/ and http://sio2interactive.com/GAMES.html are the only reasonable options at this point. Someone should create a simple Lua binding for OpenGL, AL and iPhone Events for the iPhone!
...
I have an app that has about 60 png files and a couple of cfg files in the main bundle. Runs great in the simulator, and when I download from Xcode to iTouch. But I'm stumped on distributing to my testers. I have their provisioning profiles, etc. But when I created the app and sent it to them, it showed up as a folder (NR1.APP) with ...
Hi there
I guess the title says it all. I use a UISearchBar for entering an address to establish a network connection. While the connection is made I want to show the activity indicator instead of the tiny BookmarkButton on the right side of the searchbar. As far as I can see there is no public declared property that would give me access...
UIView and its subclasses all have the properties "frame" and "bounds". What's the difference? (don't quote apple docs)
Thanks!!
...