please note total newbe to ibook one month in mac environment steep learning curve
and very close to useless java programmer having tried and studied it for two years
opted to buy a apple as my friend had one and it lasted longer than my HP Intel laptop
then I started to use it and after a few days found something called XCODE cocoa
so yaba daba doo cocoa arrived made for useless coders like me I HOPE
problem is to learn and simultaneously introduce xcode into my project schedule
The project time line cant exceed two weeks as I need this component ASAP
The problem how tooooā¦
I want to have a initially a three choices going from left to right
( to be decided)
possibly radio buttons (but might settle on menus or other buttons)
which will have numbers on indicated( possibly on top of them -1,0 ,+1 or inside a text field or both)
the program will always start in the centre radio button highlighted and numbered zero
the left button will be numbered -1 and the right button will be numbered +1
below that there will be two arrows one pointing left and one pointing right
when you use the key board (mandatory requirement )
on the apple g4 ibook(purchased oct 2005) arrow keys left or right arrows
( will use z,x,c or similar F1⦠if arrow keys cant be used)
(or optional extra you mouse click the arrows on the relevant screen)
the highlighted radio button changes one position to the right or left
depending on the limit of three positions and the relevant instruction
If I can succeed to do this it will be extended to more than three positions
and will include a lot of extra features so that dictates
must be cocoa xcode objective c (possibly carbon or java)
as apposed to script
If somebody want too help out the real problem I have from converting
from my limited two years of java is how to tackle this type of logic
I figure I could probably crack this problem switching directly to
objective c and then doing carbon and later converting over to cocoa
Lifeās too short and the idea to do little preferably NO CODE appeals to me
but I cant get my head around how to tackle the problem in a logical way
that suits cocoa
I have studied as best as possible all relevant examples such as converter and calculator
also a lot of other cocoa examples on the net and some scripts
the best script I found that code might be usable was the program
āMINEā
by jonn8 (thatās an excellent site he has best I found yet lot of useful small programs)
As a code hacker reuse and modifier of code to do something else there seems to be a real
lack of useful information on how to tackle this new type of environment which requires very little code
My best stab to date suggests I might probably be using classes and methods such as these
class NSActionCell ( if I use a menu or cell instead of radio button)
class NSBrowserCell ( if I use a menu or cell instead of radio button)
NSTableView ( if I use a menu or cell instead of radio button)
class NSResponder ( moveLeft moveRight methods )
class NSControl ( select method )
class NSButon ( highlight method )
NSTableView -( selectColumIdexes:byExtendingSelection(*) example (num-1) method)
NSTableDataSource
class NSObject
The mechanics of the xcode I can work with so far with most examples
Its the how to do the project when there is no code to cannibalizeā¦
If I can get a way to solve this typical problem then I might be able to extend this type method to other future projects
Info on other sources or best practices sites etc all welcome
I prefer to have this section of the project completed by the end of the week
but if some old hands figure to use carbon or java would solve the problem quicker for the moment
then I will opt for that route as a temporary measure until I can figure out this cocoa stuff
If somebody knows a relevant how too for a similar project that would probably be best
as just supplying me the code might not supply the logic of how to solve this problem
My instincts suggest that there may be no code needed to do this section of the project
Codeless2
I have a dream NO MORE CODE planet
and especially no more quirky expensive WINDOWS Xā¦