0

馬鹿なことをしていると、事前にごめんなさい。しかし、エラーを特定できません。

コード(ヘッダーファイル)は次のとおりです。

#import <Foundation/Foundation.h>

/**
 Represents a cover image. It can be a game cover, a trophy image or even a player avatar.

 It has three properties:

 - **NSMutableString uri**: the link that points to the image.
  - E.g.: [A Skyrim trophy image URI] (http://bit.ly/skyrimTrophyImageUri ).

 - **UIImage img**: the actual image. That is, the bitmap.
  - E.g.: 1A9A3826FB6B42C1B08824655A740620BC8E75F9.PNG

 - **ResolutionType resolution**: the image resolution, which comes from an enumeration of this class called __"ResolutionType"__.
  - E.g: SEN_75x41

*/

@interface NHOCCover : NSObject

結果:

ここに画像の説明を入力してください

私はこれらの指示に従っています(「カスタムリンクの説明」セクション)。

私も試しました:

たぶんXcodeはファイルを台無しにしていますか?2番目の関連する質問で、Xcodeがエディターで自動的にリンクを作成するのをブロックする方法があるかどうか知っていますか?(フォントの色を青に変更して下線を引くことを意味します)。

前もって感謝します。

4

2 に答える 2

4

すでに github で回答済みです。このページにアクセスする人のために、ここにも回答を追加してください。これは v2 の既知の問題であり、3.0 で修正される予定です。https://github.com/tomaz/appledoc/issues/180を参照してください。

于 2012-12-15T06:58:56.953 に答える
0
/**
 Represents a cover image. It can be a game cover, a trophy image or even a player avatar.

 It has three properties:

 - **NSMutableString uri**: the link that points to the image.
  - E.g.: [A Skyrim trophy image URI] (http://bit.ly/skyrimTrophyImageUri ).

 - **UIImage img**: the actual image. That is, the bitmap.
  - E.g.: 1A9A3826FB6B42C1B08824655A740620BC8E75F9.PNG

 - **ResolutionType resolution**: the image resolution, which comes from an enumeration of this class called __"ResolutionType"__.
  - E.g: SEN_75x41

*/

あなたのコードでは、[A Skyrim trophy image URI] と ( http://bit.ly/skyrimTrophyImageUri ) の間にスペースがあります。スペースが問題を引き起こしていると思います。

正しいフォーマットは

[A Skyrim trophy image URI](http://bit.ly/skyrimTrophyImageUri )

これで問題が解決することを願っています。あなたがこれを尋ねてから9か月が経ちましたが、これは同様の問題を抱えている他の人を助けるかもしれません.

于 2013-08-29T10:11:37.343 に答える