Hi, I have very frustrating problem.
When I try to release NSKeyedUnarchiver object after decoding an NSArray, "EXC_BAD_ACCESS" error occurs.
But when I don't release it or decode other object (e.g. NSString) everything go well.
I don't understand it... For me, it looks like "decodeObjectForKey" method changes something in "decoder" obje...
Hi there
I have a first view which has a funky menu thing. Then when you select a menu item it does [self presentModalViewController:tbc animated:YES]; (tbc being a tab bar controller with 5 navigation controllers within it).
In each of the navigation controllers I have a Home icon in the navigation bar.
I want to be able to link this...
How can i get it, that the current Location gets the normal Pin-Annotation and an Annotation made by own Software gets an Image as Annotation ?
I could believe with an if in the -(MKAnnotationView*)mapView(...) viewForAnnotation:
But on which property can i decide if its my own Annotation or if it is the Apple-Annotation ?
...
I am new to iphone programming?
Can anybody tell me difference between view and view controller??
is the same difference between table view and table view controller?
My understanding is that -
like in MVC architecture
view controller - will acts as controller which having control on model and view.
view - it will come under View ...
On the Iphone im trying to populate a main table view from a dictionary, which works fine when the top level is an array ( see code below) , but for the life of me i cannot work out how to design the plist to reflect what I am trying to achieve - A top level array containing other arrays that contain dictionaries.
First table lists cate...
The title say's almost all. What I have is short lived server processes that serves a web-based javascript test suite with optionally accompanying back-ends for integration tests (see here for how it's done). I'm looking for a better way to direct the iPhone Emulator's Safari to the URL given.
More, possibly optional background:
Up unt...
Hey everyone,
I have an app that's only supported in Dutch and French. English is not an available language for this app.
If I want to use localizable strings, the default always gets set on English. I want this to be dutch.
So what I did was use the English localizable strings file and fill it up with dutch words. Only problem I have...
Hi,
I am developing an app where I need to insert data coming from web service into sqlite3 database.Web service returns XML data with 5 tags.Now after XML parsing how to insert parsed data into sql database?
Can I code for this???
Thanks in advance..
...
Whenever I submit my app to itunesconnect, after about 10 minutes, the status changes to "Invalid Binary" with absolutely no explanation why.
I have searched all over for answers there is non. I even re-installed XCode and App loader.
Note that App Loader doesn't give any errors whatsoever.
I build with XCode 3.2.3 iPhone 4 GM Seed iP...
Hi,
I tried to build the tesseract-2.04 with script (http://robertcarlsen.net/2009/07/15/cross-compiling-for-iphone-dev-884) first one, steps i followed
download the tesseract-2.04 from (http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-2.04.tar.gz&can=2&q=)
run ./configure , make and make install
run the a...
hii i am working on a sqlite based application in which there is a field at index 2 in the sqlite database in which i am not saving any data but when i run that database on firefox i saw that the index 2 had a value -2147483648, and when i am trying to add a new cell in my subview by:
return [appDelegate.items count]+1;
i am getting t...
Hi,
In My application for navigate tabbarController, i did common function, and when select a row in tableview, i am calling that funtion from my tableview. it works nothing, that is Switching the process to local thred, but controlle is not working. how to redirect the controll.
Regards
Srini
...
Hi there.
I present a modal view controller which is a tab bar controller with a navigation controller inside it.
The problem is my first view has a black background and I want the new view to have a white background.
This means I either have to have the modal view controller with a transparent background (until its completed the "sli...
Hi,
recently I joined two Xcode projects together. To get this thing to work, I had to alloc and initialize my view controller.
self.myViewController = [[MyViewController alloc] init];
But why? In the other project I have the same code. The sole difference is hierarchy of the different views. I added a new view to the top (beginning)...
Possible Duplicate:
How to programmatically send SMS on the iPhone?
I want to send sms programmatically.
I tried with the following code,It triggers message composer and then user needs to manually select the send button but I just want everything to be done programmatically that is even to send sms not only insert recipent nu...
Hi, am writing an application that plots point on a graph and am using the below method to return an array of these points. I have two views, each displaying different graphs but both have this identical method. Whichever graph is used second causes the application to crash when it reaches the line "NSArray *reading ...". I can't figure ...
Hello everybody,
has anyone ever managed to create a pdf on the iPhone, containing text (in whatever kind of font) which could be rendered by all/most pdf viewers. I recently created a pdf with Quartz, containing some text and had to make the experience that it renders correctly on my Mac only. I stumbled accross a few threads in differe...
I have three actions that are triggered in the CCSequence. The way I want it to be fired is that first the sprite should move in the center of the screen and then the scale action is fired. But for some reason the sprite moves to the center of the screen correctly but when the scale is fired it uses the old sprite position.
id actionRo...
Hi,
I had a look at instruments and I saw that the alloc increased the retain count by 1. So far everything clear. But the assignment of the class to my property also increased the retain count to 2.
self.myProperty = [[MyClass alloc] init]
Vs.
MyClass *myCreatedVariable = [[MyClass alloc] init];
self.myProperty = myCreatedVariable
...
I got this iPhone app where I use AdWhirl to change between a number of ad networks. Now when iAds gets its turn in and the phone is in landscape orientation before the ad shows it will display the normal portrait iAd. If I then turn the phone to portrait and back to landscape it shows the correct longer and thinner landscape version of ...