objective c - Core Data and NSTableView show content as title -


i'm working on menubar note-taking app simplenote syncing support, , it's been using separate title , content each note. shows title in nstableview , content in nstextview, show content title in table view in simplenote. problem show title until reaches newline, don't know how it.

simplest way break apart string using -componentsseparatedbystring: , pass in \n return array components broken apart. grab zeroth element array.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -