Social Pinboard: ios(swift) Application

Similar documents
Document Version Date: 1st March, 2015

News- ipad: ios(swift) Application

imate: ios Application

Chapter 22 TableView TableView. TableView ios. ViewController. Cell TableViewCell TableView

Collection Views. Dr. Sarah Abraham

Produced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar

Tables. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall

Mobile Development - Lab 2

App. Chapter 19 App. App (ViewController) App. Single View Application Single View Application View. (View Controller)

ios Application Development Lecture 5: Protocols, Extensions,TabBar an Scroll Views

ITP 342 Mobile App Dev. Collection View

iphone Application Programming Lab 2: MVC and Delegation + A01 discussion

Introductory ios Development

COMP327 Mobile Computing Session: Lecture Set 1a - Swift Introduction and the Foundation Framework Part 2

Cocoa Touch Best Practices

Implementing UI Designs in Interface Builder

View Concepts. iphone Application Programming Lecture 4: User Interface Design. SDK provide many types of Views to show your content

lecture 10 UI/UX and Programmatic Design cs : spring 2018

Stanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015

Building the App - Part 5 - Adding a Link

Protocols and Delegates. Dr. Sarah Abraham

Enhancing your apps for the next dimension of touch

Assignment IV: Smashtag Mentions

CSC 581: Mobile App Development Spring 2018

Your First ios 7 App. Everything you need to know to build and submit your first ios app. Ash Furrow

INTRODUCTION TO COLLECTION VIEWS

ios Development - Xcode IDE

G, H I, J. Event-based motion device attitude, 677 gyroscope values, 677 Single View Application project, 674

Mobile Application Programing: ios. Messaging

ITP 342 Mobile App Dev. Connections

Navigation bar (Xcode version 4.5.2) 1. Create a new project. From the Xcode menu, select File > New > Project

ITP 342 Mobile App Dev. Table Views

iphone Programming Touch, Sound, and More! Norman McEntire Founder Servin Flashlight CodeTour TouchCount CodeTour

View Concepts. iphone Application Programming Lecture 4: User Interface Design. SDK provide many types of Views to show your content

Mobile Applications Development. Swift, Cocoa and Xcode

LESSONS LEARNED. SWIFT. Dagna Bieda, 7th April 2016

COMPLETE TUTORIAL COURSE. Learn to make tvos LE. apps with real-worldam S F

AdFalcon ios Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group

UI Design and Storyboarding

ITP 342 Mobile App Dev. Table Views

Notifications. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder

ITP 342 Mobile App Dev. Delegates

Core Data. CS 442: Mobile App Development Michael Saelee

Mastering UIKit on tvos

Intro to Development for ios. Dave Koziol Arbormoon Software, Inc.

Mobile Development Lab 3

A Mad Libs app that you will navigate through 3 UIViewControllers to add text that will be shown in a story on the fourth UIViewController.

Mobile Application Programming. Controls

View Controllers CPRE 388

Apple Development Technology Workshops

Life Cycle. Chapter Explore the Game Application. Understanding the Views in a Game

IPhone Application of Carleton University. Carleton University Computer Science Honors Project Report

This book contains code samples available under the MIT License, printed below:

} override func didreceivememorywarning() { 26 super.didreceivememorywarning() 27 } 28 } Pause Stop

Announcements. Today s Topics

ios Application Development Lecture 3: Unit 2

Lecture 8 Demo Code: Cassini Multithreading

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

Introduction to WatchKit. CS193W - Spring Lecture 1

Mobile Application Programming. Messaging and Delegation

src3/bettertextfield/bettertextfield/appdelegate.h // AppDelegate.h // BetterTextField

CS193P - Lecture 8. iphone Application Development. Scroll Views & Table Views

Learn to make ios apps

ios Application Development Hello World App Rubric

UICollectionView. NSCoder Milwaukee. 2 April John Psuik. Tuesday, April 2, 13

Intro to Native ios Development. Dave Koziol Arbormoon Software, Inc.

ios Mobile Development

CSC 581: Mobile App Development Spring 2019

ios Tic Tac Toe Game John Robinson at Rowan University

iphone Programming Patrick H. Madden SUNY Binghamton Computer Science Department

