분류 전체보기 (404) 썸네일형 리스트형 [flutter] Plugin UIView 사용하기 Context 뷰 인스턴스를 저장하기 위한 저장소 클래스 class Context { var sampleView: SampleView? } FlutterPlatformView UIView를 포함하고 있는 FlutterPlatformView 구성 class SampleView: NSObject, FlutterPlatformView { private let id: Int64 private var uiView: UIView init(frame: CGRect, viewIdentifier viewId: Int64, arguments arg: Any?, binaryMessenger messenger: FlutterBinaryMessenger?) { self.id = viewId self.uiView = UIView.. [flutter] iOS plugin 에서 local framework 설정 테스트 환경cocoapods : 1.12.0xcode : 14.2플러그인 ios 네이티브 코드 작성시 로컬 프레임워크인 MyFrameworkA.xcframework 와 MyFrameworkB.xcframework 를 사용하는 경우 아래와 같이 설정한다./my_plugin/ios/ 폴더에 프레임워크 각 프레임워크 복사 /my_plugin/ios/my_plugin.podspec 수정podspec dependency 에서 로컬 프레임워크를 지원하지 않으므로, vendored_frameworks 로 관련 프레임워크들을 묶어 주어야 한다.s.source = { :path => '.' }s.source_files = 'Classes/**/*'s.xcconfig = { 'OTHER_LDFLAGS' => '-frame.. [flutter] 플러그인 프로젝트 구현 절차 플러그인 프로젝트 생성 flutter create --org com.example --template=plugin --platforms=android,ios -i swift my_plugin /pubspec.yaml 인터페이스 만들기 /lib 하위에 dart 클래스를 구성 네이티브 인터페이스 네이티브 인터페이스 클래스 native와 연결될 메쏘드들을 정의할 인터페이스 클래스 생성. abstract class MyPluginPlatform extends PlatformInterface { MyPluginPlatform() : super(token: _token); static final Object _token = Object(); static MyPluginPlatform _instance = MyPlu.. [flutter] 플러그인 프로젝트 자동 생성 요소 1. 플러그인 프로젝트 생성flutter create --org com.example --template=plugin --platforms=android,ios -i swift hello_world 생성된 플러그인 클래스 확인/pubspec.yaml 파일의 fultter - plugin - platforms 에서 각 플랫폼별로 패키지명이나 클래스를 확인할 수 있다.flutter: plugin: ios: pluginClass: HelloWorldPlugin ./lib 하위에 dart 파일들이 생성된다.hello_world.darthello_world_platform_interface.darthello_world_method_channel.dart 이 파일은 dart에서 각 플랫폼.. [flutter] iOS 기본 모듈 구성 방식 Integrate a Flutter module into your iOS project | Flutter Integrate a Flutter module into your iOS projectLearn how to integrate a Flutter module into your existing iOS project.docs.flutter.dev 모듈 만들기모듈템플릿을 사용해 프로젝트를 생성cd some/path/flutter create --template module my_module 기본 구성요소Runner xcode 프로젝트와 워크스페이스 : ./.ios (숨김폴더)dart 소스 : ./lib테스트 : ./testflutter 프로젝트 정보 : ./pubspec.yaml ./.ios 폴더의 경우 .. [concurrency] Task, TaskGroup, task timeout Task @frozen struct Task where Success: Sendable, Failure: Error init(priority: TaskPriority?, operation: () async -> Success) init(priority: TaskPriority?, operation: () async throws -> Success) TaskGroup @frozen struct TaskGroup where ChildTaskResult: Sendable TaskGroup은 별도의 메서드를 사용해 생성해야 하며, 생성된 task 내에서만 사용해야 함. 주요함수 func addTask(priority: TaskPriority?, operation: () async -> ChildTaskResul.. K7 프리미어 하이브리드 브레이크 패드 모비스 앞 : 58101F6A00 / 패드키트 - 프론트 디스크 브레이크 뒤 : 58302G0A50 / 패드키트 - 리어 디스크 브레이크 올뉴 K7 하이브리드(17년식)와 동일. 올뉴 K7 하이브리드 뒷 패드의 경우 검색시 2개가 나오는데 기존 58302G0A10 에서 변경된듯 보임. 상신 하드론 상신 하이큐의 경우 HP 만 SP 로 변경 앞 : HP1986 / 일반 16년 1월 이후, 하이브리드 16년 10월 이후 뒤 : HP1846 / 일반 16년 1월 이후 전자파킹, 하이브리드 16년 10월 이후 아래처럼 패키징 되어 있고 그리스 제공 링크시스 MX 4200 링크시스 MX4200 WiFi6 1.4GHz Quad Core Flash: 512MB, RAM: 512MB 참고) MX5300 : CPU 2.2GHz , RAM 1GB, 유선 포트 4개 일단 공유기로서 성능은 MX4200도 차고 넘친다고 생각해 4200으로 선택 별도 팬이 없는 구조라 발열도 4200이 더 유리할 것이라 생각 XBOX Series X같은 사각 타워형 디자인 안테나 내장 전원 어댑터 12V / 3A 4200 은 유선 랜 포트가 3개, USB3.0 하단에 전원 및 WPS, RESET 설정을 위한 리커버리키, 시리얼, 맥 주소 NAS보다 NAS 같은 생김새 설정 페이지, 모바일 앱 제공 거실 TV 옆에 있어도 각 방의 송수신 품질에는 크게 문제 없음 2G, 5G 혼용 모드로 그냥 사용 중 IG.. 이전 1 2 3 4 5 6 7 ··· 51 다음