외규장각 도서 환수 모금 캠페인

UILabel *idLabel = [[UILabel alloc] initWithFrame:CGRectMake(50.0, 50.0, 50.0, 30.0)];

idLabel.text = @"ID"

[idLabel setBackgroundColor:[UIColor clearColor]];

idLabel.textAlignment = UITextAlignmentCenter;

UILabel *pwLabel = [[UILabel alloc] initWithFrame:CGRectMake(50.0, 90.0, 50.0, 30.0)];

pwLabel.text = @"PW"

[pwLabel setBackgroundColor:[UIColor clearColor]];

pwLabel.textAlignment = UITextAlignmentCenter;

UITextField *idTextField = [[UITextField alloc] initWithFrame:CGRectMake(110.0, 50.0, 100.0, 30.0)];

idTextField.borderStyle = UIButtonTypeRoundedRect;

idTextField.returnKeyType = UIReturnKeyDone;

idTextField.delegate = self;

[idTextField addTarget:self action:@selector(EndEditing:) forControlEvents:UIControlEventEditingDidEndOnExit];

UITextField *pwTextField = [[UITextField alloc] initWithFrame:CGRectMake(110.0, 90.0, 100.0, 30.0)];

pwTextField.returnKeyType = UIReturnKeyDone;

pwTextField.borderStyle = UIButtonTypeRoundedRect;

pwTextField.delegate = self;

[pwTextField addTarget:self action:@selector(EndEditing:) forControlEvents:UIControlEventEditingDidEndOnExit];


UIButton *cancelButton = [self CreateButton:@"Cancel" type:UIButtonTypeRoundedRectview:self.view 

frame:CGRectMake(50.0130.075.030.0target:self action:nil];

UIButton *confirmButton = [self CreateButton:@"Confirm" type:UIButtonTypeRoundedRectview:self.view 

frame:CGRectMake(135.0130.075.030.0target:self action:nil];

[self.view addSubview:idLabel];

[self.view addSubview:pwLabel];

[self.view addSubview:idTextField];

[self.view addSubview:pwTextField];

        [self.view addSubview:cancelButton];

[self.view addSubview:confirmButton];



--------------------------------------------------------------------------------------------





- (void)EndEditing:(id)sender

{

[sender resignFirstResponder];

}


- (UIButton *)CreateButton:(NSString *)title type:(UIButtonType)type view:(UIView *)view 

frame:(CGRect)frame target:(id)target action:(SEL)action {

UIButton *button = [[UIButton buttonWithType:type] retain];

button.frame = frame;

[button setTitle:title forState:UIControlStateNormal];

[button addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];

[view addSubview:button];

return button;

}

Posted by 닉네임영역
,
1. SIMBLE INSTALL
SIMBL 다운로드
http://www.culater.net/software/SIMBL/SIMBL.php

위 주소로 들어가 오른편 상단의 SIMBL-0.8.x.tbz(Universal Binary)를 받아 설치합니다. 

2. Safari Stand의 다운로드

http://hetima.com/safari/stand-e.html

위 주소로 들어가 오른편 상단에서 OS에 맞는 것을 다운 받고 압축을 풉니다. SIMBL을 설치하였다면 아래 경로에 접근할 수 있습니다.
/Library/Application Support/SIMBL/Plugins/

위 경로에 압축 푼 폴더 속의 SafariStand.bundle을 집어 넣습니다.(이때 사파리는 종료되어 있어야 합니다.)


이제 사파리를 실행하면 메뉴 막대의 Stand > Safari Stand Setting을 눌러 기본적인 셋팅을 합니다.

Posted by 닉네임영역
,
Application requires iPhone environment : 실행 가능한 아이폰 환경
Application users Wi-Fi : Wi-Fi 사용여부
Bundle creator OS Type code : 애플리케이션 개발자의 OS 코드
Bundle display name : 애플리케이션 아이콘에 나타나는 이름
Bundle identifier : 애플리케이션의 고유 식별자
Bundle name : 애플리케이션의 실제 이름
Bundle OS Type code : 애플리케이션 실행 OS 코드
Bundle version : 애플리케이션의 버전
Bundle version string. short : 구체적인 애플리케이션의 버전
Executable architectures : -
Executable file : 실행 가능한 파일
Get Info string : -
Icon already includes gloss and bevel effects : 아이콘 표시 효과 설정
Icon file : 아이콘 파일
Initial interface orientation : 기본 화면의 가로/세로형 설정
Localization native development region : -
Localized resources can be mixed : -
Main nib file base name : 기본 nib 파일
Renders with edge antialisasing : 안티앨리어싱 사용 설정
Renders with group opacity : 투명도 사용 설정
Required device capabilities : 사용가능한 장치를 설정
Status bar is initially hidden : 상태바를 표시 설정
Status bar style : 상태바 스타일 설정
Supported external accessory protocols : 확장 프로토콜 사용 설정
Upgrade other bundle identifier : 업그레이드를 위한 식별자
URL types : 커스텀 URL 사용 설정

애플리케이션의 기본정보는 자신의 개발하고 있는 프로젝트 상황에 맞추어 설정하도록 한다. 특히 'Required device capabilities' 의 항목은 다음과 같다.

telephony : 전화 통화가 가능해야 한다.
sms : 문자 기능을 필요하다.
still-camera : 카메라 장치가 있어야 한다.
auto-focus-camera : 자동 초점 기능을 사용해야 한다.
video-camera : 비디오 녹화가 가능해야 한다.
wifi : WiFi 를 사용해야 한다.
accelerometer : 가속도계를 사용한다.
location-services : 현재 위치를 제공하는 위치 서비스를 사용한다.
gps : GPS 기능을 사용한다.
magnetometer : 나침반 기능을 사용한다.
microphone : 마이크를 사용한다.
opengles-1 : OpenGL ES 1.1 을 사용한다.
opengles-2 : OpenGL ES 2.0 을 사용한다.
Posted by 닉네임영역
,


사랑합니다. 편안히 잠드소서