xcode

Looking for a few tutorials on switching views and cross-view communication

Hi, I'm looking for a few good tutorials or articles out there that might help me with communicating between different views which I have setup in a TabBarController. I'd like to know how to properly call upon methods in other views of my TabBarController and then switch to that view. The other thing I am curious about is how to launc...

How to build a VST 3 plugin with OSX/XCode

I have seen the vst 2 question, but I want to program vst 3 plugins, please help me thank you. ...

What's the MainWindow.xib nib file for ?

I am new to iOS developement, and i am trying to understand the whole cycle of iOS application developement, and i feel there's a missing part i just don't get it.. if the MainWindow.xib that is generated automatically by Xcode has a view that loads another xib/nib view inside it, then why we use it ? ...

creating a reusable library in XCode 3.2

How do I create a reusable library/module in XCode 3.2? What I want to do is create a bunch of classes that provide certain functionality compile them into some kind of library, add such a library to an existing xcode project and use the classes in it. I come from .NET world so what I want to do is basically to create an equivalent of 'a...

displaying different views based on a condition checked in view controller

I want my view controller to display different views based on a condition that depends on some runtime checks (lets say a uiwebview at even hours and a form on odd hours). What is the best pattern to achieve it in iphone project? Maybe I can hide controls based on aforementioned condition or maybe it is better to load different views? or...

Sync written text with narration on ipad

I am very new to Objective C and decided to jump in the deep end. I need to create an narrated ebook app that highlights words as they are spoken. I have all the pieces for my program, I think. I just need to clarify my overall logic before I start totally down the wrong path. Here is my thought process: 1.Use NSstring to read the ...

How to open view on top of existing views in iPad?

How do I go about opening a view in the way that you see in this example? Thanks! Dave ...

iPhone subview w/ transparent background and clickthrough behavior

I have an application with several views and a tab controller. I've created a view that contains the elements for the header of my application which is consistent on every view. This way I do not need to recreate the header on every view, I can just overlay the HeaderView over the tabbarcontroller. The problem is that when I add the ne...

AVAudioPlayerdelegate

Hello, I receive this error for this code- warning: class 'BeatMaker' does not implement the 'AVAudioPlayerDelegate' protocol -(IBAction)playBeat3 { NSString *path = [[NSBundle mainBundle] pathForResource:@"beat3" ofType:@"mp3"]; AVAudioPlayer* theAudio=[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] ...

OpenGL ES 3-D Surface Chart for the iPhone

I found http://www.vvi.com/index.html for Xcode that allows you to create charts on the iphone. I want to create a 3D Surface Chart that will pull from a database. Is there another SDK or instructions that will allow you to do the same in OpenGL on the iPhone. ...

iPhone simulator isn't showing splash screen

All I have to do to show a splash screen in a view-based application is drag an image into the resources folder and name it default.png, correct? This is what I did, but the image doesn't show. ...

UIView willMoveToSuperview error

I get this random error when I run my app on my iPhone. First, I tap this method- -(IBAction)playBeat1 { NSString *path = [[NSBundle mainBundle] pathForResource:@"beat1" ofType:@"mp3"]; AVAudioPlayer* theAudio=[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL]; [theAudio play]; NSLog...

How do I catch the MPMoviePlayer next button click event while in fullscreen mode on the iPad?

When the MPMoviePlayerViewController is in fullscreen mode on the iPad, it defaults to having its controls to have a previous and next button on the overlay there. In my project I need to capture the click for that overlay button and handle it accordingly. Since I'm not sure how to invoke a playlist just yet there is no next item and cli...

Why can’t I run Xcode debugger highlighting the call stack after a crash/exception?

So, when developing, I get a crash when running the app in iPhone simulator. Say something like this in the console... 2010-08-01 19:28:04.228 FakeCreme[32888:207] adding bucket: (null) 2010-08-01 19:28:04.230 FakeCreme[32888:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray i...

How to Programmatically Create new Calendars on iPhone that will sync to iCal

I'm looking for a way to create a new Calendar on the iphone device programatically. I have been looking at Event Kit and it clearly states how to create a new event in a calendar and there is also a convenient way of gathering all the calendars in code, What I can't find is how to create a new one that is saved to the device. Any ideas...

Can Xcode and iPhone handle hundreds of static libraries?

I'm trying keep xcode chaos under control. Namely, how to reuse my small components/classes between projects. One strategy is to make every class, or tightly coupled collection of classes, in to a static library, each being a spawn of a different sub project with a few targets like unit tests, demos, and, of course, the library. The wa...

iphone mapkit : have pins fall one by one

Hi. I'm using an mkmapview and dropping pins on to it. I would like the pins to fall one by one, rather than all simultaneously. Originally I was calling [self performSelector:@selector(dropPin) withObject:nil afterDelay:dropTime]; where dropTime was a different delay for each pin, and dropPin was a method to make the pin drop. Unfort...

How to get the correct hight and expand the table view when a tableview is in a scrollview?

I have a scrollview that contains a tableview and some other componinets, some buttons and labels. However I cannot figure out how the following two questions are addressed: I know how to disable the scrolling in the tableview. Nevertheless, can anyone tell me how to expand the tableview programmatically so the hight of the table view ...

XCode Cocoa Console Application Import Error

Hey guys, I made a new Console Application Project in XCode, and in the main.c file, I tried to Import Cocoa.h and another header file that I made. However, XCode started freaking out and gave me a bunch of errors. All of the errors were Parse Issues and came from NSObjCRuntime.h, NSZone.h, and NSObject.h. Anyone know why? Thanks! ...

Signature invalid warning in xcode.

I faced on the warning as below when I build my app in xcode. Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011) In the internet, there are many people who faced on this warning,but there is no solution. ( they are searching the solution even now..)...