サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
bignerdranch.com
In media res? Check out Part 1, Part 2, Part 3, and Part 3.5 for all our posts on Core Graphics. In Core Graphics, a path is a step-by-step description of some kind of shape. It could be a circle, a square, a valentine heart, a word frequency histogram or maybe a happy face. It doesn’t include any information such as pixel color, line width or gradients. Paths are primarily used for drawing – fill
Want the TL;DR version? Here’s a gist of all three examples. Async generators and async iteration have arrived! Err, they’ve reached Stage 3, which means they are likely to ship in a future version of JavaScript. Until then, you can enable Stage 3 proposals in Babel to try them out in your own projects. The web is essentially a decentralized app runtime, so subpar language additions have permanent
One of the most exciting parts of Swift being open-sourced is that it can be used as a more general purpose programming language. Server side Swift is an especially appealing platform given the web’s ubiquity. Recently, Apple began to support this initiative more formally by creating a working group dedicated to Swift on the server. We at Big Nerd Ranch are very excited to see Swift on the server.
This post was adapted from a talk called “String Theory”, which I co-presented with James Edward Gray II at Elixir & Phoenix Conf 2016. My posts on Elixir and Unicode were also part of that talk. IO Lists and Phoenix In my last post, I showed how Elixir’s IO lists enable us to build and write output with minimal work and memory usage. This is nice enough for writing files, but it’s absolutely kill
This post was adapted from a talk called “String Theory”, which I co-presented with James Edward Gray II at Elixir & Phoenix Conf 2016. My posts on Elixir and Unicode were also part of that talk. It’s been said that “the key to making programs fast is to make them do practically nothing.” Imagine you’re going to write some data to a file, or send a web response to a browser. What’s the minimum amo
Elixir and Unicode, Part 2: Working with Unicode Strings This post was adapted from a talk called “String Theory”, which I co-presented with James Edward Gray II at Elixir & Phoenix Conf 2016. In my post on Unicode and UTF-8, I showed you the basis of Elixir’s great Unicode support: every string in Elixir is a series of codepoints, encoded in UTF-8. I explained what Unicode is, and we walked throu
[Updated] Splash Screens the Right Way Launching a Splash Screen Update Splash screens are a big deal for Android developers. In fact, BNR’s VP of Engineering, Chris Stewart, wrote our original Splash Screens the Right Way blog post over five years ago and it is still our most popular post. We’re aiming to update the implementation with modern Android practices and to fix a bug in the original pos
Since its release, Swift has emphasized safety, and optionals are an important part of Swift’s approach. They provide a mechanism for representing nil, and require a definite syntax for working with an instance that may be nil. Optionals come in two forms: Optional ImplicitlyUnwrappedOptional The first is the safe kind: it requires the developer to unwrap the optional in order to access the underl
When Apple announced Swift 2.0 at this year’s WWDC, Swift’s main architect, Chris Lattner, indicated that the 2.0 update to the language focused on three main areas: fundamentals, safety and beautiful code. Out of the list of new features, improvements, polishes and beautifications, one that may impact your Swift 1.x code the most is error handling. That’s because you cannot opt out of it. You mus
Building an iOS App in Rust, Part 2: Passing Primitive Data Between Rust and iOS Editor’s note: This is the second post in our series on building an iOS app in Rust. Welcome to Part 2 of our “Building an iOS App in Rust” series! If you haven’t read Part 1 already, please do that. Running the code in this post will require you to have set up a Rust toolchain for iOS. Last time, we built a simple “H
Every once in a while, an Android developer might want to use a ViewPager without the added complexity of also using Fragments. A good example is an image gallery, where the user can swipe between different pictures. On these types of pages, all you really want to display is a view of static content (in this case, an image), so I’m going to walk you through how to utilize the ViewPager with just p
Code completion can improve your productivity by reducing how much you have to type, but there are situations when a more powerful tool is needed. Thanks to Android Studio and IntelliJ, live templates make it much easier to focus on just the things you care about. Live Templates Live Templates are code snippets that I can insert into my code by typing their abbreviation and pressing tab. They live
Building an iOS App in Rust, Part 1: Getting Started with Rust Editor’s note: This is the first post in our series on building an iOS app in Rust. The vast majority of apps that get developed for iOS and Android are written in the native languages provided by the platform: Swift or Objective-C on iOS, and Java on Android. I don’t expect that to change any time soon; however, sometimes there’s a ne
Triumph! Android Studio 1.2 Sneaks In Full Testing Support I’m calling it. We’ve been monitoring the state of testing in the Android world for some time now, waiting for the day when testing would be fully baked into the Android development cycle. Well, that day has finally arrived. I wrote about setting up unit testing in Android Studio back in January. If you were committed enough to get through
Our engineers’ brains in book format Outside of our bootcamps and corporate training classes, our guides are some of the best resources for programmers looking to jump into mobile app and web development. Designed like our classes, our books provide challenging, accessible, and amazingly practical training to get you writing code quickly and effectively. And what you learn will last you for years
Fragments have started to garner a negative reputation in the Android community, despite being officially supported by the Android team at Google, and there are a host of reasons why: We have to rely solely on default constructors, rather than custom constructors. Nested Fragments are prone to bugs and limitations. The Fragment lifecycle is complex. But perhaps most importantly, Android developers
Can’t get enough info about iOS 8? Join us for our one-day iOS 8 bootcamps in cities across the U.S. Core Data has had a polarizing effect within the development community. You’d be hard pressed to meet a Cocoa developer who is completely ambivalent to the topic. I won’t mask my opinion: I am a true fan. I believe that Apple has made significant improvements to the framework each year. This year w
This is the first of a four-parter. You can find the other parts here: two, three, four My day-to-day work is building Mac and iOS software. That means I spend a fair amount of time inside of the Usual Tools for that. Xcode. Interface Builder. Instruments. gdb and lldb. There’s another tool out there that many programmers don’t think to reach for, and that’s DTrace. Just the other day I needed to
Finding New Pastures: Big Nerd Ranch’s Next Chapter News It is with a mix of emotions that we announce the upcoming sunsetting of some key aspects of Big Nerd Ranch and the transition...
We partner with you from the start to help you create a digital product that engages your end-users. Learn More
このページを最初にブックマークしてみませんか?
『Big Nerd Ranch | Digital Product Development Agency』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く