X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=study-note.org;h=e9cc7d9bb5d1739e782df9da0fc30d013239a5c2;hb=0edd9dc87f8730ef9913a0dc11deb47a15d89d1a;hp=711cc94700bfe4420748a979f6969f8fc911b8dd;hpb=44336abcab1181d18f9d45430cc93d68e7f31bc8;p=dotfiles.git diff --git a/study-note.org b/study-note.org index 711cc94..e9cc7d9 100644 --- a/study-note.org +++ b/study-note.org @@ -159,5 +159,13 @@ configuration. Mode hooks are therefore run later than =eval-after-load= code; t actions baed upon such information as whether other modes are enabled in the current buffer. #+END_QUOTE +* ObjectiveC +** =#import= vs. =#include= +[[http://stackoverflow.com/questions/439662/what-is-the-difference-between-import-and-include-in-objective-c][what-is-the-difference-between-import-and-include-in-objective-c]] +- =#import= directive as added to Objective-C as an improvied version of =#include= +- =#import= ensures that a file is only ever included onces so that you never have a problem with recursive includes +- Bacically, use =#import= for Objective-C thins, =#include= for C stufff. +* Books +** Intruduction to Algorithms