I hereby claim:
- I am jkhowland on github.
- I am jkhowland (https://keybase.io/jkhowland) on keybase.
- I have a public key ASCxwfoTPBNXhxmxN8FUAtrE6lGk_wasbKSoMtbwLXU5EAo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Sign in to Wired In</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
</head> | |
<style> |
I hereby claim:
To claim this, I am signing this object:
// If you use Parse for Push Notifications, the tutorial on their site is well written: https://www.parse.com/tutorials/ios-push-notifications | |
// 2 - Add Private-Key.h file and set keys | |
static NSString * const ParseApplicationID = @""; | |
static NSString * const ParseClientKey = @""; | |
// 3 - Register for Push from the applicationDidFinishLaunching method | |
if ([application respondsToSelector:@selector(registerUserNotificationSettings:)]) { |
{ | |
"deacon": { | |
"understand": { | |
"learn": { | |
"bullet": "<ul class=\"bullet\">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<p>Read <a href=\"https://www.lds.org/scriptures/dc-testament/dc/11.21?lang=eng#20\" onclick=\"newWindow(this.href); return false;\" class=\"scriptureRef\">Doctrine\n\t\t\t\t\t\t\t\tand Covenants 11:21</a>. What promises does the Lord give to those who study His word?\n\t\t\t\t\t\t\tRecord your thoughts in the box below.</p>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<p>You will need a basic understanding and a testimony of gospel truths to\n\t\t\t\t\t\t\tfulfill your duties now as a priesthood holder and in the future as a full-time missionary\n\t\t\t\t\t\t\tand as a husband and father.</p>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<p>Look at the list of <a href=\"https://www.lds.org/young-men/duty-to-god/deacon/understand/act?lang=eng\" class=\"crossRef\">doctrinal topics</a>, and choose\n\t\t\t\t\t\t\tfour or more that you would like to learn about. One of th |
const CGFloat leftMargin = 50; | |
@interface EventTableViewCell () | |
@property (nonatomic, strong) UIImageView *marker; | |
@property (nonatomic, strong) UILabel *eventTimeLabel; | |
@property (nonatomic, strong) UILabel *titleLabel; | |
@property (nonatomic, strong) UILabel *locationLabel; | |
@property (nonatomic, strong) AvatarView *avatarView; |
@interface AvatarView () | |
@property (nonatomic, strong) CAShapeLayer *circleLayer; | |
@end | |
@implementation AvatarView | |
- (id)initWithFrame:(CGRect)frame { | |
self = [super initWithFrame:frame]; |
const CGFloat margin = 25; | |
@interface SectionHeaderView () | |
@property (nonatomic, strong) UILabel *dateLabel; | |
@property (nonatomic, strong) UILabel *titleLabel; | |
@end | |
@implementation SectionHeaderView |
#pragma mark - Debugging Methods | |
- (void)retrieveEntriesFromCloudKit { | |
// Simple request to check to see what is on CloudKit | |
NSPredicate *truePredicate = [NSPredicate predicateWithValue:YES]; | |
CKQuery *query = [[CKQuery alloc] initWithRecordType:EntryRecordKey predicate:truePredicate]; | |
self.pageControl = [[UIPageControl alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height - 40, self.view.frame.size.width, 40)]; | |
[self.view addSubview:self.pageControl]; | |
self.pageControl.numberOfPages = self.dataSource.pageCount; | |
} | |
#pragma mark - UIPageViewController | |
- (void)pageViewController:(UIPageViewController *)pageViewController willTransitionToViewControllers:(NSArray *)pendingViewControllers { |
UIPageControl *pageControl = [UIPageControl appearanceWhenContainedIn:[PresentationViewController class], nil]; | |
pageControl.pageIndicatorTintColor = [UIColor darkGrayColor]; | |
pageControl.currentPageIndicatorTintColor = [UIColor blackColor]; | |
pageControl.backgroundColor = [UIColor lightGrayColor]; |