mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 17:38:02 +00:00
Fixed some comments referencing NS* classes.
This commit is contained in:
1 parent
345b9d9297
commit
e4f5d9b32f
5 files changed
+14
-14
No files matched your search
@@ -48,7 +48,7 @@
|
||||
CPArray _rangeEntries;
|
||||
}
|
||||
|
||||
//Creating an NSAttributedString Object
|
||||
// Creating a CPAttributedString Object
|
||||
/*!
|
||||
Creates a new attributed string from a character string.
|
||||
@param aString is the string to initialise from.
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Creates and returns an NSFunctionOperation object and adds the specified function to it.
|
||||
Creates and returns an CPFunctionOperation object and adds the specified function to it.
|
||||
*/
|
||||
+ (id)functionOperationWithFunction:(JSObject)jsFunction
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns an NSInvocationOperation object initialized with the specified target and selector.
|
||||
Returns a CPInvocationOperation object initialized with the specified target and selector.
|
||||
@param target the target
|
||||
@param sel the selector that should be called on the target
|
||||
@param arg the arguments
|
||||
|
||||
@@ -156,7 +156,7 @@ var _CPKeyedArchiverStringClass = Nil,
|
||||
return data;
|
||||
}
|
||||
|
||||
// Initializing an NSKeyedArchiver object
|
||||
// Initializing a CPKeyedArchiver object
|
||||
/*!
|
||||
Initializes the keyed archiver with the specified \c CPMutableData for writing.
|
||||
@param data the object to archive to
|
||||
|
||||
+10
-10
@@ -45,7 +45,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns a new NSTimer object and adds it to the current NSRunLoop object in the default mode.
|
||||
Returns a new CPTimer object and adds it to the current CPRunLoop object in the default mode.
|
||||
*/
|
||||
+ (CPTimer)scheduledTimerWithTimeInterval:(CPTimeInterval)seconds invocation:(CPInvocation)anInvocation repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns a new NSTimer object and adds it to the current NSRunLoop object in the default mode.
|
||||
Returns a new CPTimer object and adds it to the current CPRunLoop object in the default mode.
|
||||
*/
|
||||
+ (CPTimer)scheduledTimerWithTimeInterval:(CPTimeInterval)seconds target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -71,7 +71,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns a new NSTimer object and adds it to the current NSRunLoop object in the default mode.
|
||||
Returns a new CPTimer object and adds it to the current CPRunLoop object in the default mode.
|
||||
*/
|
||||
+ (CPTimer)scheduledTimerWithTimeInterval:(CPTimeInterval)seconds callback:(Function)aFunction repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -84,7 +84,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns a new NSTimer that, when added to a run loop, will fire after seconds.
|
||||
Returns a new CPTimer that, when added to a run loop, will fire after seconds.
|
||||
*/
|
||||
+ (CPTimer)timerWithTimeInterval:(CPTimeInterval)seconds invocation:(CPInvocation)anInvocation repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -92,7 +92,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns a new NSTimer that, when added to a run loop, will fire after seconds.
|
||||
Returns a new CPTimer that, when added to a run loop, will fire after seconds.
|
||||
*/
|
||||
+ (CPTimer)timerWithTimeInterval:(CPTimeInterval)seconds target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -100,7 +100,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns a new NSTimer that, when added to a run loop, will fire after seconds.
|
||||
Returns a new CPTimer that, when added to a run loop, will fire after seconds.
|
||||
*/
|
||||
+ (CPTimer)timerWithTimeInterval:(CPTimeInterval)seconds callback:(Function)aFunction repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Initializes a new NSTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.
|
||||
Initializes a new CPTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.
|
||||
*/
|
||||
- (id)initWithFireDate:(CPDate)aDate interval:(CPTimeInterval)seconds invocation:(CPInvocation)anInvocation repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -127,7 +127,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Initializes a new NSTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.
|
||||
Initializes a new CPTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.
|
||||
*/
|
||||
- (id)initWithFireDate:(CPDate)aDate interval:(CPTimeInterval)seconds target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -146,7 +146,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Initializes a new NSTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.
|
||||
Initializes a new CPTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.
|
||||
*/
|
||||
- (id)initWithFireDate:(CPDate)aDate interval:(CPTimeInterval)seconds callback:(Function)aFunction repeats:(BOOL)shouldRepeat
|
||||
{
|
||||
@@ -220,7 +220,7 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
Stops the receiver from ever firing again and requests its removal from its NSRunLoop object.
|
||||
Stops the receiver from ever firing again and requests its removal from its CPRunLoop object.
|
||||
*/
|
||||
- (void)invalidate
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user