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 Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-16-2010, 02:54 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 2
a_gilbo is on a distinguished road
Default A general question in SDK fundamentals

Morning I'm pretty new to this SDK thing but I wondered if anyone could help answer a few questions to aid my general understanding of how it all works. I've tried google but there does not seem to be a good explanation. I have to say that it strikes me as a little odd that apple have produced something so counter intuitive. I was hoping for something more like dream weaver
Ok here goes...

1. Why does Interface builder not write all the code, into the .h and .m file, so that you can see it? Does Interface builder, squirrel away the code somewhere? Is it possible to see this? For example if I add a picture in interface builder where is the code for this?

2. In the main window in IB when would I drag in an orange controller from the library? What would this do? Where would it go? Does it hook up to the viewcontoller automatically just by dragging it in

3. What is the benefit of creating a separate view file (without a .xib) in the resources folder?

4. When I write class files in Interface builder, what should I have selected? Is it files owner? If I select one of the other attributes in the view window (say a button) it seems to want to write that as an individual class file?

5. Why would I ever want to use the class definition at the top of the inspector window in Interface builder? It seems if I want something in here, it doesn't actually appear in The .h or .m file?

5. After I have written my class files, over my previous ones ( to update what I have just done in IB) how come you get rid of all the un-commented sections that were previously in the coding files? Where has this gone? Can I get it back?

Thanks in advance



Kind Regards

Alan

Last edited by a_gilbo; 11-16-2010 at 03:29 AM.
a_gilbo is offline   Reply With Quote
Reply

Bookmarks

Tags
interface builder, write class files

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
» Online Users: 375
7 members and 368 guests
apatsufas, Kirkout, lzwasyc, MarkC, Sami Gh, SamorodovAlex, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

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