Programming
-
Unity Crash with CA::Display::DisplayLinkItem::dispatch()
解決策のURL http://forum.unity3d.com/threads/203506-Workaround-ios7-DisplayLink-Scrolling-results-in-crash 下記をコメントアウト
-
nibを探せないとき
nibファイルを探せないエラーが発生し、iOS7では正常に動作した。 https://github.com/kstenerud/iOS-Universal-Framework/issues/152 resources load in iOS 7 but not iOS 6 No milestone No one is assigned When running in the simulator, I’m adding the embedded framework to a test app. When run under 7.0.3, it runs with no issues. When run under 6.1 or less, it’s crashing with the following: ‘NSInternalInconsistencyException’, reason: ‘Could not…
-
-
UIView – viewDidLoadがinitWithNibnameより先に呼ばれるような気がしたら。。。
UIViewの initializeで initが終了する前にあるいは先にviewDidLoadがよばれる気がしたら super classのinit内部でself.viewなどでviewにアクセスしていないかを確認. self.viewをよぶことによってsuper classのinitializerで viewDidLoadがよばれてしまう。
-
Objective-C Animation Menu
http://iosdevelopertips.com/open-source/ios-open-source-circular-rotating-menu.html
-
phpstorm subversion branch merge random directory.
mac phpstormで任意のフォルダをsubversionを利用しbranchする方法 1.branch作成 directory 右クリック->Subversion-> Branch or tag branch 作成対称directoryが Working Copy にあるかを確認 作成されるbranchようのdirectoryをCopy ToセッションのName欄に入力 OK でbranchは作成完了
-
[iOS] app url for itunes store
To send customers to a specific application: http://itunes.com/apps/appname To send customers to a list of apps you have on the App Store: http://itunes.com/apps/developername To send customers to a specific app with your company name included in the URL: http://itunes.com/apps/developername/appname
-
iOS Tips for beginner
ネットサーフィングしながらかき集めたTIPS. いつか誰かの役に立つはず。(自分含む) Open an URL in Safari Hide the status bar Dial a Phone Number (iPhone Only) Launch the Apple Mail stop responding to touch events active the touch events Show the network Activity Indicator Hide the network Activity Indicator Prevents iPhone goes into sleep mode Display an alert window Get the path to the…
-
objective-c underscore 変数の継承をもっと柔軟に
ケース:親クラスと子クラスの間に同じ変数名で別のクラスを指定したいときunder score変数を利用 準備 変数となるクラス @interface SuperModel @interface SubModel : SuperModel 親クラス @interface SuperClass @property (nonatomic,retain) SuperModel* data; @implementation data = _data; 子クラス @interface SubClass : SuperClass { SubModel* _data; } @property (nonatomic,retain) id data; @implementation data = _data; これで子クラスの内部ではSubmodelとして_dataを扱えるようになる。
-
Why use underscore instance value on xcode
A lot of people use this for private variables, to differentiate between private variables and public variables within an object. It is a completely optional way of working. what you’re seeing is the use of underlines to distinguish between instance variables and properties. So a class declaration might be: @interface Foo { NSString* _label; ….…