Abstract
So far, every project we’ve talked about has had all its source code crammed into its main.m file. The main() function and all the @interface and @implementation sections for our classes are piled into the same file. That structure’s fine for small programs and quick hacks, but it doesn’t scale to larger projects. As your program gets bigger, you’ll have a ponderous file to scroll through, making finding stuff harder.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Scott Knaster, Waqar Malik, Mark Dalrymple
About this chapter
Cite this chapter
Knaster, S., Malik, W., Dalrymple, M. (2012). Source File Organization. In: Learn Objective-C on the Mac. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4189-8_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4189-8_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4188-1
Online ISBN: 978-1-4302-4189-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)