iOS – Memory Management

The Big Nerd Ranch Guide book takes all of chapter three to discuss memory management in iOS.

The chapter, while I read all of it, was over my head. I certainly understand the point of memory management — but not from reading this text. Memory management in an application has pretty simple ramifications: use more memory than the space allows for and you’re over capacity and you crash. Just like shoving a bunch of people into a small room.

Reading this text to bring me to a point of understanding about how one could make life easier on new programmers and designers-gone-rogue: explain what all the doo dads are first.

Think about it this way: if you wanted to learn English for the first time, wouldn’t it be handy to know that periods always go at the end of sentences? That commas are used to separate clauses and are generally placed where you’d take a breath if you were speaking what you were writing. Why doesn’t someone explain that to people from the get-go with programming languages. Everyone knows that the majority of mistakes are made with syntax, mostly because no one knows where the frack they go or what they do. What does a square bracket ([) do that a curly bracket ({)doesn’t? How does one know when to use a two brackets instead of just one set?

Knowing HTML, one could explain some things like this:

Use a “<” when you open a tag and “/>” when you close it. Everything is encapsulated in an opening and closing bracket.

Is that not helpful or is it just me?


Want to know when stuff like this is published?
Sign up for my email list.

Photo of Justin Harter

About JUSTIN HARTER

Justin has been around the Internet long enough to remember when people started saying “content is king”.

He has worked for some of Indiana’s largest companies, state government, taught college-level courses, and about 1.1M people see his work every year.

You’ll probably see him around Indianapolis on a bicycle.

Leave a Comment