• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Objective-C
  • Created about 12 years ago
  • Updated about 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A bundle of my necessary frameworks, libraries, helpers, and settings for each Xcode project with configurable options.

RNBoilerplate

RNBoilerplate is my solution to reusing structure, categories, configs, and third-party libraries/frameworks. It should be pretty straight forward on how to use. I'll explain what all is included and why.

Setup

Slowly double-click on the project name to rename your working project.

Click on your scheme and click Manage Schemes. Add a new scheme using your newly named project and remove the old one.

If the physical folder structure bothers you, take a look at this SO question for instructions on how to change it. Make sure you rename your unit test files if you do this or else you will run into headaches.

Frameworks

Parse

I use Parse as often as I can, though sometimes client requests remove them as an option. If I'm ever able to make the call on who/how we are doing networking, its Parse. Checkout their site , get an API key, and get rolling. I've included SDK version 1.1.11. I can't update via git or anything, its manual through their service. However, this version should be good for a while. I'll keep this project updated with major releases.

Testflight

Testflight is a god-send. It makes beta-testing and distributing so effortless and simple. Just like Parse, the SDK is manual-update only. Included in this bundle is version 1.1 (they have a v1.2 beta available). Grab an API key to get rolling with them in this project as well.

Flurry

I haven't used Flurry as much as I should, but recently iTunesConnect has been either too slow to update or doesn't contain enough information. Plus, who doesn't like analytics? This is another SDK + API key required project. The current SDK is version 3.1.2.

Quick note. The libraries mentioned thus far require API keys. I have setup #error flags in my config file to let you know to either get an API key or comment that portion out. If an API key is not provided, the library is not loaded.

Submodules

CocoaLumberjack

I've only experimented with this project a little bit, but I LOVE what I've seen. Logging is fast, has loads of options, and even let's you use colors in log statements! Pretty nifty.

AFNetworking

I never leave home without this project. You're a good man @mattt. If you've never used, or heard of this project, give it a whirl. It basically makes HTTP requests, downloading/uploading, and streaming a breeze. It's well built, well maintained, and fails graciously.

MBProgressHUD

This is likely one of the most popular progress HUD projects out there. I use it in any project that uses network requests. Remember not to use it too much as it's a UX interupter, but when you need to cover up a view until a task is finished, its awesome.

SkyLab

Another great project from @mattt. Paired with Testflight you can do some great A/B user testing remotely. This is a fairly new project but extremely useful. Its incredibly easy to use and provides great feedback.

specta

I've included the files for this tool, but not included it in the actual project as it can be included via CocoaPods. However, if you need to install it manually the resources are there. Check out the docs for instructions. Unit tests are included by default and this extends the utility of doing those tests.

Categories

I added a few useful categories that have helped me out tremendously. It's likely that I'll add more and more categories as I discover them. I recommend you think about what you need in your project when including categories. Just dropping in and importing hundres is not really a useful thing to do as you will become prone to difficult debugging challenges. I have a master category import file RNCategories.h that is included in the prefix-header. Here you can decide what should be included in the project. You can also add your own categories the same way.

UIView+Sizes

Credit goes to @steipete.

@interface UIView (Sizes)

@property (nonatomic) CGFloat left;
@property (nonatomic) CGFloat top;
@property (nonatomic) CGFloat right;
@property (nonatomic) CGFloat bottom;
@property (nonatomic) CGFloat width;
@property (nonatomic) CGFloat height;

@property (nonatomic) CGPoint origin;
@property (nonatomic) CGSize size;

@end

CALayer+Sizes

Again credit goes to @steipete as I just copied UIView+Sizes for this.

@interface CALayer (Sizes)

@property (nonatomic) CGFloat left;
@property (nonatomic) CGFloat top;
@property (nonatomic) CGFloat right;
@property (nonatomic) CGFloat bottom;
@property (nonatomic) CGFloat width;
@property (nonatomic) CGFloat height;

@property (nonatomic) CGPoint origin;
@property (nonatomic) CGSize size;

@end

MBProgressHud+UIViewController

@interface UIView (UIViewWithMBProgressHUD)

- (void)hideHUD;

@end

@interface UIViewController (UIViewControllerWithMBProgressHUD)
<MBProgressHUDDelegate>

- (void)showHUD;
- (void)showHUDWithText:(NSString*)text;
- (void)hideHUD;
- (BOOL)isHUDHidden;
- (void)show:(MBProgressHUD*)hud;

@end

UIImage+AlteringUtilities

@interface UIImage (AlteringUtilities)

- (UIImage *)crop:(CGRect)rect;
- (UIImage *)resize:(CGSize)size;

@end

Contact

License