SAMPLE CHAPTER. Brendan G. Lim Martin Conte Mac Donell MANNING

INTRODUCTION TO ARCHITECTING YOUR IOS APP

ios Development Lecture 2 ios SDK and UIKit Ing. Simone Cirani

Types of Views. View category Purpose Examples of views. Display a particular type of content, such as an image or text.

Praktikum Entwicklung von Mediensystemen mit ios

Generic Programming with Protocol in Swift. ios

lectures/2/src2/nib1/nib1/appdelegate.h // AppDelegate.h // Nib1 // David J. Malan // Harvard University //

COPYRIGHTED MATERIAL. part I Developing a Professional UI. Chapter 1: Creating a Personal Library. Chapter 2: Advancing with Tableviews

Phone. Making a phone call within app ( and returning to app after call ends ) is as easy as :

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall

Monetize and Promote Your App with iad

Gerontechnology II. Collecting Smart Phone Sensor Data for Gerontechnology. Using ios

Stanford CS193p. Developing Applications for ios. Spring CS193p. Spring 2016

Stanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015

Rx in the real world. 1 Rob Ciolli

InterfaceBuilder and user interfaces

ITP 342 Mobile App Dev. Web View

MVC and Interface Builder IAP 2010

Navigation and Segues

ios Core Data Example Application

Stanford CS193p. Developing Applications for ios. Winter CS193p. Winter 2017

Today s Topics. Scroll views Table views. UITableViewController Table view cells. Displaying data Controlling appearance & behavior

CSE 438: Mobile Application Development Lab 2: Virtual Pet App

AVAudioPlayer. avtouch Application

Apple Watch Docs. Release 0.1. Michael Hahn

let w = UIWindow(frame: UIScreen.mainScreen().bounds)

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall

Advanced Notifications

ITP 342 Mobile App Dev

Transcription:

Social Pinboard: ios(swift) Application Document Version 1.0.1 Date: 15 th May, 2015

