Code
-
Xcode - button title 변경 및 체크 박스 구현Code/XCODE 2012. 2. 15. 12:45
StoryBoard - Button 삽입 ( 체크 박스 사이즈 ) - Inspector ( 연결 들 ) - Touch Up Inside - ViewContorller - chagneButtonText (연결 ) - Referencing Outlets - ViewContorller - autoLoginButton (연결 ) 참조. 1 구현 ViewController.h @interface ViewController : UIViewController{ IBOutlet UIButton *autoLoginButton; } @property (retain, nonatomic) UIButton *autoLoginButton; - (IBAction)changeButtonText:(id)sender; @end View..
-
Object-C 기본Code/XCODE 2011. 6. 26. 13:41
Format .h : - hearder - class, type, function, 상수 등 - #import (#include) .m : - Source code format - .mm (c++ 개념) 지시어 - @ ( 컴파일러 지시어 ) - @interface (클래스 선언) - @implementation (클래스 구현) - @protocol (Delegate등 일반적 선언) - @end ( class, category, protocol 등의 종료 지시) 접근지정자 -@public ( 상속(o), 모든곳) -@private ( 상속(x), 해당 클래스에서만 사용) -@protected (상속된 클래스에서 사용, 정의된 클래스에서 사용 exception - @throw - @catch() - @fin..
-
안드로이드 코딩 : 아이디 검색후 트위터 팔로어 출력(TwitterSCKR ver 0.2)(Twitter, My followers List on Android)Code/Android 2010. 8. 14. 17:31
1. mini SDK-VERSION android 2.1-update1 2. Main UI ( main.xml ) 3. Main Code ( ShowUser.java ) package com.TwitterSCKR; import java.net.URL; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; impor..
-
안드로이드 코딩 : 트위터 XML Parse ( 회원 정보 )Code/Android 2010. 8. 11. 16:56
1. mini SDK-VERSION android 2.1-update1 2. main code( ShowUser.java ) package com.TwitterSCKR; import java.net.URL; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import android.app.Activity; import android.os.Bundle; import android.widget.LinearLayout; import android.widget.TextView; public class ShowU..
-
Android Google MapCode/Android 2010. 7. 31. 13:23
1. 디바이스 생성 : Google Api 2.2 2. 프로젝트 생성 : Google Api 2.2 로 생성 3. ress/layout/mapview.xml 생성 4.AndroidManifest.xml 수정 5. src/생성한.java 파일 수정 package com.MyMap; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import android.os.Bundle; public class maps extends MapActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle sav..