Environments

Revised: 2008-11-05 james

Class Notes from February 2008

setenv

nvram boot-args=

---

Application Environments

Cocoa
- Where all the major development is at.
- CoreAnimation, CoreData, CoreImage, CoreAudio, etc etc etc.

Carbon
- No development at all, but A LOT of code depend on it being there.

Java, X11, BSD, etc.
- Is updated, but no new major features are added.

Classic is dead.  Don't throw away the PPC's if you need it.  10.5 will not run Classic.

---

Bundles

---

Where are Frameworks and libraries?

.framework

App.app/Contents/Frameworks/Name.framework
/Library/Frameworks/Name.framework
/System/Library/Frameworks/Name.framework
/System/Library/PrivateFrameworks/Name.framework

.dylib

/usr/lib/name.dylib
/usr/X11R6/lib/name.dylib (10.4)
/usr/X11/lib (10.5)
App.app/Contents/MacOS/name.dylib

.a
/usr/lib (10.4 only)
/usr/X11R6/lib/name (10.4 only)

Prebinding

http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html

10.5 cache

/private/var/db/dyld

otool -L /path/to/the/binary

---

Everything technical.

http://developer.apple.com/

---

Becoming an ADC member.

http://connect.apple.com/

---

Submitting bug reports.

http://bugreporter.apple.com/

---

Mail lists

http://lists.apple.com/
http://lists.psu.edu/archives/macenterprise.html
https://lists.sourceforge.net/lists/listinfo/radmind-users

---

ps

zombies

---

Virtual memory

/var/vm

Laptop deep sleep
Encrypted swap files in 10.4
Releasing swap files in 10.5

vm_stat
top

---

System_Profiler

---

Universal Access

GUI AppleScripting

Funky problems are amusing: strange random clicking, wacked out or zoomed display, keyboard quits working, etc.

---

kill
killall
kill -9 (killall -9)
kill -USR1

---