Skip to main content

Posts

Showing posts with the label Swift

Useful git commands for everyday use!

Do you know that questions about git get the most views on StackOverflow? I've searched a lot on Google how to execute certain actions with git, and this actually slowed me down a lot. There are some actions that we tend to use a lot, so it's good to learn them. Here are my favorites, learning from friends and internet, hope you find them useful.Before we begin, you should run git — version to check your current git version, mine is 2.12.2 as in macOS High Sierra. Here is the official git documentation, you can read details about git commands, parameters and new releases of git.Table of ContentsUseful commandsGit aliasGUI clientsCheck before you commitWhere to go from hereUseful commands🔍 StatusCheck the status of working directory and staging area:git statusShow changes between HEAD and working directory:git diffShow the list of commits in one line format:git log --onelineShow commits that make add or remove a certain string:git log -S 'LoginViewController'Search com…

Storyboard Reference, Strong IBOutlet, Scene Dock in iOS 9

Apple has done some optimization in both Xib and Storyboard files. And because of this optimization, you can now define an IBOutlet as strong, instead of weak. Apple pointed this out at the last WWDC, so let's give a look at this in more details. You can find in the documentation the chapter Managing the Lifetimes of Objects from Nib Files:
✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

This arti…

Swift vs. Objective-C: 10 reasons the future favors Swift

Programming languages don't die easily, but development shops that cling to fading paradigms do. If you're developing apps for mobile devices and you haven't investigated Swift, take note: Swift will not only supplant Objective-C when it comes to developing apps for the Mac, iPhone, iPad, Apple Watch, and devices to come, but it will also replace C for embedded programming on Apple platforms.
✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share yo…

Advances in Testing With Xcode 7 and Swift 2

In the early days of iOS, tools to facilitate testing were not a major focus of Apple's Developer Tools team. This has gradually changed over the years with the introduction of the XCTest framework and, more recently, support for asynchronous and performance testing. With Xcode 7 and Swift 2, Apple is taking another big leap to improve testing in Xcode. In this tutorial, I'm going to walk you through three significant additions that will make testing easier and more enjoyable.
✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest po…

How To Start Unit Testing in Swift

Last week I wrote about code quality and one area I covered was unit testing. Unit testing is the process of validating that pieces of your code operate as you expect. As you can imagine, this is a very useful aid in software development. If you're only using your eyes to determine if your app is functioning you're leaning on hope. The hope, being, that the house doesn't come crumbling down since you can't confidently say that everything works. The moment you ship the app to the store is one filled with anxiety. Undoubtably you discover a soul-crushing bug(s) that you scramble to push to the store, waiting on the Apple overlords.
✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more ar…