unclevv / MTSwift-Learning

Begin to learn swift,try to make some simple project here

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MTSwift-Learning

As a Designer,I begin to learn swift,try to make some simple project here

I'm newbie,but I'm forwarding.

Goal

A 100 Day Swift Learning Plan.Wanna be learn more about code,not only animation

##Day1:Ink

Ink

What I Learned:

1.How to use Scrollview

2.Simple Modal/Push Transition

3.Simple Hamburger menu animation

##Day2:Ink

Ink

What I Learned:

1.Use PageControl & Scrollview to Make Intro Page

2.Fix the LaunchScreen

3.Use If Condition to animate the button in last page

##Day3:Ink

Ink

What I Learned:

1.Use If Condition to show&hide the Tabbar/Custom NavBar

2.Push Transition/back to navcontroller

3.Fix the Icon & Color in Tabbar

4.How to use simple Webview

##Day4:Ink

Ink

What I Learned(Mainly from MengTo's DesignCode):

1.Bit little things about UIKit Dynamic

2.Transition between view controller ()

3.Pan Gesture State

4.Dictionary & Data & Loop

##Day5:Dribbble News Digest DND

What I Learned:

1.Simple If/Condition

2.How to use simple iOS blur effect

##Day6:Coffee Coffee

What I Learned:

1.Gif sequence

2.Simple 3D-like slidemenu effect

##Day7:Reading "Swift Development with Cocoa" Day7

What I learned:

1.Basic knowledge abt "closure [x]/int [x]/protocol [x]/extension [x]",still needs to review.

2.theory abt "lifecycle/constraints [x]"

3.Make 3 example —— AlertView/DynamicSnap(Used Pan Gesture Recognize & UIDynamicAnimator)/OperationQueue(theory abt OperationQueue & Closure [x])

4.Plan to learn more from http://mathewsanders.com/ tomorrow

##Day8:Animation from MathewSanders.com Day8

What I learned(From MathewSanders.com):

1.(Animation 1)use "arc4random_uniform()" to generate random Int,"for in" to play more times animation/How to get value from UISlider

2.(Animation 2)UIView.TransitionWithView,now I can use modal transiton in ViewController

3.(The whole demo)put all animation into one demo,review the theory abt "prepareForSegue"/get selectedRowAtIndexPath to make segue transition[?]/tableView[?]

4.(Animation 3)Learned add keyframe into animation to make effect better/Reviewed Path + Keyframeanimation

5.(Animation 4)Learned stroke Animation/set ovalpath's anchorpoint、clockwise、radius/How to use SystemAnimation

6.Plan to Learn Progress concept tomorrow,try to design these demo with funny idea.

##Day9:Add a Pinterest-like Longpress effect(but has bugs) Day9

What I learned

1.We can use UIDynamicItemBehavior & allowsRotation to remove SnapBehavior's 3D Strench.

2.Try to learn UIcollisionBehavior[x],but failed,I should learn swift from basic knowledge

To be contiuned...

##Day10:Transition from MathewSanders.com Day10 Day10-1

What I learned

1.Keep reviewing Transionmanager & how to use cotainer & segue to customize animation

2.Add an prototype named "惬读" made with Form ,plan to implement it

3.I have learned Swift for 10Day(or even more).It's not good to learn new knowledge everyday,I need sometime to review what I learned,also I wanna make all these project better & designer-like.So,I paused this plan.

##Day11:Transitionmanager(Make your transition code tidy) Day11 Day11-1

What I learned

1.Keep reviewing Transionmanager ,which made some animation a pattern to re-use anyway in app

2.try to use "present modally" & "over full screen"(try other options,effect will be different) in segue.Now I can part show previous ViewController(Just change second ViewControler's property like opacity/scale/rotation)

3.set a variable(like presenting) in transitionmanager,I can use self.presenting+if/else make switch.I can also use self.presenting before animation block to init propertys of view

About

Begin to learn swift,try to make some simple project here


Languages

Language:Swift 100.0%