Ayush's Blog

  • Handle Code Overflow In Jekyll 3

    Code overflow in Jekyll 3 by default uses a visible value. To allow users to scroll the code you can add 1 2 3 .highlight { overflow-x: scroll; } to your syntax.css file. This will add scroll bars to your code for viewing overflowing text. Reference: MDN-overflow-x

  • Using Rake

    Dependancies are in Hash syntax Dependancies run only once. So if a, b depend on c and a task d has both a, b as dependancy, running task d wouldn’t run c twice. Also, tasks are not functions 1 2 3 4 5 6 7 8 9 10 11 12...

  • Access Keychain From iOS Extension

    Accessing keychain on iOS is pretty easy, given that you are using SSKeychain. Surprisingly, keychain sharing on iOS is also pretty easy. Keychain access is determined by the Keychain Group your app is using. Since the containing app and an extension are built as two different targets, to share a...

  • Avoid Core Data

    I would suggest this to everybody who is writing an app, whose true data lies at some server instead of the app itself. Think of any app that needs internet connection. For example I will take the app I developed, Checkvistle. The true data was with Checkvist. The data could...

  • Iphone Screen Sizes And Devices

    3.5 inch 4, 4S Screen shot size: 640 × 920px portrait (without status bar) minimum 640 × 960px portrait (full screen) maximum 960 × 600px landscape (without status bar) minimum 960 × 640px landscape (full screen) maximum 4 inch 5, 5S Screen shot size: 640 × 1096px portrait (without status...