Skip to content

Commit

Permalink
Adds licensing text to RefugeOnboardingViewController.m per issue Ref…
Browse files Browse the repository at this point in the history
  • Loading branch information
k-giardchase committed Apr 30, 2015
1 parent bd1a7ed commit 363e24c
Showing 1 changed file with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
//
// RefugeOnboardingViewController.m
// refuge-ios
// RefugeOnboardingViewController.m
//
// Created by Harlan Kellaway on 2/16/15.
// Copyright (c) 2015 Refuge Restrooms. All rights reserved.
// Copyleft (c) 2015 Refuge Restrooms
//
// Refuge is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE
// Version 3, 19 November 2007
//
// This 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.

#import "RefugeOnboardingViewController.h"

Expand All @@ -30,12 +40,12 @@ @implementation RefugeOnboardingViewController
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];

NSArray *pages = [self createPages];
self.onboardingView = [[EAIntroView alloc] initWithFrame:self.view.bounds andPages:pages];
[self styleOnboardingView];
self.onboardingView.delegate = self;

[self.onboardingView showInView:self.view animateDuration:0.3];
}

Expand All @@ -56,7 +66,7 @@ - (NSArray *)createPages
EAIntroPage *page2 = [EAIntroPage pageWithCustomViewFromNibNamed:kOnboardPageName2];
EAIntroPage *page3 = [EAIntroPage pageWithCustomViewFromNibNamed:kOnboardPageName3];
EAIntroPage *page4 = [EAIntroPage pageWithCustomViewFromNibNamed:kOnboardPageName4];

return @[ page1, page2, page3, page4 ];
}

Expand Down

0 comments on commit 363e24c

Please sign in to comment.