r/ObjectiveC • u/Riffle_X • Jul 28 '22
Do I use ObjectiveC for making stuff on MacOS
So I have been wanting to make things like custom dock bar and things like that for my mac for quite a while. So I wanted to know if I would use ObjectiveC for that? or am I supposed to use another language, also how long would it take me to learn ObjectiveC to a degree at which I could accomplish what I mentioned above
3
Upvotes
14
u/porkchop_d_clown Jul 28 '22
Objective C is what most of MacOS is written in, but they’re transitioning to Swift.
Changing the operating environment, like the Dock, is much harder than it used to be, though, because the operating system is much more secure than it used to be.
7
u/whackylabs Jul 29 '22
Use whatever makes you happy. I use both Swift and ObjC, depending upon the project. In team I use Swift, working solo I use ObjC.
7
u/balthisar Jul 29 '22 edited 21d ago
RIP old.reddit.com, murdered by the engagement metrics. (Reddit's user agreement entitles you to delete your own content.)
2
u/reg890 Jul 29 '22
Learn Swift. Checkout the lessons on hackingwithswift.com or use the Swift Playgrounds app on ipad to get started and see if you enjoy it.
2
u/[deleted] Aug 16 '22
If you already know C and OOP, learning Objective-C will be quite straightforward.
1
u/ke1in Apr 07 '26
Use Swift, it's fully supported.
-8
u/nrith Jul 29 '22
Sweet jesus, don’t waste time learning Obj-C. I’ve been using it since 2010, and jumped to Swift the day it was announced in 2014. Now I’m at a job where I’m maintaining a legacy SDK written in 100% Obj-C, and I hate it.
0
u/[deleted] Jul 28 '22
[deleted] — view deleted comment