Cocoa tutorial documentation

Hi,
I'm trying to go thru the 10.5.1 cocoa tutorial
to set up 'Currency Converter'. The tutorial
came with 10.5.1 but doesn't conform to the
xcode or interface builder software.
As an example, I managed by hook and by crook
to get the Currency Converter window built
and working.
But now I'm trying to create a new class for
the Currency Converter.
The tutorial says go to the Classes pane of the nib file window
to define a class, and shows a picture of the
MainMenu.nib (English) which has 5 panes -
Instances, Classes, Images, Sounds, Nib.
I can't get this window to appear.
The Interface builder has different options under
my Tools window item than are described in
the tutorial as well.
My Xcode and Interface Builder say they're version
3.0. Obviously they're not designed for 10.5.1
(I had the same problems with 10.5). So do I
have to download new versions of Xcode and Interface
Builder, or new versions of the tutorial?
and doc?
Thoroughly confused,
ken

old application tutorial doc. Hopefully that'll fix it.
Thanks.
Ken Quirici

Similar Messages

  • Unable to open PDF or HTML Oracle Reports Tutorial Documentation

    Hello,
    I am trying to open the PDF Oracle Reports Tutorial Documentation for General Documentation Release 10g Release 2 (10.1.2) from the following location: http://www.oracle.com/technology/documentation/reports.html, but it does not seem to be working. All the other PDFs are working fine. Is this a bug?
    Kind regards,
    Dirk-Abe
    null

    Did you found the solution?

  • Online tutorial,documentation to get simple servlet

    Hi,
    I am new to servlet.
    I have J2EE 1.4 SDK in my pc.
    I want to develop simple servlet,deploy and run.
    will you please give me some websites ,link of tutorial,documentation to write a simple servlet and deploy in j2EE 1.4?
    Thank you so much

    Hello David,
    The problem seems to be with,
    MBeanServer mbeanServer = MBeanServerFactory.createMBeanServer();
    This does not get the MBeanServer that weblogic server uses. Try getting
    the MBeanServer from MBeanHome and register your MBean in this server.
    Check out
    http://e-docs.bea.com/wls/docs81/jmx/basics.html
    to lookup MBeanHome and getting the MBeanServer.
    Thanks,
    -satya
    David Karr wrote:
    Like other people reading this group, I'm trying to get started with JMX in WebLogic (8.1) despite the apparent lack of useful information.
    I'll eventually be writing an mbean which is intended to run on each managed server (registered by a servlet) which will read and write a particular file on each managed server (contention problems are unavoidable).
    In the beginning, however, I'm just trying to build a simple POC, with a servlet that creates and registers a simple mbean. That part was deceptively easy, but I'm not sure I did it right, as I'm not sure of the best way to look at the results of what I did.
    I found the "wlshell" tool, which is a jmx client for WebLogic. After my servlet registers the mbean, I tried reloading the wlshell display, but I don't see anything new. I'm sure I'm misunderstanding something (probably in the "ObjectName" constructor).
    The "init()" method of my servlet looks like this:
    public void init()
    MBeanServer mbeanServer = MBeanServerFactory.createMBeanServer();
    Sample sample = new Sample();
    try
    ObjectName objectName = new ObjectName("Sample:name=sample");
    mbeanServer.registerMBean(sample, objectName);
    The Mbean and impl look like:
    public interface SampleMBean
    public void setFlag(boolean flag);
    public boolean getFlag();
    public class Sample implements SampleMBean
    private boolean flag;
    public void setFlag(boolean flag) { this.flag = flag; }
    public boolean getFlag() { return (flag); }

  • Trouble with Ruby-Cocoa Tutorial (IKImageBrowserView)

    Hello, I'm trying to learn some Mac programming using Ruby so I tried making the project in the Apple tutorial ( http://developer.apple.com/documentation/Cocoa/Conceptual/RubyPythonCocoa/Articl es/BuildingRubyCocoaAppl.html#//apple_ref/doc/uid/TP40005425 )
    Unfortunately it won't run. Every time the console shows this error:
    "Unknown class IKImageBrowserView in Interface Builder file."
    (it defaults to NSView and then more errors result when it gets to the app's code.)
    The tutorial there says that even though IKImageBrowserView isn't in the Library, IB "knows about it" but I feel like something's missing. Although I had no problems changing the Custom Object's Class, and connecting it up. It's only once it tries to run that it fails.

    orangekay wrote:
    RubyCocoa is neither sanctioned nor supported by Apple
    Au contraire: the primary maintainer for RubyCocoa is Laurent Sansonetti, the Apple engineer responsible for Ruby in OS X and also the author of MacRuby, and RubyCocoa is bundled in OS X 10.5 and later along with the Python-Cocoa bridge, PyObjC.
    so any sub-contracted documentation they might supply is probably not going to be kept up to date. That particular tutorial is from last year and things have almost certainly changed since then; you should look for something more recent from the project's maintainers
    Quite possibly; I believe that some of the PyObjC documentation on Apple's site also dates back to Tiger. File a bug on it; IIRC, there's a link at the bottom of each page for doing so.
    Some other links of interest:
    RubyCocoa homepage:
    http://rubycocoa.sourceforge.net
    RubyCocoa mailing list:
    https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk

  • Using cocoa

    Can somebody give me the link of a good cocoa tutorial???
    I already know some c++ and I'm interested in learning cocoa too.
    Thanks for your time With respect,
    Koteas Apostolos

    http://www.tuaw.com/2010/12/19/apple-posts-free-developer-documentation-for-iboo ks-users/
    Should be 6 free dev related iBooks there...at least one for Cocoa - you'll need iBooks on iOS.
    Also, see Cocoa Is My Girlfriend

  • Where can I find a useful JCAPS tutorial?

    Simple question. There was tutorial documentation for 5.1 which I can no longer find. All I can now find are the pages for JCAP6, and I cannot find a beginners tutorial there. Help with a link, please.

    There will be some tutorials available when Java CAPS 6 is released. The doc team is working on updating them now! We will continue to push them
    out as they become available. Watch the Tutorials tab and the RSS feed on the At A Glance to track new docs. In the meantime, the old tutorials are still available with the 5.1.3 docs on docs.sun.com. There is a link to these from the "by Product" tab. Let us know which tutorials are a priority
    to you.
    Thanks
    Sue Weber
    Program Manager,
    Information Products Group
    Sun Microsystems Inc.

  • Cocoa Bindings don't update UI when Model changes?

    Has anyone found a solution to this problem? I read all the Troubleshooting info at Apple and just about wore out the KVC/KVO and Cocoa Bindings documentation.
    I've got one TableView that updates fine, and two others that don't when the Model is modified.
    The Model: class VoterController, the variable is an NSMutableArray "playerArray" that contains 7 NSMutableDictionaries, read in from an XML plist. I set the @property and the @synthesize for it. You can't bind a Model, so no bindings for the array.
    The View: an NSTableView with one column. The column is bound to the voterController listed below.
    Column Binding:
    Bind To: voterController
    Controller Key: arrangedObjects
    Model Key Path: playerName (a key in each dictionary)
    The Controller: an NSTableViewController, class NSTableViewController.
    Bindings for this controller:
    Bind To: mainController
    Model Key Path: playerArray (the NSMutableArray)
    Controller "mainController":
    A simple NSObject (not an Object Controller despite the name) that has its class set as "VoterController", which is the class of the Model object (the array of dictionaries).
    Now the thing that has me stumped is that this NSTableView reads the Model data fine but does not respond to changes in it. In other words, if I delete one of the array elements, it does not show up in the View until I re-launch the app and it reads the changed XML from disk.
    Even more strange, I have another tableView that DOES dynamically change as I change values for any of the keys in the dictionaries that are the elements of the array. This working tableView has the bindings for each of its 5 columns as follows:
    Bind To:voterController
    Controller Key: arrangedObjects
    Model Key Path: playerName, voteCount, role, etc. for each column. Each of these is a key in the dictionaries. If I change programmatically any of the values of these keys, they are immediately changed in the View.
    Apple says the most common reason for Views not updating is non-KVO compliance in the model property. I have the array @property and @synthesize compiler directives, and one View updates and another does not, on the same controller.
    I dunno - I don't expect a solution but any tips I will rush off and try. Thanks in advance.

    "Is this because VIs which use ConfigData_v1.ctl were not loaded into memory at the time when I made the change to the typedef?"
    In short: Yes. Only the callers in memory are updated.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • Reg. Toplink Tutorial

    Hi Friends,
    I am new to Toplink Technology, I want to use toplink in my project.
    plz help me find a detailed tutorial & documentation on toplink.
    Thanks & Regards,
    Sella

    You can also find the complete TopLink doc set here:
    http://www.oracle.com/technology/products/ias/toplink/doc/index.html

  • PLEASE, HELP! Tutorial error

    Hello.
    I am teacher of a Java course and I wanted to teach my students JDO. I tried
    Kodo because of its transparence persistence.
    But I'm not able to run the tutorial. I am using Windows 98 SE and JDK
    1.4.0. I tried Kodo 2.3.1 and 2.3.2. I follow the right steps:
    1) I set JDODIR and JDKHOME at jdocommand.bat.
    2) I run jdocommand.bat (the CLASSPATH seems OK)
    3) I get into \tutorial directory
    4) I compile the tutorial classes with javac *.java. (No problem).
    5) I run "jdoc tutorial.jdo". The following error appears:
    Exception in thread "main" java.lang.IllegalArgumentException:
    org.xml.sax.SAXEx
    ception: file:/C:/kodo-jdo-2.3.1/tutorial/Animal.java:
    org.xml.sax.SAXParseExcep
    tion: The markup in the document preceding the root element must be
    well-formed.
    at
    com.solarmetric.modules.tools.compiler.ClassArgParser.getFromMetaData
    (ClassArgParser.java:141)
    at
    com.solarmetric.modules.tools.compiler.ClassArgParser.parseClassNames
    (ClassArgParser.java:102)
    at
    com.solarmetric.modules.tools.compiler.ClassArgParser.parseClasses(Cl
    assArgParser.java:65)
    at
    com.solarmetric.kodo.impl.jdbc.ormapping.MetaDataVerifier.main(MetaDa
    taVerifier.java:55) ........ and so on
    I have made no change to the tutorila files. I am getting mad trying to get
    information about how to fix this error but I have not found anything.
    I am desperate and I am thinking about forgetting JDO and Kodo. This makes
    me unhappy because I think it's an interesting issue for my students.
    Could someone help me? Any help would be GREATLY appreciated.
    Thanks,
    Vicent Palasi

    OK. I have it.
    I have to delete all .java files (and even the solutions directory) from the
    \tutorial directory and everything works well.
    I don't know why this deletion was not included in the tutorial
    documentation :-(
    Thank you for your interest,
    Vicent Palasi
    "Vicent Palas__" <[email protected]> escribi__ en el mensaje
    news:am7ms2$937$[email protected]..
    Hello.
    I am teacher of a Java course and I wanted to teach my students JDO. Itried
    Kodo because of its transparence persistence.
    But I'm not able to run the tutorial. I am using Windows 98 SE and JDK
    1.4.0. I tried Kodo 2.3.1 and 2.3.2. I follow the right steps:
    1) I set JDODIR and JDKHOME at jdocommand.bat.
    2) I run jdocommand.bat (the CLASSPATH seems OK)
    3) I get into \tutorial directory
    4) I compile the tutorial classes with javac *.java. (No problem).
    5) I run "jdoc tutorial.jdo". The following error appears:
    Exception in thread "main" java.lang.IllegalArgumentException:
    org.xml.sax.SAXEx
    ception: file:/C:/kodo-jdo-2.3.1/tutorial/Animal.java:
    org.xml.sax.SAXParseExcep
    tion: The markup in the document preceding the root element must be
    well-formed.
    at
    com.solarmetric.modules.tools.compiler.ClassArgParser.getFromMetaData
    (ClassArgParser.java:141)
    at
    com.solarmetric.modules.tools.compiler.ClassArgParser.parseClassNames
    (ClassArgParser.java:102)
    at
    com.solarmetric.modules.tools.compiler.ClassArgParser.parseClasses(Cl
    assArgParser.java:65)
    at
    com.solarmetric.kodo.impl.jdbc.ormapping.MetaDataVerifier.main(MetaDa
    taVerifier.java:55) ........ and so on
    I have made no change to the tutorila files. I am getting mad trying toget
    information about how to fix this error but I have not found anything.
    I am desperate and I am thinking about forgetting JDO and Kodo. This makes
    me unhappy because I think it's an interesting issue for my students.
    Could someone help me? Any help would be GREATLY appreciated.
    Thanks,
    Vicent Palasi

  • Problem doing Tracking and Stabilization tutorial

    I'm new to Shake and am working through the tutorial documentation. I'm doing the Tracking and Stabilization tutorial, where you match a jpg sign to the side of a moving bus. I'm at page 216 of the the tutorial documentation. When I the applyTransform button to activate the transform, the sign should more or less match the four tracking points I've created. However, it doesn't. What I get is this:
    http://homepage.mac.com/fergus.hammond/PhotoAlbum9.html
    The new sign jpeg seems to be scaled to about 50% of it's correct height. Page 217 says that the four corner markers should be located on the four corners of the image but in my case they are not; they are way above.
    Any ideas what I'm doing wrong?
    thanks,
    fh

    I dont think the matchmove is gonna resize and scale your photo for you - It is just matching the movement of the bus.
    You can alter the sizing of the photo outside this node by adding node between the input of the matchmove and photo.
    Try cornerpinning the image to pull it out to the correct dimensions
    I think that is how you would do it - I may be wrong - I dont normally use matchmove- normally I track myself using stabilize - then I am free to use the tracking info as I need on othere elements.

  • Tutorial on struts portlet

    Can somebody point me to a tutorial/documentation/example on developing a portlet using struts.
    Thanks
    MM

    I did everyting as the example said. I cannot get the navigation working. first page comes up. but when I click the link to the second page it says page not found.
    <p>
    My code follows: <p>
    -----------------------------------<p>
    <p>
    mainPage.jsp<p>
    --------------<p>
    "<tr> <td>
    <tr> <td> click on showerros <ahref="mainaction.do">showerrors</a> </td> </tr>"
    <p>
    --------------------------------<p>
    provider.xml<p>
    -------------------------<p>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
    <defaultAction>/mainPage.jsp</defaultAction>
    </showPage>
    <p>
    struts-config.xml<p>
    --------------------------<p>
    <action path="/mainaction" type="com.strutsportlet.action.MainAction" scope="session" input="/mainPage.jsp">
    <forward name="success" path="/test1.jsp" />
    <forward name="failure" path="/test2.jsp" />
    </action><p>
    -----------------------------------------------<p>
    error is "http://myhost:myport/pls/hms/mainaction.do - page not found
    <p>
    Any help would be greatly appreciated.<p>
    Thanks
    MM

  • POWL_EASY_BUILDER - tutorial available?

    Hello,
    i'm working on PowerLists and i found the report "POWL_EASY_BUILDER" which creates in an existing feeder-class the necessary data to display a POWL.
    Has anybody a tutorial, documentation or something else, that guids me through the steps of this report.
    I already have the "normal" POWL documentation - i only need input for this special report!
    Many thanks in advance!

    Hello,
    as you already found the correct way to access the Easy-POWL is the transaction POWL_EASY.
    In that transaction you find a blue i button that will open all the help that is available. Also, the F1 help on most of the available field will tell you some information and also link to the same document you can access with the blue button.
    I don't know of any other tutorial or guide.
    Best regards,
    Cedric

  • What to include while creating a framework

    Hi All,
    I have a project and I want it to be as a framework. Now to create a framework, I create a new project of type 'cocoa framework'. My question might be a primary question, but still, I wanted to know
    1) what do I need to include in the new project(framework) i.e. only header files or both source files and header files?
    2) How/where can I mention to consider a header file as 'public' or 'project level'.
    I have gone through "http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrame works/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/20002258" and "http://www.cimgf.com/2008/09/04/cocoa-tutorial-creating-your-very-own-framewor k/"
    I couldn't get answer for above questions.
    Note: I tried including source files and header file. I got errors(No such file or directory) for "CoreFoundation/CFUserNotification.h", "CoreFoundation/CFXMLNode.h", even if I added "CoreFoundation.framework" in dependencies of 'framework target'.
    It would be great, if I get help from anybody.
    Thanks.

    I don't know if this will help you, but :
    http://www.cimgf.com/2008/09/04/cocoa-tutorial-creating-your-very-own-framework/
    I also found this :
    http://my.safaribooksonline.com/0321213149/ch30
    It shows Aaron Hillegass' book online, even though the image they show is for the second edition. When I went to my third edition book, I found that, that chapter is not in the third edition, not quite sure what has happened.
    I have written several helper methods that I would like to put into a framework that I can include and reuse, but I haven't gotten that far yet.
    Maybe some of the more advanced folks might provide some advice...
    Good Luck,
    Bill Hernandez
    Plano, Texas

  • Question about object retention and scope

    I have a hole in my understanding of Cocoa.
    I can create temp objects, to populate an array with, like this:
    for(int i=0;i<10;i++)
    myObject *tmpObj= [[[myObject alloc] init]] ;
    [[myMutableArray addObject:tmpObj]];
    [[tmpObj release]];
    But I don't understand why this works. If the tmpObjects get released, then why don't the ones in the array get released? (I can access the array later, and it is populated with myObjects.)

    If you create an object from scratch (alloc, etc) then it's up to you to release it.
    If you get an object from another method of the system you don't have to worry about releasing it. More than likely it's set to auto-release but it's not your responsibility.
    If you want to hold on to any object then you retain it if you didn't create it. Any object you've retained you're responsible for releasing.
    If you pass an object before releasing it's up to that object to hold on to it if it needs it.
    Links:
    http://www.stepwise.com/Articles/Technical/2001-03-11.01.html
    http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/Memor yManagementRules.html
    Article on leaks
    http://www.cimgf.com/2008/04/02/cocoa-tutorial-fixing-memory-leaks-with-instrume nts/

  • Core Data questions (NSNumber)

    Hi,
    I'm a bit lost with cocoa programming (have done C/C++ in University, now trying to get into the whole user interface thing). I'm trying to do a simple Core Data application but there are things I don't understand.
    First, I have an NSForm in my main window. I'd like the user to enter values in those. But, one of my entitie's attribute should be an interger. The thing is, the values in an NSForm field is a string. I know I can switch the attribute's type to string, but is there a proper way of doing this?
    Second, I have an NSTextField that shows an integer (again it's a string, I'd like it to be an integer). I placed a button next to it to increment that number by one each time it's clicked. At the same time, that field is binded to an attribute wich I'd like to be updated each time to keep track of everything. How do I program the incrementation thing in cocoa? I know Objecive-C quite a bit, but I don't know how to get the job done (what to connect to what, where to put my code, what to overide, etc...).
    Any help would be appreciated!

    Well, first of all, most interface components in Cocoa inherits from the class NSControl, in this class you can fin the method -intValue and -setIntValue: to respectively get and set an int value, if you send an -setIntValue: message to a text field it'll display your integer as a string. If you send a -intValue message to a text field it'll try to parse the number in the text field and will return it or 0 otherwise.
    For your incrementing I would tell you to use bindings, but in that case I would let you read the Apple Documentation because I never really use it so I can't explain it properly.
    So, I'm going to tell you the traditional way to make that work. According to MVC design pattern (Model-View-Controller), you would use 3 levels, but I'll make it simpler and use only 2.
    You have to create a new class which will be a Controller, to do this you go into Interface Builder, in the MainMenu.nib you click the Classes tab, you select NSObject in the left column, you go Classes menu and you do "Subclass NSObject". You put a name for your class.
    Then you open an inspector window, you go in Attributes part where you can see outlets and actions. You add one outlet for your text field of type NSTextField, and you add one action named increment: (the colon is added automatically).
    Then you click on your class again in the MainMenu.nib Classes tab and in the Classes menu you choose Instantiate <your class name>. You'll see a blue cube appear in the Instances tab.
    You hold ctrl key and click on the cube then you drag to your NSTextField (a line should appear between the cube and the cursor) you drop the line on the NSTextField and connect the text field to the outlet in your inspector window.
    You do the same for the button, except that this time you drag from the button to the blue cube and you select the action you defined earlier.
    There you are, everything is set up in IB, now go back into the Classes tab, select your class again and in Classes menu choose "Create files for <your class name>", choose your project and validate. Close IB and save your nib, go on Xcode, select <your class name>.m and inside it put the code into your increment method :
    [textField setIntValue: [textField intValue] + 1];
    textField should be replaced by the name of the outlet you put. Then you can execute and you'll have a beautiful text field which value will be incremented by clicking on the button.
    You can check the Cocoa Tutorial in Apple documentation, there's way more in it than in my post, and there's illustrations to make everything clearer.

Maybe you are looking for

  • Can we disable implicit DB commit in JCO RFC function call?

    I called RFC function provided by ABAP from JCo connection, found that each RFC function is a db LUW itself. All the db access sql in RFC function is implicit commited. Till now, to wrap the db access sql in seperate "Update function module" or "Perf

  • No video on hdmi to tv

    Ipad II connected with a hdmi cable on my tv. only gets audio, any help ?

  • CATS Issue VERY Urgent..

    HI ALL, BiW  PROD is placing CATS data for 2007 in to week 52 2006.  Can advise why? Please advise what would be the error. Cheers, Sri

  • Cleaning a B&W

    Where can I find instructions on taking off all the plastic faceplates and bezels on a B&W G3 tower? I have removed everything but the large side panels... Any ideas out there? Thanks - this tower can REALLY use the cleaning...

  • IWeb '08 and missing comments

    I know that there has been some discussion on other threads about comments suddenly disappearing from sites that were made in iWeb '06 and then converted to iWeb '08. (All of my comments disappeared after upgrading...) Before I give up and just accep