Hi,

Actually, the developers of IB don't know any more about OBJC or apis than 
anyone else.  It is just a convenient way of designing the UI and other aspects 
of the architecture of an app.  There are also performance benefits for using 
IB in that you have the ability to only loads resources in to memory when they 
are needed, such as windows or panels.  You can also initialize the values of 
object properties in the xib so you don't have to actually instantiate the 
object at run time.


It does not write your app for you.  You can't possibly develop an app with it 
unless you know objective C and C.  If you drag a button or textfield out of 
the library on to your canvas and position it in the window, it still does 
absolutely nothing with out code.

All of the documentation for all of the apis used in IB, or any others can be 
found on develper.apple.com.  For example, just go to google and type NSButton 
or UITableViewController and the class references will be at or very near the 
top of the search results.

Hear is some objective c links:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html
https://developer.apple.com/library/mac/#referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/index.html

A Cocoa link:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html

a Mac app development link:
https://developer.apple.com/library/mac/#referencelibrary/GettingStarted/RoadMapOSX/books/RM_YourFirstApp_Mac/Articles/GettingStarted.html

Some IOS development links:
http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphone101/Articles/00_Introduction.html
http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/Introduction/Introduction.html
http://developer.apple.com/library/ios/#documentation/General/Conceptual/iCloud101/GettingStarted/GettingStarted.html%23//apple_ref/doc/uid/TP40011317-CH2-SW1

If you have a Mac and you are interested in app development, You have all of 
the tools and documentation at your disposal.  You don't need to buy any 
special books to learn how to do things.  I posted a lot of links, but that is 
just a fraction of what is available.  I'm just trying to show people that 
there is lots of docs out there.

Later to day or tomorrow, I will post on how to lay out a simple window and 
create an outlet and action in your code using IB.  I've posted this before and 
I'm sure it is in the archives somewhere, but I think I can do a much better 
job.  For one thing, I'm not going to explain how to use vo as no one has any 
business doing any kind of work with XCode until you know how to do that.

Hope that helps.


--
                Barry Hadder
bhad...@gmail.com
https://twitter.com/BarryHadder
UnitMaster
Available in the Mac app store.




On Jul 5, 2013, at 9:41 AM, Paul Hunt <prhu...@att.net> wrote:

Hello Tyler. Here’s the problem. The developers who build the Interface Builder 
know a lot more about Objective C and the various APIS than we do. When people 
use the Interface builder, much of the heavy lifting is already done for them. 
Consequently, Authors who write textbooks don’t take the time to take us under 
the hood where we really need to be. Instead, they teach the Interface builder 
then teach students to write the code for the events. I checked 
www.overstock.com and found it to be a huge general purpose forum. We really 
need access to comprehensive Objective C documentation, a complete list of the 
APIS and the documentation for each. Once we learn to build applications 
programmatically, then we are more competent programmers than our sighted 
counterparts because we understand what’s really going on. In addition, when we 
use a textbook, we literally have to translate Interface Builder speak into 
lines of code. The question then is this, where is the Objective C 
documentation? Where can we find a description of all of the APIS? Can you 
point us in the right direction?
 
Thanks so much.
 
 
 
From: macvisionaries@googlegroups.com [mailto:macvisionaries@googlegroups.com] 
On Behalf OfTyler Thompson
Sent: Friday, July 5, 2013 2:13 AM
To: macvisionaries@googlegroups.com
Subject: Re: xcode creating actions and outlets
 
believe me i understand the frustrations of working with objective C, 
especially if it’s new. As it happens I find that programmatically linking your 
UI elements tends to actually work a little better (as it gives you much more 
control), but for each person it’s different :)
 
 
On Jul 5, 2013, at 1:05 AM, Yuma Antoine Decaux <jamy...@gmail.com> wrote:


Hi,
 
There is a method which i found on the maccessibility news page. Convoluted, 
and not able to do it yet, it's driving me crazy.
 
I might try it programmatically but i'm going through a textbook method and 
they're entirely gui based so i'm left wanting, once more. Starting to get 
tired of the whole idea of computers.
 
Feel like throwing this macbook out and hammer it 
 
 
 

"Light has no value without darkness"
 
 
 
On 5/07/2013, at 12:28 PM, Tyler Thompson <tktpianostud...@gmail.com> wrote:


To tack on to my previous comment here’s how you can programatically link 
objects with objective c
 
NSButton *theButton;
[theButton addTarget:self action:@selector(buttonMethod:) 
forControlEvents:someControlEvent];
 
 
On Jul 4, 2013, at 10:23 PM, Yuma Antoine Decaux <jamy...@gmail.com> wrote:


Hi All,
 
I am going through an IOS book right now, and am stuck at a point where i need 
to create an action in my controller for a button. I'm supposed to control drag 
a button to my assistant editor so that x code can automatically place the 
appropriate action method and properties to my project.h, project.m and 
project.xib files. But there is no control drag in voice over.
 
Is this another unsurmountable obstacle or is there actually a method to do 
this?
 
Any help greatly appreciated 
 
Best regards,
 
Yuma 
 
 

"Light has no value without darkness"
 
 
 

"Light has no value without darkness"
 
 
 
 
-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.
 
-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
tomacvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
tomacvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to