Hello guys!
I found a part of a code written by someone else.
@interface Fly : CCSprite
{
id var1;
id var2;
}
Then in the .m file
- (void) dealloc
{
[var1 release];
[var2 release];
// don't forget to call "super dealloc"
[super dealloc];
}
It is written right? I don't think the id type can be released. Maybe the isa variable i...
I am creating a simple FeedReader iPhone app where a RSS is feed is parsed using NSXMLParser. The code to parse the RSS is a standard code similar to the one shown here.
But I noticed that every parsed element has the '\n\t\t' characters at the end.
Ex.
link = "http://bakery.cakephp.org/articles/view/exporting-data-to-csv-the-cakephp-...
Hi guys,
I'm just wondering here if there is an in-built view for this. I haven't managed to find it, but then I may not be looking in the right places.
I'm trying to find the effect used in the Album Art view of Music (or iPod) on the iPod Touch (or iPhone/iPad). The effect that scrolls between multiple album covers, pushing all other...
Hi.
Is there a way to limit the number of times an application is used in an iPhone (to implement the lite version)? I know I could use the UserDefaults, but if the user deletes and re-install the app, the limit would disappear.
I tought of using a webserver, but it is too much work for a simple problem.
Anybody had the same issue (an...
I created a window based application. The program structure is
Added a navigation controller with rootcontroller say A to the window.
From A i pushed a new view controller say B.
In B i added a tab bar with five tab bar items.
Each tab item contains separate navigation controller except first one. First tab item contains a view contr...
Hello all,
I'm currently developing an application to scan for a barcode, give a description of the product (local database) and provide a movie as a way of providing a user manual. My only question is does the scanning feature of the redlaser sdk require me to be on wifi? Or do the results of scanning just come up locally through some ...
Hi all,
I want to log on on the Exchange 2003 with form based authentication (FBA) via http-request (in objective-c).
Idea:
1)to connect with the code below and get 2 cookies from server.
2)to connect to server per WebDav with these cookies
There is the code for the first step.
But instead of cookies I get the html-code for login-wi...
I am discussing a iPhone job, though I do not have iPhone SDK experience.
I would like to know how I can convince the client and myself that I can do the job.
Is C/C++ a good background? (In addition to C# etc.)
Is other mobile frameworks or GUI-development considered more interesting background?
+1:
As a comparison, I think any devel...
Hello everyone, I hope that you will succeed in at least a little to clarify me how and what to do, I'm sure I'm wrong, so I really need an expert opinion.
I have two viewcontroller together with nibs what I want is to call function that is in first class from another ViewController, the problem is that another viewcontroller manages to ...
My application has a navigation view controller with 2 views :
- a root view : i'd like the tint color for its navigation bar to be black
- a sub view : i'd like the tint color for its navigation bar to be blue
To achieve this, I set the tint color for the navigation bar in the viewDidLoad method of each view controller :
self.navigati...
I would like to call the method mymethod of class b, using the method currentMethod of class a. How do I do this?
...
Hey guys, here's a weird question. I'm doing device detection and I noticed that the iphone 4 reports the same resolution as the iphone 3g(s): 320x480.
shouldn't this be higher? or did I miss something?
...
Hi
Going thru both the extensive online documentation AND the various code samples in the dev center I am perplexed. Apple's recommends to ALWAYS use IB when creating your views, and yet, in many of the code samples, views are created entirely in code (initialized in the loadView method of the viewController).
Is there a 'best practice' ...
Hii all,
i am writting the following code but my application is crashing . I don no why.Actually i want to calculate the speed but app crashes at line no 4 .please explain.debugger says..
Program received signal: “EXC_BAD_ACCESS”.
- (void)viewDidLoad {
[super viewDidLoad];
NSDate *date = [NSDate date];
initialDate = date...
CLLocationManager on iPhone Simulator is supposed to fake Cupertino (isn't it?) but it does NOT, it fails with kCLErrorDomain Code=0 instead. LocationManager's delegate receives the message didFailWithError. This method is implemented to log the error and the console outputs the following:
Error Domain=kCLErrorDomain Code=0 "The operati...
I do not have much experience coding systems dealing with web-services. Please help me in solving following confusion.
One of my clients want me to build an iPhone App that had native UI controls but deals extensively with Web Services. Right from authenticating the user into a network to loading a list of users or anything related in t...
I had a UIAlertView window which worked fine in iPhone OS 3.2.3, with SDK 3.1.3 and XCode 3.2.1.
But after I updated the iPhone to OS 4.0 by iTunes, consequently had to upgrade the SDK to 4.0 (with XCode 3.2.3), the UIAlertView window turns out too high when popping up, and only drops down to the correct position after the textField is ...
Hello All,
I am working on a project where the iPad will be used for a specific purpose, and only run one app. When the device starts up, I want my app to run, and I want to override the home button so that it does not quit the app (like the iPhone/ iPod demos in the store).
I have seen bits and pieces of this functionality, but am un...
Hi Guys,
I have a requirement to promote 3G/GPRS over WiFi connectivity in the iPhone application I am developing. Please let me know if this is possible and if yes, how?
The problem is when I have a WiFi network which is available and connected but not logged in using Captive Portal, I cannot use that WiFi network to perform the tasks...
Hello,
I'm testing my app on simulator 3.1.3, it runs fine.
When it come to simulator 3.2, it crashes right from the beginning:
2010-06-24 16:35:29.208 MyTestApp[6991:207] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:'
2010-06-24 16...