FROM : Scott Stevenson
DATE : Wed Dec 01 19:45:21 2004
On Dec 1, 2004, at 12:39 AM, Amit Kumar(R&D) wrote:
> I am trying to add some static data upto more than 2 levels in a
> OutlineView.I am stuck here and only able to add up to one level.
You should probably post your outline view data source methods.
Also, remember that you need curly braces for conditional that contain
more than one line of instructions. For example:
if ( something ) {
dothis
} else {
dothis
andthis
alsothis
}
This will *not* work the way you expect:
if ( something )
dothis
else
dothis
andthis
alsothis
- Scott
--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
DATE : Wed Dec 01 19:45:21 2004
On Dec 1, 2004, at 12:39 AM, Amit Kumar(R&D) wrote:
> I am trying to add some static data upto more than 2 levels in a
> OutlineView.I am stuck here and only able to add up to one level.
You should probably post your outline view data source methods.
Also, remember that you need curly braces for conditional that contain
more than one line of instructions. For example:
if ( something ) {
dothis
} else {
dothis
andthis
alsothis
}
This will *not* work the way you expect:
if ( something )
dothis
else
dothis
andthis
alsothis
- Scott
--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
| Related mails | Author | Date |
|---|---|---|
| Amit Kumar(R&D) | Dec 1, 09:39 | |
| Shawn Erickson | Dec 1, 19:32 | |
| Scott Stevenson | Dec 1, 19:45 |






Cocoa mail archive

