영어와 관련된 허세

우리에게 영어는 모국어가 아니다.
즉, 잘 못한다고 해서 불안할 것도 없고, 쪽팔일 일도 없다.
영어와 관련된 허세(?) 영상이다

영어의 발음이 좋으면 좋겠지만, 문제는 발음이 아니라는 것!

머리가 나쁘면 기록이라도 해라

난 머리가 좋지 않다. (뭐 예전에는 좀 쓸만했던 것 같다. 기억력도 좋았고…)

나이가 먹어 갈수록 기억력이 떨어지는데도 불구하고, 어렸을 때의 환상에 사로잡혀 아직도 기억력이 좋다고 우기지만 세월에는 장사 없다.

최근 몇년 전부터 슬슬 위기감을 느껴 옆에 수첩과 펜을 두고 ‘항상 메모해야지’ 하는 마음가짐으로 매년 초에 다이어리를 샀지만, 결국 수년간의 다리어리를 살펴보면 항상 처음 4~5페이지정도만 끄적거려놓은 상태다.

Read More…

iPhone 페이지 넘김 효과 주기

페이지 넘김 효과를 위한 함수:

- (void) replaceCurlSubview:(UIView *)oldView withSubview:(UIView *)newView transition:(UIViewAnimationTransition) transition duration:(NSTimeInterval) duration {

NSArray *subView = [self subviews];

NSUInteger index = 0;

[UIView beginAnimations:nil context:NULL];

[UIView setAnimationDuration:duration];

// cache: YES if you want to comback from up to down or down to up

if ([oldView superview] == self) {

// Find the index of oldView so that we can insert newView at the same place

for (index = 0; [subViews  objectAtIndex:index] != oldView; ++index) {}

[oldView removeFromSuperviews];

}

// If there’s a new view and it doesn’t already have a superview, inesert it where the old view was

if (newView && ([newView superview] == nil)) {

[self insertSubview:newView atIndex:inde];

}

[UIView setAnimationDelegate:self];

[UIView commitAnimations];

}

사용방법:

[self replaceCurlSubview:oldView withSubView:newView transition:UIViewAnimationTransitionCurlUp duration:0.5f];
Next Page » Scroll to top