2 [SOCIAL PINBOARD: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance Methods... 6 application: didfinishlaunchingwithoptions:... 6 applicationwillresignactive:... 6 applicationdidenterbackground:... 6 applicationwillenterforeground:... 7 applicationdidbecomeactive:... 7 applicationwillterminate:... 7 Variables... 7 HomeViewController Class Reference... 8 Tasks... 8 Instance Methods... 8 populatescrollview... 8 shownextscreen... 8 didreceivememorywarning... 8 backbtntapped:... 8 Variables... 9 HomeDetailViewController Class Reference... 10 Tasks... 10 Instance Methods... 10 SearchViewController Class Reference... 11 Tasks... 11 Instance Methods... 11 viewdidload... 11 numberofsectionsintableview:... 11 tableview: numberofrowsinsection:... 11 tableview: cellforrowatindexpath:... 12 tableview: viewforheaderinsection:... 12

[SOCIAL PINBOARD: APP DOCUMENTATION] 3 tableview: heightforheaderinsection:... 12 didreceivememorywarning()... 12 textfieldshouldreturn:... 12 Variables... 12 NotificationsViewController Class Reference... 13 Tasks... 13 Instance Methods... 13 viewdidload... 13 numberofsectionsintableview:... 13 tableview: numberofrowsinsection:... 13 tableview: cellforrowatindexpath:... 14 tableview: viewforheaderinsection:... 14 tableview: heightforheaderinsection:... 14 didreceivememorywarning()... 14 Variables... 14 ProfileViewControllerClass Reference... 15 Tasks... 15 Instance Methods... 15 viewdidload... 15 numberofsectionsincollectionview:... 15 collectionview: numberofitemsinsection:... 15 collectionview: cellforitematindexpath:... 16 collectionview: collectionviewlayout: sizeforitematindexpath:... 16 collectionview: collectionviewlayout: insetforsectionatindex:... 16 didreceivememorywarning... 16 LoginViewController Class Reference... 17 Tasks... 17 Instance Methods... 17 viewdidload... 17 didreceivememorywarning... 17 NotificaitonsTableViewCell Class Reference... 18

4 [SOCIAL PINBOARD: APP DOCUMENTATION] Tasks... 18 Instance Methods... 18 awakefromnib... 18 setselected: animated:... 18 Variables... 18 ProfileCollectionViewCell Class Reference... 20 Variables... 20

Important Notes: [SOCIAL PINBOARD: APP DOCUMENTATION] 5 Development Environment : Xcode 6.3 Language: Swift This template is developed as a Tab bar based application. The tab bar is constructed inside the main storyboard. Each view controller of the tab bar is a navigation controller and to customize various screens you need to customize the root view controllers associated to these navigation controllers.

6 [SOCIAL PINBOARD: APP DOCUMENTATION] AppDelegate Class Reference Inherits from UIResponder Conforms to UIApplicationDelegate Declared in AppDelegate.swift Tasks - application: didfinishlaunchingwithoptions: - applicationwillresignactive: - applicationdidenterbackground: - applicationwillenterforeground: - applicationdidbecomeactive: - applicationwillterminate: Instance Methods application: didfinishlaunchingwithoptions: func application(application: UIApplication, didfinishlaunchingwithoptions launchoptions: NSDictionary?) -> Bool applicationwillresignactive: func applicationwillresignactive(application: UIApplication) applicationdidenterbackground: func applicationdidenterbackground(application: UIApplication)

applicationwillenterforeground: [SOCIAL PINBOARD: APP DOCUMENTATION] 7 func applicationwillenterforeground(application: UIApplication) applicationdidbecomeactive: func applicationdidbecomeactive(application: UIApplication) applicationwillterminate: func applicationwillterminate(application: UIApplication) Variables var window: UIWindow?

8 [SOCIAL PINBOARD: APP DOCUMENTATION] HomeViewController Class Reference Inherits from UIViewController Declared in HomeViewController.swift Tasks - populatescrollview - shownextscreen - didreceivememorywarning - backbtntapped: Instance Methods populatescrollview func populatescrollview() shownextscreen func shownextscreen() didreceivememorywarning override func didreceivememorywarning() backbtntapped:

[SOCIAL PINBOARD: APP DOCUMENTATION] 9 @IBAction func backbtntapped(sender : UIButton) Variables @IBOutlet var contentscroll : UIScrollView! var arrimages

10 [SOCIAL PINBOARD: APP DOCUMENTATION] HomeDetailViewController Class Reference Inherits from UIViewController Declared in HomeDetailViewController.swift Tasks - viewdidload - didreceivememorywarning - backbtntapped: Instance Methods - viewdidload override func viewdidload() - didreceivememorywarning override func didreceivememorywarning() - backbtntapped: @IBAction func backbtntapped(sender : UIButton)

[SOCIAL PINBOARD: APP DOCUMENTATION] 1 1 SearchViewController Class Reference Inherits from UIViewController Declared in SearchViewController.swift Tasks - viewdidload - numberofsectionsintableview: - tableview: numberofrowsinsection: - tableview: cellforrowatindexpath: - tableview: viewforheaderinsection: - tableview: heightforheaderinsection: - didreceivememorywarning() - textfieldshouldreturn: Instance Methods viewdidload override func viewdidload() numberofsectionsintableview: func numberofsectionsintableview(tableview: UITableView) -> Int tableview: numberofrowsinsection: func tableview(tableview: UITableView, numberofrowsinsection section:

12 [SOCIAL PINBOARD: APP DOCUMENTATION] Int) -> Int tableview: cellforrowatindexpath: func tableview(tableview: UITableView, cellforrowatindexpath indexpath: NSIndexPath) -> UITableViewCell tableview: viewforheaderinsection: func tableview(tableview: UITableView, viewforheaderinsection section: Int) -> UIView? tableview: heightforheaderinsection: func tableview(tableview: UITableView, heightforheaderinsection section: Int) -> CGFloat didreceivememorywarning() override func didreceivememorywarning() textfieldshouldreturn: func textfieldshouldreturn(textfield: UITextField) -> Bool Variables @IBOutlet var searchbar : UITextField! var headings : [String]! var values : [Array<String>]!

[SOCIAL PINBOARD: APP DOCUMENTATION] 1 3 NotificationsViewController Class Reference Inherits from UIViewController Declared in NotificationsViewController.swift Tasks - viewdidload - numberofsectionsintableview: - tableview: numberofrowsinsection: - tableview: cellforrowatindexpath: - tableview: viewforheaderinsection: - tableview: heightforheaderinsection: - didreceivememorywarning() Instance Methods viewdidload override func viewdidload() numberofsectionsintableview: func numberofsectionsintableview(tableview: UITableView) -> Int tableview: numberofrowsinsection: func tableview(tableview: UITableView, numberofrowsinsection section: Int) -> Int

14 [SOCIAL PINBOARD: APP DOCUMENTATION] tableview: cellforrowatindexpath: func tableview(tableview: UITableView, cellforrowatindexpath indexpath: NSIndexPath) -> UITableViewCell tableview: viewforheaderinsection: func tableview(tableview: UITableView, viewforheaderinsection section: Int) -> UIView? tableview: heightforheaderinsection: func tableview(tableview: UITableView, heightforheaderinsection section: Int) -> CGFloat didreceivememorywarning() override func didreceivememorywarning() Variables var profilepics : [String var names : [String] var imagecount : [Int] var imgpinpics :

[SOCIAL PINBOARD: APP DOCUMENTATION] 1 5 ProfileViewControllerClass Reference Inherits from UIViewController Declared in ProfileViewController.swift Tasks - viewdidload - numberofsectionsincollectionview: - collectionview: numberofitemsinsection: - collectionview: cellforitematindexpath: - collectionview: collectionviewlayout: sizeforitematindexpath: - collectionview: collectionviewlayout: insetforsectionatindex: - didreceivememorywarning Instance Methods viewdidload override func viewdidload() numberofsectionsincollectionview: func numberofsectionsincollectionview(collectionview: UICollectionView) -> Int collectionview: numberofitemsinsection: func collectionview(collectionview: UICollectionView,

16 [SOCIAL PINBOARD: APP DOCUMENTATION] numberofitemsinsection section: Int) -> Int collectionview: cellforitematindexpath: func collectionview(collectionview: UICollectionView, cellforitematindexpath indexpath: NSIndexPath) -> UICollectionViewCell collectionview: collectionviewlayout: sizeforitematindexpath: func collectionview(collectionview: UICollectionView, layout collectionviewlayout: UICollectionViewLayout, sizeforitematindexpath indexpath: NSIndexPath) -> CGSize collectionview: collectionviewlayout: insetforsectionatindex: func collectionview(collectionview: UICollectionView, layout collectionviewlayout: UICollectionViewLayout, insetforsectionatindex section: Int) -> UIEdgeInsets didreceivememorywarning override func didreceivememorywarning()

[SOCIAL PINBOARD: APP DOCUMENTATION] 1 7 LoginViewController Class Reference Inherits from UIViewController Declared in LoginViewController.swift Tasks - viewdidload - didreceivememorywarning Instance Methods viewdidload func viewdidload() didreceivememorywarning override func didreceivememorywarning()

18 [SOCIAL PINBOARD: APP DOCUMENTATION] NotificaitonsTableViewCell Class Reference Inherits from UITableViewCell Declared in ProfileTableViewCell.swift Tasks - awakefromnib - setselected: animated: Instance Methods awakefromnib override func awakefromnib() setselected: animated: override func setselected(selected: Bool, animated: Bool) Variables @IBOutlet var containerview : UIView! @IBOutlet var imgprofile : UIImageView! @IBOutlet var picpin1 : UIImageView! @IBOutlet var picpin2 : UIImageView! @IBOutlet var picpin3 : UIImageView! @IBOutlet var picpin4 : UIImageView! @IBOutlet var lbltext : UILabel!

@IBOutlet var lblmore : UILabel! [SOCIAL PINBOARD: APP DOCUMENTATION] 1 9

20 [SOCIAL PINBOARD: APP DOCUMENTATION] ProfileCollectionViewCell Class Reference Inherits from UICollectionViewCell Declared in ProfileCollectionViewCell.swift Variables @IBOutlet var imgmain : UIImageView! @IBOutlet var picimg1 : UIImageView! @IBOutlet var picimg2 : UIImageView! @IBOutlet var picimg3 : UIImageView! @IBOutlet var lblname : UILabel!