John Dang
Joined 13 January 2009
John Dang | |
Born | February 15 |
---|---|
Occupation | BSD Student |
Expected Graduation | May 2009 |
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.
Open Source Projects
DPS909 - Topics in Open Source Development
- Further information: DPS909
Course Schedule
Helpful Web Tools Platform (WTP) Tutorials
- Using Eclipse to Develop WTP
- Your First Plug-In: Developing the Eclipse "Hello World" plug-in
- Eclipse Plug-In Development
Contribution to the Community
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
DPS911 - Open Source Project Contribution
- Further information: DPS911
Eclipse Web Tools Platform (WTP) Project
- Further information: DPS909 and OSD600 Winter 2009 Eclipse WTP Weekly Schedule
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 |
⌘ + 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];
NSLog(@"Open Source Account Number: %d is %@", i, accountToPrint);
is equivalent to
NSLog(@"Open Source Account Number: %d is %@", i, [accountToPrint description]);
// 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!", nil]; NSUInteger *count; count = [nsarray count];
NSArray *nsarray = [NSArray initWithObjects:@"Open Source!", nil]; NSObject *nsobject = [nsarray objectAtIndex:0];
NSArray *nsarray = [NSArray initWithObjects:@"Open Source!", nil]; NSObject *nsobject = [nsarray lastObject];
if ([this containsObject:that]) { ... }
NSArray *nsarray = [NSArray initWithObjects:@"Open Source!", nil]; NSUInteger *index; index = [nsarray indexOfObject:@"Open Source!"];
NSMutableArray
- - (void)addObject:(id)that
NSMutableArray *nsmarray = [NSMutableArray initWithObjects:@"Open Source!", nil]; [nsmarray addObject:@"Open Mind!"];
NSMutableArray *nmsarray = [NSMutableArray initWithObjects:@"Open Source!", nil]; NSArray *nsarray = [NSArray initWithObjects:@"Open Mind!", nil]; [nsmarray addObjectFromArray:nsarray];
NSMutableArray *nsmarray = [NSMutableArray initWithObjects:@"Open Source!", nil]; [nsmarray insertObject:@"Open Mind!" atIndex:1];
NSMutableArray *nsmarray = [NSMutableArray initWithObjects:@"Open Source!", nil]; [nsmarray addObject:@"Open Mind!"]; [nsmarray removeAllObjects];
NSMutableArray *nsmarray = [NSMutableArray initWithObjects:@"Open Source!", nil]; [nsmarray addObject:@"Open Mind!"]; [nsamrray removeObject:@"Open Source!"];
NSMutableArray *nsmarray = [NSMutableArray initWithObjects:@"Open Source!", nil]; [nsmarray addObject:@"Open Mind!"]; [nsmarray removeObjectAtIndex:0];
NSString
- - (id)initWithFormat:(NSString *)format, ...
NSString *nsstring = [NSString initWithFormat:@"Open %@!", @"Source"];
NSString *nsstring = @"Open Source!"; NSUInteger *length; length = [nsstring length];
NSString *nsstring1 = @"Open"; NSString *nsstring2 = @" Source!"; NSString *nsnewstring; nsnewstring = [nsstring1 stringByAppendingString:nsstring2];
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 | ⌘ + , |
References
External links
Eclipse WTP
Installing Mac OS X on a Windows PC
- http://pcwizcomputer.com/index.php?Itemid=48&id=76&option=com_content&task=view
- http://www.windowsdevcenter.com/pub/a/windows/2005/01/18/PearPC.html
- http://wiki.osx86project.org/wiki/index.php/Vmware_how_to - [Tested (2009/01/18): Works]
- http://www.insanelymac.com/forum/index.php?showtopic=109102 - My "OS Test" Disk Identifier: "disk0s3" [-v rd=disk0s3]