MLinkerDemoAppliedTemplateForRelease.pdf
1.20MB

MLinker라는 ios app을 만들게 된 https://github.com/zapping0320/MLinker

#1 시작은

ios app을 만들고 싶었고

회사에 모바일 개발 능력을 보여주고 제안도 해보고 싶었다.

#2 여러 고민 끝에

firebase를 공부해보고 채팅앱으로 만들기로 결정

#3 관련 스터디를 진행하고

기본적인 기능 정리와 구현을 진행했고

#4 사내 디자이너분에게 사적으로 소정의 금액과 취지를 설명해서

디자인 검수를 받았다.

디자인 검수를 받으면서 생각해보지 않은 layout 혹은 기능을 위해서 공부를 추가로 하는 긍정적인 요소가 있었고

혼자 개발하면서 보이지 않았던 불편함이나 버그도 수정할 기회도 생겼다.

#5 프로젝트 마무리는

코드 정리 및 사내 발표(20.2.18)로 마무리하였다.

진행하면서 모바일 앱 개발의 가능성도 타진해보고 요구도 해봤지만 멀었다는 반응뿐이라 아쉽지만 제안까지가 목표였으니 감내 할 수 있다.

#얻은 것

-스토리보드를 이용한 기본앱 개발에 대한 지식은 습득했음을 확인함. 디자인 시간을 받아서 처리하는 경험도 해봄-기존 ios앱 개발은 대충 개발자들끼리 맞춘게 것이 다였음(swift든, objectiveC든)

-계속 ios app이 재미 있을 것 같아서 안드로이드는 안 쳐다봐야지 하는 마음?

by 무위자연 2020. 3. 2. 09:28

uiactionsheet deprecated at iOS8


so we have to change uiaction sheet to uialertcontroller


<example at UIViewController>

let alertController = UIAlertController(title: "등록된 혈당측정기를 삭제하시겠습니까?".localized, message: "", preferredStyle: .alert)

        let confirmAction = UIAlertAction(title: "확인".localized, style: .default, handler: { (action) -> Void in

            //do something

        })

        let cancelAction = UIAlertAction(title: "취소".localized, style: .cancel, handler: { (action) -> Void in

            //self.tableView.setEditing(false, animated: true)

        })

        alertController.addAction(confirmAction)

        alertController.addAction(cancelAction)

        self.present(alertController, animated: true, completion: { () -> Void in

            //do something

        })


//handle event selections

func selecttypeitem(action : UIAlertAction){

        var buttonIndex:Int = 0

        for title in self.termTitles {

            if(action.title == title)

            {

                break

            }

            buttonIndex = buttonIndex + 1

        }

}


<example at UIView>

 self.present to use like below

UIApplication.shared.keyWindow?.rootViewController?.present(alert, animated: false, completion: nil)


* we cant use sender.tag

* we can use only one action type cancel! if you add multiple cancel action, it will occur exception!

by 무위자연 2017. 12. 4. 11:43
by 무위자연 2017. 9. 12. 08:40



NSUserDefaults  - c#의 Setting에 가까운 것
키를 이용해서 저장
NSString *valueToSave = @"someValue";
[[NSUserDefaults standardUserDefaults] setObject:valueToSave forKey:@"preferenceName"];
[[NSUserDefaults standardUserDefaults] synchronize];
저장된 값을 확인.
NSString *savedValue = [[NSUserDefaults standardUserDefaults]
  stringForKey:@"preferenceName"];


by 무위자연 2017. 5. 19. 15:51


timezone / utc string to NSDate

ex 2017-05-15T18:49:00+0900"
dateformat은 yyyy-MM-dd'T'HH:mm:ssxxxx
xxxx가 핵심 swift와 공통


by 무위자연 2017. 5. 19. 15:50
| 1 |