iOS Features coded using Playgrounds on iPad 📱
- How to operate an AlertViewController
- Simple UIButton class to create a fancy button that shows the amount of time a user holds a button in a button animation
- Use of BezierPath and CAShapeLayer to create a circular progress view
- Add bounceable extension for animation when button is pressed
- Add simple AlertViewController extension for displaying AlertViewControllers
- How to use UIPan and UITap Gestures to move a simple view around with a neat animation upon touch down and touch up
- Use of Gestures and using translations to move views around based on their frame
- That you cannot have selectors implemented only in extensions of protocols, as then it is not seen by Obj-C -> Crash
- Creation of protocols using constratints and the where keyword with Self (not shown in code)
- How to handle multiple gestures through the use of UIGestureRecognizerDelegate
- Simple bounce and draggable extension on views to allow features defined by protocols
- Figure out whether center property of view can be used to move view around
- How to asynchronously download an image given a URL path to an image
-
Insert a UISlider to see the effects of downloading an image synchronously vs asynchronously
-
What singletons are
-
How to create and use a singleton
-
How KVO's work
-
How to create a KVO
-
Practical use for KVO
-
A simple use of how delegates work through a timer
-
How to avoid a retain cycle when implementing Delegates
- A simple example of predator and preys using Notifications and NSNotifications
- Shows benefits and use cases of using Notifications
- Shows how to post and observe notifications
-
Add all posting in protocol extension
- A simple example of an image loading, and tasks going on at the same time
- Shows simple use case of concurrent tasks
- Shows how to create a simple thread from the global pool of threads, and execute work items on that thread
-
Dive in deeper, and give a pracitcal example
- How you can answer interview questions straight from your iPad
- How to specifically answer this question, in an efficient manner (Speed-Wise)
- Simple for-loop, and iterating through an array
- How to look at recursive problems in an interative manner
-
Add to this, answering more iOS interview questions
- How to create a subclass of UIView
- How to use UIBezier Path to create shapes, and polylines
- How to create a touch gesture programmatically
- How to work with UIProgressView
- How to get values from touch gesture
- The basics of how to replace a manual slider with touch and swiping
- How a retain cycle is created
- Simple example of delegation
- Breif touch on ARC, and how it works
- The use of the
weak
keyword