WWDC 2018 | Keynote |Quick Notes | 2 mins

Screen Shot 2018-06-06 at 9.55.14 AM.png

“Today is all about Software,” Apple CEO Tim said as he took the stage at WWDC 2018.

It all started with statistics.

  • 20 million iOS developers
  • 500 million weekly app store visits
  • 81% using iOS 11 where only 8% using latest Android
  • Developers earned 100 million through App Store


Screen Shot 2018-06-06 at 9.50.17 AM.png


  • New iOS 12 will be released as a free update, every model back to the 5S will get a performance boost.
  • ARKit, second generation, which included a lot of cool updates, most interesting is the ability for multiple users to observe and interact with the same environment from different angles.
  • Apple Screen time, now iOS 12 will tell you how much time you’re spending with your iPhone and which are the apps.
  • Do not disturb a lot of improvements, while you are sleeping will hide the notification, one step one time notifications.
  • Photos, with iOS 12 they have revamped it. Allowing more search options driven by AI, share the photos through iMessage.
  • Siri, it’s handling 10 billion requests per month and now Apple is allowing you to interact with it more, create shortcuts to trigger app features.
  • Animojis, more personal now. It’s super accurate, face-tracking and tongue tracking capabilities. Surely it will feel you very familiar.
  • Group FaceTime, now chat with 32 people at once with emoji, sticker, and other effects support.

iOS Apps updates

  • Stocks, new UI with better performance
  • Apple News app.
  • Apple iBooks getting a redesign and a new name.
  • Voice Memos, iPad getting it for the first time and recording will be now synced to iCloud.


Screen Shot 2018-06-06 at 9.51.04 AM.png


So far biggest functions of the Apple iWatch is fitness, now Apple adding more components which let you challenge your friends.

  • Automatic workout detection using your heart-beats(once you stop working out your heart rate decreases, so it will automatically stop).
  • Walkie-Talkie, Texting/phone are tough using watch screen so Apple added an instant audio messaging app called walkie-talkie (uses the wifi or cellular to interact with other devices).
  • Siri on Watch, allow third-party apps to show you more information. Now just lift your wrist and start talking it means no more “Hey Siri”.
  • Podcasts app is coming on your wrist.


SOLID principle with Swift | STUPID

SOLID principle is an acronym created by Robert C Martin also unknown as Uncle Bob. It represents five principles for OOPS.

Single responsibility
Liskov Substitution
Interface Segregation
Dependency Inversion

Now the first thought that came to my mind is Why do we need this? Here is the answer, using these principles we can solve the problems of a bad architecture.

Fragility where A small change may break complete module it’s really very difficult to find this if you don’t have good test cases.

Immobility where A component is very hard to reuse in another project or we can say multiple places in the same project because of too many dependencies.

Rigidity where Single change requires lots of developer efforts because it affects several parts of the project.

Here I want to add principles will not turn a bad programmer into a good programmer you need a better judgment there. Principles have to apply with judgment and you must be smart enough to understand when to apply what.

I have also written one blog where they have mentioned one more acronym like SOLID and it’s STUPID. This may hurt your feeling but yes if you are following this you are writing stupid code.

Tight Coupling
Premature Optimization
Indescriptive Naming

Thank you for reading the quick introduction, In next blogs, I will try to define all principles with Swift Code.

App Secure | URLSession | Authentication Challenge | NTLM | Security | Credentails

Yesterday, I have posted about How to response Authentication Challange but thoughts came in mind that if you are going with the first options Provide authentication credentials is it really secure and safe? how is client sharing the credentials with the server?

After lots of Google, I have found, how’s NTLM works and it’s pretty interesting to see that client don’t share the password with the server. here are the steps as follow.

Screen Shot 2017-10-12 at 1.06.51 PM.png

  1. The client makes the request to the server.
  2. The server needs to validate the user because there is no identity so server generates 16 bytes random number called as the challenge and sends it to the client.
  3. Client hash this challenge with the user’s password and return it back to the server that is called the response it also includes username as plain text and challenge sent to the client.
  4. The server sends everything to the domain controller and it uses the username to retrieve the hash of the user’s password from security account manager database and hash the challenge.
  5. Domain controller shares the response back to the server if they are identical then authentication is successful otherwise a failure.

So the interesting part is here that Network API doesn’t share the password with the server it means it very secure.

Thank you for reading.

Share your thoughts and feeback.




WWDC June 2017 | Keynote

  • tvOS: Introduced Amazon prime video Integration with Apple tvOS.Screen Shot 2017-06-05 at 10.45.41 PM.png
  • Apple Watch: watchOS 4 released with lots of amazing features like Apple watch Siri faces (upcoming events and weather, traffic. integration of AI make it more confident and accurate), cloudy displays and more mickey characters. Also they have Enhances lots of Apps like  Workout: High intensity training, Music For Siri.
  • macOS High Sierra: All about deep technology, lots of refinements in safari like auto play blocking, Intelligent tracking prevention. Refinements in Mail, Photos (Filtering, Face recognition(sycn across all devices, Photo editing tools)). Apple file system for macOS introduced its,  H265 new standard for videos. Metal 2 for graphics, video cut pro. Steam VR SDK – 90 frames per seconds for desining new VR expereice,  thunderbold 3.Screen Shot 2017-06-05 at 11.21.45 PM.png
  • iOS: iOS 10 – 96% customer satisfaction, 86% running installed base. Screen Shot 2017-06-05 at 11.39.12 PM.pngLaunch of iOS 11, Redesigned App drawers for messages app, integration with iCloud, End to end encryption. Apple Pay – Person to person payment also intrgarion with iMessage App. Apple Pay Card for holding your money. Siri – 375 million devices, Translation Beta. Camera – 1 Trillion photo per year. entrily new app store,Screen Shot 2017-06-05 at 11.38.07 PM.pngScreen Shot 2017-06-05 at 11.40.22 PM.png

    Introducing new ARKit for iOS.

    Screen Shot 2017-06-06 at 12.05.24 AM.png

  • iPad: 10.5 inch new iPad Pro with weight 1 pound, higher refresh rates, 40% faster graphics performance, multi touch, Files app for accessing all files with in the mac.Screen Shot 2017-06-06 at 12.17.13 AM.pngScreen Shot 2017-06-06 at 12.23.21 AM.png
  • Music: reinvent home music, Launch of HomePod, Musicologist. Screen Shot 2017-06-06 at 12.48.40 AM