Displaying Static Text in LeafView
Yeah, I know it is a totally newbie question but I am totally new to Xcode and Mac. I got my iPhone in July, 1st Apple product ever, and became totally addicted to it. I used to read 2 to 3 paperbacks a week (yes, that’s week, not month), but between the day I got my iPhone and now I have read only 2. I figure I have saved approximately $360, which more than covers the cost of the iPhone. And with such further future savings in mind I convinced my spouse that Yes, I really do need to buy an Apple computer. So I got a sweet 2.66GHz 20 inch iMac. Love it. Wow.
I downloaded the iPhone SDK and am determined to learn how to create apps. I have no coding experience, I don’t know any computer languages, but am a fast reader and a quick learner.
I want to create a list of definitions (work related) and the DrillDownSave sample fits my needs quite well. The App will not have a very large audience, but will be useful for students of economics/politics and for others in the field of international trade.
Level 1 is Trade agreements:
Agreement on Internal Trade (AIT), North American Free Trade Agreement (NAFTA), World Trade Organization Agreement on Government Procurement (WTO-AGP) – I’ll be using acronyms for brevity.
Level 2 is Language:
English, French, Spanish
Level 3 will be Terminology:
Procurement, Crown corporation, Exclusions, Tendering, etc. (probably 30 – 40 terms in all)
The Leaf View will contain the definition.
“Procurement”, and in the body the text, “Acquisition of goods and/or services at the best possible total cost, in the right quantity and quality, at the right time.”
I’m good up until the text on the Leaf View.
I’ve been experimenting with UILabel, done several tutorials (a hello world tutorials, my first app etc.) created header files and view controllers, dabbled with strings, arrays and SQL and still cannot get it. I suspect that it is something so basic that the tutes and sample code snippets presume the knowledge is already there. Also, I am sure that once I understand how to this really simple thing, the rest of my learning will be much easier.
Could anyone help me with this? How do I populate a simple UILabel box with static text for various definitions?
Any help, suggestions, advice would be greatly appreciated.
|