Cocoa Programming L94 - @Invalidating
12:57
Advanced Swift L3 - Hashable
20:52
2 жыл бұрын
Notarize using notarytool
8:06
2 жыл бұрын
Command Line to Mac App Communication
21:32
Embed Command Line Tool in Mac App
24:29
DispatchWorkItem
12:15
3 жыл бұрын
Built It - Welcome Window 4
32:48
3 жыл бұрын
Build It - Welcome Window 3
22:52
3 жыл бұрын
Build It - Welcome Window 2
25:37
3 жыл бұрын
Build It - Welcome Window 1
19:00
3 жыл бұрын
Cocoa Programming L92 - SF Symbols
8:35
Responder Chain 6 - Daniel de Haas
24:40
Why is macOS great?
19:34
4 жыл бұрын
Responder Chain 5 - Ivan Sapozhnik
26:09
Responder Chain 4 - Malin Sundberg
1:00:09
Responder Chain 3 - Itai Ferber
49:42
Пікірлер
@tompov227
@tompov227 13 күн бұрын
2005-2013 Mac Apps were some of the greatest UX and interface design of all time. It just kills me to see this project catalyst nonsense bringing these half baked ipad apps shoehorned into the mac
@Eladna2
@Eladna2 Ай бұрын
It was very helpful Thanks
@Sniffer194
@Sniffer194 Ай бұрын
is it really a good practice to have 2 methods with identical names doing different things? I think for readability sake, the 3rd method should be called "setDimensions" or something like this.
@AppleProgramming
@AppleProgramming Ай бұрын
None of the methods have identical names, the 3rd method does exactly what it says. Sets height and width, maybe could have even been called `setHeight:andWidth:`. Either way, each parameter should have a name in Obj-C, though it's possible to omit.
@xenochaosxc
@xenochaosxc Ай бұрын
First time seeing the view debugger. Thanks for all your videos! They are a treasure trove
@nang88
@nang88 Ай бұрын
Legendary video
@yiran432
@yiran432 2 ай бұрын
how to draw flame graph by these data???
@MottiShneor
@MottiShneor 3 ай бұрын
Hi, stumbled on this one and enjoyed it. I have few questions. 1. You demonstrate a fixed grid-view that is pre-designed and pre-populated with its subviews in advance (be it from Code or in Interface-Builder). You haven't said anything about a dynamic grid (say presenting views for data in file) that should change its number of rows and columns. How do you "feed" it in runtime? does it have a "Data Source" like NSTableView or NSOutlineView? 2. Speaking of which -- what's the difference between NSGridView and view-based NSTableView? both manage the constraints and alignments of tabloid array of other views.. What are the advantages and disadvantages? 3. How do you manage the correct RESIZING of a grid-view (placed in a resizable window) ? Is that working reasonably? 4. Does NSGridView support editing, and dynamic changes? (dragging NSGridCells NSGridRows and NSGridColumns around placing them in different order than their beginning state? A little more discussion is due I think.
@AppleProgramming
@AppleProgramming 3 ай бұрын
Firstly your question: 1. I have talked about dynamic grids, it's NSCollectionView. 2. The difference is mainly about scale and there are many other features like drag and drop, sorting, sizing customization, etc that NSCollectionView will provide you. 3. It should work as the constraints are defined. 4. NSGridView holds views, you can edit those views, but NSGridView is simply a layout class. It is responsible for laying things out in a grid as defined by the columns/rows, nothing more. There is no drag and drop support. NSGridView is meant for showing something like a Settings screen, where you have fixed controls and you want a simple way to lay them out with decent ways of configuring the layout, without the hassle of setting up constraints manually between every single view. If you're looking to display a lot of views in a scrollable type entity, NSCollectionView (or NSTableView) are your go to components. If you're looking for a drop-in component that will give you an Excel/Numbers type spreadsheet, there are none.
@OpiumSmoke8971
@OpiumSmoke8971 3 ай бұрын
This was 13 years ago I love how you said "IOS gets a lot" it really does and I like creating Mac OS even being so good at c++ swift can make things so limited and difficult and even python runs way better for me.obj c++ with storyboard or well thought out hours of debugging wins
@BadMemoryAccess
@BadMemoryAccess 4 ай бұрын
Can you have a custom box with a title? I've tried a lot of things (in Objective-C), and nothing worked. I will attempt Swift next, but I would have thought it to be easy...
@AppleProgramming
@AppleProgramming 4 ай бұрын
I would forget NSBox and just use NSTextField as your label instead.
@NoumanIlyas-nu2sr
@NoumanIlyas-nu2sr 4 ай бұрын
After the upload completes it returns "status: Invalid", what does it mean?
@AppleProgramming
@AppleProgramming 4 ай бұрын
Probably means it’s invalid. Joking aside, it depends what you’re notarizing and how you signed everything etc. There is another notarytool subcommand that can give additional information. I don’t remember it off hand, but if you run `notarytool -h` you’ll probably find it.
@saulotarsobc
@saulotarsobc 4 ай бұрын
nice voice rsrs
@AppleProgramming
@AppleProgramming 4 ай бұрын
Thanks, work hard on that 😅
@Liubomyr-md5ts
@Liubomyr-md5ts 5 ай бұрын
Thanks for the tutorial. For some strange reason my windows gets incorrect size when I add VC into NSTabViewController. 500x500. I see people have this issue as well and now wondering how did you manage to not having this.
@LebenWerden
@LebenWerden 5 ай бұрын
If I execute print, I want the print output currently in the console to be cleared, and the new print output to appear there. It's annoying to click on the trash can icon every time. I haven't found anything in the settings.
@evgenij_lutz
@evgenij_lutz 5 ай бұрын
4:54 that style still makes wondering, because Xcode’s toolbar seems to have the unifiedCompact style (because of bar’s height), but the bar items themself seem to have just the unified style (because the icon size is bigger than in unifiedCompact). I tried many times to achieve the same appearance in my own project, but never succeeded
@evgenij_lutz
@evgenij_lutz 5 ай бұрын
Also the video is as always great, I love what you do, and I learned so much from your videos about cocoa programming in the past years ♥
@TheCodingKid18
@TheCodingKid18 5 ай бұрын
Is there a way to do it in objective-c throughout the tutorial? , the truth is I follow the same steps and I continually have the error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 3 - No such process. I don't know if it's something on my side, but I can't solve it and there is no solution anywhere.
@IkeStarnes40
@IkeStarnes40 5 ай бұрын
Do you know if you have to do notarization for frameworks that you distribute as an SDK? (i.e. no app, just frameworks)
@AppleProgramming
@AppleProgramming 5 ай бұрын
Usually it’s the final product that is notarized, so I don’t think frameworks need to be notarized.
@IkeStarnes40
@IkeStarnes40 5 ай бұрын
@AppleProgramming my product is framework only, and my customer is using it from Java and getting the malicious software notification
@AppleProgramming
@AppleProgramming 5 ай бұрын
@@IkeStarnes40 Is it a Java app? I would expect that they need to sign and notarize that final entity (including signing your framework now packaged as part of that)
@IkeStarnes40
@IkeStarnes40 5 ай бұрын
@@AppleProgramming yep, Java app
@AppleProgramming
@AppleProgramming 5 ай бұрын
@@IkeStarnes40 Feel free to contact me outside YT if you need further help. Notarization seems to be the thing I get contacted about most frequently 😊
@teamredstudio7012
@teamredstudio7012 6 ай бұрын
Thank you so much!! I searched all over Google and it's hard to find a proper explanation! I finally got it to work thanks to you and I finally understand more of the interface builder. You're a saviour and you earned a new subscriber!
@AppleProgramming
@AppleProgramming 6 ай бұрын
Please note this is pretty dated and the newer videos I have on NSTableView and NSCollectionView should be watched as well.
@teamredstudio7012
@teamredstudio7012 5 ай бұрын
@@AppleProgramming That's the thing, I am coding for OS X 10.7 and 10.8, I needed to understand how Objective-C works with Xcode 4. I know it's a bit outdated but I can't afford a new laptop. The new tutorials use methods and syntax that doesn't exist in the 10.7 SDK. I have no problem translating Swift to Objective-C if I know the syntax of both as they use the same framework like C# and VB are using .NET, but I hadn't worked with controller and delegate in Objective-C yet. This video helped me out a lot! The careful explanation made me understand it finally and in one day I went from never done before to including icons and QuickLook with animations and everything into my NSTableView because apparently what I learned here could be applied to a lot more to override a ton of methods. I came accross another one of your videos, which was on OS 9 with Xcode 5. I'll check out the newer video's too, thank you!
@majovlogger
@majovlogger 6 ай бұрын
Omg finally I found a video for Mac OS
@michaelvoline6205
@michaelvoline6205 6 ай бұрын
any swiftUI videos coming soon?
@Hyperian
@Hyperian 7 ай бұрын
Not sure why, control dragging over menu item does not highlight (to show that it is linkable) for some reason.
@Hyperian
@Hyperian 7 ай бұрын
For anyone not understanding why this doesn't work. go to the tableView (not clip view or bordered scroll view) attribute inspector. change it from view based to cell based. This is because the method used to update the table is old and made for cell based object. Newer Xcode defaults tableView object to view based (newer stuff)
@Hyperian
@Hyperian 7 ай бұрын
Instructions here does not work anymore. when pressing Add button, it will just keep adding the default text displayed. Why?
@Hyperian
@Hyperian 7 ай бұрын
this tutorial doesn't seem to work anymore. using custom view for image and using initWithFrame has an issue now, it won't display the image even though the method could see it.
@franciscooliveira9353
@franciscooliveira9353 7 ай бұрын
Hi, First of all great tutorial. I was wondering if u could help me with my project by adding another scripts to run, in short I have to run 2 independent scripts, Thanks
@blissewent
@blissewent 8 ай бұрын
still interested in this lol, knowing people still use mac os x rn is pretty nice
@tomasmoran302
@tomasmoran302 9 ай бұрын
Thanks you sooooo much ! very well explained and simple
@DeniseNepraunig
@DeniseNepraunig 10 ай бұрын
Really helpful video, thanks a lot!
@jorgeelissalde3089
@jorgeelissalde3089 10 ай бұрын
Thank you very much for this Lesson; works perfect using XCode 9.2.
@Waldemar-c6s
@Waldemar-c6s 10 ай бұрын
I have a problem with submitting.. its return "invalid" status and when I add --verbose to that command it shows that received response status code is 200 with no errors, but after that, received new status which is "Invalid".. and sometimes it crash on task 27, sometime on 29 and sometime on 30.. what is the problem here and what are those tasks? PS: Of course tasks from 1 to the one before it crashes has status "In Progres"
@AppleProgramming
@AppleProgramming 10 ай бұрын
There is an info option to notarytool you can pass the identifier to to usually get more information
@timmelis4872
@timmelis4872 11 ай бұрын
If only Apple would make some video's like this ...
@Atr0sity
@Atr0sity 11 ай бұрын
This video is exactly what I needed, so happy you made this!!
@farismuhammed7645
@farismuhammed7645 Жыл бұрын
Thank you, man. It has really helped a lot.
@evgadamov
@evgadamov Жыл бұрын
why might the Thread Sanitizer function not be available on the project?
@AppleProgramming
@AppleProgramming Жыл бұрын
For a macOS project, I'm not sure. Perhaps you've enabled too many other sanitizers and it was a combination that didn't allow for thread sanitizer being enabled. Another reason is if you're debugging on a physical iOS device, Apple doesn't permit this (not sure if it's a technical limitation or something else). Simulators do permit thread sanitizer to be run.
@mehmetedex
@mehmetedex Жыл бұрын
cool
@mehmetedex
@mehmetedex Жыл бұрын
so cool
@BrendanSullivan-v8h
@BrendanSullivan-v8h Жыл бұрын
This is absolutely embarrassing that this is what you have to do to get rid of the publisher identification issues. All this progress then this. Pure shit
@IkeStarnes40
@IkeStarnes40 5 ай бұрын
no kidding
@UCrEdstktTsLwcJR6dk6sMXw2
@UCrEdstktTsLwcJR6dk6sMXw2 Жыл бұрын
Thanks a lot! You saved a lot of time.
@ishitasrivastava6139
@ishitasrivastava6139 Жыл бұрын
Can we add a Search filed in an Outline View? If yes, please provide a source to understand how.
@ishitasrivastava6139
@ishitasrivastava6139 Жыл бұрын
I am getting the following exception: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot create BOOL from object <OutlineViewController: 0x6000004690e0> of class OutlineViewController' What could be the reason?
@AppleProgramming
@AppleProgramming Жыл бұрын
Not sure, but sounds like you’re yielding a reference to the outline view controller rather than a BOOL. Feel free to try the code on GitHub and let me know if you can reproduce the issue there. Link to GitHub in the description.
@ishitasrivastava6139
@ishitasrivastava6139 Жыл бұрын
@@AppleProgramming I followed the video and the NSOutlineView shows the default "Table View Cell" and not the actual values from the Controller. To fix this, i followed what @todcan1 said but it gave the above exception. What could be the reason?
@AppleProgramming
@AppleProgramming Жыл бұрын
@@ishitasrivastava6139 Does the GitHub code work?
@ishitasrivastava6139
@ishitasrivastava6139 Жыл бұрын
@@AppleProgramming Can't find the github link.
@EdQuigman
@EdQuigman Жыл бұрын
Thanks!!!
@Dragonboh1
@Dragonboh1 Жыл бұрын
Keep doing what you doing man
@Dragonboh1
@Dragonboh1 Жыл бұрын
keep doing what you doing man
@sent4dc
@sent4dc Жыл бұрын
I know it's been awhile, but when I compile my C++ code with Xcode 14.1 the symbols are included in the binary. How do I remove them out of it?
@purplehayes33
@purplehayes33 Жыл бұрын
Thank you for posting this .. as a Codesign and Notarize app rookie this video helped tremendously. HUGE Thank you !!!!
@adtc
@adtc Жыл бұрын
In many other languages, dot notation is the normal way of doing things. The whole square bracket notation thing is so weird and hard to follow.
@pavanmanjani7583
@pavanmanjani7583 Жыл бұрын
Great Video, Keep posting.
@pavanmanjani7583
@pavanmanjani7583 Жыл бұрын
Awesome... please keep posting 👍
@roshanthapa25
@roshanthapa25 Жыл бұрын
great videos. The sound quality is too good. DAMN !!!
@denial720
@denial720 Жыл бұрын
Is it possible to do another way around? Sending CFMessage from the App to the command line helper? I failed to do so and getting kCFMessagePortReceiveTimeout...
@adtc
@adtc Жыл бұрын
Missed chance to run the program after the last code change, to show that the chip is also released when the comp is released..