Cocoa Programming L13 - NSTableView Intro

preview_player
Показать описание
How to setup an NSTableView in Cocoa.
Рекомендации по теме
Комментарии
Автор

Finally a fine looking tutorial for this table view.

soyfrionaldoelcamellero
Автор

Aaaaargh, great. This is the best explanation of how a NSTableView works I've ever seen! Great one! THANKS. Faved!

BliitzPint
Автор

My tutorials work in series. If you have no programming experience, start with the first 20 beginner C tutorials. Then to understand what alloc and init mean, you need to watch the Objective-C tutorials as you watch the Cocoa ones. Objective-C is the language we're programming in, Cocoa is all the nice graphical things we get on Mac OS like tableviews and buttons, etc.

AppleProgramming
Автор

best tutorial ever~looking forwards to some Scene View/ Scene Kit tutorial.

kaiwen
Автор

@UlrikVad synthesize is explained in the Objective-C tutorial on properties (L19).

AppleProgramming
Автор

Can you reembedding in wich previous video you have explained synthesize ? Thanx for the videos, thye are amazing !!

UlrikVad
Автор

@Techn0Junki3 ANY Objective-C class will always be created with a pointer. You can't make an Obj-C class object without using the *.

AppleProgramming
Автор

You can manually add the init method but you won't need the dealloc. The dealloc isn't used in this example anyways nor would it be used under ARC.

AppleProgramming
Автор

I love how you always seem to be uploading videos for exactly the things I'm learning about in my Cocoa book. Are you following any sort of pattern/book or are you just uploading what people request?

sweetangel
Автор

@mewosh I don't think it creates this anymore, they changed this in one of the releases. You can just as easily create the init method yourself though.

AppleProgramming
Автор

Since garbage collection is turned on, should we remove the dealloc method in TableViewController or should we add code to dealloc list?

Billwxyzzy
Автор

Trying to navigate this in Xcode 13 and finding it quite hard to do.
Things have certainly changed from when this video was made, but I’m finding it almost impossible to follow as the errors thrown are not clear.
So far I have left the *tableView object in the ViewController.h file, as creating the TableViewController class as subclass of NSObject didn’t then let me do anything of what shown here.
*list could not be added there, so I added it in the ViewController.m file, just above viewDidLoad.
I added the memory allocation line inside viewDidLoad, hoping it will work.

If not the video’s author, I hope someone will chime in to possible point current learners in the right direction.
Thank you

TheBardsCorner
Автор

This is referring to time 12:45 in the video. When adding IBOutlet NSTableView *t; I get an error saying "Unknown type name 'NSTableView'". Any suggestions please?

RumeshEranga
Автор

What do u mean by init or dealloc? Do u hv a tutorial or intro to them?

kaifernglow
Автор

@sweetangel1927 I try to fill people's requests, but I can't jump from Cocoa basics to Core Data or Blocks :D. People ask for things that I will get to, but there is a logical learning procedure. I'm starting with some simple Cocoa elements, then moving to more complex ones. Almost all Cocoa books are going to follow the same pattern, but that's because there is a logical way to attack every language, easiest to more complex.

AppleProgramming
Автор

@madmaddymanu I left the font at my default which is really small for the tutorials. So I just redid the tutorialwith larger font. Sorry for the confusion.

AppleProgramming
Автор

@AwesomeChannel476 Next tutorial has 2 columns.

AppleProgramming
Автор

It is really not that bad... its basically c++ with square brackets

sacredgeometry
Автор

OMG, I just learning Objective-C but already hate it. Such a mess.. Simple stuff so complicated comparing to any other language.

ekpest
Автор

i had to change the table view's content mode to Cell Based in the attributes inspector to make this work  - i hope this helps someone else it took me days to figure out

bselect
join shbcf.ru