Skip to content
项目

关于

Digging a Foundation With A Spoon

其他项目

这些数字如何统计

可以做什么

  • Uses under 1.5 MB of memory at any one time (most of it is used for drawing the window).
  • A red square in the lower-left-hand corner (drawn in Core Graphics).

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

C-Macs

A Cocoa Application with no Nibs and no Objective-C Code

C-Macs is a successful attempt to port the ability to dig a foundation with a spoon. The app is written entirely in C, with gratuitous calls to the Objective-C Runtime.

Features

  • Nibless!
  • Main.m-less!
  • Cocoa-less!
  • Uses under 1.5 MB of memory at any one time (most of it is used for drawing the window).
  • A red square in the lower-left-hand corner (drawn in Core Graphics).

License

  • Absolutely no license. Use it at your own risk, and don't blame me if anything bad happens. Oh, and if you extend it, make sure there isn't any Objective-C in it!

##Important Notes & Bugs

  • The app does not release allocated memory;
  • There is an implied autoreleasepool, but one is not explicitly created.
  • A small reliance on __attribute__((constructor)), which is not the best way to do things…
  • WAY too many framework includes and links to dylibs we don't need.
  • Built and tested on OS X Lion. Theoretically, it's possible this works on all machines that support the modern ObjC runtime, however, use on older OSes below 10.6 is highly discouraged.
  • All calls to framework objects are compliant with OS X 10.0+, however the code will only run on intel architectures. This will be remedied first.

探索相关项目

加载中…