Open main menu

CDOT Wiki β

John Dang

Joined 13 January 2009
Revision as of 18:01, 9 February 2009 by John Dang (talk | contribs) (Apple Development)
John Dang
JohnDang1.jpg
Me
Born February 15
Occupation BSD Student
Expected Graduation May 2009
Email jqdang@learn.senecac.on.ca
Blog http://jdeport.wordpress.com/

John Dang is a Software Developer. He enrolled in the Bachelor of Software Development (BSD) Program at Seneca College in the winter of 2006 and he will be graduating from the program in May 2009.

He was elected President of the Seneca College School of Computer Studies Windows Club for the school year 2008-2009. He plans on implementing a strategic structure that consisted of standards, procedures and guidelines to assist executives to plan, execute and evaluate events, and to manage and monitor member recruitment and activities.

He has enrolled in the DPS909 - Topics in Open Source Development Course for the current semester (Winter 2009) where he hopes he will learn the fundamentals to what may be the beginning to a successfully career in the Open Source Community.


Open Source Projects

DPS909 - Topics in Open Source Development

Further information: DPS909


Eclipse Web Tools Platform (WTP) Project

Further information: DPS909 and OSD600 Winter 2009 Eclipse WTP Weekly Schedule
Tutorials
  1. Building a Web Application
  2. The above tutorial is incomplete. For a simpler complete tutorial go to windofkeltia.


OpenOffice.org Project

Further information: DPS909 and OSD600 Winter 2009 OpenOffice.org Weekly Schedule

Details to be added


Contribution to the Community

Zenit.senecac.on.ca Wiki Contribution

Further information: Main Page


Pages Added

  • User:John_Dang (this page)


Pages Updated

  • User:JAnastasiade
    • implemented a Wikipedia User structure template
    • added a very brief introduction to user
    • added user online community information
    • added user image
  • User:Fardad
    • implemented a Wikipedia User structure template
    • added a very brief introduction to user
    • added user online community information
    • added user image


DPS909 - Topics in Open Source Development Contribution

Further information: DPS909


Eclipse Web Tools Platform (WTP) Project

Further information: DPS909 and OSD600 Winter 2009 Eclipse WTP Weekly Schedule

Details to be added


OpenOffice.org Project

Further information: DPS909 and OSD600 Winter 2009 OpenOffice.org Weekly Schedule

Details to be added


Apple Development

DPS913 - Foundations of Apple Application Development

Further information: DPS913A.STSY.20091


Apple Mac OS X v10.5.6

Keyboard Shortcuts
Action Mac OSX
Exit Dialog ctrl + eject
Quit All Applications and Restart ⌘ + ctrl + eject
Sleep ⌘ + opt + eject
Force Quit opt + ⌘ + esc
Log Out ⇧ + ⌘ + Q
Log Out Immediately opt + ⇧ + ⌘ + Q
Move to Trash ⌘ + Del
Empty Trash ⇧ + ⌘ + Del
Empty Trash with No Dialog opt + ⇧ + ⌘ + del
Eject ⌘ + E
Right-Click ctrl + Click
Spotlight ⌘ + spacebar
Find ⌘ + F
Hide Find ⌘ + H
Hide Others opt + ⌘ + H
Hide All Windows Except Current Window opt + ⌘ + H
Minimize Window ⌘ + M
Minimize All Windows opt + ⌘ + M
Close Window ⌘ + W
Close All Window opt + ⌘ + W
New ⌘ + N
Open ⌘ + O
Save ⌘ + S
Save As ⇧ + ⌘ + S
Print ⌘ + P
Get Info ⌘ + I
Add to Favorite/Sidebar ⌘ + T
Undo ⌘ + Z
Redo ⇧ + ⌘ + Z
Cut ⌘ + X
Copy ⌘ + C
Paste ⌘ + V
Select All ⌘ + A
View as Icons ⌘ + 1
Hide Toolbar ⌘ + B
Show View Options ⌘ + J
Back ⌘ + [
Forward ⌘ + ]
Go to My Computer ⇧ + ⌘ + C
Go to iDisk ⇧ + ⌘ + I
Go to Applications ⇧ + ⌘ + A
Go to Favorites ⇧ + ⌘ + F
Go to Folder ⇧ + ⌘ + G
Connect to Server ⌘ + K
Turn on Zoom opt + ⌘ + 8
Zoom In opt + ⌘ + '+'
Zoom Out opt + ⌘ + '-'
Negative View ctrl + opt + ⌘ + 8
FKA - Turn on Full Keyboard Access ctrl + F1
FKA - Highlight Menu ctrl + F2
FKA - Highlight Dock ctrl + F3
FKA - Highlight Window/Next Window ctrl + F4
FKA - Highlight Toolbar ctrl + F5
FKA - Highlight Utility Window ctrl + F6
Show/Hide Dock opt + ⌘ + D
Switch Application ⌘ + tab
Turn VoiceOver on/off ⌘ + F5
VoiceOver Menu ctrl + opt + F7
VoiceOver Option UtilityProxy-Connection: keep-alive