Copyright (c) 2012 Ryan Nystrom (http://whoisryannystrom.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

RNFrostedSidebar

A Control Center-esque control with blurred background and toggle animations.
Objective-C
2,125
star
2

RNGridMenu

A grid menu with elastic layout, depth of field, and realistic animation.
Objective-C
1,282
star
3

RNBlurModalView

Add depth to your alerts.
Objective-C
830
star
4

RNRippleTableView

A custom table view with highly detailed ripple animations.
Objective-C
390
star
5

RNThemeManager

Easily manage themes and respond to theme changes by updating views in real time.
Objective-C
322
star
6

RNSwipeViewController

Swipe in view controllers from off-screen similar to Check the Weather.
Objective-C
293
star
7

HackerNewsReader

A small, read-only app for Hacker News.
Objective-C
261
star
8

WeatherKit

A quick and elegant solution to gathering local weather data.
Objective-C
166
star
9

UITableViewController-Containment-Demo

This is a sample project showing how to contain a UITableViewController in another VC with a Search Bar + Display Controller working as if it were all in a UITableViewController.
Objective-C
135
star
10

RNExpandingButtonBar

iOS UI widget that mimics the famous button used by the app Path.
Objective-C
126
star
11

RNTextStatistics

A category on NSString to gather advanced statistics on text.
Objective-C
124
star
12

SimpleWeather

A personal weather app I'm building in the open.
Swift
83
star
13

RNSwipeBar

Custom iOS widget to swipe a tab bar from the bottom of the screen
Objective-C
66
star
14

RNAvatarLogin

A simple way to autocomplete Gravatar icons for text fields.
Objective-C
57
star
15

Swift-CoreData

An extremely simple Core Data backed Swift app
Swift
55
star
16

PopDemos

Some demos of Facebook's Pop library made for a RayWenderlich.com tech talk.
Objective-C
53
star
17

TransitionExample

Testing UIViewControllerAnimatedTransitioning
Objective-C
42
star
18

World-Cup-Matches

Very simple app to keep an eye on World Cup 2014 matches.
Objective-C
39
star
19

Metro-Lights

A dark Xcode theme inspired by City Lights for Atom.
34
star
20

IGListKit-Binding-Guide

Starter and finished project for binding guide.
Objective-C
33
star
21

Xcode-Empty-Application

Adding the Empty Application template back to Xcode
30
star
22

UISVC-Compatibility-Demo

UISplitViewController setup that works on iOS 7 with all devices (iPhones + iPads).
Swift
30
star
23

VectorKit

A vector library and playground
Swift
29
star
24

D3Kit

An easy to use iOS library to access the Diablo 3 API.
Objective-C
28
star
25

OneNews-Swift

A work-in-progress universal iOS app for reading Hacker News, Designer News, and Product Hunt.
Objective-C
26
star
26

From-Scratch-Guides

Collection of guides & tutorials about building software from nothing.
25
star
27

WatchKit-by-Tutorials

Repository for all sample code in the upcoming WatchKit by Tutorials book from Ray Wenderlich.
Objective-C
20
star
28

IGListKit-Benchmarks

Benchmark tests for IGListKit
Swift
17
star
29

RNMDParser

Sample application experimenting with Obj-C Markdown parsing.
Objective-C
16
star
30

BottleRocket

An experimental CLI tool for generating normalized Swift models from example JSON responses.
Swift
12
star
31

New-Awesome-Blog

Showing off my awesome blog!
HTML
11
star
32

leadership

[WIP] My thoughts, principles, and resources on leadership.
11
star
33

NSString-RNSynonyms

A fast and lightweight solution to finding synonyms for words, built as a category on NSString.
Objective-C
11
star
34

RNTableView

A recreation of UITableView with only the bear essentials. Use this to start a highly customized UITableView.
Objective-C
11
star
35

WatchKit-Threading

A really simple demo app showing that threading in WatchKit works.
Objective-C
10
star
36

Arduino-HomeKit

HTML
9
star
37

RWDevCon-View-Controller-Transitions

Objective-C++
8
star
38

RNCardStreamController

A vertical section and cell navigation control inspired by Facebook Paper.
Objective-C
8
star
39

Armory-for-Diablo-3

Source code for my Armory app that is awaiting Apple approval.
Objective-C
7
star
40

WeatherExample

Building a Weather app example using ReactiveCocoa for raywenderlich.com
Objective-C
6
star
41

status-checklists

Action to that updates Issue state with checklists
TypeScript
5
star
42

create-child-issues

Action to generate child issues with labels.
JavaScript
5
star
43

Crateless

https://itunes.apple.com/us/app/crateless/id563997439?ls=1&mt=8
Objective-C
5
star
44

.github-template

4
star
45

Playground

Link: https://github.com mention: @rnystrom
3
star
46

RNNumberedTextView

Easily add customizable line numbers to UITextView.
Objective-C
2
star
47

issue-actions

WIP actions to sync parent and child issues.
JavaScript
2
star
48

M3Demo

Objective-C
2
star
49

HackerNews-iOS

Objective-C
1
star
50

Blog

Nothing special.
CSS
1
star
51

dotfiles

1
star
52

Read-Write-Protection-Perf

Teeny tiny profiling of different ways to protect mutations in your objects.
Objective-C
1
star
53

SunlightTest

Sample app to test background and text colors in sunlight
Objective-C
1
star