Delegate and controller
HI folks please Let me know Exact Difference between the Delegate.h and delegate.m and Viewcontroller.h and viewcontroller.m files and its usage Thanks & regards ...
HI folks please Let me know Exact Difference between the Delegate.h and delegate.m and Viewcontroller.h and viewcontroller.m files and its usage Thanks & regards ...
In Visual Basic, there's a line of code you can use to handle errors in code "On Error Resume Next" Is there something similar in Objective-C? My problem is I have an "Add New Cell" add button that creates a new cell during runtime. However, the cells are re-orderable. When you try to re-order the "Add New Cell" cell, I get an index o...
I am developing an application which uses .js files stored in the Resources/javascript folder of my application bundle. In my Xcode 2.5 project I have created a folder reference (not a group) to my javascript folder, which automatically added the folder to the Copy Bundle Resources build phase. The problem I have is when I modify my .js...
Starting with an app already in development, I have carried out the instructions in the iPhone Development Guide – Unit Testing Applications I can successfully include and use my App's classes in Application-style tests that run on the device, and output their results to the console. If I add the following line of code: STAssertTrue([...
Is there a way in the iphone sdk to retrieve the name of the account which bought the application programmatically? With account name I mean the name you use to login into iTunes. Edit To make it more clear, I mean the account name you can find under your iPhone settings under 'Store'. Edit Might it be accessible trough NSUserDefault...
Hi there, I'm developing an iPhone app that needs a web login. As usual I call [[UIApplication sharedApplication] openURL:loginURL]; This close the app and calls the login page inside Safari. Once logged, the app is opened once again using a callback address and the iPhone URL registration feature. The question here is: Since the ap...
I am developing an iPhone application which works perfectly when doing a build & run, it runs like a charm. But after I exited the app which ran from the build & run, an I try to start it manually by pressing the app icon on the phone it won't run. The app shows the Default.png but after that it does nothing and just quits the app. A...
Hi everyone, I'd like to compile my application for version 10.5 and forward. Ever since I upgraded to Snow Leopard and installed the latest XCode, gcc defaults to 10.6. I've tried -isysroot /Developer/SDKs/MacOSX10.5.sdk but that doesn't seem to work. Is there a GCC flag that allows me to set the SDK? (Incidentally, I changed the gcc ...
Hi, I'm working on a C++ command tool project that depends on a third party architecture called ACE (adaptive communication environment). I'm new to Xcode and this is what I've done to have my command tool project "sees" the ACE library. compile the ACE library so that I have a bunch of dynamic libraries: xxx.dylib add the libraries a...
So, I've just downloaded the LLVM Clang (2.6) binaries. Mac OS X 10.6 comes with Clang 1.0.Do you know how to integrate a later version of Clang with the Xcode 3.2.x IDE? Just overwriting files seems a little bit risky. ...
Xcode comes with a few templates (file templates, project template, etc.). If you don't know what I'm talking about, take a look. After searching on Google for some time I couldn't find any other useful templates. So here it is: What are your most useful Xcode templates? I'll start with a pretty boring Objcetive-C category file temple....
I am in iPhone development since last 3 months. Usually, While inserting a view Controller, I just right click on Classes & add new group. & Within that group I just add my new view controller's .h, .m & .xib file. Before my question, let's see what I have done in my project. My questions are something like this Is it in proper w...
Let me know which one should be used in what case. What are differences among them? What are the advantage and disadvantage of each component? Thanks ...
Messing about with various settings for unit-testing plug-ins left me with a discombobulated project file. I seem to have fixed it, but there is one side effect: everytime I run the plug-in, the console fills with warnings for each and every class file, like so: warning: Could not find object file "/Users/elisevanlooij/Documents/Proj...
I am compiling a plugin for FileMaker using Xcode. I get no errors or warnings, and my 'target' is my FM/Extensions folder. Everything works well on my computer. It installs and then when I open FileMaker/Preferences/Plugin it is listed like it should be. Problem: I copied the project to another computer and I get the same results exce...
Hello, void functions::start() { io_iterator_t enumerator; ...some code... result = IOServiceAddMatchingNotification( mNotifyPort, kIOMatchedNotification, IOServiceMatching( "IOFireWireLocalNode" ), serv...
Prior to xcode 3.2.1, you could cycle through the list of files your in history through a keyboard shortcut (Cmd + Option + L/R Arrow key). Now this set of keys will give you the history within the file (ie all of the actions you've performed in this file). Is there a way to navigate with keyboard only between files you have open in yo...
I'm just learning about C and got an assignment where we have to translate plain text into morse code and back. (I am mostly familiar with Java so bear with me on the terms I use). To do this, I have an array with the strings for all letters. char *letters[] = { ".- ", "-... ", "-.-. ", "-.. ", ".", "..-." etc I wrote a function for ...
I have the latest version of Xcode and when I select my .xcdatamodel file and then select "Data Model" => "Add Model Version", I get the following dialog: Internal Error File: ... Line: ... Object: ... Method: ... Couldn't create new version 'MyApp1 2.xcdatamodel' in version group 'MyApp1.xcdatamodeld' ===================== It wiped...
Even though Interface Builder is aware of a MyClass, I get an error when starting the application. This happens when MyClass is part of a library, and does not happen if I compile the class directly in the application target. ...