모바일개발(Mobile Dev)/IOS개발(ObjectC)109 Encapsulating Data written by : https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.htmlEncapsulating DataIn addition to the messaging behavior covered in the previous chapter, an object also encapsulates data through its properties.This chapter describes the Objective-C syntax used to declare properties for an object and explains how.. 2015. 10. 2. How to deal with a Data Flow between Controller1 and Controller2 by : stackoverflow There are various ways by which a data can be received to a different class in iOS. For example -Direct initialization after the allocation of another class.Delegation - for passing data backNotification - for broadcasting data to multiple classes at a single timeSaving in NSUserDefaults - for accessing it laterSingleton classesDatabases and other storage mechanisms like plist.. 2015. 10. 1. xcode 에서 private, project 형태 출처 : http://liimix.tistory.com/entry/xcode-%EC%97%90%EC%84%9C-private-project-%ED%98%95%ED%83%9C-%EB%82%98%ED%83%80%EB%82%B4%EA%B8%B0 objective-C 에서 private 이 있으며 사용법은 다음과 같다. @interface testClass : NSObject { @private @public @protected } @end ======================================== old... 다른사람들과 함께 프로젝트를 진행하거나라이브러리 작업을 하게 되면외부에 공개되지 말아야 할 것들이 꼭 있다.C++ 에서는 class 내부에 private 과 protected 가 그 역할을.. 2015. 9. 30. 블록 객체 정의 * 참조 : http://minsone.github.io/mac/ios/how-to-using-block-in-objc/ 블록 객체는 C언어의 확장이며 비표준입니다.(wikipedia 참조) 다른 언어에서 클로저(closure) 또는 익명함수, 람다함수, 일급 객체(first-class object)라고 합니다.우선 Objective-C에서 다루므로 블록 객체라고 하겠습니다.블록 객체 정의블록객체는 다음과 같은 조건을 만족합니다.(wikipedia 참조)변수나 데이터 구조안에 담을 수 있다.파라미터로 전달 할 수 있다.반환값(return value)으로 사용할 수 있다.할당에 사용된 이름과 관계없이 고유한 구별이 가능하다.블록은 다음과 같이 설명할 수 있습니다. 또한, 블럭 객체이므로 id형태로 저장이 .. 2015. 9. 29. Custom UITableViewCell example in iOS Custom UITableViewCell example in iOSJanuary 29, 2015 by Manishankar 0 Comments We have already worked on implementing an UITableView in ios development. So now let’s move further. In this tutorial I am going to implement custom UITableViewCell as an additional part of the previous UITableView tutorial. UITableView is an collection of UITableViewCell’s. It defines the attributes and behaviour of.. 2015. 9. 19. UIDatePicker example in iOS UIDatePicker example in iOSFebruary 9, 2015 by Manishankar 1 Comment In the previous tutorials we have worked around custom UITableViewCell and UIWebView. Now in this tutorial I am going to show you how to implement an UIDatePicker in iOS development. UIDatePicker is used to select a specific date and time in the iOS app development process. UIDatePicker class implements an object that uses mult.. 2015. 9. 17. Creating Custom UITableViewCell using Nib (.xib) files in XCode Creating Custom UITableViewCell using Nib (.xib) files in XCodeThe ‘proper’ way This brief tutorial will demonstrate two things:The simplest way to create a custom UITableViewCell: A lot of new iOS developers seem to struggle with this. Depending on where they look, they are shown a variety of possible ways of accomplishing this, some of which are pretty bad to say the least. This article aims t.. 2015. 9. 15. self.myVar myVar _myVar 가끔씩 맥이나 iOS 관련 개발 카페등을 보면, 2014년이 시작된 지금까지도 Objective C의 문법중 @synthesize에 관해 물어보는 분들이 계십니다. (참고로, Object C(오브젝트 C) 아닙니다. Objective C(오브젝티브 C) 입니다. 이거 헷갈리시는 분들이 있더군요.) 아마도, 조금 오래된 책으로 공부하거나(최근 책들은 보지 못했습니다만...) 예전에 작성되었던 소스들을 보면서 공부하기 때문인것 같습니다. 그런데, 사실 이제는 2012년 중반 이후로 Modern Objective C가 나온 이후 부터는 @synthesize는 더이상 사용할 일이 거의 없습니다. (정확히 버전은 기억나지 않지만 XCode 4.5정도 이후부터는 Modern Objective C가 지원 될겁니다.).. 2015. 9. 15. iOS 개발자료 잡동사니 iOS 개발자료 잡동사니upthere9.egloos.com/2821719펌 :http://improgrammer.com/12 http://cafe.naver.com/mcbugi/67700KT앱 대회 준비하면서 모은 자료들을 정리해서 올립니다. 개인 학습용으로 모은 자료들이라 출처가 틀릴 수도 있습니다. 답글 주시면 수정토록 하겠습니다. -푸쉬 서버 개발 관련 자료- 이지 APNS 오픈 소스 라이브러리 http://www.easyapns.com/ 구글 코드 APNS 오픈 소스 http://code.google.com/p/apns-php/ 서버 튜토리얼 http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-se.. 2015. 9. 15. 이전 1 ··· 4 5 6 7 8 9 10 ··· 13 다음