This one is new to me. Not even sure what RootViewController.o is? though this project does have a .m & .h. Building for Simulator 3.0. Cleaned before build (Shift-⌘-K).
Recently added some classes from another project that also had a RootViewController...but I didn't transfer old one over. Haven't built since. This could be part of th...
I want to create an application core that connects to a webservice, downloads the data, parses it and then returns it to a view controller. This core would ideally handle requests from multiple controllers and abstract away a lot of repetitive code. Also, I want to potentially use this core for a mac os x application. Would these tasks...
I'm using Coredata and have a Data Model with the following toMany relationships:
Rooms.isUsedBy -> Class many classes use a Room
Class.hasStudents -> Students many Students are in a Class
Given the Room I want to get all of the students that use the room.
Here is the simplified code:
-(void) studentsinRoom:(Room*)aRoom {
...
here is sample code.
if(MyPageViewControllerObj==nil)
{
MyPageViewController *vController = [[MyPageViewController alloc] initWithNibName:@"MyPageView" bundle:[NSBundle mainBundle]];
self.MyPageViewControllerObj=vController;
[vController release];
noOfWrongAnswers=0;
noOfRightAnswers=0;
}
MyPageViewControllerObj.sessionid=s...
i have page control sample from apple and using it in my application... in my application scrolling is running smooth in simulator but when installed on device it is not smooth.
does someone knows about it? i am also doing some flip animation.it's also not running smoothly
...
In my application, I would like a modal view to present itself when the app starts up and there is no wifi. I have code like this in the applicationDidFinishLaunching:
UIViewController *modalViewController = [[UIViewController alloc] initWithNibName:@"ModalDisconnect" bundle:nil];
[[self tabBarController] presentModalViewController:m...
I want to have the pk in my fetched objects, so i can use the unique pk number for a unique image filename.
But i can't make it work, i just need a unique filename for my images.
Does somebody has a solution for this?
When i NSLog object ID i get this:
NSManagedObjectID *ID = [someThing objectID];
NSLog(@"ID: %@",ID);
Output:
ID: 0x1...
Before submitting my app I want to test it on devices with the full range of iPhone OS available. So, I have 2 questions that I am struggling with and would greatly appreciate any help or advice.
What versions of the OS are in use?
I know that the App Store will only accept apps for 2.2.1 and 3 but all the features I'm using have been a...
I initialize an AVAudioPlayer instance:
NSString* path = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"wav"];
AVAudioPlayer* player =[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:nil]; //Returned object not nil, indicating that the file has loaded successfully
BOOL b = [player prepareToPlay];...
Hello,
Hope someone can help me,
I am trying to build openldap for an app on my iPhoneOS3 but when I try to use something from the library I get this error :
Program received signal: “EXC_
BAD_ACCESS”.
I followed this website to compile openldap with iphone gcc.
So I built openldap with this :
export DEVROOT=/Developer/P...
Hi,
I'm trying to make it so that the text displays like
Alabama
Alaska
Arkansas
and so on.
I mostly just need help on how to make it go to the next line of text
lblText.text = @"Alabama:";
i tried doing @"Alabama:"
@"alaska:";
but it didn't work.
Any thoughts?
...
I'm running Mac OS X v 10.4.11 and I want to install Xcode to compile and run ruby on rails. When I go to apple site I must download latest version of Xcode which does not run on my version of OS X. Where can I download a version of XCode that i can install in my environment. Can anyone provide me with a link?
...
in my application i have a uitableview as my first screen with uinavigation controller.
in my first screen i put NSLog(@"Home Screen retain Count=%d",[self retainCount]); in it's view did load it shows 6.is it correct or it is there is something wrong with this?
...
When one Implements an Interface (equivalent to a Protocol in Objective-C) in the .Net environment, the IDE automatically adds the properties and methods that need to be implemented to the class' file. Is there a setting that will result in a similar behavior in the Xcode environment? Will it do the same for a delegate?
At this point,...
I want to create a docset for my API that looks and works like the Apple Core Library docset. For example, look at the page for NSString.
I've tried Doxygen and I've tried headerdoc2html. Neither does very close to what I want.
The files generated by headerdoc don't have most of the higher-level structure that the Apple files do, and t...
Per default der Xcode debugger only shows the memory address for objects and not for primitive typs like int or float. Is there a way to see the memory address of these types somehow?
...
Right now I have an indexed tableview that goes to a detail view but i want it to go to another tableview then a detail view.
Any thoughts?
...
Hi, I'm learning how to develop on the iPhone, I bought a book called Beginning iPhone 3 development Exploring the SDK. After I bit I decided to ditch Interface Builder. I still design all my views in IB, but I write It all in code and only use the nib file to get the controls' frames.
So now I need to make a UIButton, and the documenta...
I'm trying unsuccessfully to get CoverStory working in an iPhone project. Unfortunately XCode build settings and gcc flags are a big mystery to me. :( I've managed to generate .gcno files but the .gcda files don't show. I've added -lgcov as an other linker flag, set both the GCC_GENERATE_TEST_COVERAGE_FILES and GCC_INSTRUMENT_PROGRAM_FLO...
I am getting the below errors in Xcode, I know I needed to declare filteredChildren so I tried adding the line NSArray *filteredChildren to the header file but it only made things worse. What code do I need to add to the header to delcare filteredChildren?
...