Posts

What's new in Xcode 8?

Image
Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs. Swift 3 Xcode 8 supports Swift 3 as well as Swift 2.3 (a small update from Swift 2.2 due to SDK compatibility requirements). A  Swift migrator  is provided to help upgrade your Swift code to the latest Swift 3 language specifications and SDK requirements. Projects created with Xcode 8 use Swift 3 by default. Fortunately, Xcode 8 includes a build setting that gives developers the ability to stick with Swift 2, Swift 2.3 to be precise. Signing Code signing is a necessary evil for developers interested in Apple's platforms. Fortunately, Apple isn't burying its head in the sand. It understands the pain developers are having. Code signing issues should be a thing of the past with Xcode 8. Fo...

Some Nice Features of the Objective-C Language

Here is a little list of things that, in my experience, contribute to make Objective-C a powerful and fun programming language. Classes are objects Each class is an instance of a meta-class automatically created and managed by the run-time. We can define class methods, pass classes as arguments, put them in collections and so on. To create an object, we just send a message to the class we want to instantiate. No need to reinvent a "factory" system. No need for a specific constructor mechanism at the language level. This helps keeping the language simple and powerful. And, by the way, meta-classes are objects too! Dynamic typing As in Ruby, Python, Smalltalk, Groovy… Extremely useful because we don’t always know beforehand what our objects are going to be at run-time. Dynamic typing in Objective-C is simple to use. For example, this declares a variable that can hold a reference to an object: id myObject; Optional static typing Still, Objective-C also has ...

iOS 10 key features

At a glance | iOS 10 key features Siri Siri got a massive makeover, becoming much smarter. This includes writing your messages, doing image searches and transcribing voicemails. Apple Music Much simpler and more intuitive. It has brought back useful iTunes features, including Recently Added and Recently Played sections. And it has added information in Browse and For You that include daily playlists, top charts and radio - a bit like Spotify Discover. HomeKit The HomeKit app can now be used to control a range of smart home gadgets, from the garage door to dining room light to thermostat. Apple News Apple is launching a new subscriptions feature so users can read all their subscription media within Apple News. Apple Maps Redesign makes Maps more proactive - it can check your calendar for places you're meant to be going, and has a better search function for amenities close to you. Compatible devices iPhone 7, iPhone 6 and 6 Plus, iPhone 5s, iPhone 5, iPhone 5c, iP...

Swift Algorithm

If you're new to algorithms and data structures, here are a few good ones to start out with: Stack Queue Insertion Sort Binary Search  and  Binary Search Tree Merge Sort Boyer-Moore string search The algorithms Searching Linear Search . Find an element in an array. Binary Search . Quickly find elements in a sorted array. Count Occurrences . Count how often a value appears in an array. Select Minimum / Maximum . Find the minimum/maximum value in an array. k-th Largest Element . Find the  k -th largest element in an array, such as the median. Selection Sampling . Randomly choose a bunch of items from a collection. Union-Find . Keeps track of disjoint sets and lets you quickly merge them. String Search Brute-Force String Search . A naive method. Boyer-Moore . A fast method to search for substrings. It skips ahead based on a look-up table, to avoid looking at every character in the text. Rabin-Karp Longest Common Subsequence . Find the longest se...

Trending CocoaPods

 Last updated 2016-01-18 # Name Watchers Count Change Description 1 CoreDragon 42 Stop using context menus. Drag and drop instead, even between apps! 2 React 33 Build high quality mobile apps using React. 3 SwiftFlow 32 Unidirectional Data Flow in Swift 4 SAConfettiView 32 Confetti! Who doesn't like confetti?' 5 TYPFontAwesome 31 The iconic font designed for Bootstrap. Contains only the official font files directly from Font Awesome. 6 Changeset 31 Minimal edits from one collection to another 7 ElasticTransition 29 A UIKit custom modal transition that simulates an elastic drag. Written in Swift. 8 TransitionTreasury 26 Easier way to push your viewController. 9 StatefulViewController 24 Placeholder views based on content, loading, error or empty states 10 Alamofire 22 Elegant HTTP Networking in Swift 11 PageMenu 21 A paging menu controller built from other view controllers allowing the user to switch between any kind of view controller. 12 SwiftyDB 19 Making SQLit...