Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 04-05-2009, 02:37 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: Barcelona
Posts: 16
ivanovich is on a distinguished road
Default Error with tutorial "Core Graphics and Animation"

Hi!

I'm new with cocoa touch, and i'm trying to do the tutorial "Core Graphics and Animation"

When I try to create "new cocoa touch" i don't have this option with sdk 3.0 and i have to choose new "View based Application"

I renamed the files and this compile but not run. I see with console and tell me this:

Code:
2009-04-05 21:35:53.116 TransformApp[3637:20b] Unknown class TransformAppViewController in Interface Builder file.
2009-04-05 21:35:53.126 TransformApp[3637:20b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<TransformAppAppDelegate 0xd18e80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key viewController.'
I have the source code in my public folder: MobileMe - iDisk

What can i do?

PD: Thank's in advance
ivanovich is offline   Reply With Quote
Old 04-05-2009, 02:51 PM   #2 (permalink)
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
FlyingDiver will become famous soon enough
Default

I had a similar problem. I had to go back to the 2.2.1 SDK to do the tutorials and examples from the book I was using. Apple changed the templates for 3.0, it appears.

joe
FlyingDiver is offline   Reply With Quote
Old 07-12-2009, 08:54 AM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Posts: 5
dotnetter is on a distinguished road
Default

I chose to use the Window Based project but although the code runs without error it doesn't seem to be loading in the subview (MainView) into the Window.

I've tried basics first - changing the background colour of the MainView but all I get when I run the app is a white screen which I've confirmed is the Window. I've opened up the default generated .xib file and have change the window to green to confirm this.

If anyone has any ideas how to load the subview correctly then please let me know asap.

Regards,


Wayne
dotnetter is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 175,696
Threads: 94,138
Posts: 402,957
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:51 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0