Commit Graph

17 Commits

Author SHA1 Message Date
Watson
cb5e83b215 handle the C structures 2012-11-04 13:57:43 +09:00
Laurent Sansonetti
775d187c36 determine framework path for iOS classes, generate .md file based on that information (instead of parsing twice the html), add CoreData framework 2012-11-03 23:38:03 +01:00
Watson
929b292492 fix the return type about Integer to related char/unsigned 2012-11-02 22:57:33 +09:00
Watson
35fd83f814 fix the return type about delegate
This will fix the following case:
- (id < NSKeyedArchiverDelegate >) delegate
2012-11-02 22:35:41 +09:00
Watson
0f196cf463 fix the regular expression in last commit 2012-11-02 22:24:07 +09:00
Watson
5f70933e06 fix the return type about Integer
This will fix the following case:
- (const uint8_t) decodeBytesForKey(key, returnedLength:lengthp)
- (int32_t) decodeInt32ForKey(key)
- (int64_t) decodeInt64ForKey(key)
- (uint32_t) machPort
2012-11-02 22:09:47 +09:00
Watson
afaf70ffef remove objective-c code samples from API discussion 2012-11-02 14:25:38 +09:00
Watson
cabd20f882 specify the encoding because UTF-8 characters may be contained in reference
If use Ruby19, it will not handle correctly.
2012-11-02 13:49:27 +09:00
Watson
840d35e910 fix incorrect return type with Ruby19
Array#to_s is alias for #inspect on Ruby19. So, its method is different behavior with Ruby18.
2012-11-02 10:39:38 +09:00
Watson
bf3de8c78a fix the method declaration which has variable arguments
before:
	def setWithObjects(firstObj, …:); end

after
	def setWithObjects(firstObj, …); end
2012-11-01 23:00:38 +09:00
Watson
2b4e45e58a add `@scope' directive for yard if handle the class method 2012-11-01 22:24:03 +09:00
Watson
9a3676acf5 NSObject and NSProxy does not have the super class
fix the following warning:
	[warn]: 	in file '/tmp/rb_docset/t189.rb':2:
		2: class NSProxy < none

	[warn]: 	in file '/tmp/rb_docset/t180.rb':2:
		2: class NSObject < none
2012-11-01 13:52:28 +09:00
Watson
0364deeb5c remove no-break space because yardoc will fail to generate 2012-11-01 13:39:42 +09:00
Watson
595820e2de remove the ')' in method declaration which has the handler argument
Because the following method is converted with strange syntax

  - (UIBackgroundTaskIdentifier)beginBackgroundTaskWithExpirationHandler:(void (^)(void))handler

after converting:

  def beginBackgroundTaskWithExpirationHandler()handler); end
2012-11-01 13:15:37 +09:00
Watson
b2b50d52f6 remove the semicolon in method declaration in iOS SDK reference
In some place, the methods will be declared with semicolon in reference:

  - (NSString *)activityTitle;

So, this method is converted to Ruby with strange syntax:

  def activityTitle;(); end
2012-11-01 12:55:48 +09:00
Watson
87539d261c split DocsetGenerator#run to generating ruby code and generating HTML 2012-11-01 00:11:11 +09:00
Watson
665c238f5e split DocsetGenerator class in doc/Rakefile 2012-10-31 23:59:57 +09:00