iBook: Copy without citation option?

Discussion in 'macOS' started by AlecZ, Sep 11, 2014.

  1. AlecZ, Sep 11, 2014
    Last edited: Sep 11, 2014

    AlecZ macrumors 65816

    AlecZ

    Joined:
    Sep 11, 2014
    Location:
    Berkeley, CA
    #1
    I'm reading The Swift Programming Language by Apple, which contains lots of code examples I want to copy into Xcode for experimentation. Every time I paste, I have to remove the citation and quotes it adds in, which is cumbersome. Is there a way to get around this?

    Example:

    Code:
    [COLOR="Red"]"[/COLOR]struct Card {
        var rank: Rank
        var suit: Suit
        func simpleDescription() -> String {
            return "The \(rank.simpleDescription()) of \(suit.simpleDescription())"
        }
    }
    let threeOfSpades = Card(rank: .Three, suit: .Spades)
    let threeOfSpadesDescription = threeOfSpades.simpleDescription()[COLOR="red"]”
    
    Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l[/COLOR]
     
  2. jpu macrumors member

    jpu

    Joined:
    Mar 1, 2014
    #2
    I've got the same issue, It's quite annoying.
     
  3. jennyaxe macrumors newbie

    jennyaxe

    Joined:
    Aug 10, 2015
    Location:
    Stockholm
    #3
    The best solution I've found is to highlight the text I want to copy. Then, I can select the text in the Notes panel and copy it without getting the citation stuff.
     

Share This Page