Hero is a library for building iOS view controller transitions. It provides a declarative layer on top of the UIKit's cumbersome transition APIs—making custom transitions an easy task for developers. Hero is similar to Keynote's Magic Move. It checks the heroID property on all source and destination views. Every matched view pair is then automatically transitioned from its old state to its new sta
TTTAttributedLabelで指定した範囲の文字にURLを指定してリンクにするには以下の様にaddLinkToURL:withRangeを利用します。 TTTAttributedLabel *label; ... [label addLinkToURL:[NSURL URLWithString:@"http://github.com/"] withRange:range]}; addLinkToURL:withRangeを利用して適用したリンクには、linkAttributesで指定した属性が自動的に付与されます。 // リンク色をすべて青色にする label.linkAttributes = @{NSForegroundColorAttributeName : [UIColor blueColor]}; activeLinkAttributesでタップしたり長押しした際のリンク色
Codes Rust. Many Cryptography & Databases. Likes History. Lifts heavy things, puts them down again. Plays the drums. Occasionally makes music. Random Items of Interest polyglot programmer many buzzwords enthusiastic drummer ̶o̶c̶c̶a̶s̶i̶o̶n̶a̶l̶ ex powerlifter older than he seems frequently hilarious (citation needed)
สล็อตเว็บตรง ฝาก-ถอน ไม่มีขั้นต่ำ เว็บตรงสล็อต FAFA666 ที่คนเล่นเยอะที่สุด พบกับเกมทำเงินที่ง่ายที่สุดในตอนนี้ได้แล้วกับการเข้ามาเล่นพนัน สล็อตเว็บตรง ของเรา ในตอนนี้ที่มีอัตราการชนะสูงถึง 95 เปอร์เซ็นต์ ซึ่งจะทำให้คุณสามารถกอบโกยกำไรได้ง่ายมากๆ แถมการเข้ามาเล่นพนันที่ สล็อต ของเรา ในตอนนี้ยังมีการฝากถอนแบบไม่มีขั้นต่ำให้นักพนันทุกคนได้เล่นอีกด้วย ซึ่งการฝากถอนไม่มีขั้นต่ำนั้นจะทำให้นักพนันทุกคนสา
Swift用コレクション操作ライブラリ。関数プログラミングのヘルパと謳っており、既存のクラスを拡張するのではなく関数の形で提供しているところが特徴。 $ is a Swift library that provides useful functional programming helper methods without extending any built in objects. Dollar.$wift by ankurp 使用例 let arr = [["age": 36], ["age": 40], ["age": 1]] let result = $.findIndex(arr) { $0["age"] < 20 } result == 2 他にも $.every, $.contains, $.last, $.min,...等々大量の関数が用意さ
Concurrency and parallelism are hard. With the traditional threading model, a developer has to constantly ensure threads are not in conflict, which is a very difficult task. The team behind Go implemented fantastic concurrency primitives within the language that make reasoning about concurrent code far easier. Fortunately, all that goodness is no longer locked up inside Go; there’s now a library f
MOONGIFTはオープンソース・ソフトウェアを紹介するブログです。2021年07月16日で更新停止しました Webサイトをデザインする際にテキスト部を「あああああ」などで埋めたりします。これでは何となくイメージがわきづらいという問題があります。また文字が短い場合、長い場合など様々なパターンの文字を作る必要があります。 そこで使ってみたいのがAozoraです。有名な小説などから文字を適当な長さの生成してくれます。 Aozoraの使い方 AozoraはRubygemsでインストールできます。 $ gem install aozora 後はオブジェクトを作るだけです。 puts Aozora.new #=> "私はその人を常に先生と呼んでいた。だからここでもただ先生と書くだけで本名は打ち明けない。これは世間を憚かる遠慮というよりも、その方が私にとって自然だからである。私はその人の記憶を呼び起す
GIFMAGAZINEのバックエンドの一部でGoを使いたいなと思って、最近Goを書きはじめた。 そこでとりあえずスクレイピングしてみるかと思って調べたら、goqueryなるライブラリを発見。 PuerkitoBio/goquery これを使えばgoでjqueryライクにセレクタを指定して、DOMノードを操作できる。 Rubyだとnokogiriを使っていたんだけど、それよりも個人的には直感的に使える感じがした。 以下はサンプル。 package main import ( "fmt" "github.com/PuerkitoBio/goquery" ) func main() { doc, _ := goquery.NewDocument("http://matome.naver.jp/topic/1LuxN") doc.Find(".mdMTMTtlList02Item").Each(f
Hamburger buttons may have become somewhat of a cliché in interface design lately, but when I came across a particularly nice transition of a hamburger button on dribbble, I had to try and recreate it in code. Here's the original shot by the CreativeDash team: You'll notice how the top and bottom strokes of the hamburger form a X, while the middle one morphs into an outline. I knew this effect cou
Atlas Device SDKs are deprecated. Refer to the deprecation page for details. Atlas Device SDK is a suite of app development tools optimized for data access and persistence on mobile devices. Use the SDKs to build data-driven mobile, web, desktop, and IoT apps. The SDKs provide tools to read and write Atlas data from devices. Your app can sync automatically with MongoDB Atlas and other devices usin
高速にGo言語のCLIツールをつくるcli-initというツールをつくった tcnkms/cli-init・GitHub cli-initを使えば,Go言語コマンドラインツール作成時のお決まりパターンをテンプレートとして自動生成し,コア機能の記述に集中することができる. デモ 以下は簡単な動作例. 上のデモでは,addとlist,deleteというサブコマンドをもつtodoアプリケーションを生成している.生成結果は,tcnksm/sample-cli-initにある. 背景 Go言語で作られたコマンドラインツールを見ていると,codegangsta/cliというパッケージがよく使われている. これは,コマンドラインツールのインターフェースを定義するためのライブラリで,これを使えば,サブコマンドをもつコマンドラインツールを簡単につくることができる(Usageを自動で生成してくれたり,bash
Gin Gonic The fastest full-featured web framework for Golang. Crystal clear. Performance and productivity can work together Gin is a web framework written in Golang. It features a martini-like API with much better performance, up to 40 times faster. If you need performance and good productivity, you will love Gin. Low Overhead Powerful API You can add global, per-group, and per-route middlewares,
Captcha security check iosjp.com is for sale Please prove you're not a robot View Price Processing
Open In とは他のアプリへファイルを渡すあれ。 DropBoxはどんなファイルでも Open In で受け取れるようになっている。そこでDropboxのplistファイルを解析してみたというのがこの記事。 Open In … All Files | Coco...
Open In とは他のアプリへファイルを渡すあれ。 DropBoxはどんなファイルでも Open In で受け取れるようになっている。そこでDropboxのplistファイルを解析してみたというのがこの記事。 Open In … All Files | Coco...
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く