Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -0,0 +1,21 @@
|
|||
local fn FBClassDemo
|
||||
// Class
|
||||
ClassRef class = fn MutableStringClass
|
||||
// Cocoa base class name as human-readable string
|
||||
print fn StringFromClass( class )
|
||||
|
||||
// Instantiate
|
||||
CFMutableStringRef mutStr = fn MutableStringNew
|
||||
|
||||
// Method with single argument
|
||||
MutableStringSetString( mutStr, @"Hello, World!" )
|
||||
print mutStr
|
||||
|
||||
// Method with multiple arguments
|
||||
MutableStringReplaceAllOccurrencesOfString( mutStr, @"World", @"Rosetta Code" )
|
||||
print mutStr
|
||||
end fn
|
||||
|
||||
fn FBClassDemo
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue