태그>cocoa(총 49개의 글)
'cocoa' 관련 최근글
-
- ios cocoa auto layout을 쓸 때 애매했던 것들
-
공부가 본업. by 언제나19|2014/10/03 20:54
다른 view랑 크기를 같게 또는 비례하게 지정할 때가 있는데,각 가장자리를 같게 하는 방법이 있다.그런데, margin의 영향이 있다.Leading.margin 또는 width, height를 같게 만들고, 두 점을 고정하는 방법이 있다.CenterX, CenterY,size가 0일 경우 결과가 다를..
- ios cocoa auto layout을 쓸 때 애매했던 것들
-
- 요세미티 겉보기 이상으로 개발 자체의 변경점들이
-
being nice to me by 오오|2014/09/03 13:10
보통 OSX 10.10 요세미티를 보면, iOS 짝퉁의 유치한 디자인이네 뭐네 이런 소리도 있고, 이상하게 플랫하게 바꿔놓았다고 하기도 하고 그런데, 개발 입장에서는 내부적으로 꽤나 많이 바뀐 점이 있다고 생각..
- 요세미티 겉보기 이상으로 개발 자체의 변경점들이
-
- XCTest in swift
-
공부가 본업. by 언제나19|2014/06/26 22:21
WWDC 2013, 2014 video를 보고 시작.Testing in Xcode 5https://developer.apple.com/videos/wwdc/2013/ Testing in Xcode 6https://developer.apple.com/videos/wwdc/2014/ How do I import a Swift file from another Swift file? import .-Bridging-Head..
- XCTest in swift
-
- UICollectionView로 android ViewPager로 만든 것 같은 gallery 만들기
-
공부가 본업. by 언제나19|2014/06/10 17:14
ios8에서는 self cell sizing 기능이 추가돼서,UITableView, UICollectionView에서 cell의 size를 미리 알지 못해도 cell과 view의 layout을 할 수 있다. ios7까지 UICollectionView의 cell size를 dynamic하게 하는 방법이 에 잘 적혀 있는데, 왠지 난 잘 안되더라..
NSLayoutConstraint, UICollectionView, autoresizesubviews, gallery, 사진
- UICollectionView로 android ViewPager로 만든 것 같은 gallery 만들기
-
- ios에서 Cocoa Layout Instrument으로 auto layout debugging
-
공부가 본업. by 언제나19|2014/06/04 19:34
에서는 mac os x에서만 사용할 수 있는 것처럼 적혀 있는데, Where is the AutoLayout template in Instruments?대로 하면, ios에서도 사용할 수 있다. record 버튼을 누르면 앱이 시작된다. lldb debugging이랑 함께 사용하고 싶은데 할 줄 모르겠다.attach proc..
- ios에서 Cocoa Layout Instrument으로 auto layout debugging
-
- UIImageView contentMode content hugging compression resist..
-
공부가 본업. by 언제나19|2014/05/28 22:51
UIImageView contentMode에 따라서, image의 크기, 위치 등이 달라진다. How to scale a UIImageView proportionally? Cocoa Autolayout: content hugging vs content compression resistance priority
- UIImageView contentMode content hugging compression resist..
-
- ios Container View 보이게 하기
-
공부가 본업. by 언제나19|2013/07/07 14:03
storyboard에 container view, view controller를 추가하는 것만으로는 view controller의 내용이 나타나지 않는다.오히려, container의 멍한 내용이 나오네. 처럼 - (void)viewDidLayoutSubviews { [super viewDidLayoutSubviews]; if (self.chil..
- ios Container View 보이게 하기
-
- xcode4 에서 settings bundle을 추가한 뒤 내용 보기
-
공부가 본업. by 언제나19|2011/11/29 11:17
를 읽어보면, xcode 안에서 Settings.bundle package 안의 내용이 풀려서 보이는데,내 것은 그렇지가 않다.내용을 볼 수 없으니 뭘 할 수가 없네. 한편, finder에서는 내용을 볼 수 있다. File inspector에서 file type을 application bundle로 바꿔봤더니,내용을..
- xcode4 에서 settings bundle을 추가한 뒤 내용 보기
-
- UIView custom view sizeThatFits layoutSubviews
-
공부가 본업. by 언제나19|2011/11/14 21:04
custom view를 만들 때,layoutSubviews 뿐만 아니라 sizeThatFits가 핵심이겠다. 덕분에 많은 내용을 알게 되었다.sizeToFitResizes and moves the receiver view so it just encloses its subviews.- (void)sizeToFitDiscussionCall this metho..
- UIView custom view sizeThatFits layoutSubviews
-
- autolayout을 새로 만들어 보다가 실패
-
공부가 본업. by 언제나19|2011/11/14 13:45
멋진 Cocoa autolayout videos | 2011/11/10video 를 먼저 봤다. constraint 입력하는 것까지는 만들 수 있겠는데,constraint를 풀고, layout에 적용하는 부분 구현이 문제다.어느 시점에 어떻게 적용해야 문제가 없을지.superview와의 관계도 어떻게 마무리할지. 물론..
- autolayout을 새로 만들어 보다가 실패
-
- NSGenericException 은 nib 조심..
-
공부가 본업. by 언제나19|2011/06/09 22:49
막 고치다가 실행해보니까 exception이 난다.2011-06-09 22:33:42.859 GLVideoFrame[3815:707] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:' ..
- NSGenericException 은 nib 조심..
-
- 11 03 11 코코아 카푸치노 Cocoa Cappuccino -..
-
이야기 by 이야기|2011/04/07 17:35
코코아 카푸치노 Cocoa Cappuccino - 스타벅스 단 음료는 자주 마시는 편이 아니지만 1+1 쿠폰이 생겼다면 사용하는 것이 도리. 평소 커피 외의 음료를 마시는 친구와 함께 스타벅스로. 매장에 들어가 쓱~..
- 11 03 11 코코아 카푸치노 Cocoa Cappuccino -..
-
- cocoa 개발 할때 보면 좋은 naming guide.
-
Just Do It!! by 버헤미안|2010/12/29 12:20
Coding Guide iphone 개발을 하면서 coding 시 guide 에 대해서 Cocoa Document에 나와있는 내용들. 한번쯤 보면 괜찮을 내용이라고 생각되어져 블로깅!
- cocoa 개발 할때 보면 좋은 naming guide.