runtime Summary

OC is called dynamic runtime language. The main reason is that there are two features: runtime and polymorphism. runtime Runtime, also known as runtime, is an underlying c language api, which is one of the core of iOS. OC is a dynamic runtime language, it will put some work on the code runtime to deal with, rather than compile time, ...

Posted by syn1234 on Sat, 09 Mar 2019 05:18:24 -0800

iOS - About Button Click Effect on Cell

https://juejin.im/entry/580f4f33570c350068fea175 In iOS development, there has always been a problem of adding a button to the cell. When we click on the button, it has no highlighting effect. Unless we press the button for a long time, I'll sort out the way to solve this problem. Links to the original text: http://stackoverflow.com/questions/ ...

Posted by smsharif on Fri, 15 Feb 2019 00:30:19 -0800

【codeforces 793D】Presents in Bankopolis

[Title link] http://codeforces.com/contest/793/problem/D [title] Give you n points. These n points. From left to right, 1. n is arranged in order. Then give you m directed edges. Then let you choose k points from it. A path formed by these k points; And in the path, a visited point will not pass through twice or more; For example, fr ...

Posted by kokomo310 on Thu, 14 Feb 2019 20:51:18 -0800

【codeforces 798D】Mike and distribution

[Title link] http://codeforces.com/contest/798/problem/D [title] Let you select a subscript set p1,p2,p3..pk Make 2*(a[p1]+a[p2]+. +a[pk])>ai At the same time, 2* (b [p1]+b [p2]+. +b [pk])> _bi [Abstract] Both formulas can be transformed into A [p1]+a [p2]+. +a [pk]>The remaining elements (You can get it by moving items) ...

Posted by steviemac on Wed, 13 Feb 2019 16:33:18 -0800

【CS Round 34】Max Or Subarray

[Title link] https://csacademy.com/contest/round-34/summary/ [title] Let you find the shortest continuous substring; Make all the numbers or in this substring the largest; [Abstract] For each starting point i; The maximum value must be all or i n the section i.n. It's just that the length may be a little shorter. Moreover, it is mon ...

Posted by deerly on Mon, 11 Feb 2019 17:39:17 -0800

The dependency `Reactive Cocoa` is not used in any concrete target. (Cocoapods error reporting)

The dependency `` is not used in any concrete target The dependency `AFNetworking ` is not used in any concrete target 1 2 1 2 Cocoa Pods encountered difficulties again. The computer rebuilt the system a few days ago, and all the development tools were up-to-date. When I used Cocoa Pods, I gave a hint that my version was not last version. ...

Posted by bobvaz on Mon, 11 Feb 2019 17:06:18 -0800

【2017 Multi-University Training Contest - Team 10】Schedule

[Link] http://acm.hdu.edu.cn/contests/contest_show problem.php?Pid=1010&cid=767 [title] Given some intervals, each machine runs in these intervals, but a machine can only run in one interval at most (multiple intervals in the same place require multiple machines), and the machine can not be turned off again, seeking the shortest run ...

Posted by JimmyD on Mon, 11 Feb 2019 16:36:19 -0800

【codeforces 734F】Anton and School

[Title link] http://codeforces.com/problemset/problem/734/F [title] Give you two arrays b and c. Then let you find a non-negative array a to satisfy the relationship given in the question. [Abstract] Have a conclusion. (x and y + x or y)=x+y Then add up all the n formulas. Let d[i]=b[i]+c[i] * 1; be d[i]=n∗a[i]+∑a⋅⋅⋅② Add up all th ...

Posted by gibigbig on Mon, 11 Feb 2019 14:30:19 -0800

Swift version share sdk third-party login facebook, twitter, Google plus integrated tutorial

Recently, when I was writing a swift project, I needed to use the third party login of facebook, googleplus, Twitter. Another colleague who worked on the oc project told me that his shareSDK third party login had a pit that I couldn't solve, so I didn't use sharesdk, but the landlord was a person who pursued it and plunged into sharesdk. Step 1 ...

Posted by wildmanmatt on Mon, 11 Feb 2019 01:51:18 -0800

iOS webView loads local html, css, js files

1.h5 local html file, loaded on the web view, can also be loaded without network. 2.h5 Content Format Setting File Writing Reprint: http://www.jianshu.com/p/c375ac056149 Article content In IOS development, HTML files can be loaded through webView The steps are as follows: 1. You need to have a webView. You can drag one or alloc one ...

Posted by tinkertron on Sun, 10 Feb 2019 08:33:18 -0800