Editable Text with Images, Audio, and Video?

Discussion in 'iOS Programming' started by ArtOfWarfare, Jul 13, 2014.

  1. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    The last time I needed to include images and text side by side by side was iOS 3. I had to settle for a UIWebView.

    I tried seeing what people do now and found this post:
    http://ios-blog.co.uk/featured-posts/ios-5-rich-text-editing-series/

    That comes from iOS 5 - it looks like people are still using UIWebViews and that Apple still hadn't provided anything good as of 3 years ago.

    So I'm wondering - is there anything that Apple added in iOS 6 or 7 (or maybe something upcoming in iOS 8) that makes this dramatically easier?

    Or am I really going to have to follow a seven part tutorial to make this work?
     
  2. MattInOz macrumors 68030

    MattInOz

    Joined:
    Jan 19, 2006
    Location:
    Sydney
    #2
    iOS7 TextKit -Exclusion paths...
     
  3. ArtOfWarfare thread starter macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #3
    Hey, that looks great, thanks! Glad you posted before I got too into those tutorials.

    I'm reading up on Text Kit now:
    http://www.objc.io/issue-5/getting-to-know-textkit.html

    Do you have any tutorials you'd recommend that cover how to add images, video, and audio inline to editable text?
     
  4. MattInOz macrumors 68030

    MattInOz

    Joined:
    Jan 19, 2006
    Location:
    Sydney
    #4
    The best I've seen to date was in Ray Wenderlich's "iOS7 by Tutorials" it answered the question I had about the new features, but that is a paid book. There should be some good free tutorials out there and the WWDC13 session covered a fair bit as well.
     
  5. ArtOfWarfare thread starter macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    I can't find anyone talking about attachments besides images and I'm pretty confused about exclusion paths.
     
  6. MattInOz macrumors 68030

    MattInOz

    Joined:
    Jan 19, 2006
    Location:
    Sydney
    #6
    Yes but you can tap and image a fire a method in response to that.
    So wouldn't video and audio just be a placeholder image that triggers the video to play?
     
  7. ArtOfWarfare thread starter macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #7
    I guess that could work.
     

Share This Page