Cache-Control: max-age=0

ctrl + opt + F8
Take Picture of Screen ⇧ + ⌘ + 3
Take Picture of Selection ⇧ + ⌘ + 4
Take Picture of Screen to Clipboard ⇧ + ⌘ + 4, ctrl + select
Take Picture of Selected Window ⇧ + ⌘ + 4, spacebar


Objective-C

Further information: Objective-C
String Format
Symbol Display
%@ id
%% a % character
%c unsigned char as ASCII
%C unichar as Unicode
%d, %D, %i long
%e, %E, %f, %g, %G double
%hi short
%hu unsigned short
%o, %O unsigned long printed as octal
%p void *
%qi long long
%qu unsigned long long
%s char *
%S unichar *
%u, %U unsigned long
%x, %X unsigned long printed as hexadecimal


String Conversion between NSString and C strings
NSString *nsstr;
const char *cstr = "Open Source!";

// Convert a C string to a NSString
nsstr = [NSString stringWithUTF8String:cstr];

// Convert a NSString to a C string
cstr  = [nsstr UTF8String];


Automatically Called Methods


Essential Objects and Their Commonly Used Methods
NSObject
  • - (id)init
NSObject *newNSObject = [[NSObject alloc] init];
  • - (NSString *)description
  • NSLog(@"Open Source Account Number: %d is %@", i, accountToPrint);
    

    is equivalent to

    NSLog(@"Open Source Account Number: %d is %@", i, [accountToPrint description]);
    
  • - (BOOL)isEqual:(id)that
  • // compares the logic written in the isEqual methods
    if ([this isEqual:that]) { ... }
    

    may not be equivalent to

    // compares the values of the two pointers
    this == that;
    
    NSArray
    • - (NSUInteger)count
    NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSUInteger *count;
    count = [nsarray count];
    
  • - (id)objectAtIndex:(NSUInteger)index
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray objectAtIndex:0];
    
  • - (id)lastObject
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray lastObject];
    
  • - (BOOL)containsObject:(id)that
  • if ([this containsObject:that]) { ... }
    
  • - (NSUInteger)indexOfObject:(id)that
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSUInteger *index;
    index = [nsarray indexOfObject:@"Open Source!"];
    
    NSMutableArray
    • - (void)addObject:(id)that
    NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    

    [nsarray addObject]:@"Next String!"];;

  • - (void)addObjectFromArray:(NSArray *)that
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray lastObject];
    
  • - (void)insertObject:(id)that atIndex:(NSUInteger)index
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray lastObject];
    
  • - (void)removeAllObjects
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray lastObject];
    
  • - (void)removeObject:(id)that
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray lastObject];
    
  • - (void)removeObjectAtIndex:(NSUInteger)index
  • NSArray *nsarray = [NSArray initWithObjects:@"Open Source!"];
    
    NSObject *nsobject = [nsarray lastObject];
    


    NSString


    Apple Xcode v3.1.2

    Keyboard Shortcuts
    Action Mac OSX
    Build and Go (Run) ⌘ + return
    Display Console Window ⇧ + ⌘ + R
    Clear Console Messages ctrl + opt + ⌘ + R
    Display Documentation Help opt + double-click + method
    Display Preferences Window ⌘ + ,
    Switching Between .h and .m Files opt + ⌘ + up


    Apple Interface Builder v3.1.2

    Keyboard Shortcuts
    Action Mac OSX
    Display Inspector Window ⇧ + ⌘ + I
    Display Preferences Window ⌘ + ,


    Apple Desktop Development

    Lab 1 - Create a Simple Mac OS X Desktop Application
    Further information: Lab 1


    Apple iPhone Development

    Lab 1 - Create a Simple iPhone OS Simulation Application
    Further information: Lab 1


    References


    External links